Home
last modified time | relevance | path

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

123

/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 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.h32 struct ieee80211_vht_cap *vht_cap, u8 bands);
/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()
515 const struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in rs_fw_get_max_amsdu_len() local
[all …]
A Drs.c172 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in rs_sgi_allow() local
180 if (is_ht80(rate) && (vht_cap->cap & in rs_sgi_allow()
183 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()
2545 if (sta->deflink.vht_cap.vht_supported && in rs_get_initial_rate()
2765 struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_set_enabled_rates() argument
2838 struct ieee80211_sta_vht_cap *vht_cap) in rs_vht_init() argument
2933 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in rs_drv_rate_init() local
2975 if (!vht_cap || !vht_cap->vht_supported) in rs_drv_rate_init()
[all …]
/drivers/net/wireless/intel/iwlwifi/mld/
A Dtlc.c41 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in iwl_mld_get_tlc_cmd_flags() local
43 bool has_vht = vht_cap->vht_supported; in iwl_mld_get_tlc_cmd_flags()
111 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in iwl_mld_get_fw_sgi() local
126 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80) in iwl_mld_get_fw_sgi()
128 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_160) in iwl_mld_get_fw_sgi()
159 const struct ieee80211_sta_vht_cap *vht_cap, in iwl_mld_fill_vht_rates() argument
166 .vht_cap_info = cpu_to_le32(vht_cap->cap), in iwl_mld_fill_vht_rates()
167 .supp_mcs = vht_cap->vht_mcs, in iwl_mld_fill_vht_rates()
414 const struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in iwl_mld_fill_supp_rates() local
432 } else if (vht_cap->vht_supported) { in iwl_mld_fill_supp_rates()
[all …]
/drivers/net/wireless/intel/iwlwifi/
A Diwl-nvm-parse.c515 vht_cap->vht_supported = true; in iwl_init_vht_hw_capab()
535 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in iwl_init_vht_hw_capab()
543 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in iwl_init_vht_hw_capab()
556 vht_cap->cap |= in iwl_init_vht_hw_capab()
563 vht_cap->cap |= in iwl_init_vht_hw_capab()
581 vht_cap->vht_mcs.rx_mcs_map = in iwl_init_vht_hw_capab()
594 vht_cap->vht_mcs.rx_mcs_map |= in iwl_init_vht_hw_capab()
598 vht_cap->vht_mcs.tx_mcs_map = vht_cap->vht_mcs.rx_mcs_map; in iwl_init_vht_hw_capab()
600 vht_cap->vht_mcs.tx_highest |= in iwl_init_vht_hw_capab()
880 WARN_ON(!vht_cap.vht_supported); in iwl_init_he_6ghz_capa()
[all …]
/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.c149 .vht_cap = {0},
163 .vht_cap = {0},
1230 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1257 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1270 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1311 if (sta->deflink.vht_cap.vht_supported || in rtw_update_sta_info()
1614 vht_cap->vht_supported = true; in rtw_init_vht_cap()
1622 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in rtw_init_vht_cap()
1642 vht_cap->vht_mcs.rx_highest = highest; in rtw_init_vht_cap()
1643 vht_cap->vht_mcs.tx_highest = highest; in rtw_init_vht_cap()
[all …]
/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()
/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()
1390 wcn36xx_set_ieee80211_vht_caps(struct ieee80211_sta_vht_cap *vht_cap) in wcn36xx_set_ieee80211_vht_caps() argument
1392 vht_cap->vht_supported = true; in wcn36xx_set_ieee80211_vht_caps()
1394 vht_cap->cap = (IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_3895 | in wcn36xx_set_ieee80211_vht_caps()
1402 vht_cap->vht_mcs.rx_mcs_map = in wcn36xx_set_ieee80211_vht_caps()
1412 vht_cap->vht_mcs.rx_highest = cpu_to_le16(433); in wcn36xx_set_ieee80211_vht_caps()
1413 vht_cap->vht_mcs.tx_highest = vht_cap->vht_mcs.rx_highest; in wcn36xx_set_ieee80211_vht_caps()
1415 vht_cap->vht_mcs.tx_mcs_map = vht_cap->vht_mcs.rx_mcs_map; in wcn36xx_set_ieee80211_vht_caps()
[all …]
/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.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()
/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()
1325 struct ieee80211_sta_vht_cap *vht_cap; in mt76_connac_get_phy_mode() local
1334 vht_cap = &link_sta->vht_cap; in mt76_connac_get_phy_mode()
1341 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 …]
/drivers/net/wireless/ath/ath11k/
A Dmac.c2154 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath11k_peer_assoc_h_vht() local
2168 if (!vht_cap->vht_supported) in ath11k_peer_assoc_h_vht()
2187 ampdu_factor = (vht_cap->cap & in ath11k_peer_assoc_h_vht()
5394 u32 vht_cap = ar->pdev->cap.vht_cap; in ath11k_mac_set_txbf_conf() local
5404 sound_dim = vht_cap & in ath11k_mac_set_txbf_conf()
5478 *vht_cap |= sound_dim; in ath11k_set_vht_txbf_cap()
5485 *vht_cap |= nsts; in ath11k_set_vht_txbf_cap()
5497 vht_cap.vht_supported = 1; in ath11k_create_vht_cap()
5498 vht_cap.cap = ar->pdev->cap.vht_cap; in ath11k_create_vht_cap()
5526 return vht_cap; in ath11k_create_vht_cap()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7915/
A Dinit.c424 struct ieee80211_sta_vht_cap *vht_cap; in mt7915_init_wiphy() local
426 vht_cap = &phy->mt76->sband_5g.sband.vht_cap; in mt7915_init_wiphy()
435 vht_cap->cap |= in mt7915_init_wiphy()
440 vht_cap->cap |= in mt7915_init_wiphy()
447 vht_cap->cap |= in mt7915_init_wiphy()
452 vht_cap->cap |= in mt7915_init_wiphy()
870 cap = &phy->mt76->sband_5g.sband.vht_cap.cap; in mt7915_set_stream_vht_txbf_caps()
A Dmcu.c933 if (sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_muru_tlv()
988 if (!sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_vht_tlv()
994 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt7915_mcu_sta_vht_tlv()
1094 if (sta->deflink.vht_cap.vht_supported) { in mt7915_is_ebf_supported()
1095 u32 cap = sta->deflink.vht_cap.cap; in mt7915_is_ebf_supported()
1272 else if (sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_bfer_tlv()
1333 } else if (sta->deflink.vht_cap.vht_supported) { in mt7915_mcu_sta_bfee_tlv()
1481 } else if (sta->deflink.vht_cap.vht_supported) { in mt7915_mcu_add_rate_ctrl_fixed()
1605 if (sta->deflink.vht_cap.vht_supported) { in mt7915_mcu_sta_rate_ctrl_tlv()
1610 sta->deflink.vht_cap.cap); in mt7915_mcu_sta_rate_ctrl_tlv()
[all …]
/drivers/net/wireless/ath/ath10k/
A Dmac.c2573 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath10k_peer_assoc_h_vht() local
2586 if (!vht_cap->vht_supported) in ath10k_peer_assoc_h_vht()
2602 ampdu_factor = (vht_cap->cap & in ath10k_peer_assoc_h_vht()
2719 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath10k_mac_get_phymode_vht() local
3110 vht_cap = ap_sta->deflink.vht_cap; in ath10k_bss_assoc()
4894 vht_cap.vht_supported = 1; in ath10k_create_vht_cap()
4903 vht_cap.cap |= val; in ath10k_create_vht_cap()
4912 vht_cap.cap |= val; in ath10k_create_vht_cap()
4940 return vht_cap; in ath10k_create_vht_cap()
5026 band->vht_cap = vht_cap; in ath10k_mac_setup_ht_vht_cap()
[all …]
/drivers/net/wireless/ath/ath12k/
A Dmac.c2285 vht_cap = &link_sta->vht_cap; in ath12k_peer_assoc_h_vht()
2286 if (!vht_cap->vht_supported) in ath12k_peer_assoc_h_vht()
2303 arg->peer_vht_caps = vht_cap->cap; in ath12k_peer_assoc_h_vht()
2305 ampdu_factor = (vht_cap->cap & in ath12k_peer_assoc_h_vht()
7591 u32 vht_cap = ar->pdev->cap.vht_cap; in ath12k_mac_set_txbf_conf() local
7601 sound_dim = vht_cap & in ath12k_mac_set_txbf_conf()
7655 *vht_cap = u32_replace_bits(*vht_cap, 0, in ath12k_set_vht_txbf_cap()
7665 *vht_cap = u32_replace_bits(*vht_cap, sound_dim, in ath12k_set_vht_txbf_cap()
7682 vht_cap.vht_supported = 1; in ath12k_create_vht_cap()
7683 vht_cap.cap = ar->pdev->cap.vht_cap; in ath12k_create_vht_cap()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7996/
A Dmcu.c1334 vht->vht_cap = cpu_to_le32(link_sta->vht_cap.cap); in mt7996_mcu_sta_vht_tlv()
1399 if (link_sta->vht_cap.vht_supported) in mt7996_mcu_sta_muru_tlv()
1470 if (link_sta->vht_cap.vht_supported) { in mt7996_is_ebf_supported()
1471 u32 cap = link_sta->vht_cap.cap; in mt7996_is_ebf_supported()
1529 struct ieee80211_sta_vht_cap *pc = &link_sta->vht_cap; in mt7996_mcu_sta_bfer_vht()
1725 else if (link_sta->vht_cap.vht_supported) in mt7996_mcu_sta_bfer_tlv()
1797 } else if (link_sta->vht_cap.vht_supported) { in mt7996_mcu_sta_bfee_tlv()
2028 } else if (link_sta->vht_cap.vht_supported) { in mt7996_mcu_add_rate_ctrl_fixed()
2163 if (link_sta->vht_cap.vht_supported) { in mt7996_mcu_sta_rate_ctrl_tlv()
2168 link_sta->vht_cap.cap); in mt7996_mcu_sta_rate_ctrl_tlv()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7921/
A Dinit.c330 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device()
337 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device()
/drivers/net/wireless/quantenna/qtnfmac/
A Dcommands.c333 if (s->vht_cap) { in qtnf_cmd_send_start_ap()
335 skb_put(cmd_skb, sizeof(*tlv) + sizeof(*s->vht_cap)); in qtnf_cmd_send_start_ap()
338 tlv->len = cpu_to_le16(sizeof(*s->vht_cap)); in qtnf_cmd_send_start_ap()
339 memcpy(tlv->val, s->vht_cap, sizeof(*s->vht_cap)); in qtnf_cmd_send_start_ap()
1286 const struct ieee80211_vht_cap *vht_cap = in qtnf_cmd_resp_band_fill_vhtcap() local
1290 bcap->cap = le32_to_cpu(vht_cap->vht_cap_info); in qtnf_cmd_resp_band_fill_vhtcap()
1291 memcpy(&bcap->vht_mcs, &vht_cap->supp_mcs, sizeof(bcap->vht_mcs)); in qtnf_cmd_resp_band_fill_vhtcap()
1374 memset(&band->vht_cap, 0, sizeof(band->vht_cap)); in qtnf_cmd_resp_fill_band_info()
1498 &band->vht_cap); in qtnf_cmd_resp_fill_band_info()
/drivers/net/wireless/mediatek/mt76/mt7925/
A Dinit.c408 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7925_register_device()
414 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7925_register_device()

Completed in 754 milliseconds

123