Home
last modified time | relevance | path

Searched refs:center_chan (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dchan.c12 u8 center_chan) in rtw89_get_subband_type() argument
17 switch (center_chan) { in rtw89_get_subband_type()
23 switch (center_chan) { in rtw89_get_subband_type()
33 switch (center_chan) { in rtw89_get_subband_type()
88 void rtw89_chan_create(struct rtw89_chan *chan, u8 center_chan, u8 primary_chan, in rtw89_chan_create() argument
95 chan->channel = center_chan; in rtw89_chan_create()
100 center_freq = ieee80211_channel_to_frequency(center_chan, nl_band); in rtw89_chan_create()
104 chan->subband_type = rtw89_get_subband_type(band, center_chan); in rtw89_chan_create()
Dchan.h43 void rtw89_chan_create(struct rtw89_chan *chan, u8 center_chan, u8 primary_chan,
Drtw8852c.c1178 u8 center_chan = chan->channel; in rtw8852c_spur_freq() local
1184 if (center_chan >= 5 && center_chan <= 8) in rtw8852c_spur_freq()
1186 if (center_chan == 13) in rtw8852c_spur_freq()
1189 if (center_chan >= 3 && center_chan <= 10) in rtw8852c_spur_freq()
1194 if (center_chan == 151 || center_chan == 153 || in rtw8852c_spur_freq()
1195 center_chan == 155 || center_chan == 163) in rtw8852c_spur_freq()
1199 if (center_chan == 195 || center_chan == 197 || in rtw8852c_spur_freq()
1200 center_chan == 199 || center_chan == 207) in rtw8852c_spur_freq()
Drtw8851b.c1153 u8 center_chan = chan->channel; in rtw8851b_spur_freq() local
1157 if (center_chan == 151 || center_chan == 153 || in rtw8851b_spur_freq()
1158 center_chan == 155 || center_chan == 163) in rtw8851b_spur_freq()
1160 else if (center_chan == 54 || center_chan == 58) in rtw8851b_spur_freq()
Dcore.c265 u8 center_chan; in rtw89_get_channel_params() local
270 center_chan = channel->hw_value; in rtw89_get_channel_params()
282 center_chan -= 2; in rtw89_get_channel_params()
284 center_chan += 2; in rtw89_get_channel_params()
292 center_chan -= 2 + offset * 4; in rtw89_get_channel_params()
295 center_chan += 2 + offset * 4; in rtw89_get_channel_params()
299 center_chan = 0; in rtw89_get_channel_params()
316 rtw89_chan_create(chan, center_chan, channel->hw_value, band, bandwidth); in rtw89_get_channel_params()
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dmain.c808 u8 center_chan; in rtw_get_channel_params() local
811 center_chan = channel->hw_value; in rtw_get_channel_params()
823 center_chan -= 2; in rtw_get_channel_params()
825 center_chan += 2; in rtw_get_channel_params()
831 center_chan -= 2; in rtw_get_channel_params()
833 center_chan -= 6; in rtw_get_channel_params()
836 center_chan += 2; in rtw_get_channel_params()
838 center_chan += 6; in rtw_get_channel_params()
842 center_chan = 0; in rtw_get_channel_params()
846 chan_params->center_chan = center_chan; in rtw_get_channel_params()
[all …]
Dcoex.c813 u8 center_chan = 0; in rtw_coex_update_wl_ch_info() local
820 center_chan = rtwdev->hal.current_channel; in rtw_coex_update_wl_ch_info()
822 if (center_chan == 0 || in rtw_coex_update_wl_ch_info()
823 (efuse->share_ant && center_chan <= 14 && in rtw_coex_update_wl_ch_info()
826 center_chan = 0; in rtw_coex_update_wl_ch_info()
828 } else if (center_chan <= 14) { in rtw_coex_update_wl_ch_info()
837 if (center_chan == chip->afh_5g[i].wl_5g_ch) { in rtw_coex_update_wl_ch_info()
839 center_chan = chip->afh_5g[i].bt_skip_ch; in rtw_coex_update_wl_ch_info()
847 coex_dm->wl_ch_info[1] = center_chan; in rtw_coex_update_wl_ch_info()
850 rtw_fw_wl_ch_info(rtwdev, link, center_chan, bw); in rtw_coex_update_wl_ch_info()
[all …]
Dmain.h515 u8 center_chan; member
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7603/
Dmcu.c391 u8 center_chan; in mt7603_mcu_set_channel() member
400 .center_chan = chandef->chan->hw_value, in mt7603_mcu_set_channel()
411 req.center_chan += 2; in mt7603_mcu_set_channel()
413 req.center_chan -= 2; in mt7603_mcu_set_channel()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dtestmode.c59 u8 center_chan; in mt7615_tm_set_tx_power() member
64 .center_chan = ieee80211_frequency_to_channel(freq), in mt7615_tm_set_tx_power()
Dmcu.c2125 u8 center_chan; in mt7615_mcu_set_chan_info() member
2143 .center_chan = ieee80211_frequency_to_channel(freq1), in mt7615_mcu_set_chan_info()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c50 u8 center_chan; in mt7915_tm_set_tx_power() member
55 .center_chan = ieee80211_frequency_to_channel(freq), in mt7915_tm_set_tx_power()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7996/
Dmcu.h245 u8 center_chan; member
Dmcu.c549 ch->center_chan = ieee80211_frequency_to_channel(freq1); in mt7996_mcu_bss_rfch_tlv()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7921/
Dmcu.c598 u8 center_chan; in mt7921_mcu_set_roc() member
619 .center_chan = center_ch, in mt7921_mcu_set_roc()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.c1439 u8 center_chan; in mt76_connac_mcu_uni_set_chctx() member
1458 .center_chan = ieee80211_frequency_to_channel(freq1), in mt76_connac_mcu_uni_set_chctx()
1495 if (rlm_req.rlm.control_channel < rlm_req.rlm.center_chan) in mt76_connac_mcu_uni_set_chctx()
1497 else if (rlm_req.rlm.control_channel > rlm_req.rlm.center_chan) in mt76_connac_mcu_uni_set_chctx()