Lines Matching defs:ht_cap

151 	.ht_cap = {0},
165 .ht_cap = {0},
1231 } else if (sta->deflink.ht_cap.ht_supported) {
1232 ra_mask |= (sta->deflink.ht_cap.mcs.rx_mask[1] << 20) |
1233 (sta->deflink.ht_cap.mcs.rx_mask[0] << 12);
1234 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_RX_STBC)
1236 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_LDPC_CODING)
1249 } else if (sta->deflink.ht_cap.ht_supported) {
1264 } else if (sta->deflink.ht_cap.ht_supported) {
1294 is_support_sgi = sta->deflink.ht_cap.ht_supported &&
1295 (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40);
1299 is_support_sgi = sta->deflink.ht_cap.ht_supported &&
1300 (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20);
1307 } else if (sta->deflink.ht_cap.ht_supported && ra_mask & 0xfff00000) {
1559 struct ieee80211_sta_ht_cap *ht_cap)
1564 ht_cap->ht_supported = true;
1565 ht_cap->cap = 0;
1566 ht_cap->cap |= IEEE80211_HT_CAP_SGI_20 |
1571 ht_cap->cap |= IEEE80211_HT_CAP_LDPC_CODING;
1573 ht_cap->cap |= IEEE80211_HT_CAP_TX_STBC;
1576 ht_cap->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40 |
1579 ht_cap->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K;
1580 ht_cap->ampdu_density = chip->ampdu_density;
1581 ht_cap->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED;
1583 ht_cap->mcs.rx_mask[0] = 0xFF;
1584 ht_cap->mcs.rx_mask[1] = 0xFF;
1585 ht_cap->mcs.rx_mask[4] = 0x01;
1586 ht_cap->mcs.rx_highest = cpu_to_le16(300);
1588 ht_cap->mcs.rx_mask[0] = 0xFF;
1589 ht_cap->mcs.rx_mask[1] = 0x00;
1590 ht_cap->mcs.rx_mask[4] = 0x01;
1591 ht_cap->mcs.rx_highest = cpu_to_le16(150);
1670 rtw_init_ht_cap(rtwdev, &sband->ht_cap);
1679 rtw_init_ht_cap(rtwdev, &sband->ht_cap);