Lines Matching refs:vht_cap
2551 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath10k_peer_assoc_h_vht() local
2564 if (!vht_cap->vht_supported) in ath10k_peer_assoc_h_vht()
2578 arg->peer_vht_caps = vht_cap->cap; in ath10k_peer_assoc_h_vht()
2580 ampdu_factor = (vht_cap->cap & in ath10k_peer_assoc_h_vht()
2603 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath10k_peer_assoc_h_vht()
2612 __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath10k_peer_assoc_h_vht()
2614 __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath10k_peer_assoc_h_vht()
2616 __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath10k_peer_assoc_h_vht()
2618 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath10k_peer_assoc_h_vht()
2697 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath10k_mac_get_phymode_vht() local
2700 switch (vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK) { in ath10k_mac_get_phymode_vht()
2744 if (sta->deflink.vht_cap.vht_supported && in ath10k_peer_assoc_h_phymode()
2767 if (sta->deflink.vht_cap.vht_supported && in ath10k_peer_assoc_h_phymode()
2841 struct ieee80211_sta_vht_cap vht_cap) in ath10k_mac_vif_recalc_txbf() argument
2871 if (vht_cap.cap & IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE) in ath10k_mac_vif_recalc_txbf()
2874 if (vht_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE) in ath10k_mac_vif_recalc_txbf()
2881 if (vht_cap.cap & IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE) in ath10k_mac_vif_recalc_txbf()
2884 if (vht_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE) in ath10k_mac_vif_recalc_txbf()
3064 struct ieee80211_sta_vht_cap vht_cap; in ath10k_bss_assoc() local
3088 vht_cap = ap_sta->deflink.vht_cap; in ath10k_bss_assoc()
3114 ret = ath10k_mac_vif_recalc_txbf(ar, vif, vht_cap); in ath10k_bss_assoc()
3164 struct ieee80211_sta_vht_cap vht_cap = {}; in ath10k_bss_disassoc() local
3179 ret = ath10k_mac_vif_recalc_txbf(ar, vif, vht_cap); in ath10k_bss_disassoc()
4865 struct ieee80211_sta_vht_cap vht_cap = {0}; in ath10k_create_vht_cap() local
4871 vht_cap.vht_supported = 1; in ath10k_create_vht_cap()
4872 vht_cap.cap = ar->vht_cap_info; in ath10k_create_vht_cap()
4880 vht_cap.cap |= val; in ath10k_create_vht_cap()
4889 vht_cap.cap |= val; in ath10k_create_vht_cap()
4901 vht_cap.cap &= ~IEEE80211_VHT_CAP_TXSTBC; in ath10k_create_vht_cap()
4903 vht_cap.vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in ath10k_create_vht_cap()
4904 vht_cap.vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in ath10k_create_vht_cap()
4910 if ((vht_cap.cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK) && in ath10k_create_vht_cap()
4913 vht_cap.vht_mcs.rx_highest = cpu_to_le16(hw->vht160_mcs_rx_highest); in ath10k_create_vht_cap()
4914 vht_cap.vht_mcs.tx_highest = cpu_to_le16(hw->vht160_mcs_tx_highest); in ath10k_create_vht_cap()
4917 return vht_cap; in ath10k_create_vht_cap()
4990 struct ieee80211_sta_vht_cap vht_cap; in ath10k_mac_setup_ht_vht_cap() local
4994 vht_cap = ath10k_create_vht_cap(ar); in ath10k_mac_setup_ht_vht_cap()
5003 band->vht_cap = vht_cap; in ath10k_mac_setup_ht_vht_cap()
6984 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath10k_mac_validate_rate_mask() local
6993 if (!vht_cap->vht_supported) { in ath10k_mac_validate_rate_mask()
6999 if (!ht_cap->ht_supported || vht_cap->vht_supported) { in ath10k_mac_validate_rate_mask()
7005 if (ht_cap->ht_supported || vht_cap->vht_supported) in ath10k_mac_validate_rate_mask()
8234 u16 vht_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map); in ath10k_mac_bitrate_mask_get_single_nss()
8360 if (!sta->deflink.vht_cap.vht_supported || arvif->vht_num_rates != 1) in ath10k_mac_set_vht_bitrate_mask_fixup()
8401 if (arsta->arvif != arvif || !sta->deflink.vht_cap.vht_supported) in ath10k_mac_clr_bitrate_mask_iter()