Searched refs:primary_freq (Results 1 – 3 of 3) sorted by relevance
54 u32 primary_freq) in rtw89_get_primary_chan_idx() argument65 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() local98 primary_freq = ieee80211_channel_to_frequency(primary_chan, nl_band); in rtw89_chan_create()103 primary_freq); in rtw89_chan_create()
239 u32 primary_freq, center_freq; in rtw89_get_channel_params() local246 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()
685 u32 center_freq, primary_freq; in rtw_update_channel() local690 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() local771 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 …]