Lines Matching refs:ht_cap
2081 const struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap; in ath10k_peer_assoc_h_ht() local
2096 if (!ht_cap->ht_supported) in ath10k_peer_assoc_h_ht()
2109 ht_cap->ampdu_factor)) - 1; in ath10k_peer_assoc_h_ht()
2112 ath10k_parse_mpdudensity(ht_cap->ampdu_density); in ath10k_peer_assoc_h_ht()
2114 arg->peer_ht_caps = ht_cap->cap; in ath10k_peer_assoc_h_ht()
2117 if (ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING) in ath10k_peer_assoc_h_ht()
2126 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_20) in ath10k_peer_assoc_h_ht()
2129 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_40) in ath10k_peer_assoc_h_ht()
2133 if (ht_cap->cap & IEEE80211_HT_CAP_TX_STBC) { in ath10k_peer_assoc_h_ht()
2138 if (ht_cap->cap & IEEE80211_HT_CAP_RX_STBC) { in ath10k_peer_assoc_h_ht()
2139 stbc = ht_cap->cap & IEEE80211_HT_CAP_RX_STBC; in ath10k_peer_assoc_h_ht()
2146 if (ht_cap->mcs.rx_mask[1] && ht_cap->mcs.rx_mask[2]) in ath10k_peer_assoc_h_ht()
2148 else if (ht_cap->mcs.rx_mask[1]) in ath10k_peer_assoc_h_ht()
2152 if ((ht_cap->mcs.rx_mask[i / 8] & BIT(i % 8)) && in ath10k_peer_assoc_h_ht()
2425 } else if (sta->ht_cap.ht_supported && in ath10k_peer_assoc_h_phymode()
2450 } else if (sta->ht_cap.ht_supported && in ath10k_peer_assoc_h_phymode()
2501 const struct ieee80211_sta_ht_cap *ht_cap) in ath10k_setup_peer_smps() argument
2505 if (!ht_cap->ht_supported) in ath10k_setup_peer_smps()
2508 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath10k_setup_peer_smps()
2591 struct ieee80211_sta_ht_cap ht_cap; in ath10k_bss_assoc() local
2614 ht_cap = ap_sta->ht_cap; in ath10k_bss_assoc()
2634 ret = ath10k_setup_peer_smps(ar, arvif, bss_conf->bssid, &ht_cap); in ath10k_bss_assoc()
2741 &sta->ht_cap); in ath10k_station_assoc()
3838 struct ieee80211_sta_ht_cap ht_cap = {0}; in ath10k_get_ht_cap() local
3841 return ht_cap; in ath10k_get_ht_cap()
3843 ht_cap.ht_supported = 1; in ath10k_get_ht_cap()
3844 ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in ath10k_get_ht_cap()
3845 ht_cap.ampdu_density = IEEE80211_HT_MPDU_DENSITY_8; in ath10k_get_ht_cap()
3846 ht_cap.cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; in ath10k_get_ht_cap()
3847 ht_cap.cap |= IEEE80211_HT_CAP_DSSSCCK40; in ath10k_get_ht_cap()
3848 ht_cap.cap |= WLAN_HT_CAP_SM_PS_STATIC << IEEE80211_HT_CAP_SM_PS_SHIFT; in ath10k_get_ht_cap()
3851 ht_cap.cap |= IEEE80211_HT_CAP_SGI_20; in ath10k_get_ht_cap()
3854 ht_cap.cap |= IEEE80211_HT_CAP_SGI_40; in ath10k_get_ht_cap()
3862 ht_cap.cap |= smps; in ath10k_get_ht_cap()
3866 ht_cap.cap |= IEEE80211_HT_CAP_TX_STBC; in ath10k_get_ht_cap()
3877 ht_cap.cap |= stbc; in ath10k_get_ht_cap()
3881 ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING; in ath10k_get_ht_cap()
3884 ht_cap.cap |= IEEE80211_HT_CAP_LSIG_TXOP_PROT; in ath10k_get_ht_cap()
3888 ht_cap.cap |= IEEE80211_HT_CAP_MAX_AMSDU; in ath10k_get_ht_cap()
3892 ht_cap.mcs.rx_mask[i] = 0xFF; in ath10k_get_ht_cap()
3895 ht_cap.mcs.tx_params |= IEEE80211_HT_MCS_TX_DEFINED; in ath10k_get_ht_cap()
3897 return ht_cap; in ath10k_get_ht_cap()
3904 struct ieee80211_sta_ht_cap ht_cap; in ath10k_mac_setup_ht_vht_cap() local
3906 ht_cap = ath10k_get_ht_cap(ar); in ath10k_mac_setup_ht_vht_cap()
3911 band->ht_cap = ht_cap; in ath10k_mac_setup_ht_vht_cap()
3918 band->ht_cap = ht_cap; in ath10k_mac_setup_ht_vht_cap()
6016 sband->ht_cap.mcs.rx_mask[i]) in ath10k_mac_bitrate_mask_get_single_nss()