Home
last modified time | relevance | path

Searched refs:ht_mcs (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/drivers/staging/rtl8192u/
H A Dr819xU_cmdpkt.c406 priv->stats.txrate.ht_mcs[j][i] += ptxrate->ht_mcs[j][i]; in cmpk_handle_tx_rate_history()
H A Dr819xU_cmdpkt.h162 u16 ht_mcs[4][16]; member
H A Dr8192U.h478 u32 ht_mcs[4][16]; member
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c1377 ht_mcs_mask = arvif->bitrate_mask.control[band].ht_mcs; in ath12k_peer_assoc_h_ht()
2006 ht_mcs_mask = arvif->bitrate_mask.control[band].ht_mcs; in ath12k_peer_assoc_h_phymode()
3474 ht_mcs_mask = arvif->bitrate_mask.control[band].ht_mcs; in ath12k_sta_rc_update_wk()
5360 memset(arvif->bitrate_mask.control[i].ht_mcs, 0xff, in ath12k_mac_op_add_interface()
5361 sizeof(arvif->bitrate_mask.control[i].ht_mcs)); in ath12k_mac_op_add_interface()
6415 for (i = 0; i < ARRAY_SIZE(mask->control[band].ht_mcs); i++) in ath12k_mac_bitrate_mask_num_ht_rates()
6416 num_rates += hweight16(mask->control[band].ht_mcs[i]); in ath12k_mac_bitrate_mask_num_ht_rates()
6455 for (i = 0; i < ARRAY_SIZE(mask->control[band].ht_mcs); i++) { in ath12k_mac_bitrate_mask_get_single_nss()
6456 if (mask->control[band].ht_mcs[i] == 0) in ath12k_mac_bitrate_mask_get_single_nss()
6458 else if (mask->control[band].ht_mcs[i] == in ath12k_mac_bitrate_mask_get_single_nss()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dmac.c2325 ht_mcs_mask = arvif->bitrate_mask.control[band].ht_mcs; in ath10k_peer_assoc_h_ht()
2744 ht_mcs_mask = arvif->bitrate_mask.control[band].ht_mcs; in ath10k_peer_assoc_h_phymode()
5556 memset(arvif->bitrate_mask.control[i].ht_mcs, 0xff, in ath10k_add_interface()
5557 sizeof(arvif->bitrate_mask.control[i].ht_mcs)); in ath10k_add_interface()
6733 ht_mcs_mask = arvif->bitrate_mask.control[band].ht_mcs; in ath10k_sta_rc_update_wk()
6895 num_rates += hweight8(mask->control[band].ht_mcs[i]); in ath10k_mac_bitrate_mask_has_single_rate()
6945 if (hweight8(mask->control[band].ht_mcs[i]) == 1) { in ath10k_mac_bitrate_mask_get_single_rate()
6949 (ffs(mask->control[band].ht_mcs[i]) - 1); in ath10k_mac_bitrate_mask_get_single_rate()
8227 if (mask->control[band].ht_mcs[i] == 0) in ath10k_mac_bitrate_mask_get_single_nss()
8229 else if (mask->control[band].ht_mcs[i] == in ath10k_mac_bitrate_mask_get_single_nss()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c1880 ht_mcs_mask = arvif->bitrate_mask.control[band].ht_mcs; in ath11k_peer_assoc_h_ht()
2759 ht_mcs_mask = arvif->bitrate_mask.control[band].ht_mcs; in ath11k_peer_assoc_h_phymode()
4349 num_rates += hweight8(mask->control[band].ht_mcs[i]); in ath11k_mac_bitrate_mask_num_ht_rates()
4497 if (hweight8(mask->control[band].ht_mcs[i]) == 1) { in ath11k_mac_set_peer_ht_fixed_rate()
4499 ht_rate = ffs(mask->control[band].ht_mcs[i]) - 1; in ath11k_mac_set_peer_ht_fixed_rate()
4679 ht_mcs_mask = arvif->bitrate_mask.control[band].ht_mcs; in ath11k_sta_rc_update_wk()
6773 memset(arvif->bitrate_mask.control[i].ht_mcs, 0xff, in ath11k_mac_op_add_interface()
6774 sizeof(arvif->bitrate_mask.control[i].ht_mcs)); in ath11k_mac_op_add_interface()
7935 if (mask->control[band].ht_mcs[i] == 0) in ath11k_mac_bitrate_mask_get_single_nss()
7937 else if (mask->control[band].ht_mcs[i] == in ath11k_mac_bitrate_mask_get_single_nss()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c147 mt7915_mcu_set_sta_ht_mcs(struct ieee80211_sta *sta, u8 *ht_mcs, in mt7915_mcu_set_sta_ht_mcs() argument
153 ht_mcs[nss] = sta->deflink.ht_cap.mcs.rx_mask[nss] & mask[nss]; in mt7915_mcu_set_sta_ht_mcs()
1432 __sta_phy_bitrate_mask_check(ht_mcs, gi, 1, 0); in mt7915_mcu_add_rate_ctrl_fixed()
1548 mt7915_mcu_set_sta_ht_mcs(sta, ra->ht_mcs, in mt7915_mcu_sta_rate_ctrl_tlv()
1549 mask->control[band].ht_mcs); in mt7915_mcu_sta_rate_ctrl_tlv()
1550 ra->supp_ht_mcs = *(__le32 *)ra->ht_mcs; in mt7915_mcu_sta_rate_ctrl_tlv()
H A Dmain.c195 memset(mvif->bitrate_mask.control[i].ht_mcs, 0xff, in mt7915_init_bitrate_mask()
196 sizeof(mvif->bitrate_mask.control[i].ht_mcs)); in mt7915_init_bitrate_mask()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c154 memset(mvif->bitrate_mask.control[i].ht_mcs, 0xff, in mt7996_init_bitrate_mask()
155 sizeof(mvif->bitrate_mask.control[i].ht_mcs)); in mt7996_init_bitrate_mask()
H A Dmcu.c170 mt7996_mcu_set_sta_ht_mcs(struct ieee80211_sta *sta, u8 *ht_mcs, in mt7996_mcu_set_sta_ht_mcs() argument
176 ht_mcs[nss] = sta->deflink.ht_cap.mcs.rx_mask[nss] & mask[nss]; in mt7996_mcu_set_sta_ht_mcs()
1704 mt7996_mcu_set_sta_ht_mcs(sta, ra->ht_mcs, in mt7996_mcu_sta_rate_ctrl_tlv()
1705 mask->control[band].ht_mcs); in mt7996_mcu_sta_rate_ctrl_tlv()
1706 ra->supp_ht_mcs = *(__le32 *)ra->ht_mcs; in mt7996_mcu_sta_rate_ctrl_tlv()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dmain.c1173 cfg_mask |= u64_encode_bits(mask->control[band].ht_mcs[0], in rtw_rate_mask_cfg()
1176 cfg_mask |= u64_encode_bits(mask->control[band].ht_mcs[1], in rtw_rate_mask_cfg()
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dwmi.c2772 mcsrate = mask->control[band].ht_mcs[1]; in ath6kl_set_bitrate_mask64()
2774 mcsrate |= mask->control[band].ht_mcs[0]; in ath6kl_set_bitrate_mask64()
2824 mcsrate = mask->control[band].ht_mcs[0]; in ath6kl_set_bitrate_mask32()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c317 __bitrate_mask_check(ht_mcs, HT); in mt76_connac2_mac_tx_rate_val()
H A Dmt76_connac_mcu.h563 u8 ht_mcs[4]; member
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dphy.c179 cfg_mask |= u64_encode_bits(mask->control[band].ht_mcs[0], in rtw89_phy_ra_mask_cfg()
181 cfg_mask |= u64_encode_bits(mask->control[band].ht_mcs[1], in rtw89_phy_ra_mask_cfg()
504 mask->control[nl_band].ht_mcs[i], in rtw89_phy_rate_pattern_vif()
/openbmc/linux/drivers/net/wireless/rsi/
H A Drsi_91x_mac80211.c1243 bm = mask->control[i].legacy | (mask->control[i].ht_mcs[0] << mcs_offset); in rsi_mac80211_set_rate_mask()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcfg80211.c1781 bitmap_rates[2] = mask->control[band].ht_mcs[0]; in mwifiex_cfg80211_set_bitrate_mask()
1783 bitmap_rates[2] |= mask->control[band].ht_mcs[1] << 8; in mwifiex_cfg80211_set_bitrate_mask()
/openbmc/linux/net/mac80211/
H A Dcfg.c3379 memcpy(sdata->rc_rateidx_mcs_mask[i], mask->control[i].ht_mcs, in ieee80211_set_bitrate_mask()
3380 sizeof(mask->control[i].ht_mcs)); in ieee80211_set_bitrate_mask()
/openbmc/linux/net/wireless/
H A Dnl80211.c5194 memcpy(mask->control[i].ht_mcs, in nl80211_parse_tx_bitrate_mask()
5196 sizeof(mask->control[i].ht_mcs)); in nl80211_parse_tx_bitrate_mask()
5251 mask->control[band].ht_mcs)) in nl80211_parse_tx_bitrate_mask()
5293 if (mask->control[band].ht_mcs[i]) in nl80211_parse_tx_bitrate_mask()
5326 if (hweight8(beacon_rate->control[band].ht_mcs[i]) > 1) { in validate_beacon_tx_rate()
5328 } else if (beacon_rate->control[band].ht_mcs[i]) { in validate_beacon_tx_rate()
/openbmc/linux/include/net/
H A Dcfg80211.h766 u8 ht_mcs[IEEE80211_HT_MCS_MASK_LEN]; member