Lines Matching refs:ht_cap

2308 	const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap;  in ath10k_peer_assoc_h_ht()  local
2323 if (!ht_cap->ht_supported) in ath10k_peer_assoc_h_ht()
2336 ht_cap->ampdu_factor)) - 1; in ath10k_peer_assoc_h_ht()
2339 ath10k_parse_mpdudensity(ht_cap->ampdu_density); in ath10k_peer_assoc_h_ht()
2341 arg->peer_ht_caps = ht_cap->cap; in ath10k_peer_assoc_h_ht()
2344 if (ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING) in ath10k_peer_assoc_h_ht()
2353 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_20) in ath10k_peer_assoc_h_ht()
2356 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_40) in ath10k_peer_assoc_h_ht()
2360 if (ht_cap->cap & IEEE80211_HT_CAP_TX_STBC) { in ath10k_peer_assoc_h_ht()
2365 if (ht_cap->cap & IEEE80211_HT_CAP_RX_STBC) { in ath10k_peer_assoc_h_ht()
2366 stbc = ht_cap->cap & IEEE80211_HT_CAP_RX_STBC; in ath10k_peer_assoc_h_ht()
2373 if (ht_cap->mcs.rx_mask[1] && ht_cap->mcs.rx_mask[2]) in ath10k_peer_assoc_h_ht()
2375 else if (ht_cap->mcs.rx_mask[1]) in ath10k_peer_assoc_h_ht()
2379 if ((ht_cap->mcs.rx_mask[i / 8] & BIT(i % 8)) && in ath10k_peer_assoc_h_ht()
2757 } else if (sta->deflink.ht_cap.ht_supported && in ath10k_peer_assoc_h_phymode()
2777 } else if (sta->deflink.ht_cap.ht_supported && in ath10k_peer_assoc_h_phymode()
2828 const struct ieee80211_sta_ht_cap *ht_cap) in ath10k_setup_peer_smps() argument
2832 if (!ht_cap->ht_supported) in ath10k_setup_peer_smps()
2835 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath10k_setup_peer_smps()
3070 struct ieee80211_sta_ht_cap ht_cap; in ath10k_bss_assoc() local
3094 ht_cap = ap_sta->deflink.ht_cap; in ath10k_bss_assoc()
3114 ret = ath10k_setup_peer_smps(ar, arvif, bss_conf->bssid, &ht_cap); in ath10k_bss_assoc()
3293 &sta->deflink.ht_cap); in ath10k_station_assoc()
4935 struct ieee80211_sta_ht_cap ht_cap = {0}; in ath10k_get_ht_cap() local
4938 return ht_cap; in ath10k_get_ht_cap()
4940 ht_cap.ht_supported = 1; in ath10k_get_ht_cap()
4941 ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in ath10k_get_ht_cap()
4942 ht_cap.ampdu_density = IEEE80211_HT_MPDU_DENSITY_8; in ath10k_get_ht_cap()
4943 ht_cap.cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; in ath10k_get_ht_cap()
4944 ht_cap.cap |= IEEE80211_HT_CAP_DSSSCCK40; in ath10k_get_ht_cap()
4945 ht_cap.cap |= in ath10k_get_ht_cap()
4949 ht_cap.cap |= IEEE80211_HT_CAP_SGI_20; in ath10k_get_ht_cap()
4952 ht_cap.cap |= IEEE80211_HT_CAP_SGI_40; in ath10k_get_ht_cap()
4960 ht_cap.cap |= smps; in ath10k_get_ht_cap()
4964 ht_cap.cap |= IEEE80211_HT_CAP_TX_STBC; in ath10k_get_ht_cap()
4975 ht_cap.cap |= stbc; in ath10k_get_ht_cap()
4980 ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING; in ath10k_get_ht_cap()
4983 ht_cap.cap |= IEEE80211_HT_CAP_LSIG_TXOP_PROT; in ath10k_get_ht_cap()
4987 ht_cap.cap |= IEEE80211_HT_CAP_MAX_AMSDU; in ath10k_get_ht_cap()
4991 ht_cap.mcs.rx_mask[i] = 0xFF; in ath10k_get_ht_cap()
4994 ht_cap.mcs.tx_params |= IEEE80211_HT_MCS_TX_DEFINED; in ath10k_get_ht_cap()
4996 return ht_cap; in ath10k_get_ht_cap()
5003 struct ieee80211_sta_ht_cap ht_cap; in ath10k_mac_setup_ht_vht_cap() local
5005 ht_cap = ath10k_get_ht_cap(ar); in ath10k_mac_setup_ht_vht_cap()
5010 band->ht_cap = ht_cap; in ath10k_mac_setup_ht_vht_cap()
5014 band->ht_cap = ht_cap; in ath10k_mac_setup_ht_vht_cap()
6988 struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in ath10k_mac_validate_rate_mask() local
7004 if (!ht_cap->ht_supported || vht_cap->vht_supported) { in ath10k_mac_validate_rate_mask()
7010 if (ht_cap->ht_supported || vht_cap->vht_supported) in ath10k_mac_validate_rate_mask()
8244 sband->ht_cap.mcs.rx_mask[i]) in ath10k_mac_bitrate_mask_get_single_nss()