Lines Matching refs:ht_cap

147 	.ht_cap = {0},
161 .ht_cap = {0},
1218 } else if (sta->deflink.ht_cap.ht_supported) {
1219 ra_mask |= (sta->deflink.ht_cap.mcs.rx_mask[1] << 20) |
1220 (sta->deflink.ht_cap.mcs.rx_mask[0] << 12);
1221 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_RX_STBC)
1223 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_LDPC_CODING)
1236 } else if (sta->deflink.ht_cap.ht_supported) {
1251 } else if (sta->deflink.ht_cap.ht_supported) {
1277 is_support_sgi = sta->deflink.ht_cap.ht_supported &&
1278 (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40);
1282 is_support_sgi = sta->deflink.ht_cap.ht_supported &&
1283 (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20);
1290 } else if (sta->deflink.ht_cap.ht_supported && ra_mask & 0xfff00000) {
1542 struct ieee80211_sta_ht_cap *ht_cap)
1547 ht_cap->ht_supported = true;
1548 ht_cap->cap = 0;
1549 ht_cap->cap |= IEEE80211_HT_CAP_SGI_20 |
1554 ht_cap->cap |= IEEE80211_HT_CAP_LDPC_CODING;
1556 ht_cap->cap |= IEEE80211_HT_CAP_TX_STBC;
1559 ht_cap->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40 |
1562 ht_cap->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K;
1563 ht_cap->ampdu_density = chip->ampdu_density;
1564 ht_cap->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED;
1566 ht_cap->mcs.rx_mask[0] = 0xFF;
1567 ht_cap->mcs.rx_mask[1] = 0xFF;
1568 ht_cap->mcs.rx_mask[4] = 0x01;
1569 ht_cap->mcs.rx_highest = cpu_to_le16(300);
1571 ht_cap->mcs.rx_mask[0] = 0xFF;
1572 ht_cap->mcs.rx_mask[1] = 0x00;
1573 ht_cap->mcs.rx_mask[4] = 0x01;
1574 ht_cap->mcs.rx_highest = cpu_to_le16(150);
1653 rtw_init_ht_cap(rtwdev, &sband->ht_cap);
1662 rtw_init_ht_cap(rtwdev, &sband->ht_cap);