/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 | phy_be.c | 522 u8 band = chan->band_type; in rtw89_phy_set_txpwr_byrate_be() 542 u8 band = chan->band_type; in rtw89_phy_set_txpwr_offset_be() 793 u8 band = chan->band_type; in rtw89_phy_fill_limit_be() 833 chan->band_type, chan->band_width); in rtw89_phy_set_txpwr_limit_be() 934 u8 band = chan->band_type; in rtw89_phy_fill_limit_ru_be() 973 chan->band_type, chan->band_width); in rtw89_phy_set_txpwr_limit_ru_be()
|
H A D | rtw8922a.c | 849 switch (chan->band_type) { in rtw8922a_set_channel_mac() 858 rtw89_warn(rtwdev, "Invalid band_type:%d\n", chan->band_type); in rtw8922a_set_channel_mac() 1079 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain() 1091 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain() 1103 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain() 1115 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain() 1206 if (chan->band_type == RTW89_BAND_2G) in rtw8922a_set_rx_gain_normal() 1243 u8 band = chan->band_type; in rtw8922a_ctrl_ch() 1797 bool enable = chan->band_type ! in rtw8922a_digital_pwr_comp() [all...] |
H A D | rtw8922a_rfk.c | 88 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_ctl_band_ch_bw() 230 rfk_mcc->data[path].band[tbl_sel] = chan->band_type; in rtw8922a_chlk_reload_sel_tbl()
|
H A D | rtw8851b.c | 1143 if (chan->band_type == RTW89_BAND_6G) in rtw8851b_ctrl_ch() 1311 switch (chan->band_type) { in rtw8851b_spur_freq() 1433 if (chan->band_type == RTW89_BAND_2G && in rtw8851b_set_cfr() 1618 u8 band = chan->band_type, chan_idx; in rtw8851b_set_channel_bb() 1631 if (chan->band_type == RTW89_BAND_5G) { in rtw8851b_set_channel_bb() 1698 rtw8851b_bb_reset_en(rtwdev, chan->band_type, phy_idx, false); in rtw8851b_set_channel_help() 1703 rtw8851b_bb_reset_en(rtwdev, chan->band_type, phy_idx, true); in rtw8851b_set_channel_help() 1876 u8 band = chan->band_type; in rtw8851b_set_tx_shape() 1959 if (chan->band_type == RTW89_BAND_2G) { in rtw8851b_ctrl_nbtg_bt_tx() 1998 if (chan->band_type in rtw8851b_ctrl_btg_bt_rx() [all...] |
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() 3202 enum rtw89_band band = chan->band_type; in _tssi_slope_cal_org() 3219 enum rtw89_band band = chan->band_type; in _tssi_set_aligk_default() [all...] |
H A D | rtw8852b_common.c | 776 if (chan->band_type == RTW89_BAND_6G) in rtw8852bx_ctrl_ch() 1128 switch (chan->band_type) { in rtw8852bt_spur_freq() 1175 u8 band = chan->band_type, chan_idx; in __rtw8852bx_set_channel_bb() 1185 if (chip_id == RTL8852B && chan->band_type == RTW89_BAND_5G) { in __rtw8852bx_set_channel_bb() 1327 u8 band = chan->band_type; in rtw8852bx_set_tx_shape() 1487 if (chan->band_type == RTW89_BAND_2G) in rtw8852bx_bb_set_pmac_tx() 1695 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() 2941 enum rtw89_band band = chan->band_type; in _tssi_slope_cal_org() 2957 enum rtw89_band band = chan->band_type; in _tssi_alignment_default() [all...] |
H A D | rtw8852bt_rfk.c | 1542 iqk_info->iqk_band[path] = chan->band_type; in _iqk_get_ch_info() 1879 dpk->bp[path][kidx].band = chan->band_type; in _dpk_information() 2504 cur_band = chan->band_type; in _dpk_reload_check() 2647 if (fem->epa_2g && chan->band_type == RTW89_BAND_2G) { in _dpk_bypass_check() 2651 } else if (fem->epa_5g && chan->band_type == RTW89_BAND_5G) { in _dpk_bypass_check() 2655 } else if (fem->epa_6g && chan->band_type == RTW89_BAND_6G) { in _dpk_bypass_check() 2815 enum rtw89_band band = chan->band_type; in _tssi_rf_setting() 2826 enum rtw89_band band = chan->band_type; in _tssi_set_sys() 3042 enum rtw89_band band = chan->band_type; in _tssi_slope_cal_org() 3058 enum rtw89_band band = chan->band_type; in _tssi_alignment_default() [all...] |
H A D | chan.c | 118 chan->band_type = band; in rtw89_chan_create() 184 rcd->prev_band_type = chan->band_type; in rtw89_assign_entity_chan() 185 band_changed = new->band_type != chan->band_type; in rtw89_assign_entity_chan() 925 role->is_2ghz = chan->band_type == RTW89_BAND_2G; in rtw89_mcc_fill_role() 1788 req.ch_band_type = chan->band_type; in __mcc_fw_add_role() 1846 slot_arg->roles[0].band = chan->band_type; in __mrc_fw_add_role() 3064 num[chan->band_type]++; in __rtw89_query_mr_ctxtype()
|
H A D | rtw8852bt.c | 524 rtw8852bt_bb_reset_en(rtwdev, chan->band_type, phy_idx, false); in rtw8852bt_set_channel_help() 529 rtw8852bt_bb_reset_en(rtwdev, chan->band_type, phy_idx, true); in rtw8852bt_set_channel_help()
|
H A D | core.c | 474 rtw89_btc_ntfy_switch_band(rtwdev, phy_idx, chan->band_type); in __rtw89_set_channel() 645 else if (chan->band_type == RTW89_BAND_2G) in rtw89_core_get_mgmt_rate() 735 desc_info->data_rate, chan->channel, chan->band_type, in rtw89_core_tx_update_mgmt_info() 765 chan->band_type != RTW89_BAND_2G || in rtw89_core_get_no_ul_ofdma_htc() 892 else if (chan->band_type == RTW89_BAND_2G) in rtw89_core_get_data_rate() 903 if (!link_sta->supp_rates[chan->band_type]) { in rtw89_core_get_data_rate() 908 rate = __ffs(link_sta->supp_rates[chan->band_type]) + lowest_rate; in rtw89_core_get_data_rate() 2538 band = rtw89_hw_to_nl80211_band(chan->band_type); in rtw89_core_correct_mcc_chan() 2845 u8 band = cur->band_type; in rtw89_core_update_rx_status() 3770 if (decided_bands & BIT(chan->band_type)) in rtw89_core_mlsr_link_decision() [all...] |
H A D | fw.c | 2915 h2c->info[phy_idx].band = chan->band_type; in rtw89_fw_h2c_lps_ch_info() 2995 h2c->band[rtwvif_link->phy_idx] = chan->band_type; in rtw89_fw_h2c_lps_ml_cmn_info() 3343 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_assoc_cmac_tbl() 3496 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_assoc_cmac_tbl_g7() 3850 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_update_beacon() 3929 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_update_beacon_be() 5699 h2c->w0 |= le32_encode_bits(op->band_type, in rtw89_fw_h2c_scan_offload_ax() 5923 opch->w1 = le32_encode_bits(scan_op[i].chan.band_type, in rtw89_fw_h2c_scan_offload_be() 6098 le32_encode_bits(chan->band_type, RTW89_H2C_MCC_DIG_W0_BAND_TYPE); in rtw89_fw_h2c_mcc_dig() 6318 h2c->band = chan->band_type; in rtw89_fw_h2c_rf_tssi() [all...] |
H A D | regd.c | 992 if (chan->band_type != RTW89_BAND_6G) in __rtw89_reg_6ghz_tpe_recalc() 1073 if (chan->band_type != RTW89_BAND_6G) in __rtw89_reg_6ghz_power_recalc()
|
H A D | debug.c | 863 u8 band = chan->band_type; in __print_regd() 906 chan->band_type, chan->channel, chan->band_width); in rtw89_debug_priv_txpwr_table_get_regd() 911 if (chan->band_type == RTW89_BAND_6G) { in rtw89_debug_priv_txpwr_table_get_regd()
|
H A D | mac.c | 4965 if (band == op->band_type && channel == op->primary_channel) in rtw89_hw_scan_search_op_chan() 4970 if (band == op->band_type && channel == op->primary_channel) in rtw89_hw_scan_search_op_chan()
|
H A D | core.h | 968 enum rtw89_band band_type; member 1580 u8 hwb_rf_band[RTW89_PHY_NUM]; /* enum band_type, RF-band for HW-band */ 1581 u8 path_rf_band[RTW89_PHY_NUM]; /* enum band_type, RF-band for PHY0/1 */ 1738 u8 rf_band; /* enum band_type RF band: 2.4G/5G/6G */
|
/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | wifi.h | 848 enum band_type { enum 1639 enum band_type current_bandtype; /* 0:2.4G, 1:5G */ 1640 enum band_type current_bandtypebackup; 1641 enum band_type bandset;
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | phy.c | 595 rtlhal->current_bandtype = (enum band_type) band; in rtl8821ae_phy_switch_wirelessband() 1163 enum band_type band, u8 rate) in _rtl8812ae_phy_get_txpower_by_rate_base_index()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | phy.c | 876 enum band_type band, in _rtl8723be_get_txpower_by_rate()
|