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

/net/mac80211/
H A Dht.c24 struct ieee80211_sta_ht_cap *ht_cap,
30 ht_cap->cap &= ~flag;
36 struct ieee80211_sta_ht_cap *ht_cap,
43 ht_cap->cap |= flag;
47 struct ieee80211_sta_ht_cap *ht_cap)
53 if (!ht_cap->ht_supported)
75 * And, if this method can ever change ht_cap.ht_supported, fix
82 ht_cap->mcs.rx_mask[i] &= ~m; /* turn off all masked bits */
84 ht_cap->mcs.rx_mask[i] |= (m & scaps[i]);
88 __check_htcap_disable(ht_capa, ht_capa_mask, ht_cap,
22 __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
34 __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
46 ieee80211_apply_htcap_overrides(struct ieee80211_sub_if_data *sdata, struct ieee80211_sta_ht_cap *ht_cap) argument
135 struct ieee80211_sta_ht_cap ht_cap, own_cap; local
[all...]
H A Dvht.c126 if (!sta->sta.ht_cap.ht_supported)
279 bw = sta->sta.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ?
291 bw = sta->sta.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ?
326 if (sta->sta.ht_cap.ht_supported) {
327 if (sta->sta.ht_cap.mcs.rx_mask[0])
329 if (sta->sta.ht_cap.mcs.rx_mask[1])
331 if (sta->sta.ht_cap.mcs.rx_mask[2])
333 if (sta->sta.ht_cap.mcs.rx_mask[3])
H A Dtdls.c175 struct ieee80211_sta_ht_cap ht_cap; local
248 memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap));
251 ht_cap.ht_supported && (!sta || sta->sta.ht_cap.ht_supported)) {
253 ieee80211_apply_htcap_overrides(sdata, &ht_cap);
256 ht_cap.cap |= (WLAN_HT_CAP_SM_PS_DISABLED
260 sta->sta.ht_cap.cap |=
265 memcpy(&ht_cap,
[all...]
H A Dmlme.c153 const struct ieee80211_ht_cap *ht_cap,
167 if (!ht_cap || !ht_oper || !sband->ht_cap.ht_supported) {
174 if (!(ht_cap->cap_info &
200 if (sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) {
339 const struct ieee80211_ht_cap *ht_cap,
380 ht_cap, ht_oper, vht_oper,
476 struct ieee80211_sta_ht_cap ht_cap; local
478 BUILD_BUG_ON(sizeof(ht_cap) != sizeof(sband->ht_cap));
150 ieee80211_determine_chantype(struct ieee80211_sub_if_data *sdata, struct ieee80211_supported_band *sband, struct ieee80211_channel *channel, const struct ieee80211_ht_cap *ht_cap, const struct ieee80211_ht_operation *ht_oper, const struct ieee80211_vht_operation *vht_oper, struct cfg80211_chan_def *chandef, bool tracking) argument
337 ieee80211_config_bw(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, const struct ieee80211_ht_cap *ht_cap, const struct ieee80211_ht_operation *ht_oper, const struct ieee80211_vht_operation *vht_oper, const u8 *bssid, u32 *changed) argument
3849 const struct ieee80211_ht_cap *ht_cap; local
3893 const struct ieee80211_ht_cap *ht_cap = NULL; local
[all...]
H A Dmesh.c418 if (!sband->ht_cap.ht_supported ||
428 ieee80211_ie_build_ht_cap(pos, &sband->ht_cap, sband->ht_cap.cap);
442 struct ieee80211_sta_ht_cap *ht_cap; local
455 ht_cap = &sband->ht_cap;
457 if (!ht_cap->ht_supported || channel_type == NL80211_CHAN_NO_HT)
464 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chandef,
H A Dibss.c177 sband->ht_cap.ht_supported) {
178 struct ieee80211_sta_ht_cap ht_cap; local
180 memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap));
181 ieee80211_apply_htcap_overrides(sdata, &ht_cap);
183 pos = ieee80211_ie_build_ht_cap(pos, &ht_cap, ht_cap.cap);
189 pos = ieee80211_ie_build_ht_oper(pos, &sband->ht_cap,
H A Dsta_info.c384 u8 smps = (sband->ht_cap.cap & IEEE80211_HT_CAP_SM_PS) >>
1694 struct ieee80211_sta_ht_cap *ht_cap = &sta->sta.ht_cap; local
1697 if (!sta->sta.ht_cap.ht_supported)
1711 if (ht_cap->mcs.rx_mask[3])
1713 else if (ht_cap->mcs.rx_mask[2])
1715 else if (ht_cap->mcs.rx_mask[1])
1720 if (!(ht_cap->mcs.tx_params & IEEE80211_HT_MCS_TX_RX_DIFF))
1723 return ((ht_cap->mcs.tx_params & IEEE80211_HT_MCS_TX_MAX_STREAMS_MASK)
H A Dutil.c1354 if (sband->ht_cap.ht_supported) {
1357 pos = ieee80211_ie_build_ht_cap(pos, &sband->ht_cap,
1358 sband->ht_cap.cap);
2141 u8 *ieee80211_ie_build_ht_cap(u8 *pos, struct ieee80211_sta_ht_cap *ht_cap, argument
2156 *pos++ = ht_cap->ampdu_factor |
2157 (ht_cap->ampdu_density <<
2161 memcpy(pos, &ht_cap->mcs, sizeof(ht_cap->mcs));
2162 pos += sizeof(ht_cap->mcs);
2197 u8 *ieee80211_ie_build_ht_oper(u8 *pos, struct ieee80211_sta_ht_cap *ht_cap, argument
[all...]
H A Dmain.c844 supp_ht = supp_ht || sband->ht_cap.ht_supported;
847 if (sband->ht_cap.ht_supported)
849 max(ieee80211_mcs_to_chains(&sband->ht_cap.mcs),
H A Dieee80211_i.h1570 struct ieee80211_sta_ht_cap *ht_cap);
1838 u8 *ieee80211_ie_build_ht_cap(u8 *pos, struct ieee80211_sta_ht_cap *ht_cap,
1840 u8 *ieee80211_ie_build_ht_oper(u8 *pos, struct ieee80211_sta_ht_cap *ht_cap,
H A Drc80211_minstrel_ht.c960 struct ieee80211_mcs_info *mcs = &sta->ht_cap.mcs;
961 u16 sta_cap = sta->ht_cap.cap;
968 if (!sta->ht_cap.ht_supported)
H A Dagg-rx.c249 (!(sta->sta.ht_cap.cap & IEEE80211_HT_CAP_DELAY_BA))) ||
H A Drate.c611 mcs_mask[i] &= sta->ht_cap.mcs.rx_mask[i];
H A Dagg-tx.c557 !sta->sta.ht_cap.ht_supported) {
H A Ddebugfs_sta.c267 struct ieee80211_sta_ht_cap *htc = &sta->sta.ht_cap;
H A Dmesh_plink.c179 if (!sta->sta.ht_cap.ht_supported) {
H A Dchan.c197 if (sta->ht_cap.ht_supported)
H A Diface.c1711 sband->ht_cap.mcs.rx_mask,
H A Drx.c2448 if (!rx->sta->sta.ht_cap.ht_supported)
2499 if (!(rx->sta->sta.ht_cap.cap &
/net/wireless/
H A Dchan.c603 struct ieee80211_sta_ht_cap *ht_cap; local
610 ht_cap = &wiphy->bands[chandef->chan->band]->ht_cap;
624 if (!ht_cap->ht_supported)
632 if (!ht_cap->ht_supported)
634 if (!(ht_cap->cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) ||
635 ht_cap->cap & IEEE80211_HT_CAP_40MHZ_INTOLERANT)
H A Dcore.c570 sband->ht_cap.ht_supported) {
571 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;
572 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SGI_40;
H A Dutil.c190 WARN_ON(!sband->ht_cap.ht_supported);
191 WARN_ON((sband->ht_cap.mcs.rx_mask[0] & 0x1e) != 0x1e);
H A Dwext-compat.c38 is_ht |= sband->ht_cap.ht_supported;
51 is_ht |= sband->ht_cap.ht_supported;
H A Dnl80211.c1121 if (sband->ht_cap.ht_supported &&
1123 sizeof(sband->ht_cap.mcs),
1124 &sband->ht_cap.mcs) ||
1126 sband->ht_cap.cap) ||
1128 sband->ht_cap.ampdu_factor) ||
1130 sband->ht_cap.ampdu_density)))
7612 if (sband->ht_cap.mcs.rx_mask[ridx] & rbit)
7715 sband->ht_cap.mcs.rx_mask,
7782 if (!(rdev->wiphy.bands[band]->ht_cap.ht_supported ||

Completed in 651 milliseconds