Home
last modified time | relevance | path

Searched refs:vht_cap (Results 1 – 16 of 16) sorted by relevance

/net/mac80211/
Dvht.c20 struct ieee80211_sta_vht_cap *vht_cap, in __check_vhtcap_disable() argument
27 vht_cap->cap &= ~flag; in __check_vhtcap_disable()
31 struct ieee80211_sta_vht_cap *vht_cap) in ieee80211_apply_vhtcap_overrides() argument
36 if (!vht_cap->vht_supported) in ieee80211_apply_vhtcap_overrides()
42 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides()
44 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides()
46 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides()
48 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides()
50 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides()
52 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides()
[all …]
Dtdls.c51 bool vht = sband && sband->vht_cap.vht_supported; in ieee80211_tdls_add_ext_capab()
366 struct ieee80211_sta_vht_cap vht_cap; in ieee80211_tdls_add_setup_start_ies() local
500 memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies()
503 vht_cap.vht_supported) { in ieee80211_tdls_add_setup_start_ies()
504 ieee80211_apply_vhtcap_overrides(sdata, &vht_cap); in ieee80211_tdls_add_setup_start_ies()
511 ieee80211_ie_build_vht_cap(pos, &vht_cap, vht_cap.cap); in ieee80211_tdls_add_setup_start_ies()
513 vht_cap.vht_supported && sta->sta.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_start_ies()
515 memcpy(&vht_cap, &sta->sta.vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies()
521 ieee80211_ie_build_vht_cap(pos, &vht_cap, vht_cap.cap); in ieee80211_tdls_add_setup_start_ies()
624 sta->sta.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_cfm_ies()
[all …]
Dmesh.c478 if (!sband->vht_cap.vht_supported || in mesh_add_vht_cap_ie()
488 ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, sband->vht_cap.cap); in mesh_add_vht_cap_ie()
500 struct ieee80211_sta_vht_cap *vht_cap; in mesh_add_vht_oper_ie() local
513 vht_cap = &sband->vht_cap; in mesh_add_vht_oper_ie()
515 if (!vht_cap->vht_supported || in mesh_add_vht_oper_ie()
525 ieee80211_ie_build_vht_oper(pos, vht_cap, in mesh_add_vht_oper_ie()
Drc80211_minstrel_ht.c932 if (!mi->sta->vht_cap.vht_supported) in minstrel_ht_get_max_amsdu_len()
1170 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in minstrel_ht_update_caps() local
1184 if (vht_cap->vht_supported) in minstrel_ht_update_caps()
1185 use_vht = vht_cap->vht_mcs.tx_mcs_map != cpu_to_le16(~0); in minstrel_ht_update_caps()
1266 if (!vht_cap->vht_supported || in minstrel_ht_update_caps()
1274 !(vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80))) { in minstrel_ht_update_caps()
1287 vht_cap->vht_mcs.tx_mcs_map); in minstrel_ht_update_caps()
Dmlme.c209 if (!vht_oper || !sband->vht_cap.vht_supported) { in ieee80211_determine_chantype()
514 struct ieee80211_sta_vht_cap vht_cap; in ieee80211_add_vht_ie() local
517 BUILD_BUG_ON(sizeof(vht_cap) != sizeof(sband->vht_cap)); in ieee80211_add_vht_ie()
519 memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap)); in ieee80211_add_vht_ie()
520 ieee80211_apply_vhtcap_overrides(sdata, &vht_cap); in ieee80211_add_vht_ie()
523 cap = vht_cap.cap; in ieee80211_add_vht_ie()
586 ieee80211_ie_build_vht_cap(pos, &vht_cap, cap); in ieee80211_add_vht_ie()
4166 const struct ieee80211_vht_cap *vht_cap; in ieee80211_ht_vht_rx_chains() local
4186 if (vht_cap_ie && vht_cap_ie[1] >= sizeof(*vht_cap)) { in ieee80211_ht_vht_rx_chains()
4190 vht_cap = (void *)(vht_cap_ie + 2); in ieee80211_ht_vht_rx_chains()
[all …]
Dibss.c199 sband->vht_cap.vht_supported) { in ieee80211_ibss_build_presp()
200 pos = ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, in ieee80211_ibss_build_presp()
201 sband->vht_cap.cap); in ieee80211_ibss_build_presp()
202 pos = ieee80211_ie_build_vht_oper(pos, &sband->vht_cap, in ieee80211_ibss_build_presp()
1072 struct ieee80211_sta_vht_cap cap = sta->sta.vht_cap; in ieee80211_update_sta_info()
1079 if (memcmp(&cap, &sta->sta.vht_cap, sizeof(cap))) in ieee80211_update_sta_info()
Dutil.c1459 if (sband->vht_cap.vht_supported && have_80mhz) { in ieee80211_build_preq_ies_band()
1462 pos = ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, in ieee80211_build_preq_ies_band()
1463 sband->vht_cap.cap); in ieee80211_build_preq_ies_band()
2343 u8 *ieee80211_ie_build_vht_cap(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, in ieee80211_ie_build_vht_cap() argument
2358 memcpy(pos, &vht_cap->vht_mcs, sizeof(vht_cap->vht_mcs)); in ieee80211_ie_build_vht_cap()
2359 pos += sizeof(vht_cap->vht_mcs); in ieee80211_ie_build_vht_cap()
2408 u8 *ieee80211_ie_build_vht_oper(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, in ieee80211_ie_build_vht_oper() argument
Dieee80211_i.h1798 struct ieee80211_sta_vht_cap *vht_cap);
1799 void ieee80211_get_vht_mask_from_cap(__le16 vht_cap,
2037 u8 *ieee80211_ie_build_vht_cap(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap,
2039 u8 *ieee80211_ie_build_vht_oper(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap,
Ddebugfs_sta.c382 struct ieee80211_sta_vht_cap *vhtc = &sta->sta.vht_cap; in sta_vht_capa_read()
Drate.c727 sta_vht_cap = sta->vht_cap.vht_mcs.rx_mcs_map; in rate_control_cap_mask()
Dsta_info.c1916 if (sta->sta.vht_cap.vht_supported) { in sta_info_tx_streams()
1919 le16_to_cpu(sta->sta.vht_cap.vht_mcs.tx_mcs_map); in sta_info_tx_streams()
Dmain.c909 supp_vht = supp_vht || sband->vht_cap.vht_supported; in ieee80211_register_hw()
Diface.c1890 cap = sband->vht_cap.vht_mcs.rx_mcs_map; in ieee80211_if_add()
Dtx.c1456 supp_vht = supp_vht || sband->vht_cap.vht_supported; in ieee80211_txq_setup_flows()
/net/wireless/
Dchan.c607 struct ieee80211_sta_vht_cap *vht_cap; in cfg80211_chandef_usable() local
614 vht_cap = &wiphy->bands[chandef->chan->band]->vht_cap; in cfg80211_chandef_usable()
648 cap = vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK; in cfg80211_chandef_usable()
652 if (!vht_cap->vht_supported) in cfg80211_chandef_usable()
658 if (!vht_cap->vht_supported) in cfg80211_chandef_usable()
660 cap = vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK; in cfg80211_chandef_usable()
Dnl80211.c1224 if (sband->vht_cap.vht_supported && in nl80211_send_band_rateinfo()
1226 sizeof(sband->vht_cap.vht_mcs), in nl80211_send_band_rateinfo()
1227 &sband->vht_cap.vht_mcs) || in nl80211_send_band_rateinfo()
1229 sband->vht_cap.cap))) in nl80211_send_band_rateinfo()
3472 u16 tx_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map); in vht_set_mcs_mask()
3476 if (!sband->vht_cap.vht_supported) in vht_set_mcs_mask()
3526 if (!sband->vht_cap.vht_supported) in nl80211_parse_tx_bitrate_mask()
3529 vht_tx_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map); in nl80211_parse_tx_bitrate_mask()
3590 rdev->wiphy.bands[band]->vht_cap.vht_supported)) in nl80211_parse_tx_bitrate_mask()