/openbmc/linux/net/mac80211/ |
H A D | vht.c | 18 struct ieee80211_sta_vht_cap *vht_cap, in __check_vhtcap_disable() argument 25 vht_cap->cap &= ~flag; in __check_vhtcap_disable() 29 struct ieee80211_sta_vht_cap *vht_cap) in ieee80211_apply_vhtcap_overrides() argument 34 if (!vht_cap->vht_supported) in ieee80211_apply_vhtcap_overrides() 40 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides() 42 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides() 44 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides() 46 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides() 48 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides() 50 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides() [all …]
|
H A D | tdls.c | 55 bool vht = sband && sband->vht_cap.vht_supported; in ieee80211_tdls_add_ext_capab() 374 struct ieee80211_sta_vht_cap vht_cap; in ieee80211_tdls_add_setup_start_ies() local 503 memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies() 506 if ((vht_cap.vht_supported || he_cap || eht_cap) && in ieee80211_tdls_add_setup_start_ies() 514 vht_cap.vht_supported) { in ieee80211_tdls_add_setup_start_ies() 515 ieee80211_apply_vhtcap_overrides(sdata, &vht_cap); in ieee80211_tdls_add_setup_start_ies() 518 ieee80211_ie_build_vht_cap(pos, &vht_cap, vht_cap.cap); in ieee80211_tdls_add_setup_start_ies() 520 vht_cap.vht_supported && sta->sta.deflink.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_start_ies() 522 memcpy(&vht_cap, &sta->sta.deflink.vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies() 525 ieee80211_ie_build_vht_cap(pos, &vht_cap, vht_cap.cap); in ieee80211_tdls_add_setup_start_ies() [all …]
|
H A D | rc80211_minstrel_ht.c | 1542 if (!mi->sta->deflink.vht_cap.vht_supported) in minstrel_ht_get_max_amsdu_len() 1706 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in minstrel_ht_update_caps() local 1717 if (vht_cap->vht_supported) in minstrel_ht_update_caps() 1718 use_vht = vht_cap->vht_mcs.tx_mcs_map != cpu_to_le16(~0); in minstrel_ht_update_caps() 1749 stbc = (vht_cap->cap & IEEE80211_VHT_CAP_RXSTBC_MASK) >> in minstrel_ht_update_caps() 1752 ldpc = vht_cap->cap & IEEE80211_VHT_CAP_RXLDPC; in minstrel_ht_update_caps() 1797 if (!vht_cap->vht_supported || in minstrel_ht_update_caps() 1805 !(vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80))) { in minstrel_ht_update_caps() 1818 vht_cap->vht_mcs.tx_mcs_map); in minstrel_ht_update_caps()
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11ac.c | 87 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_info() argument 92 vht_cap->vht_cap_info = in mwifiex_fill_vht_cap_info() 95 vht_cap->vht_cap_info = in mwifiex_fill_vht_cap_info() 100 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_tlv() argument 107 mwifiex_fill_vht_cap_info(priv, vht_cap, bands); in mwifiex_fill_vht_cap_tlv() 111 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.rx_mcs_map); in mwifiex_fill_vht_cap_tlv() 127 vht_cap->supp_mcs.rx_mcs_map = cpu_to_le16(mcs_map_result); in mwifiex_fill_vht_cap_tlv() 130 vht_cap->supp_mcs.rx_highest = cpu_to_le16(tmp); in mwifiex_fill_vht_cap_tlv() 134 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.tx_mcs_map); in mwifiex_fill_vht_cap_tlv() 149 vht_cap->supp_mcs.tx_mcs_map = cpu_to_le16(mcs_map_result); in mwifiex_fill_vht_cap_tlv() [all …]
|
H A D | 11ac.h | 32 struct ieee80211_vht_cap *vht_cap, u8 bands);
|
H A D | tdls.c | 171 struct ieee80211_vht_cap vht_cap; in mwifiex_tdls_add_vht_capab() local 178 memset(&vht_cap, 0, sizeof(struct ieee80211_vht_cap)); in mwifiex_tdls_add_vht_capab() 180 mwifiex_fill_vht_cap_tlv(priv, &vht_cap, priv->curr_bss_params.band); in mwifiex_tdls_add_vht_capab() 181 memcpy(pos, &vht_cap, sizeof(vht_cap)); in mwifiex_tdls_add_vht_capab() 239 struct ieee80211_vht_cap *vht_cap, *ap_vht_cap = NULL; in mwifiex_tdls_add_vht_oper() local 285 vht_cap = &sta_ptr->tdls_cap.vhtcap; in mwifiex_tdls_add_vht_oper() 288 GET_VHTCAP_CHWDSET(le32_to_cpu(vht_cap->vht_cap_info)); in mwifiex_tdls_add_vht_oper() 316 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.rx_mcs_map); in mwifiex_tdls_add_vht_oper()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rs-fw.c | 44 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in rs_fw_sgi_cw_support() local 55 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80) in rs_fw_sgi_cw_support() 57 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_160) in rs_fw_sgi_cw_support() 69 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in rs_fw_get_config_flags() local 71 bool vht_ena = vht_cap->vht_supported; in rs_fw_get_config_flags() 80 else if (vht_cap->cap & IEEE80211_VHT_CAP_RXSTBC_MASK) in rs_fw_get_config_flags() 88 (vht_ena && (vht_cap->cap & IEEE80211_VHT_CAP_RXLDPC)))) in rs_fw_get_config_flags() 113 int rs_fw_vht_highest_rx_mcs_index(const struct ieee80211_sta_vht_cap *vht_cap, in rs_fw_vht_highest_rx_mcs_index() argument 116 u16 rx_mcs = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) & in rs_fw_vht_highest_rx_mcs_index() 137 const struct ieee80211_sta_vht_cap *vht_cap, in rs_fw_vht_set_enabled_rates() argument [all …]
|
H A D | rs.c | 171 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in rs_sgi_allow() local 179 if (is_ht80(rate) && (vht_cap->cap & in rs_sgi_allow() 182 if (is_ht160(rate) && (vht_cap->cap & in rs_sgi_allow() 1373 struct ieee80211_sta_vht_cap *sta_vht_cap = &sta->deflink.vht_cap; in rs_bw_from_sta_bw() 1374 struct ieee80211_vht_cap vht_cap = { in rs_bw_from_sta_bw() local 1389 if (ieee80211_get_vht_max_nss(&vht_cap, in rs_bw_from_sta_bw() 2544 if (sta->deflink.vht_cap.vht_supported && in rs_get_initial_rate() 2739 static int rs_vht_highest_rx_mcs_index(struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_highest_rx_mcs_index() argument 2742 u16 rx_mcs = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) & in rs_vht_highest_rx_mcs_index() 2758 struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_set_enabled_rates() argument [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-nvm-parse.c | 485 struct ieee80211_sta_vht_cap *vht_cap, in iwl_init_vht_hw_capab() argument 492 vht_cap->vht_supported = true; in iwl_init_vht_hw_capab() 494 vht_cap->cap = IEEE80211_VHT_CAP_SHORT_GI_80 | in iwl_init_vht_hw_capab() 502 vht_cap->cap &= ~IEEE80211_VHT_CAP_RXSTBC_MASK; in iwl_init_vht_hw_capab() 505 vht_cap->cap |= IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ | in iwl_init_vht_hw_capab() 509 vht_cap->cap |= IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE; in iwl_init_vht_hw_capab() 512 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in iwl_init_vht_hw_capab() 520 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in iwl_init_vht_hw_capab() 522 vht_cap->cap |= IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN; in iwl_init_vht_hw_capab() 527 vht_cap->cap |= in iwl_init_vht_hw_capab() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | bf.c | 39 struct ieee80211_sta_vht_cap *vht_cap; in rtw_bf_assoc() local 59 ic_vht_cap = &hw->wiphy->bands[NL80211_BAND_5GHZ]->vht_cap; in rtw_bf_assoc() 60 vht_cap = &sta->deflink.vht_cap; in rtw_bf_assoc() 65 (vht_cap->cap & IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE)) { in rtw_bf_assoc() 79 (vht_cap->cap & IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE)) { in rtw_bf_assoc() 85 sound_dim = vht_cap->cap & in rtw_bf_assoc()
|
H A D | main.c | 148 .vht_cap = {0}, 162 .vht_cap = {0}, 991 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in get_vht_ra_mask() 1211 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info() 1214 if (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_RXSTBC_MASK) in rtw_update_sta_info() 1216 if (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_RXLDPC) in rtw_update_sta_info() 1233 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info() 1246 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info() 1272 is_support_sgi = sta->deflink.vht_cap.vht_supported && in rtw_update_sta_info() 1273 (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80); in rtw_update_sta_info() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | base.c | 220 struct ieee80211_sta_vht_cap *vht_cap) in _rtl_init_hw_vht_capab() argument 232 vht_cap->vht_supported = true; in _rtl_init_hw_vht_capab() 233 vht_cap->cap = in _rtl_init_hw_vht_capab() 255 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab() 256 vht_cap->vht_mcs.rx_highest = in _rtl_init_hw_vht_capab() 258 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab() 259 vht_cap->vht_mcs.tx_highest = in _rtl_init_hw_vht_capab() 264 vht_cap->vht_supported = true; in _rtl_init_hw_vht_capab() 265 vht_cap->cap = in _rtl_init_hw_vht_capab() 287 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab() [all …]
|
H A D | rc.c | 126 sgi_80 = sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_rc_rate_set_series() 141 if (sta && sta->deflink.vht_cap.vht_supported) in _rtl_rc_rate_set_series() 156 if (sta && sta->deflink.vht_cap.vht_supported && in _rtl_rc_rate_set_series()
|
/openbmc/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | main.c | 756 if (sta->deflink.vht_cap.vht_supported) { in wcn36xx_update_allowed_rates() 759 sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in wcn36xx_update_allowed_rates() 761 sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in wcn36xx_update_allowed_rates() 1385 wcn36xx_set_ieee80211_vht_caps(struct ieee80211_sta_vht_cap *vht_cap) in wcn36xx_set_ieee80211_vht_caps() argument 1387 vht_cap->vht_supported = true; in wcn36xx_set_ieee80211_vht_caps() 1389 vht_cap->cap = (IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_3895 | in wcn36xx_set_ieee80211_vht_caps() 1397 vht_cap->vht_mcs.rx_mcs_map = in wcn36xx_set_ieee80211_vht_caps() 1407 vht_cap->vht_mcs.rx_highest = cpu_to_le16(433); in wcn36xx_set_ieee80211_vht_caps() 1408 vht_cap->vht_mcs.tx_highest = vht_cap->vht_mcs.rx_highest; in wcn36xx_set_ieee80211_vht_caps() 1410 vht_cap->vht_mcs.tx_mcs_map = vht_cap->vht_mcs.rx_mcs_map; in wcn36xx_set_ieee80211_vht_caps() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | mac.c | 1523 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath12k_peer_assoc_h_vht() local 1536 if (!vht_cap->vht_supported) in ath12k_peer_assoc_h_vht() 1553 arg->peer_vht_caps = vht_cap->cap; in ath12k_peer_assoc_h_vht() 1555 ampdu_factor = (vht_cap->cap & in ath12k_peer_assoc_h_vht() 1578 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath12k_peer_assoc_h_vht() 1586 arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath12k_peer_assoc_h_vht() 1587 arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath12k_peer_assoc_h_vht() 1588 arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath12k_peer_assoc_h_vht() 1590 tx_mcs_map = __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ath12k_peer_assoc_h_vht() 1691 if (sta->deflink.vht_cap.vht_supported) in ath12k_peer_assoc_h_he() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | usb_sdio.c | 335 struct ieee80211_sta_vht_cap *vht_cap; in mt7663_usb_sdio_register_device() local 338 vht_cap = &dev->mphy.sband_5g.sband.vht_cap; in mt7663_usb_sdio_register_device() 339 vht_cap->cap &= ~IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454; in mt7663_usb_sdio_register_device()
|
/openbmc/linux/net/wireless/ |
H A D | chan.c | 1046 struct ieee80211_sta_vht_cap *vht_cap; in cfg80211_chandef_usable() local 1058 vht_cap = &wiphy->bands[chandef->chan->band]->vht_cap; in cfg80211_chandef_usable() 1060 ext_nss_cap = __le16_to_cpu(vht_cap->vht_mcs.tx_highest) & in cfg80211_chandef_usable() 1122 cap = vht_cap->cap; in cfg80211_chandef_usable() 1137 if (!vht_cap->vht_supported) in cfg80211_chandef_usable() 1145 if (!vht_cap->vht_supported) in cfg80211_chandef_usable() 1147 cap = vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK; in cfg80211_chandef_usable() 1151 (vht_cap->cap & IEEE80211_VHT_CAP_EXT_NSS_BW_MASK))) in cfg80211_chandef_usable()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mac80211.c | 246 struct ieee80211_sta_vht_cap *vht_cap; in mt76_init_stream_cap() local 260 vht_cap = &sband->vht_cap; in mt76_init_stream_cap() 262 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in mt76_init_stream_cap() 264 vht_cap->cap &= ~IEEE80211_VHT_CAP_TXSTBC; in mt76_init_stream_cap() 265 vht_cap->cap |= IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN | in mt76_init_stream_cap() 275 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap() 276 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap() 278 vht_cap->vht_mcs.tx_highest |= in mt76_init_stream_cap() 300 struct ieee80211_sta_vht_cap *vht_cap; in mt76_init_sband() local 340 vht_cap = &sband->vht_cap; in mt76_init_sband() [all …]
|
H A D | mt76_connac_mcu.c | 786 struct ieee80211_sta_vht_cap *vht_cap; in mt76_connac_get_phy_mode_v2() local 792 vht_cap = &sta->deflink.vht_cap; in mt76_connac_get_phy_mode_v2() 799 vht_cap = &sband->vht_cap; in mt76_connac_get_phy_mode_v2() 817 if (vht_cap->vht_supported) in mt76_connac_get_phy_mode_v2() 853 if (sta->deflink.vht_cap.vht_supported) { in mt76_connac_mcu_sta_tlv() 860 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt76_connac_mcu_sta_tlv() 861 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt76_connac_mcu_sta_tlv() 862 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in mt76_connac_mcu_sta_tlv() 920 if (sta->deflink.vht_cap.vht_supported) { in mt76_connac_mcu_sta_tlv() 970 if (sta->deflink.vht_cap.vht_supported || sta->deflink.he_6ghz_capa.capa) { in mt76_connac_mcu_wtbl_ht_tlv() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | init.c | 404 struct ieee80211_sta_vht_cap *vht_cap; in mt7915_init_wiphy() local 406 vht_cap = &phy->mt76->sband_5g.sband.vht_cap; in mt7915_init_wiphy() 414 vht_cap->cap |= in mt7915_init_wiphy() 419 vht_cap->cap |= in mt7915_init_wiphy() 423 vht_cap->cap |= in mt7915_init_wiphy() 428 vht_cap->cap |= in mt7915_init_wiphy() 839 cap = &phy->mt76->sband_5g.sband.vht_cap.cap; in mt7915_set_stream_vht_txbf_caps()
|
H A D | mcu.c | 118 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in mt7915_mcu_set_sta_vht_mcs() 883 if (sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_muru_tlv() 885 !!(sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE); in mt7915_mcu_sta_muru_tlv() 936 if (!sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_vht_tlv() 942 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt7915_mcu_sta_vht_tlv() 943 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt7915_mcu_sta_vht_tlv() 944 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in mt7915_mcu_sta_vht_tlv() 1042 if (sta->deflink.vht_cap.vht_supported) { in mt7915_is_ebf_supported() 1043 u32 cap = sta->deflink.vht_cap.cap; in mt7915_is_ebf_supported() 1094 struct ieee80211_sta_vht_cap *pc = &sta->deflink.vht_cap; in mt7915_mcu_sta_bfer_vht() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | mac.c | 2059 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath11k_peer_assoc_h_vht() local 2073 if (!vht_cap->vht_supported) in ath11k_peer_assoc_h_vht() 2090 arg->peer_vht_caps = vht_cap->cap; in ath11k_peer_assoc_h_vht() 2092 ampdu_factor = (vht_cap->cap & in ath11k_peer_assoc_h_vht() 2133 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath11k_peer_assoc_h_vht() 2141 arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath11k_peer_assoc_h_vht() 2142 arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath11k_peer_assoc_h_vht() 2143 arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath11k_peer_assoc_h_vht() 2145 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath11k_peer_assoc_h_vht() 2353 if (sta->deflink.vht_cap.vht_supported) in ath11k_peer_assoc_h_he() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mcu.c | 147 u16 mcs, mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in mt7996_mcu_set_sta_vht_mcs() 1068 if (!sta->deflink.he_6ghz_capa.capa && !sta->deflink.vht_cap.vht_supported) in mt7996_mcu_sta_vht_tlv() 1074 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt7996_mcu_sta_vht_tlv() 1075 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt7996_mcu_sta_vht_tlv() 1076 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in mt7996_mcu_sta_vht_tlv() 1137 if (sta->deflink.vht_cap.vht_supported) in mt7996_mcu_sta_muru_tlv() 1139 !!(sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE); in mt7996_mcu_sta_muru_tlv() 1205 if (sta->deflink.vht_cap.vht_supported) { in mt7996_is_ebf_supported() 1206 u32 cap = sta->deflink.vht_cap.cap; in mt7996_is_ebf_supported() 1257 struct ieee80211_sta_vht_cap *pc = &sta->deflink.vht_cap; in mt7996_mcu_sta_bfer_vht() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | mac.c | 2557 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath10k_peer_assoc_h_vht() local 2570 if (!vht_cap->vht_supported) in ath10k_peer_assoc_h_vht() 2584 arg->peer_vht_caps = vht_cap->cap; in ath10k_peer_assoc_h_vht() 2586 ampdu_factor = (vht_cap->cap & in ath10k_peer_assoc_h_vht() 2609 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath10k_peer_assoc_h_vht() 2618 __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath10k_peer_assoc_h_vht() 2620 __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath10k_peer_assoc_h_vht() 2622 __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath10k_peer_assoc_h_vht() 2624 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath10k_peer_assoc_h_vht() 2703 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath10k_mac_get_phymode_vht() local [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | init.c | 252 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device() 259 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device()
|