Home
last modified time | relevance | path

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

/linux-4.4.14/net/mac80211/
Dvht.c17 struct ieee80211_sta_vht_cap *vht_cap, in __check_vhtcap_disable() argument
24 vht_cap->cap &= ~flag; in __check_vhtcap_disable()
28 struct ieee80211_sta_vht_cap *vht_cap) in ieee80211_apply_vhtcap_overrides() argument
33 if (!vht_cap->vht_supported) in ieee80211_apply_vhtcap_overrides()
39 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides()
41 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides()
43 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides()
45 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides()
47 __check_vhtcap_disable(sdata, vht_cap, in ieee80211_apply_vhtcap_overrides()
49 __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()
362 struct ieee80211_sta_vht_cap vht_cap; in ieee80211_tdls_add_setup_start_ies() local
493 memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies()
496 vht_cap.vht_supported) { in ieee80211_tdls_add_setup_start_ies()
497 ieee80211_apply_vhtcap_overrides(sdata, &vht_cap); in ieee80211_tdls_add_setup_start_ies()
504 ieee80211_ie_build_vht_cap(pos, &vht_cap, vht_cap.cap); in ieee80211_tdls_add_setup_start_ies()
506 vht_cap.vht_supported && sta->sta.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_start_ies()
508 memcpy(&vht_cap, &sta->sta.vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies()
514 ieee80211_ie_build_vht_cap(pos, &vht_cap, vht_cap.cap); in ieee80211_tdls_add_setup_start_ies()
612 if (band != IEEE80211_BAND_2GHZ && sta->sta.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_cfm_ies()
[all …]
Dmesh.c484 if (!sband->vht_cap.vht_supported || in mesh_add_vht_cap_ie()
494 ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, sband->vht_cap.cap); in mesh_add_vht_cap_ie()
506 struct ieee80211_sta_vht_cap *vht_cap; in mesh_add_vht_oper_ie() local
519 vht_cap = &sband->vht_cap; in mesh_add_vht_oper_ie()
521 if (!vht_cap->vht_supported || in mesh_add_vht_oper_ie()
531 ieee80211_ie_build_vht_oper(pos, vht_cap, in mesh_add_vht_oper_ie()
Drc80211_minstrel_ht.c1106 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in minstrel_ht_update_caps() local
1120 if (vht_cap->vht_supported) in minstrel_ht_update_caps()
1121 use_vht = vht_cap->vht_mcs.tx_mcs_map != cpu_to_le16(~0); in minstrel_ht_update_caps()
1202 if (!vht_cap->vht_supported || in minstrel_ht_update_caps()
1210 !(vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80))) { in minstrel_ht_update_caps()
1223 vht_cap->vht_mcs.tx_mcs_map); in minstrel_ht_update_caps()
Dmlme.c217 if (!vht_oper || !sband->vht_cap.vht_supported) { in ieee80211_determine_chantype()
546 struct ieee80211_sta_vht_cap vht_cap; in ieee80211_add_vht_ie() local
549 BUILD_BUG_ON(sizeof(vht_cap) != sizeof(sband->vht_cap)); in ieee80211_add_vht_ie()
551 memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap)); in ieee80211_add_vht_ie()
552 ieee80211_apply_vhtcap_overrides(sdata, &vht_cap); in ieee80211_add_vht_ie()
555 cap = vht_cap.cap; in ieee80211_add_vht_ie()
618 ieee80211_ie_build_vht_cap(pos, &vht_cap, cap); in ieee80211_add_vht_ie()
4157 const struct ieee80211_vht_cap *vht_cap; in ieee80211_ht_vht_rx_chains() local
4177 if (vht_cap_ie && vht_cap_ie[1] >= sizeof(*vht_cap)) { in ieee80211_ht_vht_rx_chains()
4181 vht_cap = (void *)(vht_cap_ie + 2); in ieee80211_ht_vht_rx_chains()
[all …]
Dibss.c197 sband->vht_cap.vht_supported) { in ieee80211_ibss_build_presp()
198 pos = ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, in ieee80211_ibss_build_presp()
199 sband->vht_cap.cap); in ieee80211_ibss_build_presp()
200 pos = ieee80211_ie_build_vht_oper(pos, &sband->vht_cap, in ieee80211_ibss_build_presp()
1067 struct ieee80211_sta_vht_cap cap = sta->sta.vht_cap; in ieee80211_update_sta_info()
1075 if (memcmp(&cap, &sta->sta.vht_cap, sizeof(cap))) in ieee80211_update_sta_info()
Dutil.c1454 if (sband->vht_cap.vht_supported && have_80mhz) { in ieee80211_build_preq_ies_band()
1457 pos = ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, in ieee80211_build_preq_ies_band()
1458 sband->vht_cap.cap); in ieee80211_build_preq_ies_band()
2278 u8 *ieee80211_ie_build_vht_cap(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, in ieee80211_ie_build_vht_cap() argument
2293 memcpy(pos, &vht_cap->vht_mcs, sizeof(vht_cap->vht_mcs)); in ieee80211_ie_build_vht_cap()
2294 pos += sizeof(vht_cap->vht_mcs); in ieee80211_ie_build_vht_cap()
2343 u8 *ieee80211_ie_build_vht_oper(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, in ieee80211_ie_build_vht_oper() argument
Dieee80211_i.h1717 struct ieee80211_sta_vht_cap *vht_cap);
1718 void ieee80211_get_vht_mask_from_cap(__le16 vht_cap,
1966 u8 *ieee80211_ie_build_vht_cap(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap,
1968 u8 *ieee80211_ie_build_vht_oper(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap,
Ddebugfs_sta.c297 struct ieee80211_sta_vht_cap *vhtc = &sta->sta.vht_cap; in sta_vht_capa_read()
Drate.c725 sta_vht_cap = sta->vht_cap.vht_mcs.rx_mcs_map; in rate_control_cap_mask()
Dsta_info.c1793 if (sta->sta.vht_cap.vht_supported) { in sta_info_tx_streams()
1796 le16_to_cpu(sta->sta.vht_cap.vht_mcs.tx_mcs_map); in sta_info_tx_streams()
Dmain.c892 supp_vht = supp_vht || sband->vht_cap.vht_supported; in ieee80211_register_hw()
Diface.c1805 cap = sband->vht_cap.vht_mcs.rx_mcs_map; in ieee80211_if_add()
/linux-4.4.14/drivers/net/wireless/mwifiex/
D11ac.c99 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_info() argument
104 vht_cap->vht_cap_info = in mwifiex_fill_vht_cap_info()
107 vht_cap->vht_cap_info = in mwifiex_fill_vht_cap_info()
112 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_tlv() argument
119 mwifiex_fill_vht_cap_info(priv, vht_cap, bands); in mwifiex_fill_vht_cap_tlv()
123 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.rx_mcs_map); in mwifiex_fill_vht_cap_tlv()
139 vht_cap->supp_mcs.rx_mcs_map = cpu_to_le16(mcs_map_result); in mwifiex_fill_vht_cap_tlv()
142 vht_cap->supp_mcs.rx_highest = cpu_to_le16(tmp); in mwifiex_fill_vht_cap_tlv()
146 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.tx_mcs_map); in mwifiex_fill_vht_cap_tlv()
161 vht_cap->supp_mcs.tx_mcs_map = cpu_to_le16(mcs_map_result); in mwifiex_fill_vht_cap_tlv()
[all …]
D11ac.h44 struct ieee80211_vht_cap *vht_cap, u8 bands);
Dtdls.c175 struct ieee80211_vht_cap vht_cap; in mwifiex_tdls_add_vht_capab() local
182 memset(&vht_cap, 0, sizeof(struct ieee80211_vht_cap)); in mwifiex_tdls_add_vht_capab()
184 mwifiex_fill_vht_cap_tlv(priv, &vht_cap, priv->curr_bss_params.band); in mwifiex_tdls_add_vht_capab()
185 memcpy(pos, &vht_cap, sizeof(vht_cap)); in mwifiex_tdls_add_vht_capab()
243 struct ieee80211_vht_cap *vht_cap, *ap_vht_cap = NULL; in mwifiex_tdls_add_vht_oper() local
289 vht_cap = &sta_ptr->tdls_cap.vhtcap; in mwifiex_tdls_add_vht_oper()
292 GET_VHTCAP_CHWDSET(le32_to_cpu(vht_cap->vht_cap_info)); in mwifiex_tdls_add_vht_oper()
320 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.rx_mcs_map); in mwifiex_tdls_add_vht_oper()
Dioctl.h111 struct ieee80211_vht_cap vht_cap; member
Duap_cmd.c215 memcpy(&bss_cfg->vht_cap, vht_ie + 2, in mwifiex_set_vht_params()
Dfw.h1648 struct ieee80211_vht_cap vht_cap; member
Dcfg80211.c2724 &wiphy->bands[IEEE80211_BAND_2GHZ]->vht_cap, priv); in mwifiex_add_virtual_intf()
2732 &wiphy->bands[IEEE80211_BAND_5GHZ]->vht_cap, priv); in mwifiex_add_virtual_intf()
Dsta_cmd.c1769 memcpy(&vht_capab->vht_cap, params->vht_capa, in mwifiex_cmd_tdls_oper()
/linux-4.4.14/drivers/net/wireless/iwlwifi/
Diwl-nvm-parse.c352 struct ieee80211_sta_vht_cap *vht_cap, in iwl_init_vht_hw_capab() argument
360 vht_cap->vht_supported = true; in iwl_init_vht_hw_capab()
362 vht_cap->cap = IEEE80211_VHT_CAP_SHORT_GI_80 | in iwl_init_vht_hw_capab()
370 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in iwl_init_vht_hw_capab()
378 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in iwl_init_vht_hw_capab()
380 vht_cap->cap |= IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN; in iwl_init_vht_hw_capab()
383 vht_cap->cap |= IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_7991; in iwl_init_vht_hw_capab()
385 vht_cap->vht_mcs.rx_mcs_map = in iwl_init_vht_hw_capab()
396 vht_cap->cap |= IEEE80211_VHT_CAP_RX_ANTENNA_PATTERN; in iwl_init_vht_hw_capab()
398 vht_cap->vht_mcs.rx_mcs_map |= in iwl_init_vht_hw_capab()
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dbase.c243 struct ieee80211_sta_vht_cap *vht_cap) in _rtl_init_hw_vht_capab() argument
251 vht_cap->vht_supported = true; in _rtl_init_hw_vht_capab()
252 vht_cap->cap = in _rtl_init_hw_vht_capab()
276 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab()
277 vht_cap->vht_mcs.rx_highest = in _rtl_init_hw_vht_capab()
279 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab()
280 vht_cap->vht_mcs.tx_highest = in _rtl_init_hw_vht_capab()
285 vht_cap->vht_supported = true; in _rtl_init_hw_vht_capab()
286 vht_cap->cap = in _rtl_init_hw_vht_capab()
310 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab()
[all …]
Drc.c108 sgi_80 = sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_rc_rate_set_series()
126 if (sta && (sta->vht_cap.vht_supported)) in _rtl_rc_rate_set_series()
Dcore.c924 if (sta->vht_cap.vht_supported) in rtl_op_sta_add()
1135 if (sta->vht_cap.vht_supported) { in rtl_op_bss_info_changed()
1282 if (sta->vht_cap.vht_supported) { in rtl_op_bss_info_changed()
1308 if (sta->vht_cap.vht_supported) in rtl_op_bss_info_changed()
/linux-4.4.14/net/wireless/
Dchan.c605 struct ieee80211_sta_vht_cap *vht_cap; in cfg80211_chandef_usable() local
612 vht_cap = &wiphy->bands[chandef->chan->band]->vht_cap; in cfg80211_chandef_usable()
646 cap = vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK; in cfg80211_chandef_usable()
650 if (!vht_cap->vht_supported) in cfg80211_chandef_usable()
656 if (!vht_cap->vht_supported) in cfg80211_chandef_usable()
658 cap = vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK; in cfg80211_chandef_usable()
Dnl80211.c1157 if (sband->vht_cap.vht_supported && in nl80211_send_band_rateinfo()
1159 sizeof(sband->vht_cap.vht_mcs), in nl80211_send_band_rateinfo()
1160 &sband->vht_cap.vht_mcs) || in nl80211_send_band_rateinfo()
1162 sband->vht_cap.cap))) in nl80211_send_band_rateinfo()
8302 u16 tx_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map); in vht_set_mcs_mask()
8306 if (!sband->vht_cap.vht_supported) in vht_set_mcs_mask()
8361 if (!sband->vht_cap.vht_supported) in nl80211_set_tx_bitrate_mask()
8364 vht_tx_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map); in nl80211_set_tx_bitrate_mask()
8426 rdev->wiphy.bands[band]->vht_cap.vht_supported)) in nl80211_set_tx_bitrate_mask()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dmac.c2305 const struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in ath10k_peer_assoc_h_vht() local
2315 if (!vht_cap->vht_supported) in ath10k_peer_assoc_h_vht()
2329 arg->peer_vht_caps = vht_cap->cap; in ath10k_peer_assoc_h_vht()
2331 ampdu_factor = (vht_cap->cap & in ath10k_peer_assoc_h_vht()
2347 __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath10k_peer_assoc_h_vht()
2349 __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath10k_peer_assoc_h_vht()
2351 __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath10k_peer_assoc_h_vht()
2353 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath10k_peer_assoc_h_vht()
2419 if (sta->vht_cap.vht_supported && in ath10k_peer_assoc_h_phymode()
2442 if (sta->vht_cap.vht_supported && in ath10k_peer_assoc_h_phymode()
[all …]
Dwmi.c4354 arg->vht_cap = ev->vht_cap_info; in ath10k_wmi_main_op_pull_svc_rdy_ev()
4391 arg->vht_cap = ev->vht_cap_info; in ath10k_wmi_10x_op_pull_svc_rdy_ev()
4439 ar->vht_cap_info = __le32_to_cpu(arg.vht_cap); in ath10k_wmi_event_service_ready_work()
4551 __le32_to_cpu(arg.vht_cap), in ath10k_wmi_event_service_ready_work()
Dwmi.h6013 __le32 vht_cap; member
Dwmi-tlv.c971 arg->vht_cap = ev->vht_cap_info; in ath10k_wmi_tlv_op_pull_svc_rdy_ev()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Drs.c202 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in rs_sgi_allow() local
210 if (is_ht80(rate) && (vht_cap->cap & in rs_sgi_allow()
2841 static int rs_vht_highest_rx_mcs_index(struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_highest_rx_mcs_index() argument
2844 u16 rx_mcs = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) & in rs_vht_highest_rx_mcs_index()
2860 struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_set_enabled_rates() argument
2864 int highest_mcs = rs_vht_highest_rx_mcs_index(vht_cap, 1); in rs_vht_set_enabled_rates()
2883 highest_mcs = rs_vht_highest_rx_mcs_index(vht_cap, 2); in rs_vht_set_enabled_rates()
2933 struct ieee80211_sta_vht_cap *vht_cap) in rs_vht_init() argument
2935 rs_vht_set_enabled_rates(sta, vht_cap, lq_sta); in rs_vht_init()
2938 (vht_cap->cap & IEEE80211_VHT_CAP_RXLDPC)) in rs_vht_init()
[all …]
Dsf.c168 if (sta->ht_cap.ht_supported || sta->vht_cap.vht_supported) { in iwl_mvm_fill_sf_command()
Dsta.c174 if (sta->vht_cap.vht_supported) { in iwl_mvm_sta_send_to_fw()
175 agg_size = sta->vht_cap.cap & in iwl_mvm_sta_send_to_fw()
Dmac80211.c558 hw->wiphy->bands[IEEE80211_BAND_5GHZ]->vht_cap.cap |= in iwl_mvm_mac_setup_register()
/linux-4.4.14/drivers/net/wireless/
Dmac80211_hwsim.c2441 sband->vht_cap.vht_supported = true; in mac80211_hwsim_new_radio()
2442 sband->vht_cap.cap = in mac80211_hwsim_new_radio()
2454 sband->vht_cap.vht_mcs.rx_mcs_map = in mac80211_hwsim_new_radio()
2463 sband->vht_cap.vht_mcs.tx_mcs_map = in mac80211_hwsim_new_radio()
2464 sband->vht_cap.vht_mcs.rx_mcs_map; in mac80211_hwsim_new_radio()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.c5630 band->vht_cap.vht_supported = true; in brcmf_update_vht_cap()
5632 band->vht_cap.cap |= IEEE80211_VHT_CAP_SHORT_GI_80; in brcmf_update_vht_cap()
5634 band->vht_cap.cap |= IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ; in brcmf_update_vht_cap()
5635 band->vht_cap.cap |= IEEE80211_VHT_CAP_SHORT_GI_160; in brcmf_update_vht_cap()
5639 band->vht_cap.vht_mcs.rx_mcs_map = mcs_map; in brcmf_update_vht_cap()
5640 band->vht_cap.vht_mcs.tx_mcs_map = mcs_map; in brcmf_update_vht_cap()
/linux-4.4.14/include/net/
Dmac80211.h1690 struct ieee80211_sta_vht_cap vht_cap; member
Dcfg80211.h331 struct ieee80211_sta_vht_cap vht_cap; member
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c3629 b_curshortgi_80mhz = (sta->vht_cap.cap & in _rtl8821ae_get_ra_shortgi()
3689 sta->vht_cap.vht_mcs.rx_mcs_map) << 12; in rtl8821ae_update_hal_rate_mask()
/linux-4.4.14/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.c4477 if (sta->vht_cap.vht_supported) in rtl8xxxu_bss_info_changed()