Lines Matching refs:ht_cap
115 struct ieee80211_sta_ht_cap *ht_cap = &sband->ht_cap; in mt76_init_stream_cap() local
121 ht_cap->cap |= IEEE80211_HT_CAP_TX_STBC; in mt76_init_stream_cap()
123 ht_cap->cap &= ~IEEE80211_HT_CAP_TX_STBC; in mt76_init_stream_cap()
126 ht_cap->mcs.rx_mask[i] = i < nstream ? 0xff : 0; in mt76_init_stream_cap()
163 struct ieee80211_sta_ht_cap *ht_cap; in mt76_init_sband() local
184 ht_cap = &sband->ht_cap; in mt76_init_sband()
185 ht_cap->ht_supported = true; in mt76_init_sband()
186 ht_cap->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40 | in mt76_init_sband()
192 ht_cap->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; in mt76_init_sband()
193 ht_cap->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in mt76_init_sband()
194 ht_cap->ampdu_density = IEEE80211_HT_MPDU_DENSITY_4; in mt76_init_sband()