Searched refs:ht_cap (Results 1 - 25 of 162) sorted by relevance

1234567

/linux-master/drivers/staging/rtl8712/
H A Drtl871x_ht.h29 struct ieee80211_ht_cap ht_cap; member in struct:ht_priv
/linux-master/drivers/net/wireless/realtek/rtlwifi/
H A Drc.h20 u8 ht_cap; member in struct:rtl_rate_priv
H A Drc.c124 sgi_20 = sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20;
125 sgi_40 = sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40;
138 if (sta && (sta->deflink.ht_cap.cap &
152 if (sta && sta->deflink.ht_cap.ht_supported &&
232 if (sta->deflink.ht_cap.ht_supported &&
H A Dbase.c120 .ht_cap = {0},
132 .ht_cap = {0},
153 struct ieee80211_sta_ht_cap *ht_cap)
158 ht_cap->ht_supported = true;
159 ht_cap->cap = IEEE80211_HT_CAP_SUP_WIDTH_20_40 |
165 ht_cap->cap &= ~IEEE80211_HT_CAP_MAX_AMSDU;
171 ht_cap->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K;
174 ht_cap->ampdu_density = IEEE80211_HT_MPDU_DENSITY_16;
176 ht_cap->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED;
190 ht_cap
152 _rtl_init_hw_ht_capab(struct ieee80211_hw *hw, struct ieee80211_sta_ht_cap *ht_cap) argument
[all...]
/linux-master/net/mac80211/
H A Dht.c23 struct ieee80211_sta_ht_cap *ht_cap,
29 ht_cap->cap &= ~flag;
35 struct ieee80211_sta_ht_cap *ht_cap,
42 ht_cap->cap |= flag;
46 struct ieee80211_sta_ht_cap *ht_cap)
52 if (!ht_cap->ht_supported)
74 * And, if this method can ever change ht_cap.ht_supported, fix
81 ht_cap->mcs.rx_mask[i] &= ~m; /* turn off all masked bits */
83 ht_cap->mcs.rx_mask[i] |= (m & scaps[i]);
87 __check_htcap_disable(ht_capa, ht_capa_mask, ht_cap,
21 __check_htcap_disable(struct ieee80211_ht_cap *ht_capa, struct ieee80211_ht_cap *ht_capa_mask, struct ieee80211_sta_ht_cap *ht_cap, u16 flag) argument
33 __check_htcap_enable(struct ieee80211_ht_cap *ht_capa, struct ieee80211_ht_cap *ht_capa_mask, struct ieee80211_sta_ht_cap *ht_cap, u16 flag) argument
45 ieee80211_apply_htcap_overrides(struct ieee80211_sub_if_data *sdata, struct ieee80211_sta_ht_cap *ht_cap) argument
145 struct ieee80211_sta_ht_cap ht_cap, own_cap; local
[all...]
H A Dvht.c130 if (!link_sta->pub->ht_cap.ht_supported)
405 return link_sta->pub->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ?
433 if (!link_sta->pub->ht_cap.ht_supported)
436 return link_sta->pub->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ?
461 if (!link_sta->pub->ht_cap.ht_supported)
594 if (link_sta->pub->ht_cap.ht_supported) {
595 if (link_sta->pub->ht_cap.mcs.rx_mask[0])
597 if (link_sta->pub->ht_cap.mcs.rx_mask[1])
599 if (link_sta->pub->ht_cap.mcs.rx_mask[2])
601 if (link_sta->pub->ht_cap
[all...]
H A Dtdls.c373 struct ieee80211_sta_ht_cap ht_cap; local
451 memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap));
455 ht_cap.ht_supported) {
456 ieee80211_apply_htcap_overrides(sdata, &ht_cap);
459 ht_cap.cap |= WLAN_HT_CAP_SM_PS_DISABLED
463 ieee80211_ie_build_ht_cap(pos, &ht_cap, ht_cap.cap);
465 ht_cap
[all...]
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A D11n.c26 struct ieee80211_ht_cap *ht_cap)
28 uint16_t ht_ext_cap = le16_to_cpu(ht_cap->extended_ht_cap_info);
37 ht_cap->ampdu_params_info =
38 (sband->ht_cap.ampdu_factor &
40 ((sband->ht_cap.ampdu_density <<
44 memcpy((u8 *)&ht_cap->mcs, &sband->ht_cap.mcs,
45 sizeof(sband->ht_cap.mcs));
48 (sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 &&
52 SETHT_MCS32(ht_cap
25 mwifiex_fill_cap_info(struct mwifiex_private *priv, u8 radio_type, struct ieee80211_ht_cap *ht_cap) argument
303 struct mwifiex_ie_types_htcap *ht_cap; local
[all...]
H A Duap_cmd.c159 memcpy(&bss_cfg->ht_cap, ht_ie + 2,
163 memset(&bss_cfg->ht_cap, 0, sizeof(struct ieee80211_ht_cap));
164 bss_cfg->ht_cap.cap_info = cpu_to_le16(MWIFIEX_DEF_HT_CAP);
165 bss_cfg->ht_cap.ampdu_params_info = MWIFIEX_DEF_AMPDU;
631 if (bss_cfg->ht_cap.cap_info) {
636 htcap->ht_cap.cap_info = bss_cfg->ht_cap.cap_info;
637 htcap->ht_cap.ampdu_params_info =
638 bss_cfg->ht_cap.ampdu_params_info;
639 memcpy(&htcap->ht_cap
[all...]
H A Djoin.c843 struct mwifiex_ie_types_htcap *ht_cap; local
1033 ht_cap = (struct mwifiex_ie_types_htcap *) pos;
1034 memset(ht_cap, 0, sizeof(struct mwifiex_ie_types_htcap));
1035 ht_cap->header.type = cpu_to_le16(WLAN_EID_HT_CAPABILITY);
1036 ht_cap->header.len =
1040 mwifiex_fill_cap_info(priv, radio_type, &ht_cap->ht_cap);
1046 tmp_ht_cap = le16_to_cpu(ht_cap->ht_cap.cap_info);
1049 ht_cap
[all...]
/linux-master/drivers/net/wireless/ti/wl18xx/
H A Dacx.c137 struct ieee80211_sta_ht_cap *ht_cap,
146 "acx set cap ht_supp: %d ht_cap: %d rates: 0x%x",
147 ht_cap->ht_supported, ht_cap->cap, rate_set);
155 if (allow_ht_operation && ht_cap->ht_supported) {
157 ht_capabilites = ht_cap->cap;
166 acx->ampdu_max_length = ht_cap->ampdu_factor;
167 acx->ampdu_min_spacing = ht_cap->ampdu_density;
136 wl18xx_acx_set_peer_cap(struct wl1271 *wl, struct ieee80211_sta_ht_cap *ht_cap, bool allow_ht_operation, u32 rate_set, u8 hlid) argument
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs-fw.c43 struct ieee80211_sta_ht_cap *ht_cap = &link_sta->ht_cap; local
51 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_20)
53 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_40)
68 struct ieee80211_sta_ht_cap *ht_cap = &link_sta->ht_cap; local
82 else if (ht_cap->cap & IEEE80211_HT_CAP_RX_STBC)
87 ((ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING) ||
376 const struct ieee80211_sta_ht_cap *ht_cap = &link_sta->ht_cap; local
531 const struct ieee80211_sta_ht_cap *ht_cap = &link_sta->ht_cap; local
[all...]
/linux-master/drivers/net/wireless/mediatek/mt7601u/
H A Dinit.c522 struct ieee80211_sta_ht_cap *ht_cap; local
536 ht_cap = &sband->ht_cap;
537 ht_cap->ht_supported = true;
538 ht_cap->cap = IEEE80211_HT_CAP_SUP_WIDTH_20_40 |
544 ht_cap->mcs.rx_mask[0] = 0xff;
545 ht_cap->mcs.rx_mask[4] = 0x1;
546 ht_cap->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED;
547 ht_cap->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K;
548 ht_cap
[all...]
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dwlcore.h100 struct ieee80211_sta_ht_cap *ht_cap,
452 struct ieee80211_sta_ht_cap ht_cap[WLCORE_NUM_BANDS]; member in struct:wl1271
514 struct ieee80211_sta_ht_cap *ht_cap)
516 memcpy(&wl->ht_cap[band], ht_cap, sizeof(*ht_cap));
513 wlcore_set_ht_cap(struct wl1271 *wl, enum nl80211_band band, struct ieee80211_sta_ht_cap *ht_cap) argument
H A Dhw_ops.h233 struct ieee80211_sta_ht_cap *ht_cap,
238 return wl->ops->set_peer_cap(wl, ht_cap, allow_ht_operation,
232 wlcore_hw_set_peer_cap(struct wl1271 *wl, struct ieee80211_sta_ht_cap *ht_cap, bool allow_ht_operation, u32 rate_set, u8 hlid) argument
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Dmain.c147 .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
1541 rtw_init_ht_cap(struct rtw_dev *rtwdev, struct ieee80211_sta_ht_cap *ht_cap) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dinit.c264 dev->mphy.sband_2g.sband.ht_cap.cap |=
267 dev->mphy.sband_2g.sband.ht_cap.ampdu_density =
269 dev->mphy.sband_5g.sband.ht_cap.cap |=
272 dev->mphy.sband_2g.sband.ht_cap.ampdu_density =
/linux-master/drivers/net/wireless/st/cw1200/
H A Dcw1200.h54 struct ieee80211_sta_ht_cap ht_cap; member in struct:cw1200_ht_info
308 (ht_info->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) &&
317 return ht_info->ht_cap.ampdu_density;
/linux-master/drivers/staging/rtl8723bs/core/
H A Drtw_ap.c487 phtpriv_sta->ht_cap.ampdu_params_info & IEEE80211_HT_CAP_AMPDU_DENSITY
492 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info
505 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info
511 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info
523 GET_HT_CAPABILITY_ELE_LDPC_CAP((u8 *)(&phtpriv_sta->ht_cap)))
528 GET_HT_CAPABILITY_ELE_RX_STBC((u8 *)(&phtpriv_sta->ht_cap)))
584 if ((phtpriv_ap->ht_cap
818 u16 cap, ht_cap = false; local
[all...]
/linux-master/drivers/staging/rtl8723bs/include/
H A Drtw_ht.h36 struct ieee80211_ht_cap ht_cap; member in struct:ht_priv
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dmac.c1504 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; local
1518 if (!ht_cap->ht_supported)
1530 ht_cap->ampdu_factor)) - 1;
1533 ath12k_parse_mpdudensity(ht_cap->ampdu_density);
1535 arg->peer_ht_caps = ht_cap->cap;
1538 if (ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING)
1547 if (ht_cap->cap & (IEEE80211_HT_CAP_SGI_20 |
1552 if (ht_cap->cap & IEEE80211_HT_CAP_TX_STBC) {
1557 if (ht_cap
1912 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; local
2389 ath12k_setup_peer_smps(struct ath12k *ar, struct ath12k_vif *arvif, const u8 *addr, const struct ieee80211_sta_ht_cap *ht_cap) argument
4335 struct ieee80211_sta_ht_cap ht_cap = {0}; local
4534 u32 ht_cap; local
7923 ath12k_mac_setup_register(struct ath12k *ar, u32 *ht_cap, struct ieee80211_supported_band *bands[]) argument
7971 u32 ht_cap = 0; local
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Ddebug_sta.c39 if (!an->sta->deflink.ht_cap.ht_supported) {
189 if (!sta->deflink.ht_cap.ht_supported)
H A Dcommon-init.c239 &common->sbands[NL80211_BAND_2GHZ].ht_cap);
242 &common->sbands[NL80211_BAND_5GHZ].ht_cap);
/linux-master/drivers/staging/rtl8192e/
H A Drtllib_wx.c122 struct ht_capab_ele *ht_cap = NULL; local
127 ht_cap = (struct ht_capab_ele *)
130 ht_cap = (struct ht_capab_ele *)
132 is40M = (ht_cap->ChlWidth) ? 1 : 0;
133 isShortGI = (ht_cap->ChlWidth) ?
134 ((ht_cap->ShortGI40Mhz) ? 1 : 0) :
135 ((ht_cap->ShortGI20Mhz) ? 1 : 0);
137 max_mcs = ht_get_highest_mcs_rate(ieee, ht_cap->MCS,
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c791 struct ieee80211_sta_ht_cap *ht_cap; local
798 ht_cap = &sta->deflink.ht_cap;
806 ht_cap = &sband->ht_cap;
815 if (ht_cap->ht_supported)
826 if (ht_cap->ht_supported)
860 if (sta->deflink.ht_cap.ht_supported) {
865 ht->ht_cap = cpu_to_le16(sta->deflink.ht_cap
1306 struct ieee80211_sta_ht_cap *ht_cap; local
[all...]

Completed in 255 milliseconds

1234567