Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/btcoexist/
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,
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.12.1/drivers/net/wireless/realtek/rtw89/
Drtw8852c.c724 switch (chan->band_type) { in rtw8852c_set_channel_mac()
733 rtw89_warn(rtwdev, "Invalid band_type:%d\n", chan->band_type); in rtw8852c_set_channel_mac()
945 if (chan->band_type == RTW89_BAND_2G) { in rtw8852c_set_gain_offset()
975 u8 band = chan->band_type; in rtw8852c_ctrl_ch()
1243 switch (chan->band_type) { in rtw8852c_spur_freq()
1690 bool cck_en = chan->band_type == RTW89_BAND_2G; in rtw8852c_set_channel_bb()
1695 if (chan->band_type == RTW89_BAND_2G) in rtw8852c_set_channel_bb()
1715 rtw8852c_ctrl_btg_bt_rx(rtwdev, chan->band_type == RTW89_BAND_2G, in rtw8852c_set_channel_bb()
1739 if (chan->band_type == RTW89_BAND_6G && in rtw8852c_set_channel_bb()
1766 if (chan->band_type == RTW89_BAND_6G) in rtw8852c_set_channel_bb()
[all …]
Dphy_be.c516 u8 band = chan->band_type; in rtw89_phy_set_txpwr_byrate_be()
536 u8 band = chan->band_type; in rtw89_phy_set_txpwr_offset_be()
787 u8 band = chan->band_type; in rtw89_phy_fill_limit_be()
827 chan->band_type, chan->band_width); in rtw89_phy_set_txpwr_limit_be()
928 u8 band = chan->band_type; in rtw89_phy_fill_limit_ru_be()
967 chan->band_type, chan->band_width); in rtw89_phy_set_txpwr_limit_ru_be()
Drtw8922a_rfk.c153 rtw8922a_ctl_band_ch_bw(rtwdev, phy_idx, chan->channel, chan->band_type, in rtw8922a_set_channel_rf()
292 rfk_mcc->band[tbl_sel] = chan->band_type; in rtw8922a_chlk_reload()
Drtw8851b.c1048 if (chan->band_type == RTW89_BAND_6G) in rtw8851b_ctrl_ch()
1183 switch (chan->band_type) { in rtw8851b_spur_freq()
1305 if (chan->band_type == RTW89_BAND_2G && in rtw8851b_set_cfr()
1490 u8 band = chan->band_type, chan_idx; in rtw8851b_set_channel_bb()
1503 if (chan->band_type == RTW89_BAND_5G) { in rtw8851b_set_channel_bb()
1570 rtw8851b_bb_reset_en(rtwdev, chan->band_type, phy_idx, false); in rtw8851b_set_channel_help()
1575 rtw8851b_bb_reset_en(rtwdev, chan->band_type, phy_idx, true); in rtw8851b_set_channel_help()
1739 u8 band = chan->band_type; in rtw8851b_set_tx_shape()
1822 if (chan->band_type == RTW89_BAND_2G) { in rtw8851b_ctrl_nbtg_bt_tx()
1861 if (chan->band_type == RTW89_BAND_2G) { in rtw8851b_ctrl_btg_bt_rx()
Drtw8922a.c843 switch (chan->band_type) { in rtw8922a_set_channel_mac()
852 rtw89_warn(rtwdev, "Invalid band_type:%d\n", chan->band_type); in rtw8922a_set_channel_mac()
1037 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain()
1049 if (chan->band_type == RTW89_BAND_2G) { in rtw8922a_set_lna_tia_gain()
1140 if (chan->band_type == RTW89_BAND_2G) in rtw8922a_set_rx_gain_normal()
1177 u8 band = chan->band_type; in rtw8922a_ctrl_ch()
1731 bool enable = chan->band_type != RTW89_BAND_2G; in rtw8922a_digital_pwr_comp()
1828 bool cck_en = chan->band_type == RTW89_BAND_2G; in rtw8922a_set_channel_bb()
1977 rtw8922a_hal_reset(rtwdev, phy_idx, mac_idx, chan->band_type, &p->tx_en, enter); in rtw8922a_set_channel_help()
2093 band = chan->band_type; in rtw8922a_set_tx_shape()
[all …]
Drtw8852c_rfk.c1334 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 …]
Dchan.c112 chan->band_type = band; in rtw89_chan_create()
136 rcd->prev_band_type = chan->band_type; in rtw89_assign_entity_chan()
137 band_changed = new->band_type != chan->band_type; in rtw89_assign_entity_chan()
654 role->is_2ghz = chan->band_type == RTW89_BAND_2G; in rtw89_mcc_fill_role()
1397 req.ch_band_type = chan->band_type; in __mcc_fw_add_role()
1455 slot_arg->roles[0].band = chan->band_type; in __mrc_fw_add_role()
Drtw8852b_common.c777 if (chan->band_type == RTW89_BAND_6G) in rtw8852bx_ctrl_ch()
1131 switch (chan->band_type) { in rtw8852bt_spur_freq()
1178 u8 band = chan->band_type, chan_idx; in __rtw8852bx_set_channel_bb()
1188 if (chip_id == RTL8852B && chan->band_type == RTW89_BAND_5G) { in __rtw8852bx_set_channel_bb()
1326 u8 band = chan->band_type; in rtw8852bx_set_tx_shape()
1453 if (chan->band_type == RTW89_BAND_2G) in rtw8852bx_bb_set_pmac_tx()
1661 if (chan->band_type == RTW89_BAND_2G && in __rtw8852bx_bb_ctrl_rx_path()
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 …]
Dcoex.h302 FIELD_PREP(BTC_RFK_BAND_MAP, chan->band_type); in rtw89_btc_phymap()
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 …]
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()
Dphy.c209 switch (chan->band_type) { in rtw89_phy_ra_mask_cfg()
226 rtw89_warn(rtwdev, "unhandled band type %d\n", chan->band_type); in rtw89_phy_ra_mask_cfg()
269 u8 band = chan->band_type; in rtw89_phy_ra_gi_ltf()
368 switch (chan->band_type) { in rtw89_phy_ra_sta_update()
553 u8 band = chan->band_type; in rtw89_phy_rate_pattern_vif()
2177 u8 band = chan->band_type; in rtw89_phy_fill_txpwr_limit_ax()
2370 u8 band = chan->band_type; in rtw89_phy_fill_txpwr_limit_ru_ax()
2408 u8 band = chan->band_type; in rtw89_phy_set_txpwr_byrate_ax()
2461 u8 band = chan->band_type; in rtw89_phy_set_txpwr_offset_ax()
3494 enum rtw89_band band = chan->band_type; in phy_tssi_get_ofdm_de()
[all …]
Drtw8852bt.c517 rtw8852bt_bb_reset_en(rtwdev, chan->band_type, phy_idx, false); in rtw8852bt_set_channel_help()
522 rtw8852bt_bb_reset_en(rtwdev, chan->band_type, phy_idx, true); in rtw8852bt_set_channel_help()
Drtw8852b.c544 rtw8852b_bb_reset_en(rtwdev, chan->band_type, phy_idx, false); in rtw8852b_set_channel_help()
549 rtw8852b_bb_reset_en(rtwdev, chan->band_type, phy_idx, true); in rtw8852b_set_channel_help()
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()
Dcore.c431 rtw89_btc_ntfy_switch_band(rtwdev, phy_idx, chan->band_type); in rtw89_set_channel()
579 else if (chan->band_type == RTW89_BAND_2G) in rtw89_core_get_mgmt_rate()
652 desc_info->data_rate, chan->channel, chan->band_type, in rtw89_core_tx_update_mgmt_info()
682 chan->band_type != RTW89_BAND_2G || in rtw89_core_get_no_ul_ofdma_htc()
799 else if (chan->band_type == RTW89_BAND_2G) in rtw89_core_get_data_rate()
804 if (!sta || !sta->deflink.supp_rates[chan->band_type]) in rtw89_core_get_data_rate()
807 return __ffs(sta->deflink.supp_rates[chan->band_type]) + lowest_rate; in rtw89_core_get_data_rate()
2486 u8 band = cur->band_type; in rtw89_core_update_rx_status()
4459 rtw89_btc_ntfy_scan_start(rtwdev, RTW89_PHY_0, chan->band_type); in rtw89_core_scan_start()
Dregd.c804 if (chan->band_type != RTW89_BAND_6G) in __rtw89_reg_6ghz_tpe_recalc()
876 if (chan->band_type != RTW89_BAND_6G) in __rtw89_reg_6ghz_power_recalc()
Dmac80211.c323 sifs = chan->band_type == RTW89_BAND_2G ? 10 : 16; in rtw89_aifsn_to_aifs()
509 if (chan->band_type == RTW89_BAND_6G) { in rtw89_ops_start_ap()
Dfw.c2521 h2c->info[0].band = chan->band_type; in rtw89_fw_h2c_lps_ch_info()
2832 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_assoc_cmac_tbl()
2973 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_assoc_cmac_tbl_g7()
3231 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_update_beacon()
3310 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_update_beacon_be()
4914 h2c->w0 |= le32_encode_bits(op->band_type, in rtw89_fw_h2c_scan_offload_ax()
5100 le32_encode_bits(op->band_type, in rtw89_fw_h2c_scan_offload_be()
5337 h2c->band = chan->band_type; in rtw89_fw_h2c_rf_tssi()
5418 h2c->cur_band = chan->band_type; in rtw89_fw_h2c_rf_dpk()
5461 h2c->band = chan->band_type; in rtw89_fw_h2c_rf_txgapk()
[all …]
Ddebug.c794 u8 band = chan->band_type; in __print_regd()
851 chan->band_type, chan->channel, chan->band_width); in rtw89_debug_priv_txpwr_table_get_regd()
856 if (chan->band_type == RTW89_BAND_6G) { in rtw89_debug_priv_txpwr_table_get_regd()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/
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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
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