Home
last modified time | relevance | path

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

/openbmc/linux/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()
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dchan.c97 chan->band_type = band; in rtw89_chan_create()
119 rcd->prev_band_type = chan->band_type; in rtw89_assign_entity_chan()
120 band_changed = new->band_type != chan->band_type; in rtw89_assign_entity_chan()
H A Drtw8852c.c662 switch (chan->band_type) { in rtw8852c_set_channel_mac()
883 if (chan->band_type == RTW89_BAND_2G) { in rtw8852c_set_gain_offset()
913 u8 band = chan->band_type; in rtw8852c_ctrl_ch()
1181 switch (chan->band_type) { in rtw8852c_spur_freq()
1628 bool cck_en = chan->band_type == RTW89_BAND_2G; in rtw8852c_set_channel_bb()
1633 if (chan->band_type == RTW89_BAND_2G) in rtw8852c_set_channel_bb()
1653 rtw8852c_ctrl_btg(rtwdev, chan->band_type == RTW89_BAND_2G); in rtw8852c_set_channel_bb()
1676 if (chan->band_type == RTW89_BAND_6G && in rtw8852c_set_channel_bb()
1703 if (chan->band_type == RTW89_BAND_6G) in rtw8852c_set_channel_bb()
1967 u8 band = chan->band_type; in rtw8852c_set_tx_shape()
[all …]
H A Dcoex.h184 FIELD_PREP(BTC_RFK_BAND_MAP, chan->band_type); in rtw89_btc_phymap()
H A Drtw8851b.c1020 if (chan->band_type == RTW89_BAND_6G) in rtw8851b_ctrl_ch()
1155 switch (chan->band_type) { in rtw8851b_spur_freq()
1277 if (chan->band_type == RTW89_BAND_2G && in rtw8851b_set_cfr()
1462 u8 band = chan->band_type, chan_idx; in rtw8851b_set_channel_bb()
1475 if (chan->band_type == RTW89_BAND_5G) { in rtw8851b_set_channel_bb()
1542 rtw8851b_bb_reset_en(rtwdev, chan->band_type, phy_idx, false); in rtw8851b_set_channel_help()
1547 rtw8851b_bb_reset_en(rtwdev, chan->band_type, phy_idx, true); in rtw8851b_set_channel_help()
1707 u8 band = chan->band_type; in rtw8851b_set_tx_shape()
1789 if (chan->band_type == RTW89_BAND_2G) { in rtw8851b_bb_ctrl_btc_preagc()
1827 if (chan->band_type == RTW89_BAND_2G) { in rtw8851b_ctrl_btg()
H A Drtw8852c_rfk.c1755 if (chan->band_type == RTW89_BAND_5G) { in _rx_dck_channel_calc()
2504 cur_band = chan->band_type; in _dpk_reload_check()
2761 u8 band = chan->band_type; in _dpk_bypass_check()
2896 enum rtw89_band band = chan->band_type; in _tssi_set_sys()
2931 enum rtw89_band band = chan->band_type; in _tssi_set_dck()
3144 enum rtw89_band band = chan->band_type; in _tssi_slope_cal_org()
3161 enum rtw89_band band = chan->band_type; in _tssi_set_aligk_default()
3573 enum rtw89_band band = chan->band_type; in _tssi_get_ofdm_de()
4046 chan->band_type, in rtw8852c_set_channel_rf()
4066 rfk_mcc->band[idx] = chan->band_type; in rtw8852c_mcc_get_ch_info()
[all …]
H A Drtw8852b.c1140 if (chan->band_type == RTW89_BAND_6G) in rtw8852b_ctrl_ch()
1441 u8 band = chan->band_type, chan_idx; in rtw8852b_set_channel_bb()
1449 if (chan->band_type == RTW89_BAND_5G) { in rtw8852b_set_channel_bb()
1530 rtw8852b_bb_reset_en(rtwdev, chan->band_type, phy_idx, false); in rtw8852b_set_channel_help()
1535 rtw8852b_bb_reset_en(rtwdev, chan->band_type, phy_idx, true); in rtw8852b_set_channel_help()
1692 u8 band = chan->band_type; in rtw8852b_set_tx_shape()
1819 if (chan->band_type == RTW89_BAND_2G) in rtw8852b_bb_set_pmac_tx()
2018 if (chan->band_type == RTW89_BAND_2G && in rtw8852b_bb_ctrl_rx_path()
H A Drtw8852b_rfk.c1411 iqk_info->iqk_band[path] = chan->band_type; in _iqk_get_ch_info()
1770 dpk->bp[path][kidx].band = chan->band_type; in _dpk_information()
2425 cur_band = chan->band_type; in _dpk_reload_check()
2550 if (fem->epa_2g && chan->band_type == RTW89_BAND_2G) { in _dpk_bypass_check()
2554 } else if (fem->epa_5g && chan->band_type == RTW89_BAND_5G) { in _dpk_bypass_check()
2558 } else if (fem->epa_6g && chan->band_type == RTW89_BAND_6G) { in _dpk_bypass_check()
2727 enum rtw89_band band = chan->band_type; in _tssi_rf_setting()
2739 enum rtw89_band band = chan->band_type; in _tssi_set_sys()
2949 enum rtw89_band band = chan->band_type; in _tssi_slope_cal_org()
2965 enum rtw89_band band = chan->band_type; in _tssi_alignment_default()
[all …]
H A Drtw8852a_rfk.c1380 iqk_info->iqk_band[path] = chan->band_type; in _iqk_get_ch_info()
1858 dpk->bp[path][kidx].band = chan->band_type; in _dpk_information()
2528 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()
2821 enum rtw89_band band = chan->band_type; in _tssi_rf_setting()
2832 enum rtw89_band band = chan->band_type; in _tssi_set_sys()
2844 enum rtw89_band band = chan->band_type; in _tssi_ini_txpwr_ctrl_bb()
3467 u8 band = chan->band_type; in _tssi_high_power()
3515 u8 band = chan->band_type; in _tssi_pre_tx()
H A Dphy.c147 switch (chan->band_type) { in rtw89_phy_ra_mask_cfg()
164 rtw89_warn(rtwdev, "unhandled band type %d\n", chan->band_type); in rtw89_phy_ra_mask_cfg()
204 u8 band = chan->band_type; in rtw89_phy_ra_gi_ltf()
296 switch (chan->band_type) { in rtw89_phy_ra_sta_update()
481 u8 band = chan->band_type; in rtw89_phy_rate_pattern_vif()
1878 u8 band = chan->band_type; in rtw89_phy_fill_txpwr_limit()
2069 u8 band = chan->band_type; in rtw89_phy_fill_txpwr_limit_ru()
2107 u8 band = chan->band_type; in rtw89_phy_set_txpwr_byrate()
2160 u8 band = chan->band_type; in rtw89_phy_set_txpwr_offset()
2909 else if (chan->band_type >= RTW89_BAND_5G && in rtw89_phy_ul_tb_assoc()
[all …]
H A Dcore.c406 rtw89_btc_ntfy_switch_band(rtwdev, phy_idx, chan->band_type); in rtw89_set_channel()
563 else if (chan->band_type == RTW89_BAND_2G) in rtw89_core_get_mgmt_rate()
618 desc_info->data_rate, chan->channel, chan->band_type, in rtw89_core_tx_update_mgmt_info()
648 chan->band_type != RTW89_BAND_2G || in rtw89_core_get_no_ul_ofdma_htc()
765 else if (chan->band_type == RTW89_BAND_2G) in rtw89_core_get_data_rate()
770 if (!sta || !sta->deflink.supp_rates[chan->band_type]) in rtw89_core_get_data_rate()
773 return __ffs(sta->deflink.supp_rates[chan->band_type]) + lowest_rate; in rtw89_core_get_data_rate()
1940 u8 band = cur->band_type; in rtw89_core_update_rx_status()
3701 rtw89_btc_ntfy_scan_start(rtwdev, RTW89_PHY_0, chan->band_type); in rtw89_core_scan_start()
H A Drtw8851b_rfk.c530 chan->band_type == RTW89_BAND_2G ? "2G" : in _rx_dck_info()
531 chan->band_type == RTW89_BAND_5G ? "5G" : "6G", in _rx_dck_info()
1490 iqk_info->iqk_band[path] = chan->band_type; in _iqk_get_ch_info()
1756 dpk->bp[path][kidx].band = chan->band_type; in _dpk_information()
2623 enum rtw89_band band = chan->band_type; in _tssi_set_sys()
2761 enum rtw89_band band = chan->band_type; in _tssi_slope_cal_org()
2772 enum rtw89_band band = chan->band_type; in _tssi_alignment_default()
3619 rtw8851b_ctrl_bw_ch(rtwdev, phy_idx, chan->channel, chan->band_type, in rtw8851b_set_channel_rf()
H A Dmac80211.c308 sifs = chan->band_type == RTW89_BAND_2G ? 10 : 16; in rtw89_aifsn_to_aifs()
472 if (chan->band_type == RTW89_BAND_6G) { in rtw89_ops_start_ap()
H A Dregd.c483 if (chan->band_type != RTW89_BAND_6G) in __rtw89_reg_6ghz_power_recalc()
H A Dfw.c1776 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_assoc_cmac_tbl()
1933 else if (chan->band_type == RTW89_BAND_2G) in rtw89_fw_h2c_update_beacon()
3126 h2c->w0 |= le32_encode_bits(op->band_type, in rtw89_fw_h2c_scan_offload()
3200 mccch->current_band_type = cpu_to_le32(chan->band_type); in rtw89_fw_h2c_rf_ntfy_mcc()
3752 ch_info->ch_band = op->band_type; in rtw89_hw_scan_add_chan()
H A Drtw8852a.c1525 if (chan->band_type == RTW89_BAND_2G) in rtw8852a_bb_set_pmac_tx()
H A Ddebug.c578 u8 band = chan->band_type; in __print_regd()
H A Dcore.h892 enum rtw89_band band_type; member
H A Dcoex.c5686 chan->band_type, chan->channel, chan->band_width); in rtw89_btc_ntfy_role_info()
5725 r.band = chan->band_type; in rtw89_btc_ntfy_role_info()
H A Dmac.c4283 return band == op->band_type && channel == op->primary_channel; in rtw89_is_op_chan()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dwifi.h843 enum band_type { enum
1672 enum band_type current_bandtype; /* 0:2.4G, 1:5G */
1673 enum band_type current_bandtypebackup;
1674 enum band_type bandset;
/openbmc/linux/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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dphy.c602 rtlhal->current_bandtype = (enum band_type) band; in rtl8821ae_phy_switch_wirelessband()
1170 enum band_type band, u8 rate) in _rtl8812ae_phy_get_txpower_by_rate_base_index()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dphy.c876 enum band_type band, in _rtl8723be_get_txpower_by_rate()