| /Linux-v5.15/net/mac80211/ |
| 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 …]
|
| D | tdls.c | 54 bool vht = sband && sband->vht_cap.vht_supported; in ieee80211_tdls_add_ext_capab() 369 struct ieee80211_sta_vht_cap vht_cap; in ieee80211_tdls_add_setup_start_ies() local 500 memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies() 503 vht_cap.vht_supported) { in ieee80211_tdls_add_setup_start_ies() 504 ieee80211_apply_vhtcap_overrides(sdata, &vht_cap); in ieee80211_tdls_add_setup_start_ies() 511 ieee80211_ie_build_vht_cap(pos, &vht_cap, vht_cap.cap); in ieee80211_tdls_add_setup_start_ies() 513 vht_cap.vht_supported && sta->sta.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_start_ies() 515 memcpy(&vht_cap, &sta->sta.vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies() 521 ieee80211_ie_build_vht_cap(pos, &vht_cap, vht_cap.cap); in ieee80211_tdls_add_setup_start_ies() 621 sta->sta.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_cfm_ies() [all …]
|
| D | rc80211_minstrel_ht.c | 1421 if (!mi->sta->vht_cap.vht_supported) in minstrel_ht_get_max_amsdu_len() 1583 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in minstrel_ht_update_caps() local 1594 if (vht_cap->vht_supported) in minstrel_ht_update_caps() 1595 use_vht = vht_cap->vht_mcs.tx_mcs_map != cpu_to_le16(~0); in minstrel_ht_update_caps() 1626 stbc = (vht_cap->cap & IEEE80211_VHT_CAP_RXSTBC_MASK) >> in minstrel_ht_update_caps() 1629 ldpc = vht_cap->cap & IEEE80211_VHT_CAP_RXLDPC; in minstrel_ht_update_caps() 1676 if (!vht_cap->vht_supported || in minstrel_ht_update_caps() 1684 !(vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80))) { in minstrel_ht_update_caps() 1697 vht_cap->vht_mcs.tx_mcs_map); in minstrel_ht_update_caps()
|
| D | mesh.c | 503 if (!sband->vht_cap.vht_supported || in mesh_add_vht_cap_ie() 513 ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, sband->vht_cap.cap); in mesh_add_vht_cap_ie() 525 struct ieee80211_sta_vht_cap *vht_cap; in mesh_add_vht_oper_ie() local 538 vht_cap = &sband->vht_cap; in mesh_add_vht_oper_ie() 544 if (!vht_cap->vht_supported || in mesh_add_vht_oper_ie() 554 ieee80211_ie_build_vht_oper(pos, vht_cap, in mesh_add_vht_oper_ie()
|
| D | mlme.c | 233 if (!vht_oper || !sband->vht_cap.vht_supported) { in ieee80211_determine_chantype() 359 const struct ieee80211_vht_cap *vht_cap, in ieee80211_config_bw() argument 405 if (vht_cap) in ieee80211_config_bw() 406 vht_cap_info = le32_to_cpu(vht_cap->vht_cap_info); in ieee80211_config_bw() 550 struct ieee80211_sta_vht_cap vht_cap; in ieee80211_add_vht_ie() local 553 BUILD_BUG_ON(sizeof(vht_cap) != sizeof(sband->vht_cap)); in ieee80211_add_vht_ie() 555 memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap)); in ieee80211_add_vht_ie() 556 ieee80211_apply_vhtcap_overrides(sdata, &vht_cap); in ieee80211_add_vht_ie() 559 cap = vht_cap.cap; in ieee80211_add_vht_ie() 622 ieee80211_ie_build_vht_cap(pos, &vht_cap, cap); in ieee80211_add_vht_ie() [all …]
|
| D | util.c | 1924 if (sband->vht_cap.vht_supported && have_80mhz) { in ieee80211_build_preq_ies_band() 1927 pos = ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, in ieee80211_build_preq_ies_band() 1928 sband->vht_cap.cap); in ieee80211_build_preq_ies_band() 2858 u8 *ieee80211_ie_build_vht_cap(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, in ieee80211_ie_build_vht_cap() argument 2873 memcpy(pos, &vht_cap->vht_mcs, sizeof(vht_cap->vht_mcs)); in ieee80211_ie_build_vht_cap() 2874 pos += sizeof(vht_cap->vht_mcs); in ieee80211_ie_build_vht_cap() 3090 u8 *ieee80211_ie_build_vht_oper(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, in ieee80211_ie_build_vht_oper() argument 3261 u32 vht_cap; in ieee80211_chandef_vht_oper() local 3272 vht_cap = hw->wiphy->bands[chandef->chan->band]->vht_cap.cap; in ieee80211_chandef_vht_oper() 3273 support_160 = (vht_cap & (IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK | in ieee80211_chandef_vht_oper() [all …]
|
| /Linux-v5.15/drivers/net/wireless/marvell/mwifiex/ |
| D | 11ac.c | 99 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_info() argument 104 vht_cap->vht_cap_info = in mwifiex_fill_vht_cap_info() 107 vht_cap->vht_cap_info = in mwifiex_fill_vht_cap_info() 112 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_tlv() argument 119 mwifiex_fill_vht_cap_info(priv, vht_cap, bands); in mwifiex_fill_vht_cap_tlv() 123 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.rx_mcs_map); in mwifiex_fill_vht_cap_tlv() 139 vht_cap->supp_mcs.rx_mcs_map = cpu_to_le16(mcs_map_result); in mwifiex_fill_vht_cap_tlv() 142 vht_cap->supp_mcs.rx_highest = cpu_to_le16(tmp); in mwifiex_fill_vht_cap_tlv() 146 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.tx_mcs_map); in mwifiex_fill_vht_cap_tlv() 161 vht_cap->supp_mcs.tx_mcs_map = cpu_to_le16(mcs_map_result); in mwifiex_fill_vht_cap_tlv() [all …]
|
| D | 11ac.h | 44 struct ieee80211_vht_cap *vht_cap, u8 bands);
|
| 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()
|
| /Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| D | rs-fw.c | 46 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in rs_fw_sgi_cw_support() local 57 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80) in rs_fw_sgi_cw_support() 59 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_160) in rs_fw_sgi_cw_support() 70 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in rs_fw_get_config_flags() local 72 bool vht_ena = vht_cap->vht_supported; in rs_fw_get_config_flags() 81 else if (vht_cap->cap & IEEE80211_VHT_CAP_RXSTBC_MASK) in rs_fw_get_config_flags() 89 (vht_ena && (vht_cap->cap & IEEE80211_VHT_CAP_RXLDPC)))) in rs_fw_get_config_flags() 111 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 114 u16 rx_mcs = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) & in rs_fw_vht_highest_rx_mcs_index() 135 const struct ieee80211_sta_vht_cap *vht_cap, in rs_fw_vht_set_enabled_rates() argument [all …]
|
| D | rs.c | 176 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in rs_sgi_allow() local 184 if (is_ht80(rate) && (vht_cap->cap & in rs_sgi_allow() 187 if (is_ht160(rate) && (vht_cap->cap & in rs_sgi_allow() 1419 struct ieee80211_sta_vht_cap *sta_vht_cap = &sta->vht_cap; in rs_bw_from_sta_bw() 1420 struct ieee80211_vht_cap vht_cap = { in rs_bw_from_sta_bw() local 1435 if (ieee80211_get_vht_max_nss(&vht_cap, in rs_bw_from_sta_bw() 2587 if (sta->vht_cap.vht_supported && in rs_get_initial_rate() 2780 static int rs_vht_highest_rx_mcs_index(struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_highest_rx_mcs_index() argument 2783 u16 rx_mcs = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) & in rs_vht_highest_rx_mcs_index() 2799 struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_set_enabled_rates() argument [all …]
|
| /Linux-v5.15/drivers/net/wireless/intel/iwlwifi/ |
| D | iwl-nvm-parse.c | 450 struct ieee80211_sta_vht_cap *vht_cap, in iwl_init_vht_hw_capab() argument 457 vht_cap->vht_supported = true; in iwl_init_vht_hw_capab() 459 vht_cap->cap = IEEE80211_VHT_CAP_SHORT_GI_80 | in iwl_init_vht_hw_capab() 467 vht_cap->cap |= IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ | in iwl_init_vht_hw_capab() 471 vht_cap->cap |= IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE; in iwl_init_vht_hw_capab() 474 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in iwl_init_vht_hw_capab() 482 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in iwl_init_vht_hw_capab() 484 vht_cap->cap |= IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN; in iwl_init_vht_hw_capab() 489 vht_cap->cap |= in iwl_init_vht_hw_capab() 492 vht_cap->cap |= IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_3895; in iwl_init_vht_hw_capab() [all …]
|
| /Linux-v5.15/drivers/net/wireless/realtek/rtw88/ |
| D | bf.c | 39 struct ieee80211_sta_vht_cap *vht_cap; in rtw_bf_assoc() local 57 ic_vht_cap = &hw->wiphy->bands[NL80211_BAND_5GHZ]->vht_cap; in rtw_bf_assoc() 58 vht_cap = &sta->vht_cap; in rtw_bf_assoc() 61 (vht_cap->cap & IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE)) { in rtw_bf_assoc() 75 (vht_cap->cap & IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE)) { in rtw_bf_assoc() 81 sound_dim = vht_cap->cap & in rtw_bf_assoc()
|
| D | main.c | 118 .vht_cap = {0}, 132 .vht_cap = {0}, 851 u16 mcs_map = le16_to_cpu(sta->vht_cap.vht_mcs.rx_mcs_map); in get_vht_ra_mask() 1054 if (sta->vht_cap.vht_supported) { in rtw_update_sta_info() 1057 if (sta->vht_cap.cap & IEEE80211_VHT_CAP_RXSTBC_MASK) in rtw_update_sta_info() 1059 if (sta->vht_cap.cap & IEEE80211_VHT_CAP_RXLDPC) in rtw_update_sta_info() 1075 if (sta->vht_cap.vht_supported) { in rtw_update_sta_info() 1087 if (sta->vht_cap.vht_supported) { in rtw_update_sta_info() 1111 is_support_sgi = sta->vht_cap.vht_supported && in rtw_update_sta_info() 1112 (sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80); in rtw_update_sta_info() [all …]
|
| /Linux-v5.15/drivers/net/wireless/mediatek/mt76/ |
| D | mt76_connac_mcu.c | 669 struct ieee80211_sta_vht_cap *vht_cap; in mt76_connac_get_phy_mode_v2() local 675 vht_cap = &sta->vht_cap; in mt76_connac_get_phy_mode_v2() 682 vht_cap = &sband->vht_cap; in mt76_connac_get_phy_mode_v2() 700 if (vht_cap->vht_supported) in mt76_connac_get_phy_mode_v2() 733 if (sta->vht_cap.vht_supported) { in mt76_connac_mcu_sta_tlv() 740 vht->vht_cap = cpu_to_le32(sta->vht_cap.cap); in mt76_connac_mcu_sta_tlv() 741 vht->vht_rx_mcs_map = sta->vht_cap.vht_mcs.rx_mcs_map; in mt76_connac_mcu_sta_tlv() 742 vht->vht_tx_mcs_map = sta->vht_cap.vht_mcs.tx_mcs_map; in mt76_connac_mcu_sta_tlv() 780 if (sta->vht_cap.vht_supported) { in mt76_connac_mcu_sta_tlv() 821 if (sta->vht_cap.vht_supported) { in mt76_connac_mcu_wtbl_ht_tlv() [all …]
|
| D | mac80211.c | 145 struct ieee80211_sta_vht_cap *vht_cap; in mt76_init_stream_cap() local 159 vht_cap = &sband->vht_cap; in mt76_init_stream_cap() 161 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in mt76_init_stream_cap() 163 vht_cap->cap &= ~IEEE80211_VHT_CAP_TXSTBC; in mt76_init_stream_cap() 172 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap() 173 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap() 191 struct ieee80211_sta_vht_cap *vht_cap; in mt76_init_sband() local 228 vht_cap = &sband->vht_cap; in mt76_init_sband() 229 vht_cap->vht_supported = true; in mt76_init_sband() 230 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC | in mt76_init_sband()
|
| /Linux-v5.15/drivers/net/wireless/ath/wcn36xx/ |
| D | main.c | 765 if (sta->vht_cap.vht_supported) { in wcn36xx_update_allowed_rates() 768 sta->vht_cap.vht_mcs.rx_mcs_map; in wcn36xx_update_allowed_rates() 770 sta->vht_cap.vht_mcs.tx_mcs_map; in wcn36xx_update_allowed_rates() 1297 wcn36xx_set_ieee80211_vht_caps(struct ieee80211_sta_vht_cap *vht_cap) in wcn36xx_set_ieee80211_vht_caps() argument 1299 vht_cap->vht_supported = true; in wcn36xx_set_ieee80211_vht_caps() 1301 vht_cap->cap = (IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_3895 | in wcn36xx_set_ieee80211_vht_caps() 1309 vht_cap->vht_mcs.rx_mcs_map = in wcn36xx_set_ieee80211_vht_caps() 1319 vht_cap->vht_mcs.rx_highest = cpu_to_le16(433); in wcn36xx_set_ieee80211_vht_caps() 1320 vht_cap->vht_mcs.tx_highest = vht_cap->vht_mcs.rx_highest; in wcn36xx_set_ieee80211_vht_caps() 1322 vht_cap->vht_mcs.tx_mcs_map = vht_cap->vht_mcs.rx_mcs_map; in wcn36xx_set_ieee80211_vht_caps() [all …]
|
| /Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/ |
| 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 …]
|
| D | rc.c | 126 sgi_80 = sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_rc_rate_set_series() 141 if (sta && sta->vht_cap.vht_supported) in _rtl_rc_rate_set_series() 156 if (sta && sta->vht_cap.vht_supported && in _rtl_rc_rate_set_series()
|
| /Linux-v5.15/net/wireless/ |
| D | chan.c | 942 struct ieee80211_sta_vht_cap *vht_cap; in cfg80211_chandef_usable() local 951 vht_cap = &wiphy->bands[chandef->chan->band]->vht_cap; in cfg80211_chandef_usable() 953 ext_nss_cap = __le16_to_cpu(vht_cap->vht_mcs.tx_highest) & in cfg80211_chandef_usable() 1015 cap = vht_cap->cap; in cfg80211_chandef_usable() 1030 if (!vht_cap->vht_supported) in cfg80211_chandef_usable() 1038 if (!vht_cap->vht_supported) in cfg80211_chandef_usable() 1040 cap = vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK; in cfg80211_chandef_usable() 1044 (vht_cap->cap & IEEE80211_VHT_CAP_EXT_NSS_BW_MASK))) in cfg80211_chandef_usable()
|
| /Linux-v5.15/drivers/net/wireless/ath/ath11k/ |
| D | mac.c | 1215 const struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in ath11k_peer_assoc_h_vht() local 1227 if (!vht_cap->vht_supported) in ath11k_peer_assoc_h_vht() 1244 arg->peer_vht_caps = vht_cap->cap; in ath11k_peer_assoc_h_vht() 1246 ampdu_factor = (vht_cap->cap & in ath11k_peer_assoc_h_vht() 1269 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath11k_peer_assoc_h_vht() 1277 arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath11k_peer_assoc_h_vht() 1278 arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath11k_peer_assoc_h_vht() 1279 arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath11k_peer_assoc_h_vht() 1281 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath11k_peer_assoc_h_vht() 1347 if (sta->vht_cap.vht_supported) in ath11k_peer_assoc_h_he() [all …]
|
| /Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7615/ |
| D | usb_sdio.c | 333 struct ieee80211_sta_vht_cap *vht_cap; in mt7663_usb_sdio_register_device() local 336 vht_cap = &dev->mphy.sband_5g.sband.vht_cap; in mt7663_usb_sdio_register_device() 337 vht_cap->cap &= ~IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454; in mt7663_usb_sdio_register_device()
|
| D | init.c | 409 phy->mt76->sband_5g.sband.vht_cap.cap |= in mt7615_init_wiphy() 416 dev->mphy.sband_5g.sband.vht_cap.cap &= in mt7615_cap_dbdc_enable() 432 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7615_cap_dbdc_disable()
|
| /Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7915/ |
| D | mcu.c | 155 struct ieee80211_sta_vht_cap *vht_cap; in mt7915_get_phy_mode() local 161 vht_cap = &sta->vht_cap; in mt7915_get_phy_mode() 169 vht_cap = &sband->vht_cap; in mt7915_get_phy_mode() 187 if (vht_cap->vht_supported) in mt7915_get_phy_mode() 281 u16 mcs_map = le16_to_cpu(sta->vht_cap.vht_mcs.rx_mcs_map); in mt7915_mcu_set_sta_vht_mcs() 1678 !!(sta->vht_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE); in mt7915_mcu_sta_muru_tlv() 1697 vht->vht_cap = cpu_to_le32(sta->vht_cap.cap); in mt7915_mcu_sta_vht_tlv() 1698 vht->vht_rx_mcs_map = sta->vht_cap.vht_mcs.rx_mcs_map; in mt7915_mcu_sta_vht_tlv() 1699 vht->vht_tx_mcs_map = sta->vht_cap.vht_mcs.tx_mcs_map; in mt7915_mcu_sta_vht_tlv() 1793 if (sta->vht_cap.vht_supported) { in mt7915_mcu_wtbl_ht_tlv() [all …]
|
| /Linux-v5.15/drivers/net/wireless/ath/ath10k/ |
| D | mac.c | 2544 const struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in ath10k_peer_assoc_h_vht() local 2557 if (!vht_cap->vht_supported) in ath10k_peer_assoc_h_vht() 2571 arg->peer_vht_caps = vht_cap->cap; in ath10k_peer_assoc_h_vht() 2573 ampdu_factor = (vht_cap->cap & in ath10k_peer_assoc_h_vht() 2596 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath10k_peer_assoc_h_vht() 2605 __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath10k_peer_assoc_h_vht() 2607 __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath10k_peer_assoc_h_vht() 2609 __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath10k_peer_assoc_h_vht() 2611 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath10k_peer_assoc_h_vht() 2691 switch (sta->vht_cap.cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK) { in ath10k_mac_get_phymode_vht() [all …]
|