Home
last modified time | relevance | path

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

1234

/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()
122 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->pub->vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap() local
128 memset(vht_cap, 0, sizeof(*vht_cap)); in ieee80211_vht_cap_ie_to_sta_vht_cap()
159 own_cap = sband->vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap()
172 vht_cap->cap = cap_info; in ieee80211_vht_cap_ie_to_sta_vht_cap()
359 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->pub->vht_cap; in _ieee80211_sta_cap_rx_bw() local
429 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->pub->vht_cap; in ieee80211_sta_cap_chan_bw() local
[all …]
A Dtdls.c55 bool vht = sband && sband->vht_cap.vht_supported; in ieee80211_tdls_add_ext_capab()
374 struct ieee80211_sta_vht_cap vht_cap; in ieee80211_tdls_add_setup_start_ies() local
503 memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies()
506 if ((vht_cap.vht_supported || he_cap || eht_cap) && in ieee80211_tdls_add_setup_start_ies()
514 vht_cap.vht_supported) { in ieee80211_tdls_add_setup_start_ies()
515 ieee80211_apply_vhtcap_overrides(sdata, &vht_cap); in ieee80211_tdls_add_setup_start_ies()
518 ieee80211_ie_build_vht_cap(pos, &vht_cap, vht_cap.cap); in ieee80211_tdls_add_setup_start_ies()
520 vht_cap.vht_supported && sta->sta.deflink.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_start_ies()
522 memcpy(&vht_cap, &sta->sta.deflink.vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies()
525 ieee80211_ie_build_vht_cap(pos, &vht_cap, vht_cap.cap); in ieee80211_tdls_add_setup_start_ies()
[all …]
A Drc80211_minstrel_ht.c1542 if (!mi->sta->deflink.vht_cap.vht_supported) in minstrel_ht_get_max_amsdu_len()
1706 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in minstrel_ht_update_caps() local
1717 if (vht_cap->vht_supported) in minstrel_ht_update_caps()
1718 use_vht = vht_cap->vht_mcs.tx_mcs_map != cpu_to_le16(~0); in minstrel_ht_update_caps()
1748 stbc = (vht_cap->cap & IEEE80211_VHT_CAP_RXSTBC_MASK) >> in minstrel_ht_update_caps()
1751 ldpc = vht_cap->cap & IEEE80211_VHT_CAP_RXLDPC; in minstrel_ht_update_caps()
1796 if (!vht_cap->vht_supported || in minstrel_ht_update_caps()
1804 !(vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80))) { in minstrel_ht_update_caps()
1817 vht_cap->vht_mcs.tx_mcs_map); in minstrel_ht_update_caps()
/linux/drivers/net/wireless/marvell/mwifiex/
A D11ac.c87 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_info() argument
92 vht_cap->vht_cap_info = in mwifiex_fill_vht_cap_info()
95 vht_cap->vht_cap_info = in mwifiex_fill_vht_cap_info()
107 mwifiex_fill_vht_cap_info(priv, vht_cap, bands); in mwifiex_fill_vht_cap_tlv()
161 struct mwifiex_ie_types_vhtcap *vht_cap; in mwifiex_cmd_append_11ac_tlv() local
178 memset(vht_cap, 0, sizeof(*vht_cap)); in mwifiex_cmd_append_11ac_tlv()
180 vht_cap->header.len = in mwifiex_cmd_append_11ac_tlv()
184 le16_to_cpu(vht_cap->header.len)); in mwifiex_cmd_append_11ac_tlv()
186 mwifiex_fill_vht_cap_tlv(priv, &vht_cap->vht_cap, in mwifiex_cmd_append_11ac_tlv()
188 *buffer += sizeof(*vht_cap); in mwifiex_cmd_append_11ac_tlv()
[all …]
A D11ac.h32 struct ieee80211_vht_cap *vht_cap, u8 bands);
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()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Drs-fw.c44 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in rs_fw_sgi_cw_support() local
55 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80) in rs_fw_sgi_cw_support()
57 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_160) in rs_fw_sgi_cw_support()
69 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in rs_fw_get_config_flags() local
71 bool vht_ena = vht_cap->vht_supported; in rs_fw_get_config_flags()
144 .vht_cap_info = cpu_to_le32(vht_cap->cap), in rs_fw_vht_set_enabled_rates()
145 .supp_mcs = vht_cap->vht_mcs, in rs_fw_vht_set_enabled_rates()
377 const struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in rs_fw_set_supp_rates() local
396 } else if (vht_cap->vht_supported) { in rs_fw_set_supp_rates()
532 const struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in rs_fw_get_max_amsdu_len() local
[all …]
A Drs.c171 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.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()
1374 struct ieee80211_vht_cap vht_cap = { in rs_bw_from_sta_bw() local
1389 if (ieee80211_get_vht_max_nss(&vht_cap, in rs_bw_from_sta_bw()
2544 if (sta->deflink.vht_cap.vht_supported && in rs_get_initial_rate()
2758 struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_set_enabled_rates() argument
2831 struct ieee80211_sta_vht_cap *vht_cap) in rs_vht_init() argument
2926 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in rs_drv_rate_init() local
2968 if (!vht_cap || !vht_cap->vht_supported) in rs_drv_rate_init()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-nvm-parse.c505 vht_cap->vht_supported = true; in iwl_init_vht_hw_capab()
525 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in iwl_init_vht_hw_capab()
533 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in iwl_init_vht_hw_capab()
540 vht_cap->cap |= in iwl_init_vht_hw_capab()
547 vht_cap->cap |= in iwl_init_vht_hw_capab()
565 vht_cap->vht_mcs.rx_mcs_map = in iwl_init_vht_hw_capab()
578 vht_cap->vht_mcs.rx_mcs_map |= in iwl_init_vht_hw_capab()
582 vht_cap->vht_mcs.tx_mcs_map = vht_cap->vht_mcs.rx_mcs_map; in iwl_init_vht_hw_capab()
584 vht_cap->vht_mcs.tx_highest |= in iwl_init_vht_hw_capab()
878 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
59 ic_vht_cap = &hw->wiphy->bands[NL80211_BAND_5GHZ]->vht_cap; in rtw_bf_assoc()
60 vht_cap = &sta->deflink.vht_cap; in rtw_bf_assoc()
65 (vht_cap->cap & IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE)) { in rtw_bf_assoc()
79 (vht_cap->cap & IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE)) { in rtw_bf_assoc()
85 sound_dim = vht_cap->cap & in rtw_bf_assoc()
A Dmain.c148 .vht_cap = {0},
162 .vht_cap = {0},
1210 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1232 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1245 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1589 vht_cap->vht_supported = true; in rtw_init_vht_cap()
1597 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in rtw_init_vht_cap()
1600 vht_cap->cap |= (rtwdev->hal.bfee_sts_cap << in rtw_init_vht_cap()
1604 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in rtw_init_vht_cap()
1623 vht_cap->vht_mcs.rx_highest = highest; in rtw_init_vht_cap()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/
A Dbase.c220 struct ieee80211_sta_vht_cap *vht_cap) in _rtl_init_hw_vht_capab() argument
232 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()
333 _rtl_init_hw_vht_capab(hw, &sband->vht_cap); in _rtl_init_mac80211()
[all …]
A Drc.c126 sgi_80 = sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_rc_rate_set_series()
141 if (sta && sta->deflink.vht_cap.vht_supported) in _rtl_rc_rate_set_series()
156 if (sta && sta->deflink.vht_cap.vht_supported && in _rtl_rc_rate_set_series()
/linux/drivers/net/wireless/ath/wcn36xx/
A Dmain.c756 if (sta->deflink.vht_cap.vht_supported) { in wcn36xx_update_allowed_rates()
759 le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in wcn36xx_update_allowed_rates()
761 le16_to_cpu(sta->deflink.vht_cap.vht_mcs.tx_mcs_map); in wcn36xx_update_allowed_rates()
1389 wcn36xx_set_ieee80211_vht_caps(struct ieee80211_sta_vht_cap *vht_cap) in wcn36xx_set_ieee80211_vht_caps() argument
1391 vht_cap->vht_supported = true; in wcn36xx_set_ieee80211_vht_caps()
1393 vht_cap->cap = (IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_3895 | in wcn36xx_set_ieee80211_vht_caps()
1401 vht_cap->vht_mcs.rx_mcs_map = in wcn36xx_set_ieee80211_vht_caps()
1411 vht_cap->vht_mcs.rx_highest = cpu_to_le16(433); in wcn36xx_set_ieee80211_vht_caps()
1412 vht_cap->vht_mcs.tx_highest = vht_cap->vht_mcs.rx_highest; in wcn36xx_set_ieee80211_vht_caps()
1414 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/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()
/linux/net/wireless/
A Dchan.c1267 struct ieee80211_sta_vht_cap *vht_cap; in _cfg80211_chandef_usable() local
1279 vht_cap = &wiphy->bands[chandef->chan->band]->vht_cap; in _cfg80211_chandef_usable()
1281 ext_nss_cap = __le16_to_cpu(vht_cap->vht_mcs.tx_highest) & in _cfg80211_chandef_usable()
1343 cap = vht_cap->cap; in _cfg80211_chandef_usable()
1358 if (!vht_cap->vht_supported) in _cfg80211_chandef_usable()
1366 if (!vht_cap->vht_supported) in _cfg80211_chandef_usable()
1368 cap = vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK; in _cfg80211_chandef_usable()
1372 (vht_cap->cap & IEEE80211_VHT_CAP_EXT_NSS_BW_MASK))) in _cfg80211_chandef_usable()
/linux/drivers/net/wireless/mediatek/mt76/
A Dmt76_connac_mcu.c796 struct ieee80211_sta_vht_cap *vht_cap; in mt76_connac_get_phy_mode_v2() local
803 vht_cap = &link_sta->vht_cap; in mt76_connac_get_phy_mode_v2()
811 vht_cap = &sband->vht_cap; in mt76_connac_get_phy_mode_v2()
833 if (vht_cap->vht_supported) in mt76_connac_get_phy_mode_v2()
873 if (sta->deflink.vht_cap.vht_supported) { in mt76_connac_mcu_sta_tlv()
880 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt76_connac_mcu_sta_tlv()
1004 sta->deflink.vht_cap.cap); in mt76_connac_mcu_wtbl_ht_tlv()
1319 struct ieee80211_sta_vht_cap *vht_cap; in mt76_connac_get_phy_mode() local
1328 vht_cap = &link_sta->vht_cap; in mt76_connac_get_phy_mode()
1335 vht_cap = &sband->vht_cap; in mt76_connac_get_phy_mode()
[all …]
A Dmac80211.c257 struct ieee80211_sta_vht_cap *vht_cap; in mt76_init_stream_cap() local
271 vht_cap = &sband->vht_cap; in mt76_init_stream_cap()
273 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in mt76_init_stream_cap()
275 vht_cap->cap &= ~IEEE80211_VHT_CAP_TXSTBC; in mt76_init_stream_cap()
286 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap()
287 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap()
289 vht_cap->vht_mcs.tx_highest |= in mt76_init_stream_cap()
311 struct ieee80211_sta_vht_cap *vht_cap; in mt76_init_sband() local
351 vht_cap = &sband->vht_cap; in mt76_init_sband()
352 vht_cap->vht_supported = true; in mt76_init_sband()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
A Dmac.c2035 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath12k_peer_assoc_h_vht() local
2048 if (!vht_cap->vht_supported) in ath12k_peer_assoc_h_vht()
2065 arg->peer_vht_caps = vht_cap->cap; in ath12k_peer_assoc_h_vht()
2067 ampdu_factor = (vht_cap->cap & in ath12k_peer_assoc_h_vht()
5025 u32 vht_cap = ar->pdev->cap.vht_cap; in ath12k_mac_set_txbf_conf() local
5035 sound_dim = vht_cap & in ath12k_mac_set_txbf_conf()
5089 *vht_cap = u32_replace_bits(*vht_cap, 0, in ath12k_set_vht_txbf_cap()
5099 *vht_cap = u32_replace_bits(*vht_cap, sound_dim, in ath12k_set_vht_txbf_cap()
5116 vht_cap.vht_supported = 1; in ath12k_create_vht_cap()
5117 vht_cap.cap = ar->pdev->cap.vht_cap; in ath12k_create_vht_cap()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Dinit.c420 struct ieee80211_sta_vht_cap *vht_cap; in mt7915_init_wiphy() local
422 vht_cap = &phy->mt76->sband_5g.sband.vht_cap; in mt7915_init_wiphy()
431 vht_cap->cap |= in mt7915_init_wiphy()
436 vht_cap->cap |= in mt7915_init_wiphy()
443 vht_cap->cap |= in mt7915_init_wiphy()
448 vht_cap->cap |= in mt7915_init_wiphy()
857 cap = &phy->mt76->sband_5g.sband.vht_cap.cap; in mt7915_set_stream_vht_txbf_caps()
A Dmcu.c889 if (sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_muru_tlv()
944 if (!sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_vht_tlv()
950 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt7915_mcu_sta_vht_tlv()
1050 if (sta->deflink.vht_cap.vht_supported) { in mt7915_is_ebf_supported()
1051 u32 cap = sta->deflink.vht_cap.cap; in mt7915_is_ebf_supported()
1228 else if (sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_bfer_tlv()
1289 } else if (sta->deflink.vht_cap.vht_supported) { in mt7915_mcu_sta_bfee_tlv()
1437 } else if (sta->deflink.vht_cap.vht_supported) { in mt7915_mcu_add_rate_ctrl_fixed()
1561 if (sta->deflink.vht_cap.vht_supported) { in mt7915_mcu_sta_rate_ctrl_tlv()
1566 sta->deflink.vht_cap.cap); in mt7915_mcu_sta_rate_ctrl_tlv()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
A Dmac.c2144 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath11k_peer_assoc_h_vht() local
2158 if (!vht_cap->vht_supported) in ath11k_peer_assoc_h_vht()
2177 ampdu_factor = (vht_cap->cap & in ath11k_peer_assoc_h_vht()
5334 u32 vht_cap = ar->pdev->cap.vht_cap; in ath11k_mac_set_txbf_conf() local
5346 sound_dim = vht_cap & in ath11k_mac_set_txbf_conf()
5420 *vht_cap |= sound_dim; in ath11k_set_vht_txbf_cap()
5430 *vht_cap |= nsts; in ath11k_set_vht_txbf_cap()
5442 vht_cap.vht_supported = 1; in ath11k_create_vht_cap()
5443 vht_cap.cap = ar->pdev->cap.vht_cap; in ath11k_create_vht_cap()
5471 return vht_cap; in ath11k_create_vht_cap()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
A Dmac.c2551 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath10k_peer_assoc_h_vht() local
2564 if (!vht_cap->vht_supported) in ath10k_peer_assoc_h_vht()
2580 ampdu_factor = (vht_cap->cap & in ath10k_peer_assoc_h_vht()
2697 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath10k_mac_get_phymode_vht() local
3088 vht_cap = ap_sta->deflink.vht_cap; in ath10k_bss_assoc()
4871 vht_cap.vht_supported = 1; in ath10k_create_vht_cap()
4880 vht_cap.cap |= val; in ath10k_create_vht_cap()
4889 vht_cap.cap |= val; in ath10k_create_vht_cap()
4917 return vht_cap; in ath10k_create_vht_cap()
5003 band->vht_cap = vht_cap; in ath10k_mac_setup_ht_vht_cap()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
A Dmcu.c1316 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt7996_mcu_sta_vht_tlv()
1379 if (sta->deflink.vht_cap.vht_supported) in mt7996_mcu_sta_muru_tlv()
1449 if (sta->deflink.vht_cap.vht_supported) { in mt7996_is_ebf_supported()
1450 u32 cap = sta->deflink.vht_cap.cap; in mt7996_is_ebf_supported()
1501 struct ieee80211_sta_vht_cap *pc = &sta->deflink.vht_cap; in mt7996_mcu_sta_bfer_vht()
1688 else if (sta->deflink.vht_cap.vht_supported) in mt7996_mcu_sta_bfer_tlv()
1749 } else if (sta->deflink.vht_cap.vht_supported) { in mt7996_mcu_sta_bfee_tlv()
1930 } else if (sta->deflink.vht_cap.vht_supported) { in mt7996_mcu_add_rate_ctrl_fixed()
2056 if (sta->deflink.vht_cap.vht_supported) { in mt7996_mcu_sta_rate_ctrl_tlv()
2061 sta->deflink.vht_cap.cap); in mt7996_mcu_sta_rate_ctrl_tlv()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
A Dinit.c280 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7925_register_device()
286 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7925_register_device()

Completed in 141 milliseconds

1234