Home
last modified time | relevance | path

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

123

/linux/net/mac80211/
A Dvht.c25 vht_cap->cap &= ~flag; in __check_vhtcap_disable()
34 if (!vht_cap->vht_supported) in ieee80211_apply_vhtcap_overrides()
69 vht_cap->cap &= in ieee80211_apply_vhtcap_overrides()
71 vht_cap->cap |= in ieee80211_apply_vhtcap_overrides()
121 struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap() local
126 memset(vht_cap, 0, sizeof(*vht_cap)); in ieee80211_vht_cap_ie_to_sta_vht_cap()
157 own_cap = sband->vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap()
170 vht_cap->cap = cap_info; in ieee80211_vht_cap_ie_to_sta_vht_cap()
335 struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.vht_cap; in ieee80211_sta_cap_rx_bw() local
383 struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.vht_cap; in ieee80211_sta_cap_chan_bw() local
[all …]
A Dtdls.c54 bool vht = sband && sband->vht_cap.vht_supported; in ieee80211_tdls_add_ext_capab()
369 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()
621 sta->sta.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_cfm_ies()
[all …]
A Drc80211_minstrel_ht.c1421 if (!mi->sta->vht_cap.vht_supported) in minstrel_ht_get_max_amsdu_len()
1583 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in minstrel_ht_update_caps() local
1594 if (vht_cap->vht_supported) in minstrel_ht_update_caps()
1595 use_vht = vht_cap->vht_mcs.tx_mcs_map != cpu_to_le16(~0); in minstrel_ht_update_caps()
1626 stbc = (vht_cap->cap & IEEE80211_VHT_CAP_RXSTBC_MASK) >> in minstrel_ht_update_caps()
1629 ldpc = vht_cap->cap & IEEE80211_VHT_CAP_RXLDPC; in minstrel_ht_update_caps()
1676 if (!vht_cap->vht_supported || in minstrel_ht_update_caps()
1684 !(vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80))) { in minstrel_ht_update_caps()
1697 vht_cap->vht_mcs.tx_mcs_map); in minstrel_ht_update_caps()
A Dmesh.c503 if (!sband->vht_cap.vht_supported || in mesh_add_vht_cap_ie()
513 ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, sband->vht_cap.cap); in mesh_add_vht_cap_ie()
525 struct ieee80211_sta_vht_cap *vht_cap; in mesh_add_vht_oper_ie() local
538 vht_cap = &sband->vht_cap; in mesh_add_vht_oper_ie()
544 if (!vht_cap->vht_supported || in mesh_add_vht_oper_ie()
554 ieee80211_ie_build_vht_oper(pos, vht_cap, in mesh_add_vht_oper_ie()
A Dutil.c1931 if (sband->vht_cap.vht_supported && have_80mhz) { in ieee80211_build_preq_ies_band()
1934 pos = ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, in ieee80211_build_preq_ies_band()
1935 sband->vht_cap.cap); in ieee80211_build_preq_ies_band()
2881 memcpy(pos, &vht_cap->vht_mcs, sizeof(vht_cap->vht_mcs)); in ieee80211_ie_build_vht_cap()
2882 pos += sizeof(vht_cap->vht_mcs); in ieee80211_ie_build_vht_cap()
3269 u32 vht_cap; in ieee80211_chandef_vht_oper() local
3280 vht_cap = hw->wiphy->bands[chandef->chan->band]->vht_cap.cap; in ieee80211_chandef_vht_oper()
3283 support_80_80 = ((vht_cap & in ieee80211_chandef_vht_oper()
3285 (vht_cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ && in ieee80211_chandef_vht_oper()
3286 vht_cap & IEEE80211_VHT_CAP_EXT_NSS_BW_MASK) || in ieee80211_chandef_vht_oper()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
A 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()
119 mwifiex_fill_vht_cap_info(priv, vht_cap, bands); in mwifiex_fill_vht_cap_tlv()
173 struct mwifiex_ie_types_vhtcap *vht_cap; in mwifiex_cmd_append_11ac_tlv() local
190 memset(vht_cap, 0, sizeof(*vht_cap)); in mwifiex_cmd_append_11ac_tlv()
192 vht_cap->header.len = in mwifiex_cmd_append_11ac_tlv()
196 le16_to_cpu(vht_cap->header.len)); in mwifiex_cmd_append_11ac_tlv()
198 mwifiex_fill_vht_cap_tlv(priv, &vht_cap->vht_cap, in mwifiex_cmd_append_11ac_tlv()
200 *buffer += sizeof(*vht_cap); in mwifiex_cmd_append_11ac_tlv()
[all …]
A Dtdls.c171 struct ieee80211_vht_cap vht_cap; in mwifiex_tdls_add_vht_capab() local
178 memset(&vht_cap, 0, sizeof(struct ieee80211_vht_cap)); in mwifiex_tdls_add_vht_capab()
180 mwifiex_fill_vht_cap_tlv(priv, &vht_cap, priv->curr_bss_params.band); in mwifiex_tdls_add_vht_capab()
181 memcpy(pos, &vht_cap, sizeof(vht_cap)); in mwifiex_tdls_add_vht_capab()
239 struct ieee80211_vht_cap *vht_cap, *ap_vht_cap = NULL; in mwifiex_tdls_add_vht_oper() local
285 vht_cap = &sta_ptr->tdls_cap.vhtcap; in mwifiex_tdls_add_vht_oper()
288 GET_VHTCAP_CHWDSET(le32_to_cpu(vht_cap->vht_cap_info)); in mwifiex_tdls_add_vht_oper()
316 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.rx_mcs_map); in mwifiex_tdls_add_vht_oper()
A D11ac.h44 struct ieee80211_vht_cap *vht_cap, u8 bands);
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Drs-fw.c42 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in rs_fw_sgi_cw_support() local
53 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80) in rs_fw_sgi_cw_support()
55 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_160) in rs_fw_sgi_cw_support()
66 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in rs_fw_get_config_flags() local
68 bool vht_ena = vht_cap->vht_supported; in rs_fw_get_config_flags()
138 .vht_cap_info = cpu_to_le32(vht_cap->cap), in rs_fw_vht_set_enabled_rates()
139 .supp_mcs = vht_cap->vht_mcs, in rs_fw_vht_set_enabled_rates()
246 const struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in rs_fw_set_supp_rates() local
261 } else if (vht_cap->vht_supported) { in rs_fw_set_supp_rates()
373 const struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in rs_fw_get_max_amsdu_len() local
[all …]
A Drs.c171 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in rs_sgi_allow() local
179 if (is_ht80(rate) && (vht_cap->cap & in rs_sgi_allow()
182 if (is_ht160(rate) && (vht_cap->cap & in rs_sgi_allow()
1375 struct ieee80211_vht_cap vht_cap = { in rs_bw_from_sta_bw() local
1390 if (ieee80211_get_vht_max_nss(&vht_cap, in rs_bw_from_sta_bw()
2542 if (sta->vht_cap.vht_supported && in rs_get_initial_rate()
2753 struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_set_enabled_rates() argument
2826 struct ieee80211_sta_vht_cap *vht_cap) in rs_vht_init() argument
2922 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in rs_drv_rate_init() local
2964 if (!vht_cap || !vht_cap->vht_supported) in rs_drv_rate_init()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-nvm-parse.c457 vht_cap->vht_supported = true; in iwl_init_vht_hw_capab()
474 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in iwl_init_vht_hw_capab()
482 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in iwl_init_vht_hw_capab()
489 vht_cap->cap |= in iwl_init_vht_hw_capab()
496 vht_cap->cap |= in iwl_init_vht_hw_capab()
514 vht_cap->vht_mcs.rx_mcs_map = in iwl_init_vht_hw_capab()
527 vht_cap->vht_mcs.rx_mcs_map |= in iwl_init_vht_hw_capab()
531 vht_cap->vht_mcs.tx_mcs_map = vht_cap->vht_mcs.rx_mcs_map; in iwl_init_vht_hw_capab()
533 vht_cap->vht_mcs.tx_highest |= in iwl_init_vht_hw_capab()
711 WARN_ON(!vht_cap.vht_supported); in iwl_init_he_6ghz_capa()
[all …]
/linux/drivers/net/wireless/realtek/rtw88/
A Dbf.c39 struct ieee80211_sta_vht_cap *vht_cap; in rtw_bf_assoc() local
57 ic_vht_cap = &hw->wiphy->bands[NL80211_BAND_5GHZ]->vht_cap; in rtw_bf_assoc()
58 vht_cap = &sta->vht_cap; in rtw_bf_assoc()
61 (vht_cap->cap & IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE)) { in rtw_bf_assoc()
75 (vht_cap->cap & IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE)) { in rtw_bf_assoc()
81 sound_dim = vht_cap->cap & in rtw_bf_assoc()
A Dmain.c126 .vht_cap = {0},
140 .vht_cap = {0},
1063 if (sta->vht_cap.vht_supported) { in rtw_update_sta_info()
1084 if (sta->vht_cap.vht_supported) { in rtw_update_sta_info()
1096 if (sta->vht_cap.vht_supported) { in rtw_update_sta_info()
1384 vht_cap->vht_supported = true; in rtw_init_vht_cap()
1392 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in rtw_init_vht_cap()
1395 vht_cap->cap |= (rtwdev->hal.bfee_sts_cap << in rtw_init_vht_cap()
1399 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in rtw_init_vht_cap()
1418 vht_cap->vht_mcs.rx_highest = highest; in rtw_init_vht_cap()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/
A Dbase.c232 vht_cap->vht_supported = true; in _rtl_init_hw_vht_capab()
233 vht_cap->cap = in _rtl_init_hw_vht_capab()
256 vht_cap->vht_mcs.rx_highest = in _rtl_init_hw_vht_capab()
259 vht_cap->vht_mcs.tx_highest = in _rtl_init_hw_vht_capab()
264 vht_cap->vht_supported = true; in _rtl_init_hw_vht_capab()
265 vht_cap->cap = in _rtl_init_hw_vht_capab()
288 vht_cap->vht_mcs.rx_highest = in _rtl_init_hw_vht_capab()
291 vht_cap->vht_mcs.tx_highest = in _rtl_init_hw_vht_capab()
649 bw_80 = sta->vht_cap.vht_supported; in _rtl_query_shortgi()
887 if (!(sta->vht_cap.vht_supported)) in _rtl_query_bandwidth_mode()
[all …]
A Drc.c126 sgi_80 = sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_rc_rate_set_series()
141 if (sta && sta->vht_cap.vht_supported) in _rtl_rc_rate_set_series()
156 if (sta && sta->vht_cap.vht_supported && in _rtl_rc_rate_set_series()
/linux/drivers/net/wireless/ath/wcn36xx/
A Dmain.c770 if (sta->vht_cap.vht_supported) { in wcn36xx_update_allowed_rates()
773 sta->vht_cap.vht_mcs.rx_mcs_map; in wcn36xx_update_allowed_rates()
775 sta->vht_cap.vht_mcs.tx_mcs_map; in wcn36xx_update_allowed_rates()
1312 wcn36xx_set_ieee80211_vht_caps(struct ieee80211_sta_vht_cap *vht_cap) in wcn36xx_set_ieee80211_vht_caps() argument
1314 vht_cap->vht_supported = true; in wcn36xx_set_ieee80211_vht_caps()
1316 vht_cap->cap = (IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_3895 | in wcn36xx_set_ieee80211_vht_caps()
1324 vht_cap->vht_mcs.rx_mcs_map = in wcn36xx_set_ieee80211_vht_caps()
1334 vht_cap->vht_mcs.rx_highest = cpu_to_le16(433); in wcn36xx_set_ieee80211_vht_caps()
1335 vht_cap->vht_mcs.tx_highest = vht_cap->vht_mcs.rx_highest; in wcn36xx_set_ieee80211_vht_caps()
1337 vht_cap->vht_mcs.tx_mcs_map = vht_cap->vht_mcs.rx_mcs_map; in wcn36xx_set_ieee80211_vht_caps()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/
A Dmt76_connac_mcu.c692 vht_cap = &sta->vht_cap; in mt76_connac_get_phy_mode_v2()
699 vht_cap = &sband->vht_cap; in mt76_connac_get_phy_mode_v2()
717 if (vht_cap->vht_supported) in mt76_connac_get_phy_mode_v2()
751 if (sta->vht_cap.vht_supported) { in mt76_connac_mcu_sta_tlv()
758 vht->vht_cap = cpu_to_le32(sta->vht_cap.cap); in mt76_connac_mcu_sta_tlv()
816 if (sta->vht_cap.vht_supported) { in mt76_connac_mcu_sta_tlv()
857 if (sta->vht_cap.vht_supported) { in mt76_connac_mcu_wtbl_ht_tlv()
869 sta->vht_cap.cap); in mt76_connac_mcu_wtbl_ht_tlv()
1165 vht_cap = &sta->vht_cap; in mt76_connac_get_phy_mode()
1172 vht_cap = &sband->vht_cap; in mt76_connac_get_phy_mode()
[all …]
A Dmac80211.c233 struct ieee80211_sta_vht_cap *vht_cap; in mt76_init_stream_cap() local
247 vht_cap = &sband->vht_cap; in mt76_init_stream_cap()
249 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in mt76_init_stream_cap()
251 vht_cap->cap &= ~IEEE80211_VHT_CAP_TXSTBC; in mt76_init_stream_cap()
260 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap()
261 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap()
282 struct ieee80211_sta_vht_cap *vht_cap; in mt76_init_sband() local
322 vht_cap = &sband->vht_cap; in mt76_init_sband()
323 vht_cap->vht_supported = true; in mt76_init_sband()
324 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC | in mt76_init_sband()
/linux/net/wireless/
A Dchan.c942 struct ieee80211_sta_vht_cap *vht_cap; in cfg80211_chandef_usable() local
951 vht_cap = &wiphy->bands[chandef->chan->band]->vht_cap; in cfg80211_chandef_usable()
953 ext_nss_cap = __le16_to_cpu(vht_cap->vht_mcs.tx_highest) & in cfg80211_chandef_usable()
1015 cap = vht_cap->cap; in cfg80211_chandef_usable()
1030 if (!vht_cap->vht_supported) in cfg80211_chandef_usable()
1038 if (!vht_cap->vht_supported) in cfg80211_chandef_usable()
1040 cap = vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK; in cfg80211_chandef_usable()
1044 (vht_cap->cap & IEEE80211_VHT_CAP_EXT_NSS_BW_MASK))) in cfg80211_chandef_usable()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
A Dusb_sdio.c335 struct ieee80211_sta_vht_cap *vht_cap; in mt7663_usb_sdio_register_device() local
338 vht_cap = &dev->mphy.sband_5g.sband.vht_cap; in mt7663_usb_sdio_register_device()
339 vht_cap->cap &= ~IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454; in mt7663_usb_sdio_register_device()
A Dinit.c411 phy->mt76->sband_5g.sband.vht_cap.cap |= in mt7615_init_wiphy()
418 dev->mphy.sband_5g.sband.vht_cap.cap &= in mt7615_cap_dbdc_enable()
434 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7615_cap_dbdc_disable()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmcu.c161 vht_cap = &sta->vht_cap; in mt7915_get_phy_mode()
169 vht_cap = &sband->vht_cap; in mt7915_get_phy_mode()
187 if (vht_cap->vht_supported) in mt7915_get_phy_mode()
1526 if (!sta->vht_cap.vht_supported) in mt7915_mcu_sta_muru_tlv()
1588 if (!sta->vht_cap.vht_supported) in mt7915_mcu_sta_vht_tlv()
1594 vht->vht_cap = cpu_to_le32(sta->vht_cap.cap); in mt7915_mcu_sta_vht_tlv()
1658 if (sta->vht_cap.vht_supported) { in mt7915_mcu_wtbl_ht_tlv()
1670 sta->vht_cap.cap); in mt7915_mcu_wtbl_ht_tlv()
1807 if (sta->vht_cap.vht_supported) { in mt7915_is_ebf_supported()
1808 u32 cap = sta->vht_cap.cap; in mt7915_is_ebf_supported()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
A Dmac.c1621 const struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in ath11k_peer_assoc_h_vht() local
1635 if (!vht_cap->vht_supported) in ath11k_peer_assoc_h_vht()
1654 ampdu_factor = (vht_cap->cap & in ath11k_peer_assoc_h_vht()
2211 switch (sta->vht_cap.cap & in ath11k_mac_get_phymode_vht()
4468 u32 vht_cap = ar->pdev->cap.vht_cap; in ath11k_mac_set_txbf_conf() local
4478 sound_dim = vht_cap & in ath11k_mac_set_txbf_conf()
4545 *vht_cap |= sound_dim; in ath11k_set_vht_txbf_cap()
4561 vht_cap.vht_supported = 1; in ath11k_create_vht_cap()
4562 vht_cap.cap = ar->pdev->cap.vht_cap; in ath11k_create_vht_cap()
4586 return vht_cap; in ath11k_create_vht_cap()
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
A Dcore.c104 .vht_cap = {0},
116 .vht_cap = {0},
1981 struct ieee80211_sta_vht_cap *vht_cap) in rtw89_init_vht_cap() argument
2002 vht_cap->vht_supported = true; in rtw89_init_vht_cap()
2009 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in rtw89_init_vht_cap()
2010 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in rtw89_init_vht_cap()
2014 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(rx_mcs_map); in rtw89_init_vht_cap()
2015 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(tx_mcs_map); in rtw89_init_vht_cap()
2016 vht_cap->vht_mcs.rx_highest = highest[hal->rx_nss - 1]; in rtw89_init_vht_cap()
2017 vht_cap->vht_mcs.tx_highest = highest[hal->tx_nss - 1]; in rtw89_init_vht_cap()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
A Dmac.c2548 const struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in ath10k_peer_assoc_h_vht() local
2561 if (!vht_cap->vht_supported) in ath10k_peer_assoc_h_vht()
2575 arg->peer_vht_caps = vht_cap->cap; in ath10k_peer_assoc_h_vht()
2577 ampdu_factor = (vht_cap->cap & in ath10k_peer_assoc_h_vht()
3083 vht_cap = ap_sta->vht_cap; in ath10k_bss_assoc()
4844 vht_cap.vht_supported = 1; in ath10k_create_vht_cap()
4845 vht_cap.cap = ar->vht_cap_info; in ath10k_create_vht_cap()
4853 vht_cap.cap |= val; in ath10k_create_vht_cap()
4862 vht_cap.cap |= val; in ath10k_create_vht_cap()
4890 return vht_cap; in ath10k_create_vht_cap()
[all …]

Completed in 115 milliseconds

123