Lines Matching refs:ht_cap

1359 	const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap;  in ath12k_peer_assoc_h_ht()  local
1373 if (!ht_cap->ht_supported) in ath12k_peer_assoc_h_ht()
1385 ht_cap->ampdu_factor)) - 1; in ath12k_peer_assoc_h_ht()
1388 ath12k_parse_mpdudensity(ht_cap->ampdu_density); in ath12k_peer_assoc_h_ht()
1390 arg->peer_ht_caps = ht_cap->cap; in ath12k_peer_assoc_h_ht()
1393 if (ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING) in ath12k_peer_assoc_h_ht()
1402 if (ht_cap->cap & (IEEE80211_HT_CAP_SGI_20 | in ath12k_peer_assoc_h_ht()
1407 if (ht_cap->cap & IEEE80211_HT_CAP_TX_STBC) { in ath12k_peer_assoc_h_ht()
1412 if (ht_cap->cap & IEEE80211_HT_CAP_RX_STBC) { in ath12k_peer_assoc_h_ht()
1413 stbc = ht_cap->cap & IEEE80211_HT_CAP_RX_STBC; in ath12k_peer_assoc_h_ht()
1420 if (ht_cap->mcs.rx_mask[1] && ht_cap->mcs.rx_mask[2]) in ath12k_peer_assoc_h_ht()
1422 else if (ht_cap->mcs.rx_mask[1]) in ath12k_peer_assoc_h_ht()
1426 if ((ht_cap->mcs.rx_mask[i / 8] & BIT(i % 8)) && in ath12k_peer_assoc_h_ht()
1690 else if (sta->deflink.ht_cap.ht_supported) in ath12k_peer_assoc_h_he()
1767 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in ath12k_peer_assoc_h_smps() local
1770 if (!ht_cap->ht_supported) in ath12k_peer_assoc_h_smps()
1773 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath12k_peer_assoc_h_smps()
2028 } else if (sta->deflink.ht_cap.ht_supported && in ath12k_peer_assoc_h_phymode()
2050 } else if (sta->deflink.ht_cap.ht_supported && in ath12k_peer_assoc_h_phymode()
2246 const struct ieee80211_sta_ht_cap *ht_cap) in ath12k_setup_peer_smps() argument
2250 if (!ht_cap->ht_supported) in ath12k_setup_peer_smps()
2253 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath12k_setup_peer_smps()
2309 &ap_sta->deflink.ht_cap); in ath12k_bss_assoc()
3392 &sta->deflink.ht_cap); in ath12k_station_assoc()
4073 struct ieee80211_sta_ht_cap ht_cap = {0}; in ath12k_create_ht_cap() local
4077 return ht_cap; in ath12k_create_ht_cap()
4079 ht_cap.ht_supported = 1; in ath12k_create_ht_cap()
4080 ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in ath12k_create_ht_cap()
4081 ht_cap.ampdu_density = IEEE80211_HT_MPDU_DENSITY_NONE; in ath12k_create_ht_cap()
4082 ht_cap.cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; in ath12k_create_ht_cap()
4083 ht_cap.cap |= IEEE80211_HT_CAP_DSSSCCK40; in ath12k_create_ht_cap()
4084 ht_cap.cap |= WLAN_HT_CAP_SM_PS_STATIC << IEEE80211_HT_CAP_SM_PS_SHIFT; in ath12k_create_ht_cap()
4087 ht_cap.cap |= IEEE80211_HT_CAP_SGI_20; in ath12k_create_ht_cap()
4090 ht_cap.cap |= IEEE80211_HT_CAP_SGI_40; in ath12k_create_ht_cap()
4098 ht_cap.cap |= smps; in ath12k_create_ht_cap()
4102 ht_cap.cap |= IEEE80211_HT_CAP_TX_STBC; in ath12k_create_ht_cap()
4113 ht_cap.cap |= stbc; in ath12k_create_ht_cap()
4117 ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING; in ath12k_create_ht_cap()
4120 ht_cap.cap |= IEEE80211_HT_CAP_LSIG_TXOP_PROT; in ath12k_create_ht_cap()
4123 ht_cap.cap |= IEEE80211_HT_CAP_MAX_AMSDU; in ath12k_create_ht_cap()
4127 ht_cap.mcs.rx_mask[i] = 0xFF; in ath12k_create_ht_cap()
4130 ht_cap.mcs.tx_params |= IEEE80211_HT_MCS_TX_DEFINED; in ath12k_create_ht_cap()
4132 return ht_cap; in ath12k_create_ht_cap()
4272 u32 ht_cap; in ath12k_mac_setup_ht_vht_cap() local
4279 ht_cap = cap->band[NL80211_BAND_2GHZ].ht_cap_info; in ath12k_mac_setup_ht_vht_cap()
4281 *ht_cap_info = ht_cap; in ath12k_mac_setup_ht_vht_cap()
4282 band->ht_cap = ath12k_create_ht_cap(ar, ht_cap, in ath12k_mac_setup_ht_vht_cap()
4290 ht_cap = cap->band[NL80211_BAND_5GHZ].ht_cap_info; in ath12k_mac_setup_ht_vht_cap()
4292 *ht_cap_info = ht_cap; in ath12k_mac_setup_ht_vht_cap()
4293 band->ht_cap = ath12k_create_ht_cap(ar, ht_cap, in ath12k_mac_setup_ht_vht_cap()
6439 sband->ht_cap.mcs.rx_mask[i]) in ath12k_mac_bitrate_mask_get_single_nss()
7208 u32 ht_cap = 0; in __ath12k_mac_register() local
7221 ath12k_mac_setup_ht_vht_cap(ar, cap, &ht_cap); in __ath12k_mac_register()
7250 if (ht_cap & WMI_HT_CAP_ENABLED) { in __ath12k_mac_register()
7265 if (ht_cap & WMI_HT_CAP_DYNAMIC_SMPS) in __ath12k_mac_register()