Lines Matching refs:ht_cap

162 	.ht_cap = {0},
176 .ht_cap = {0},
1260 } else if (sta->deflink.ht_cap.ht_supported) {
1261 ra_mask |= (sta->deflink.ht_cap.mcs.rx_mask[1] << 20) |
1262 (sta->deflink.ht_cap.mcs.rx_mask[0] << 12);
1263 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_RX_STBC)
1265 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_LDPC_CODING)
1278 } else if (sta->deflink.ht_cap.ht_supported) {
1293 } else if (sta->deflink.ht_cap.ht_supported) {
1323 is_support_sgi = sta->deflink.ht_cap.ht_supported &&
1324 (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40);
1328 is_support_sgi = sta->deflink.ht_cap.ht_supported &&
1329 (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20);
1335 else if (sta->deflink.ht_cap.ht_supported && ra_mask & 0xfff00000)
1588 struct ieee80211_sta_ht_cap *ht_cap)
1593 ht_cap->ht_supported = true;
1594 ht_cap->cap = 0;
1595 ht_cap->cap |= IEEE80211_HT_CAP_SGI_20 |
1600 ht_cap->cap |= IEEE80211_HT_CAP_LDPC_CODING;
1602 ht_cap->cap |= IEEE80211_HT_CAP_TX_STBC;
1605 ht_cap->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40 |
1608 ht_cap->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K;
1609 ht_cap->ampdu_density = chip->ampdu_density;
1610 ht_cap->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED;
1612 ht_cap->mcs.rx_mask[0] = 0xFF;
1613 ht_cap->mcs.rx_mask[1] = 0xFF;
1614 ht_cap->mcs.rx_mask[4] = 0x01;
1615 ht_cap->mcs.rx_highest = cpu_to_le16(300);
1617 ht_cap->mcs.rx_mask[0] = 0xFF;
1618 ht_cap->mcs.rx_mask[1] = 0x00;
1619 ht_cap->mcs.rx_mask[4] = 0x01;
1620 ht_cap->mcs.rx_highest = cpu_to_le16(150);
1703 rtw_init_ht_cap(rtwdev, &sband->ht_cap);
1716 rtw_init_ht_cap(rtwdev, &sband->ht_cap);