Home
last modified time | relevance | path

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

123

/linux/drivers/net/wireless/marvell/mwifiex/
H 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()
100 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_tlv() argument
107 mwifiex_fill_vht_cap_info(priv, vht_cap, bands); in mwifiex_fill_vht_cap_tlv()
111 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.rx_mcs_map); in mwifiex_fill_vht_cap_tlv()
127 vht_cap->supp_mcs.rx_mcs_map = cpu_to_le16(mcs_map_result); in mwifiex_fill_vht_cap_tlv()
130 vht_cap->supp_mcs.rx_highest = cpu_to_le16(tmp); in mwifiex_fill_vht_cap_tlv()
134 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.tx_mcs_map); in mwifiex_fill_vht_cap_tlv()
149 vht_cap->supp_mcs.tx_mcs_map = cpu_to_le16(mcs_map_result); in mwifiex_fill_vht_cap_tlv()
[all …]
H A D11ac.h32 struct ieee80211_vht_cap *vht_cap, u8 bands);
H 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/
H A Diwl-nvm-parse.c498 struct ieee80211_sta_vht_cap *vht_cap, in iwl_init_vht_hw_capab() argument
505 vht_cap->vht_supported = true; in iwl_init_vht_hw_capab()
507 vht_cap->cap = IEEE80211_VHT_CAP_SHORT_GI_80 | in iwl_init_vht_hw_capab()
515 vht_cap->cap &= ~IEEE80211_VHT_CAP_RXSTBC_MASK; in iwl_init_vht_hw_capab()
518 vht_cap->cap |= IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ | in iwl_init_vht_hw_capab()
522 vht_cap->cap |= IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE; 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()
535 vht_cap->cap |= IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN; in iwl_init_vht_hw_capab()
540 vht_cap->cap |= in iwl_init_vht_hw_capab()
[all …]
/linux/drivers/net/wireless/realtek/rtw88/
H 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()
H A Dmain.c148 .vht_cap = {0},
162 .vht_cap = {0},
1009 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in get_vht_ra_mask()
1229 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1232 if (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_RXSTBC_MASK) in rtw_update_sta_info()
1234 if (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_RXLDPC) in rtw_update_sta_info()
1251 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1264 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1290 is_support_sgi = sta->deflink.vht_cap.vht_supported && in rtw_update_sta_info()
1291 (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80); in rtw_update_sta_info()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/
H 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()
255 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab()
256 vht_cap->vht_mcs.rx_highest = in _rtl_init_hw_vht_capab()
258 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); 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()
287 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab()
[all …]
H 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/mediatek/mt76/mt7615/
H 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()
H A Dinit.c416 phy->mt76->sband_5g.sband.vht_cap.cap |= in mt7615_init_wiphy()
423 dev->mphy.sband_5g.sband.vht_cap.cap &= in mt7615_cap_dbdc_enable()
439 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7615_cap_dbdc_disable()
/linux/drivers/net/wireless/mediatek/mt76/
H 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()
881 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt76_connac_mcu_sta_tlv()
882 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in mt76_connac_mcu_sta_tlv()
941 if (sta->deflink.vht_cap.vht_supported) { in mt76_connac_mcu_sta_tlv()
991 if (sta->deflink.vht_cap.vht_supported || sta->deflink.he_6ghz_capa.capa) { in mt76_connac_mcu_wtbl_ht_tlv()
[all …]
H 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()
276 vht_cap->cap |= IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN | 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()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H 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()
1373 struct ieee80211_sta_vht_cap *sta_vht_cap = &sta->deflink.vht_cap; in rs_bw_from_sta_bw()
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()
2739 static int rs_vht_highest_rx_mcs_index(struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_highest_rx_mcs_index() argument
2742 u16 rx_mcs = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) & in rs_vht_highest_rx_mcs_index()
2758 struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_set_enabled_rates() argument
[all …]
H A Dsf.c121 link_sta->vht_cap.vht_supported || in iwl_mvm_fill_sf_command()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H 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()
H A Dmcu.c118 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in mt7915_mcu_set_sta_vht_mcs()
889 if (sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_muru_tlv()
891 !!(sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE); 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()
951 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt7915_mcu_sta_vht_tlv()
952 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; 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()
1102 struct ieee80211_sta_vht_cap *pc = &sta->deflink.vht_cap; in mt7915_mcu_sta_bfer_vht()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H 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()
2175 arg->peer_vht_caps = vht_cap->cap; in ath11k_peer_assoc_h_vht()
2177 ampdu_factor = (vht_cap->cap & in ath11k_peer_assoc_h_vht()
2218 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath11k_peer_assoc_h_vht()
2226 arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath11k_peer_assoc_h_vht()
2227 arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath11k_peer_assoc_h_vht()
2228 arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath11k_peer_assoc_h_vht()
2230 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath11k_peer_assoc_h_vht()
2438 if (sta->deflink.vht_cap.vht_supported) in ath11k_peer_assoc_h_he()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c2067 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath12k_peer_assoc_h_vht() local
2081 if (!vht_cap->vht_supported) in ath12k_peer_assoc_h_vht()
2098 arg->peer_vht_caps = vht_cap->cap; in ath12k_peer_assoc_h_vht()
2100 ampdu_factor = (vht_cap->cap & in ath12k_peer_assoc_h_vht()
2123 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath12k_peer_assoc_h_vht()
2131 arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath12k_peer_assoc_h_vht()
2132 arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath12k_peer_assoc_h_vht()
2133 arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath12k_peer_assoc_h_vht()
2135 tx_mcs_map = __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ath12k_peer_assoc_h_vht()
2238 if (sta->deflink.vht_cap.vht_supported) in ath12k_peer_assoc_h_he()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H 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()
2578 arg->peer_vht_caps = vht_cap->cap; in ath10k_peer_assoc_h_vht()
2580 ampdu_factor = (vht_cap->cap & in ath10k_peer_assoc_h_vht()
2603 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath10k_peer_assoc_h_vht()
2612 __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath10k_peer_assoc_h_vht()
2614 __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath10k_peer_assoc_h_vht()
2616 __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath10k_peer_assoc_h_vht()
2618 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); 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
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c161 u16 mcs, mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in mt7996_mcu_set_sta_vht_mcs()
1310 if (!sta->deflink.he_6ghz_capa.capa && !sta->deflink.vht_cap.vht_supported) in mt7996_mcu_sta_vht_tlv()
1316 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt7996_mcu_sta_vht_tlv()
1317 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt7996_mcu_sta_vht_tlv()
1318 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in mt7996_mcu_sta_vht_tlv()
1379 if (sta->deflink.vht_cap.vht_supported) in mt7996_mcu_sta_muru_tlv()
1381 !!(sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE); 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()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H 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()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dinit.c322 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device()
329 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device()
H A Dmain.c160 struct ieee80211_sta_vht_cap *vht_cap = &sband->vht_cap; in mt7921_init_he_caps() local
167 exp = u32_get_bits(vht_cap->cap, in mt7921_init_he_caps()
171 exp = u32_get_bits(vht_cap->cap, in mt7921_init_he_caps()
175 if (vht_cap->cap & IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN) in mt7921_init_he_caps()
177 if (vht_cap->cap & IEEE80211_VHT_CAP_RX_ANTENNA_PATTERN) in mt7921_init_he_caps()
/linux/net/mac80211/
H A Dutil.c1322 if (sband->vht_cap.vht_supported && have_80mhz) { in ieee80211_put_preq_ies_band()
1329 ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, in ieee80211_put_preq_ies_band()
1330 sband->vht_cap.cap); in ieee80211_put_preq_ies_band()
2396 u8 *ieee80211_ie_build_vht_cap(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, in ieee80211_ie_build_vht_cap() argument
2411 memcpy(pos, &vht_cap->vht_mcs, sizeof(vht_cap->vht_mcs)); in ieee80211_ie_build_vht_cap()
2412 pos += sizeof(vht_cap->vht_mcs); in ieee80211_ie_build_vht_cap()
2693 u8 *ieee80211_ie_build_vht_oper(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, in ieee80211_ie_build_vht_oper() argument
2945 u32 vht_cap; in ieee80211_chandef_vht_oper() local
2956 vht_cap = hw->wiphy->bands[chandef->chan->band]->vht_cap.cap; in ieee80211_chandef_vht_oper()
2957 support_160 = (vht_cap & (IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK | in ieee80211_chandef_vht_oper()
[all …]
H A Dmesh.c510 if (!sband->vht_cap.vht_supported || in mesh_add_vht_cap_ie()
520 ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, sband->vht_cap.cap); in mesh_add_vht_cap_ie()
532 struct ieee80211_sta_vht_cap *vht_cap; in mesh_add_vht_oper_ie() local
545 vht_cap = &sband->vht_cap; in mesh_add_vht_oper_ie()
551 if (!vht_cap->vht_supported || in mesh_add_vht_oper_ie()
561 ieee80211_ie_build_vht_oper(pos, vht_cap, in mesh_add_vht_oper_ie()

123