| /linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
| H A D | rtl_btc.h | 31 void rtl_btc_switch_band_notify(struct rtl_priv *rtlpriv, u8 band_type, 33 void rtl_btc_switch_band_notify_wifionly(struct rtl_priv *rtlpriv, u8 band_type,
|
| H A D | rtl_btc.c | 453 void rtl_btc_switch_band_notify(struct rtl_priv *rtlpriv, u8 band_type, in rtl_btc_switch_band_notify() argument 462 switch (band_type) { in rtl_btc_switch_band_notify() 479 void rtl_btc_switch_band_notify_wifionly(struct rtl_priv *rtlpriv, u8 band_type, in rtl_btc_switch_band_notify_wifionly() argument 483 u8 is_5g = (band_type == BAND_ON_5G); in rtl_btc_switch_band_notify_wifionly()
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | rtw8852c.c | 875 switch (chan->band_type) { in rtw8852c_set_channel_mac() 884 rtw89_warn(rtwdev, "Invalid band_type:%d\n", chan->band_type); in rtw8852c_set_channel_mac() 1096 if (chan->band_type == RTW89_BAND_2G) { in rtw8852c_set_gain_offset() 1126 u8 band = chan->band_type; in rtw8852c_ctrl_ch() 1394 switch (chan->band_type) { in rtw8852c_spur_freq() 1841 bool cck_en = chan->band_type == RTW89_BAND_2G; in rtw8852c_set_channel_bb() 1846 if (chan->band_type == RTW89_BAND_2G) in rtw8852c_set_channel_bb() 1866 rtw8852c_ctrl_btg_bt_rx(rtwdev, chan->band_type == RTW89_BAND_2G, in rtw8852c_set_channel_bb() 1890 if (chan->band_type == RTW89_BAND_6G && in rtw8852c_set_channel_bb() 1917 if (chan->band_type == RTW89_BAND_6G) in rtw8852c_set_channel_bb() [all …]
|
| H A D | rtw8922d.c | 1226 switch (chan->band_type) { in rtw8922d_set_channel_mac() 1235 rtw89_warn(rtwdev, "Invalid band_type:%d\n", chan->band_type); in rtw8922d_set_channel_mac() 1261 if (chan->band_type == RTW89_BAND_2G && chip->txtime_limit_2ghz) in rtw8922d_set_channel_mac() 1306 if (chan->band_type == RTW89_BAND_2G) { in rtw8922d_ctrl_ch_core() 1484 if (chan->band_type == RTW89_BAND_2G) { in rtw8922d_set_lna_tia_gain() 1496 if (chan->band_type == RTW89_BAND_2G) { in rtw8922d_set_lna_tia_gain() 1525 if (chan->band_type == RTW89_BAND_2G) { in rtw8922d_set_op1db() 1537 if (chan->band_type == RTW89_BAND_2G) { in rtw8922d_set_op1db() 1744 if (chan->band_type == RTW89_BAND_2G) in rtw8922d_set_rx_gain_normal() 1758 if (chan->band_type != RTW89_BAND_2G) in rtw8922d_calc_rx_gain_normal() [all …]
|
| H A D | rtw8922a.c | 1103 switch (chan->band_type) { in rtw8922a_set_channel_mac() 1112 rtw89_warn(rtwdev, "Invalid band_type:%d\n", chan->band_type); in rtw8922a_set_channel_mac() 1333 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain() 1345 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain() 1357 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain() 1369 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain() 1460 if (chan->band_type == RTW89_BAND_2G) in rtw8922a_set_rx_gain_normal() 1497 u8 band = chan->band_type; in rtw8922a_ctrl_ch() 2088 u8 band = chan->band_type; in rtw8922a_digital_pwr_comp() 2183 bool cck_en = chan->band_type == RTW89_BAND_2G; in rtw8922a_set_channel_bb() [all …]
|
| H A D | rtw8851b.c | 1189 if (chan->band_type == RTW89_BAND_6G) in rtw8851b_ctrl_ch() 1357 switch (chan->band_type) { in rtw8851b_spur_freq() 1479 if (chan->band_type == RTW89_BAND_2G && in rtw8851b_set_cfr() 1664 u8 band = chan->band_type, chan_idx; in rtw8851b_set_channel_bb() 1677 if (chan->band_type == RTW89_BAND_5G) { in rtw8851b_set_channel_bb() 1744 rtw8851b_bb_reset_en(rtwdev, chan->band_type, phy_idx, false); in rtw8851b_set_channel_help() 1749 rtw8851b_bb_reset_en(rtwdev, chan->band_type, phy_idx, true); in rtw8851b_set_channel_help() 1921 u8 band = chan->band_type; in rtw8851b_set_tx_shape() 2003 if (chan->band_type == RTW89_BAND_2G) { in rtw8851b_ctrl_nbtg_bt_tx() 2042 if (chan->band_type == RTW89_BAND_2G) { in rtw8851b_ctrl_btg_bt_rx()
|
| H A D | rtw8852c_rfk.c | 1334 iqk_info->iqk_band[path] = chan->band_type; in _iqk_get_ch_info() 1761 if (chan->band_type == RTW89_BAND_5G) { in _rx_dck_channel_calc() 1771 } else if (chan->band_type == RTW89_BAND_6G) { in _rx_dck_channel_calc() 1916 dpk->bp[path][kidx].band = chan->band_type; in _dpk_information() 2510 cur_band = chan->band_type; in _dpk_reload_check() 2770 u8 band = chan->band_type; in _dpk_bypass_check() 2906 enum rtw89_band band = chan->band_type; in _tssi_set_sys() 2958 enum rtw89_band band = chan->band_type; in _tssi_set_dck() 3173 enum rtw89_band band = chan->band_type; in _tssi_slope_cal_org() 3190 enum rtw89_band band = chan->band_type; in _tssi_set_aligk_default() [all …]
|
| H A D | phy_be.c | 660 switch (chan->band_type) { in rtw89_phy_bb_wrap_be_bandedge_decision() 716 if (chan->band_type == RTW89_BAND_2G && in rtw89_phy_bb_wrap_set_rfsi_bandedge_ch() 1308 u8 band = chan->band_type; in rtw89_phy_set_txpwr_byrate_be() 1328 u8 band = chan->band_type; in rtw89_phy_set_txpwr_offset_be() 1579 u8 band = chan->band_type; in rtw89_phy_fill_limit_be() 1619 chan->band_type, chan->band_width); in rtw89_phy_set_txpwr_limit_be() 1720 u8 band = chan->band_type; in rtw89_phy_fill_limit_ru_be() 1831 u8 band = chan->band_type; in rtw89_phy_fill_limit_large_mru_be() 1916 chan->band_type, chan->band_width); in rtw89_phy_set_txpwr_limit_ru_be()
|
| H A D | rtw8852b_common.c | 774 if (chan->band_type == RTW89_BAND_6G) in rtw8852bx_ctrl_ch() 1126 switch (chan->band_type) { in rtw8852bt_spur_freq() 1173 u8 band = chan->band_type, chan_idx; in __rtw8852bx_set_channel_bb() 1183 if (chip_id == RTL8852B && chan->band_type == RTW89_BAND_5G) { in __rtw8852bx_set_channel_bb() 1324 u8 band = chan->band_type; in rtw8852bx_set_tx_shape() 1483 if (chan->band_type == RTW89_BAND_2G) in rtw8852bx_bb_set_pmac_tx() 1691 if (chan->band_type == RTW89_BAND_2G && in __rtw8852bx_bb_ctrl_rx_path()
|
| H A D | rtw8852b_rfk.c | 1399 iqk_info->iqk_band[path] = chan->band_type; in _iqk_get_ch_info() 1759 dpk->bp[path][kidx].band = chan->band_type; in _dpk_information() 2416 cur_band = chan->band_type; in _dpk_reload_check() 2545 if (fem->epa_2g && chan->band_type == RTW89_BAND_2G) { in _dpk_bypass_check() 2549 } else if (fem->epa_5g && chan->band_type == RTW89_BAND_5G) { in _dpk_bypass_check() 2553 } else if (fem->epa_6g && chan->band_type == RTW89_BAND_6G) { in _dpk_bypass_check() 2722 enum rtw89_band band = chan->band_type; in _tssi_rf_setting() 2733 enum rtw89_band band = chan->band_type; in _tssi_set_sys() 2945 enum rtw89_band band = chan->band_type; in _tssi_slope_cal_org() 2961 enum rtw89_band band = chan->band_type; in _tssi_alignment_default() [all …]
|
| H A D | rtw8852a_rfk.c | 1393 iqk_info->iqk_band[path] = chan->band_type; in _iqk_get_ch_info() 1877 dpk->bp[path][kidx].band = chan->band_type; in _dpk_information() 2551 cur_band = chan->band_type; in _dpk_reload_check() 2687 if (fem->epa_2g && chan->band_type == RTW89_BAND_2G) { in _dpk_bypass_check() 2691 } else if (fem->epa_5g && chan->band_type == RTW89_BAND_5G) { in _dpk_bypass_check() 2849 enum rtw89_band band = chan->band_type; in _tssi_rf_setting() 2860 enum rtw89_band band = chan->band_type; in _tssi_set_sys() 2872 enum rtw89_band band = chan->band_type; in _tssi_ini_txpwr_ctrl_bb() 3494 u8 band = chan->band_type; in _tssi_high_power() 3543 u8 band = chan->band_type; in _tssi_pre_tx()
|
| H A D | coex.h | 363 FIELD_PREP(BTC_RFK_BAND_MAP, chan->band_type); in rtw89_btc_phymap()
|
| H A D | phy.c | 213 switch (chan->band_type) { in rtw89_phy_ra_mask_cfg() 230 rtw89_warn(rtwdev, "unhandled band type %d\n", chan->band_type); in rtw89_phy_ra_mask_cfg() 282 u8 band = chan->band_type; in rtw89_phy_ra_gi_ltf() 401 switch (chan->band_type) { in rtw89_phy_ra_sta_update() 490 ra->band = chan->band_type; in rtw89_phy_ra_sta_update() 624 u8 band = chan->band_type; in __rtw89_phy_rate_pattern_vif() 2375 if (!rtw89_can_apply_ant_gain(rtwdev, chan->band_type)) in rtw89_phy_ant_gain_pwr_offset() 2394 if (!rtw89_can_apply_ant_gain(rtwdev, chan->band_type)) { in rtw89_print_ant_gain() 2829 u8 band = chan->band_type; in rtw89_phy_fill_txpwr_limit_ax() 3043 u8 band = chan->band_type; in rtw89_phy_fill_txpwr_limit_ru_ax() [all …]
|
| H A D | rtw8852bt.c | 572 rtw8852bt_bb_reset_en(rtwdev, chan->band_type, phy_idx, false); in rtw8852bt_set_channel_help() 577 rtw8852bt_bb_reset_en(rtwdev, chan->band_type, phy_idx, true); in rtw8852bt_set_channel_help()
|
| H A D | rtw8852b.c | 687 rtw8852b_bb_reset_en(rtwdev, chan->band_type, phy_idx, false); in rtw8852b_set_channel_help() 692 rtw8852b_bb_reset_en(rtwdev, chan->band_type, phy_idx, true); in rtw8852b_set_channel_help()
|
| H A D | rtw8851b_rfk.c | 586 chan->band_type == RTW89_BAND_2G ? "2G" : in _rx_dck_info() 587 chan->band_type == RTW89_BAND_5G ? "5G" : "6G", in _rx_dck_info() 1623 iqk_info->iqk_band[path] = chan->band_type; in _iqk_get_ch_info() 1897 dpk->bp[path][kidx].band = chan->band_type; in _dpk_information() 2783 enum rtw89_band band = chan->band_type; in _tssi_set_sys() 2923 enum rtw89_band band = chan->band_type; in _tssi_slope_cal_org() 2934 enum rtw89_band band = chan->band_type; in _tssi_alignment_default() 3786 rtw8851b_ctrl_bw_ch(rtwdev, phy_idx, chan->channel, chan->band_type, in rtw8851b_set_channel_rf()
|
| H A D | core.c | 591 rtw89_btc_ntfy_switch_band(rtwdev, phy_idx, chan->band_type); in __rtw89_set_channel() 764 else if (chan->band_type == RTW89_BAND_2G) in rtw89_core_get_mgmt_rate() 937 desc_info->data_rate, chan->channel, chan->band_type, in rtw89_core_tx_update_mgmt_info() 967 chan->band_type != RTW89_BAND_2G || in rtw89_core_get_no_ul_ofdma_htc() 1098 else if (chan->band_type == RTW89_BAND_2G) in rtw89_core_get_data_rate() 1109 if (!link_sta->supp_rates[chan->band_type]) { in rtw89_core_get_data_rate() 1114 rate = __ffs(link_sta->supp_rates[chan->band_type]) + lowest_rate; in rtw89_core_get_data_rate() 1259 desc_info->data_rate = idx + (chan->band_type == RTW89_BAND_2G ? in rtw89_core_tx_update_injection() 2836 switch (chan->band_type) { in rtw89_bcn_get_rx_time() 3893 band = rtw89_hw_to_nl80211_band(chan->band_type); in rtw89_core_correct_mcc_chan() [all …]
|
| H A D | fw.c | 3247 h2c->info[phy_idx].band = chan->band_type; in rtw89_fw_h2c_lps_ch_info() 3329 h2c->band[rtwvif_link->phy_idx] = chan->band_type; in rtw89_fw_h2c_lps_ml_cmn_info() 3397 chan->band_type, RTW89_CHANNEL_WIDTH_20); in rtw89_bb_lps_cmn_info_rx_gain_fill() 3499 h2c->band[phy_idx] = chan->band_type; in rtw89_fw_h2c_lps_ml_cmn_info_v1() 3922 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_assoc_cmac_tbl() 4075 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_assoc_cmac_tbl_g7() 4203 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_assoc_cmac_tbl_be() 4719 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_update_beacon() 4798 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_update_beacon_be() 7665 h2c->w0 |= le32_encode_bits(op->band_type, in rtw89_fw_h2c_scan_offload_ax() [all …]
|
| H A D | mac80211.c | 409 sifs = chan->band_type == RTW89_BAND_2G ? 10 : 16; in rtw89_aifsn_to_aifs() 821 if (chan->band_type == RTW89_BAND_6G) in rtw89_ops_start_ap()
|
| H A D | debug.c | 911 u8 band = chan->band_type; in __print_regd() 960 chan->band_type, chan->channel, chan->band_width); in rtw89_debug_priv_txpwr_table_get_regd() 965 if (chan->band_type == RTW89_BAND_6G) { in rtw89_debug_priv_txpwr_table_get_regd()
|
| H A D | rtw8852a.c | 1702 if (chan->band_type == RTW89_BAND_2G) in rtw8852a_bb_set_pmac_tx()
|
| H A D | mac.c | 5270 if (band == op->band_type && channel == op->primary_channel) in rtw89_hw_scan_search_op_chan() 5275 if (band == op->band_type && channel == op->primary_channel) in rtw89_hw_scan_search_op_chan() 7062 if (chan->band_type == RTW89_BAND_2G) in __rtw89_mac_set_tx_time()
|
| H A D | coex.c | 7302 wl->rf_ch_info[i].band = ch->chan.band_type; in _update_wl_mlo_info() 9256 chan->band_type, chan->channel, chan->band_width); in rtw89_btc_ntfy_role_info() 9317 r.band = chan->band_type; in rtw89_btc_ntfy_role_info() 9320 r.chdef.band = chan->band_type; in rtw89_btc_ntfy_role_info()
|
| H A D | core.h | 1043 enum rtw89_band band_type; member
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| H A D | phy.c | 876 enum band_type band, in _rtl8723be_get_txpower_by_rate()
|