Lines Matching refs:ht_cap

1476 	const struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;  in ath10k_peer_assoc_h_ht()  local
1482 if (!ht_cap->ht_supported) in ath10k_peer_assoc_h_ht()
1487 ht_cap->ampdu_factor)) - 1; in ath10k_peer_assoc_h_ht()
1490 ath10k_parse_mpdudensity(ht_cap->ampdu_density); in ath10k_peer_assoc_h_ht()
1492 arg->peer_ht_caps = ht_cap->cap; in ath10k_peer_assoc_h_ht()
1495 if (ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING) in ath10k_peer_assoc_h_ht()
1503 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_20) in ath10k_peer_assoc_h_ht()
1506 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_40) in ath10k_peer_assoc_h_ht()
1509 if (ht_cap->cap & IEEE80211_HT_CAP_TX_STBC) { in ath10k_peer_assoc_h_ht()
1514 if (ht_cap->cap & IEEE80211_HT_CAP_RX_STBC) { in ath10k_peer_assoc_h_ht()
1515 stbc = ht_cap->cap & IEEE80211_HT_CAP_RX_STBC; in ath10k_peer_assoc_h_ht()
1522 if (ht_cap->mcs.rx_mask[1] && ht_cap->mcs.rx_mask[2]) in ath10k_peer_assoc_h_ht()
1524 else if (ht_cap->mcs.rx_mask[1]) in ath10k_peer_assoc_h_ht()
1528 if (ht_cap->mcs.rx_mask[i/8] & (1 << i%8)) in ath10k_peer_assoc_h_ht()
1720 } else if (sta->ht_cap.ht_supported) { in ath10k_peer_assoc_h_phymode()
1743 } else if (sta->ht_cap.ht_supported) { in ath10k_peer_assoc_h_phymode()
1793 const struct ieee80211_sta_ht_cap *ht_cap) in ath10k_setup_peer_smps() argument
1797 if (!ht_cap->ht_supported) in ath10k_setup_peer_smps()
1800 smps = ht_cap->cap & IEEE80211_HT_CAP_SM_PS; in ath10k_setup_peer_smps()
1880 struct ieee80211_sta_ht_cap ht_cap; in ath10k_bss_assoc() local
1903 ht_cap = ap_sta->ht_cap; in ath10k_bss_assoc()
1923 ret = ath10k_setup_peer_smps(ar, arvif, bss_conf->bssid, &ht_cap); in ath10k_bss_assoc()
2029 &sta->ht_cap); in ath10k_station_assoc()
5347 struct ieee80211_sta_ht_cap ht_cap = {0}; in ath10k_get_ht_cap() local
5350 return ht_cap; in ath10k_get_ht_cap()
5352 ht_cap.ht_supported = 1; in ath10k_get_ht_cap()
5353 ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in ath10k_get_ht_cap()
5354 ht_cap.ampdu_density = IEEE80211_HT_MPDU_DENSITY_8; in ath10k_get_ht_cap()
5355 ht_cap.cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; in ath10k_get_ht_cap()
5356 ht_cap.cap |= IEEE80211_HT_CAP_DSSSCCK40; in ath10k_get_ht_cap()
5357 ht_cap.cap |= WLAN_HT_CAP_SM_PS_STATIC << IEEE80211_HT_CAP_SM_PS_SHIFT; in ath10k_get_ht_cap()
5360 ht_cap.cap |= IEEE80211_HT_CAP_SGI_20; in ath10k_get_ht_cap()
5363 ht_cap.cap |= IEEE80211_HT_CAP_SGI_40; in ath10k_get_ht_cap()
5371 ht_cap.cap |= smps; in ath10k_get_ht_cap()
5375 ht_cap.cap |= IEEE80211_HT_CAP_TX_STBC; in ath10k_get_ht_cap()
5386 ht_cap.cap |= stbc; in ath10k_get_ht_cap()
5390 ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING; in ath10k_get_ht_cap()
5393 ht_cap.cap |= IEEE80211_HT_CAP_LSIG_TXOP_PROT; in ath10k_get_ht_cap()
5397 ht_cap.cap |= IEEE80211_HT_CAP_MAX_AMSDU; in ath10k_get_ht_cap()
5400 ht_cap.mcs.rx_mask[i] = 0xFF; in ath10k_get_ht_cap()
5402 ht_cap.mcs.tx_params |= IEEE80211_HT_MCS_TX_DEFINED; in ath10k_get_ht_cap()
5404 return ht_cap; in ath10k_get_ht_cap()
5449 struct ieee80211_sta_ht_cap ht_cap; in ath10k_mac_register() local
5457 ht_cap = ath10k_get_ht_cap(ar); in ath10k_mac_register()
5474 band->ht_cap = ht_cap; in ath10k_mac_register()
5496 band->ht_cap = ht_cap; in ath10k_mac_register()