Home
last modified time | relevance | path

Searched refs:band_type (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.15/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Drtl_btc.h31 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 Drtl_btc.c453 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-6.15/drivers/net/wireless/realtek/rtw89/
H A Drtw8852c.c732 switch (chan->band_type) { in rtw8852c_set_channel_mac()
953 if (chan->band_type == RTW89_BAND_2G) { in rtw8852c_set_gain_offset()
983 u8 band = chan->band_type; in rtw8852c_ctrl_ch()
1251 switch (chan->band_type) { in rtw8852c_spur_freq()
1698 bool cck_en = chan->band_type == RTW89_BAND_2G; in rtw8852c_set_channel_bb()
1703 if (chan->band_type == RTW89_BAND_2G) in rtw8852c_set_channel_bb()
1747 if (chan->band_type == RTW89_BAND_6G && in rtw8852c_set_channel_bb()
1774 if (chan->band_type == RTW89_BAND_6G) in rtw8852c_set_channel_bb()
1782 ntx_path = chan->band_type == RTW89_BAND_6G ? RF_B : RF_AB; in rtw8852c_set_channel_bb()
2054 u8 band = chan->band_type; in rtw8852c_set_tx_shape()
[all …]
H A Dphy_be.c522 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 Drtw8851b.c1055 if (chan->band_type == RTW89_BAND_6G) in rtw8851b_ctrl_ch()
1190 switch (chan->band_type) { in rtw8851b_spur_freq()
1312 if (chan->band_type == RTW89_BAND_2G && in rtw8851b_set_cfr()
1497 u8 band = chan->band_type, chan_idx; in rtw8851b_set_channel_bb()
1510 if (chan->band_type == RTW89_BAND_5G) { in rtw8851b_set_channel_bb()
1577 rtw8851b_bb_reset_en(rtwdev, chan->band_type, phy_idx, false); in rtw8851b_set_channel_help()
1582 rtw8851b_bb_reset_en(rtwdev, chan->band_type, phy_idx, true); in rtw8851b_set_channel_help()
1755 u8 band = chan->band_type; in rtw8851b_set_tx_shape()
1838 if (chan->band_type == RTW89_BAND_2G) { in rtw8851b_ctrl_nbtg_bt_tx()
1877 if (chan->band_type == RTW89_BAND_2G) { in rtw8851b_ctrl_btg_bt_rx()
H A Drtw8922a.c848 switch (chan->band_type) { in rtw8922a_set_channel_mac()
1078 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain()
1090 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain()
1102 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain()
1114 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain()
1205 if (chan->band_type == RTW89_BAND_2G) in rtw8922a_set_rx_gain_normal()
1242 u8 band = chan->band_type; in rtw8922a_ctrl_ch()
1796 bool enable = chan->band_type != RTW89_BAND_2G; in rtw8922a_digital_pwr_comp()
1900 bool cck_en = chan->band_type == RTW89_BAND_2G; in rtw8922a_set_channel_bb()
2226 band = chan->band_type; in rtw8922a_set_tx_shape()
[all …]
H A Drtw8922a_rfk.c153 rtw8922a_ctl_band_ch_bw(rtwdev, phy_idx, chan->channel, chan->band_type, in rtw8922a_set_channel_rf()
277 rfk_mcc->data[path].band[tbl_sel] = chan->band_type; in rtw8922a_chlk_reload_sel_tbl()
H A Drtw8852c_rfk.c1761 if (chan->band_type == RTW89_BAND_5G) { in _rx_dck_channel_calc()
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()
3630 enum rtw89_band band = chan->band_type; in _tssi_get_ofdm_de()
4102 chan->band_type, in rtw8852c_set_channel_rf()
4139 rfk_mcc->band[idx] = chan->band_type; in rtw8852c_mcc_get_ch_info()
[all …]
H A Drtw8852b_common.c777 if (chan->band_type == RTW89_BAND_6G) in rtw8852bx_ctrl_ch()
1129 switch (chan->band_type) { in rtw8852bt_spur_freq()
1176 u8 band = chan->band_type, chan_idx; in __rtw8852bx_set_channel_bb()
1186 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()
1465 if (chan->band_type == RTW89_BAND_2G) in rtw8852bx_bb_set_pmac_tx()
1673 if (chan->band_type == RTW89_BAND_2G && in __rtw8852bx_bb_ctrl_rx_path()
H A Dsar.c404 u8 band = chan->band_type; in rtw89_tas_get_window_size()
598 "tas: band: %u, freq: %u\n", chan->band_type, chan->freq); in rtw89_tas_reset()
H A Dchan.c117 chan->band_type = band; in rtw89_chan_create()
141 rcd->prev_band_type = chan->band_type; in rtw89_assign_entity_chan()
142 band_changed = new->band_type != chan->band_type; in rtw89_assign_entity_chan()
841 role->is_2ghz = chan->band_type == RTW89_BAND_2G; in rtw89_mcc_fill_role()
1589 req.ch_band_type = chan->band_type; in __mcc_fw_add_role()
1647 slot_arg->roles[0].band = chan->band_type; in __mrc_fw_add_role()
H A Drtw8852b_rfk.c1413 iqk_info->iqk_band[path] = chan->band_type; in _iqk_get_ch_info()
1774 dpk->bp[path][kidx].band = chan->band_type; in _dpk_information()
2431 cur_band = chan->band_type; in _dpk_reload_check()
2560 if (fem->epa_2g && chan->band_type == RTW89_BAND_2G) { in _dpk_bypass_check()
2564 } else if (fem->epa_5g && chan->band_type == RTW89_BAND_5G) { in _dpk_bypass_check()
2568 } else if (fem->epa_6g && chan->band_type == RTW89_BAND_6G) { in _dpk_bypass_check()
2737 enum rtw89_band band = chan->band_type; in _tssi_rf_setting()
2748 enum rtw89_band band = chan->band_type; in _tssi_set_sys()
2956 enum rtw89_band band = chan->band_type; in _tssi_slope_cal_org()
2972 enum rtw89_band band = chan->band_type; in _tssi_alignment_default()
[all …]
H A Drtw8852bt_rfk.c1556 iqk_info->iqk_band[path] = chan->band_type; in _iqk_get_ch_info()
1892 dpk->bp[path][kidx].band = chan->band_type; in _dpk_information()
2517 cur_band = chan->band_type; in _dpk_reload_check()
2660 if (fem->epa_2g && chan->band_type == RTW89_BAND_2G) { in _dpk_bypass_check()
2664 } else if (fem->epa_5g && chan->band_type == RTW89_BAND_5G) { in _dpk_bypass_check()
2668 } else if (fem->epa_6g && chan->band_type == RTW89_BAND_6G) { in _dpk_bypass_check()
2828 enum rtw89_band band = chan->band_type; in _tssi_rf_setting()
2839 enum rtw89_band band = chan->band_type; in _tssi_set_sys()
3055 enum rtw89_band band = chan->band_type; in _tssi_slope_cal_org()
3071 enum rtw89_band band = chan->band_type; in _tssi_alignment_default()
[all …]
H A Dcoex.h306 FIELD_PREP(BTC_RFK_BAND_MAP, chan->band_type); in rtw89_btc_phymap()
H A Drtw8852a_rfk.c1393 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()
3490 u8 band = chan->band_type; in _tssi_high_power()
3539 u8 band = chan->band_type; in _tssi_pre_tx()
H A Dphy.c211 switch (chan->band_type) { in rtw89_phy_ra_mask_cfg()
275 u8 band = chan->band_type; in rtw89_phy_ra_gi_ltf()
386 switch (chan->band_type) { in rtw89_phy_ra_sta_update()
591 u8 band = chan->band_type; in __rtw89_phy_rate_pattern_vif()
2488 u8 band = chan->band_type; in rtw89_phy_fill_txpwr_limit_ax()
2682 u8 band = chan->band_type; in rtw89_phy_fill_txpwr_limit_ru_ax()
2720 u8 band = chan->band_type; in rtw89_phy_set_txpwr_byrate_ax()
2773 u8 band = chan->band_type; in rtw89_phy_set_txpwr_offset_ax()
3993 enum rtw89_band band = chan->band_type; in phy_tssi_get_ofdm_de()
4063 enum rtw89_band band = chan->band_type; in phy_tssi_get_ofdm_trim_de()
[all …]
H A Drtw8852bt.c524 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 Drtw8852b.c551 rtw8852b_bb_reset_en(rtwdev, chan->band_type, phy_idx, false); in rtw8852b_set_channel_help()
556 rtw8852b_bb_reset_en(rtwdev, chan->band_type, phy_idx, true); in rtw8852b_set_channel_help()
H A Drtw8851b_rfk.c531 chan->band_type == RTW89_BAND_2G ? "2G" : in _rx_dck_info()
532 chan->band_type == RTW89_BAND_5G ? "5G" : "6G", in _rx_dck_info()
1492 iqk_info->iqk_band[path] = chan->band_type; in _iqk_get_ch_info()
1760 dpk->bp[path][kidx].band = chan->band_type; in _dpk_information()
2628 enum rtw89_band band = chan->band_type; in _tssi_set_sys()
2764 enum rtw89_band band = chan->band_type; in _tssi_slope_cal_org()
2775 enum rtw89_band band = chan->band_type; in _tssi_alignment_default()
3627 rtw8851b_ctrl_bw_ch(rtwdev, phy_idx, chan->channel, chan->band_type, in rtw8851b_set_channel_rf()
H A Dregd.c885 if (chan->band_type != RTW89_BAND_6G) in __rtw89_reg_6ghz_tpe_recalc()
966 if (chan->band_type != RTW89_BAND_6G) in __rtw89_reg_6ghz_power_recalc()
H A Dcore.c444 rtw89_btc_ntfy_switch_band(rtwdev, phy_idx, chan->band_type); in __rtw89_set_channel()
615 else if (chan->band_type == RTW89_BAND_2G) in rtw89_core_get_mgmt_rate()
697 desc_info->data_rate, chan->channel, chan->band_type, in rtw89_core_tx_update_mgmt_info()
727 chan->band_type != RTW89_BAND_2G || in rtw89_core_get_no_ul_ofdma_htc()
854 else if (chan->band_type == RTW89_BAND_2G) in rtw89_core_get_data_rate()
865 if (!link_sta->supp_rates[chan->band_type]) { in rtw89_core_get_data_rate()
870 rate = __ffs(link_sta->supp_rates[chan->band_type]) + lowest_rate; in rtw89_core_get_data_rate()
2722 u8 band = cur->band_type; in rtw89_core_update_rx_status()
4953 rtw89_btc_ntfy_scan_start(rtwdev, rtwvif_link->phy_idx, chan->band_type); in rtw89_core_scan_start()
H A Dfw.c2871 h2c->info[phy_idx].band = chan->band_type; in rtw89_fw_h2c_lps_ch_info()
3301 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_assoc_cmac_tbl()
3454 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_assoc_cmac_tbl_g7()
3765 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_update_beacon()
3844 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_update_beacon_be()
5536 h2c->w0 |= le32_encode_bits(op->band_type, in rtw89_fw_h2c_scan_offload_ax()
5992 h2c->band = chan->band_type; in rtw89_fw_h2c_rf_tssi()
6073 h2c->cur_band = chan->band_type; in rtw89_fw_h2c_rf_dpk()
6116 h2c->band = chan->band_type; in rtw89_fw_h2c_rf_txgapk()
6202 v0->cur_band = chan->band_type; in rtw89_fw_h2c_rf_rxdck()
[all …]
H A Dmac80211.c389 sifs = chan->band_type == RTW89_BAND_2G ? 10 : 16; in rtw89_aifsn_to_aifs()
776 if (chan->band_type == RTW89_BAND_6G) in rtw89_ops_start_ap()
/linux-6.15/drivers/net/wireless/realtek/rtlwifi/
H A Dwifi.h848 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-6.15/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dphy.c824 enum band_type band, in _rtl92ee_store_tx_power_by_rate()
1149 enum band_type band, in _rtl92ee_get_txpower_by_rate()

12