Lines Matching defs:bw
132 efuse->hw_cap.bw = BIT(RTW_CHANNEL_WIDTH_20) |
189 efuse->hw_cap.bw &= ~BIT(RTW_CHANNEL_WIDTH_80);
195 "hw cap: hci=0x%02x, bw=0x%02x, ptcl=0x%02x, ant_num=%d, nss=%d\n",
196 efuse->hw_cap.hci, efuse->hw_cap.bw, efuse->hw_cap.ptcl,
927 static void rtw88xxa_switch_band(struct rtw_dev *rtwdev, u8 new_band, u8 bw)
950 if (bw == RTW_CHANNEL_WIDTH_20 &&
1292 static void rtw8812a_phy_fix_spur(struct rtw_dev *rtwdev, u8 channel, u8 bw)
1296 if (bw == RTW_CHANNEL_WIDTH_40 && channel == 11)
1304 if (bw == RTW_CHANNEL_WIDTH_20 && (channel == 13 || channel == 14)) {
1307 } else if (bw == RTW_CHANNEL_WIDTH_40 && channel == 11) {
1309 } else if (bw != RTW_CHANNEL_WIDTH_80) {
1317 if (bw == RTW_CHANNEL_WIDTH_20 && (channel == 13 || channel == 14))
1324 static void rtw88xxa_switch_channel(struct rtw_dev *rtwdev, u8 channel, u8 bw)
1370 rtw8812a_phy_fix_spur(rtwdev, channel, bw);
1376 static void rtw88xxa_set_reg_bw(struct rtw_dev *rtwdev, u8 bw)
1381 if (bw == RTW_CHANNEL_WIDTH_80)
1383 else if (bw == RTW_CHANNEL_WIDTH_40)
1390 u8 bw, u8 primary_chan_idx)
1396 rtw88xxa_set_reg_bw(rtwdev, bw);
1399 if (bw == RTW_CHANNEL_WIDTH_80) {
1411 switch (bw) {
1467 static void rtw88xxa_set_channel_rf(struct rtw_dev *rtwdev, u8 channel, u8 bw)
1472 switch (bw) {
1489 void rtw88xxa_set_channel(struct rtw_dev *rtwdev, u8 channel, u8 bw,
1505 rtw88xxa_switch_band(rtwdev, new_band, bw);
1507 rtw88xxa_switch_channel(rtwdev, channel, bw);
1509 rtw88xxa_post_set_bw_mode(rtwdev, channel, bw, primary_chan_idx);
1512 rtw8812a_phy_fix_spur(rtwdev, channel, bw);
1514 rtw88xxa_set_channel_rf(rtwdev, channel, bw);
1540 pkt_stat->bw = RTW_CHANNEL_WIDTH_20;
1607 static void rtw88xxa_tx_power_training(struct rtw_dev *rtwdev, u8 bw,