Home
last modified time | relevance | path

Searched refs:primary_freq (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Dchan.c54 u32 primary_freq) in rtw89_get_primary_chan_idx() argument
65 if (primary_freq > center_freq) in rtw89_get_primary_chan_idx()
72 if (primary_freq > center_freq) { in rtw89_get_primary_chan_idx()
73 offset = (primary_freq - center_freq - 10) / 20; in rtw89_get_primary_chan_idx()
76 offset = (center_freq - primary_freq - 10) / 20; in rtw89_get_primary_chan_idx()
89 u32 center_freq, primary_freq; in rtw89_chan_create() local
98 primary_freq = ieee80211_channel_to_frequency(primary_chan, nl_band); in rtw89_chan_create()
103 primary_freq); in rtw89_chan_create()
Dcore.c239 u32 primary_freq, center_freq; in rtw89_get_channel_params() local
246 primary_freq = channel->center_freq; in rtw89_get_channel_params()
256 if (primary_freq > center_freq) { in rtw89_get_channel_params()
265 if (primary_freq > center_freq) { in rtw89_get_channel_params()
266 offset = (primary_freq - center_freq - 10) / 20; in rtw89_get_channel_params()
269 offset = (center_freq - primary_freq - 10) / 20; in rtw89_get_channel_params()
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Dmain.c685 u32 center_freq, primary_freq; in rtw_update_channel() local
690 primary_freq = ieee80211_channel_to_frequency(primary_channel, nl_band); in rtw_update_channel()
704 if (primary_freq > center_freq) in rtw_update_channel()
710 if (primary_freq > center_freq) { in rtw_update_channel()
711 if (primary_freq - center_freq == 10) in rtw_update_channel()
721 if (center_freq - primary_freq == 10) in rtw_update_channel()
766 u32 primary_freq, center_freq; in rtw_get_channel_params() local
771 primary_freq = channel->center_freq; in rtw_get_channel_params()
781 if (primary_freq > center_freq) in rtw_get_channel_params()
788 if (primary_freq > center_freq) { in rtw_get_channel_params()
[all …]