Lines Matching refs:ht_cap

1869 	const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap;  in ath11k_peer_assoc_h_ht()  local
1883 if (!ht_cap->ht_supported) in ath11k_peer_assoc_h_ht()
1895 ht_cap->ampdu_factor)) - 1; in ath11k_peer_assoc_h_ht()
1898 ath11k_parse_mpdudensity(ht_cap->ampdu_density); in ath11k_peer_assoc_h_ht()
1900 arg->peer_ht_caps = ht_cap->cap; in ath11k_peer_assoc_h_ht()
1903 if (ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING) in ath11k_peer_assoc_h_ht()
1920 if (ht_cap->cap & (IEEE80211_HT_CAP_SGI_20 | in ath11k_peer_assoc_h_ht()
1925 if (ht_cap->cap & IEEE80211_HT_CAP_TX_STBC) { in ath11k_peer_assoc_h_ht()
1930 if (ht_cap->cap & IEEE80211_HT_CAP_RX_STBC) { in ath11k_peer_assoc_h_ht()
1931 stbc = ht_cap->cap & IEEE80211_HT_CAP_RX_STBC; in ath11k_peer_assoc_h_ht()
1938 if (ht_cap->mcs.rx_mask[1] && ht_cap->mcs.rx_mask[2]) in ath11k_peer_assoc_h_ht()
1940 else if (ht_cap->mcs.rx_mask[1]) in ath11k_peer_assoc_h_ht()
1944 if ((ht_cap->mcs.rx_mask[i / 8] & BIT(i % 8)) && in ath11k_peer_assoc_h_ht()
2359 else if (sta->deflink.ht_cap.ht_supported) in ath11k_peer_assoc_h_he()
2553 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in ath11k_peer_assoc_h_smps() local
2556 if (!ht_cap->ht_supported && !sta->deflink.he_6ghz_capa.capa) in ath11k_peer_assoc_h_smps()
2559 if (ht_cap->ht_supported) { in ath11k_peer_assoc_h_smps()
2560 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath11k_peer_assoc_h_smps()
2782 } else if (sta->deflink.ht_cap.ht_supported && in ath11k_peer_assoc_h_phymode()
2803 } else if (sta->deflink.ht_cap.ht_supported && in ath11k_peer_assoc_h_phymode()
2859 const struct ieee80211_sta_ht_cap *ht_cap, in ath11k_setup_peer_smps() argument
2864 if (!ht_cap->ht_supported && !he_6ghz_capa) in ath11k_setup_peer_smps()
2867 if (ht_cap->ht_supported) { in ath11k_setup_peer_smps()
2868 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath11k_setup_peer_smps()
3043 &ap_sta->deflink.ht_cap, in ath11k_bss_assoc()
4590 } else if (sta->deflink.ht_cap.ht_supported && num_ht_rates == 1) { in ath11k_station_assoc()
4604 &sta->deflink.ht_cap, in ath11k_station_assoc()
4808 } else if (sta->deflink.ht_cap.ht_supported && num_ht_rates == 1) { in ath11k_sta_rc_update_wk()
5392 struct ieee80211_sta_ht_cap ht_cap = {0}; in ath11k_create_ht_cap() local
5396 return ht_cap; in ath11k_create_ht_cap()
5398 ht_cap.ht_supported = 1; in ath11k_create_ht_cap()
5399 ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in ath11k_create_ht_cap()
5400 ht_cap.ampdu_density = IEEE80211_HT_MPDU_DENSITY_NONE; in ath11k_create_ht_cap()
5401 ht_cap.cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; in ath11k_create_ht_cap()
5402 ht_cap.cap |= IEEE80211_HT_CAP_DSSSCCK40; in ath11k_create_ht_cap()
5403 ht_cap.cap |= WLAN_HT_CAP_SM_PS_STATIC << IEEE80211_HT_CAP_SM_PS_SHIFT; in ath11k_create_ht_cap()
5406 ht_cap.cap |= IEEE80211_HT_CAP_SGI_20; in ath11k_create_ht_cap()
5409 ht_cap.cap |= IEEE80211_HT_CAP_SGI_40; in ath11k_create_ht_cap()
5417 ht_cap.cap |= smps; in ath11k_create_ht_cap()
5421 ht_cap.cap |= IEEE80211_HT_CAP_TX_STBC; in ath11k_create_ht_cap()
5432 ht_cap.cap |= stbc; in ath11k_create_ht_cap()
5436 ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING; in ath11k_create_ht_cap()
5439 ht_cap.cap |= IEEE80211_HT_CAP_LSIG_TXOP_PROT; in ath11k_create_ht_cap()
5442 ht_cap.cap |= IEEE80211_HT_CAP_MAX_AMSDU; in ath11k_create_ht_cap()
5446 ht_cap.mcs.rx_mask[i] = 0xFF; in ath11k_create_ht_cap()
5449 ht_cap.mcs.tx_params |= IEEE80211_HT_MCS_TX_DEFINED; in ath11k_create_ht_cap()
5451 return ht_cap; in ath11k_create_ht_cap()
5607 u32 ht_cap; in ath11k_mac_setup_ht_vht_cap() local
5614 ht_cap = cap->band[NL80211_BAND_2GHZ].ht_cap_info; in ath11k_mac_setup_ht_vht_cap()
5616 *ht_cap_info = ht_cap; in ath11k_mac_setup_ht_vht_cap()
5617 band->ht_cap = ath11k_create_ht_cap(ar, ht_cap, in ath11k_mac_setup_ht_vht_cap()
5625 ht_cap = cap->band[NL80211_BAND_5GHZ].ht_cap_info; in ath11k_mac_setup_ht_vht_cap()
5627 *ht_cap_info = ht_cap; in ath11k_mac_setup_ht_vht_cap()
5628 band->ht_cap = ath11k_create_ht_cap(ar, ht_cap, in ath11k_mac_setup_ht_vht_cap()
7933 sband->ht_cap.mcs.rx_mask[i]) in ath11k_mac_bitrate_mask_get_single_nss()
9413 u32 ht_cap = 0; in __ath11k_mac_register() local
9426 ath11k_mac_setup_ht_vht_cap(ar, cap, &ht_cap); in __ath11k_mac_register()
9472 if ((ht_cap & WMI_HT_CAP_ENABLED) || ar->supports_6ghz) { in __ath11k_mac_register()
9487 if (ht_cap & WMI_HT_CAP_DYNAMIC_SMPS || in __ath11k_mac_register()