/linux-4.1.27/net/mac80211/ |
D | vht.c | 17 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 …]
|
D | tdls.c | 303 struct ieee80211_sta_vht_cap vht_cap; in ieee80211_tdls_add_setup_start_ies() local 436 memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies() 439 vht_cap.vht_supported) { in ieee80211_tdls_add_setup_start_ies() 440 ieee80211_apply_vhtcap_overrides(sdata, &vht_cap); in ieee80211_tdls_add_setup_start_ies() 447 ieee80211_ie_build_vht_cap(pos, &vht_cap, vht_cap.cap); in ieee80211_tdls_add_setup_start_ies() 449 vht_cap.vht_supported && sta->sta.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_start_ies() 451 memcpy(&vht_cap, &sta->sta.vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies() 457 ieee80211_ie_build_vht_cap(pos, &vht_cap, vht_cap.cap); in ieee80211_tdls_add_setup_start_ies() 544 if (band != IEEE80211_BAND_2GHZ && !ap_sta->sta.vht_cap.vht_supported && in ieee80211_tdls_add_setup_cfm_ies() 545 sta->sta.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_cfm_ies() [all …]
|
D | rc80211_minstrel_ht.c | 1100 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in minstrel_ht_update_caps() local 1114 if (vht_cap->vht_supported) in minstrel_ht_update_caps() 1115 use_vht = vht_cap->vht_mcs.tx_mcs_map != cpu_to_le16(~0); in minstrel_ht_update_caps() 1196 if (!vht_cap->vht_supported || in minstrel_ht_update_caps() 1204 !(vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80))) { in minstrel_ht_update_caps() 1217 vht_cap->vht_mcs.tx_mcs_map); in minstrel_ht_update_caps()
|
D | mlme.c | 224 if (!vht_oper || !sband->vht_cap.vht_supported) { in ieee80211_determine_chantype() 548 struct ieee80211_sta_vht_cap vht_cap; in ieee80211_add_vht_ie() local 551 BUILD_BUG_ON(sizeof(vht_cap) != sizeof(sband->vht_cap)); in ieee80211_add_vht_ie() 553 memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap)); in ieee80211_add_vht_ie() 554 ieee80211_apply_vhtcap_overrides(sdata, &vht_cap); in ieee80211_add_vht_ie() 557 cap = vht_cap.cap; in ieee80211_add_vht_ie() 593 ieee80211_ie_build_vht_cap(pos, &vht_cap, cap); in ieee80211_add_vht_ie() 4171 const struct ieee80211_vht_cap *vht_cap; in ieee80211_ht_vht_rx_chains() local 4191 if (vht_cap_ie && vht_cap_ie[1] >= sizeof(*vht_cap)) { in ieee80211_ht_vht_rx_chains() 4195 vht_cap = (void *)(vht_cap_ie + 2); in ieee80211_ht_vht_rx_chains() [all …]
|
D | ibss.c | 196 sband->vht_cap.vht_supported) { in ieee80211_ibss_build_presp() 197 pos = ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, in ieee80211_ibss_build_presp() 198 sband->vht_cap.cap); in ieee80211_ibss_build_presp() 199 pos = ieee80211_ie_build_vht_oper(pos, &sband->vht_cap, in ieee80211_ibss_build_presp() 1061 struct ieee80211_sta_vht_cap cap = sta->sta.vht_cap; in ieee80211_update_sta_info() 1069 if (memcmp(&cap, &sta->sta.vht_cap, sizeof(cap))) in ieee80211_update_sta_info()
|
D | util.c | 1504 if (sband->vht_cap.vht_supported && have_80mhz) { in ieee80211_build_preq_ies_band() 1507 pos = ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, in ieee80211_build_preq_ies_band() 1508 sband->vht_cap.cap); in ieee80211_build_preq_ies_band() 2285 u8 *ieee80211_ie_build_vht_cap(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, in ieee80211_ie_build_vht_cap() argument 2300 memcpy(pos, &vht_cap->vht_mcs, sizeof(vht_cap->vht_mcs)); in ieee80211_ie_build_vht_cap() 2301 pos += sizeof(vht_cap->vht_mcs); in ieee80211_ie_build_vht_cap() 2347 u8 *ieee80211_ie_build_vht_oper(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, in ieee80211_ie_build_vht_oper() argument
|
D | ieee80211_i.h | 1719 struct ieee80211_sta_vht_cap *vht_cap); 1971 u8 *ieee80211_ie_build_vht_cap(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, 1973 u8 *ieee80211_ie_build_vht_oper(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap,
|
D | debugfs_sta.c | 337 struct ieee80211_sta_vht_cap *vhtc = &sta->sta.vht_cap; in sta_vht_capa_read()
|
D | sta_info.c | 1770 if (sta->sta.vht_cap.vht_supported) { in sta_info_tx_streams() 1773 le16_to_cpu(sta->sta.vht_cap.vht_mcs.tx_mcs_map); in sta_info_tx_streams()
|
D | main.c | 888 supp_vht = supp_vht || sband->vht_cap.vht_supported; in ieee80211_register_hw()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | 11ac.c | 99 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 …]
|
D | 11ac.h | 44 struct ieee80211_vht_cap *vht_cap, u8 bands);
|
D | tdls.c | 175 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() 237 struct ieee80211_vht_cap *vht_cap, *ap_vht_cap = NULL; in mwifiex_tdls_add_vht_oper() local 276 vht_cap = &sta_ptr->tdls_cap.vhtcap; in mwifiex_tdls_add_vht_oper() 279 GET_VHTCAP_CHWDSET(le32_to_cpu(vht_cap->vht_cap_info)); in mwifiex_tdls_add_vht_oper() 307 mcs_map_resp = le16_to_cpu(vht_cap->supp_mcs.rx_mcs_map); in mwifiex_tdls_add_vht_oper()
|
D | ioctl.h | 111 struct ieee80211_vht_cap vht_cap; member
|
D | uap_cmd.c | 215 memcpy(&bss_cfg->vht_cap, vht_ie + 2, in mwifiex_set_vht_params()
|
D | fw.h | 1536 struct ieee80211_vht_cap vht_cap; member
|
D | cfg80211.c | 2574 &wiphy->bands[IEEE80211_BAND_2GHZ]->vht_cap, priv); in mwifiex_add_virtual_intf() 2582 &wiphy->bands[IEEE80211_BAND_5GHZ]->vht_cap, priv); in mwifiex_add_virtual_intf()
|
D | sta_cmd.c | 1646 memcpy(&vht_capab->vht_cap, params->vht_capa, in mwifiex_cmd_tdls_oper()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
D | iwl-nvm-parse.c | 352 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.1.27/drivers/net/wireless/rtlwifi/ |
D | base.c | 243 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 …]
|
D | rc.c | 108 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()
|
D | core.c | 924 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.1.27/net/wireless/ |
D | chan.c | 605 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()
|
D | nl80211.c | 1150 if (sband->vht_cap.vht_supported && in nl80211_send_band_rateinfo() 1152 sizeof(sband->vht_cap.vht_mcs), in nl80211_send_band_rateinfo() 1153 &sband->vht_cap.vht_mcs) || in nl80211_send_band_rateinfo() 1155 sband->vht_cap.cap))) in nl80211_send_band_rateinfo() 8132 u16 tx_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map); in vht_set_mcs_mask() 8136 if (!sband->vht_cap.vht_supported) in vht_set_mcs_mask() 8191 if (!sband->vht_cap.vht_supported) in nl80211_set_tx_bitrate_mask() 8194 vht_tx_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map); in nl80211_set_tx_bitrate_mask() 8256 rdev->wiphy.bands[band]->vht_cap.vht_supported)) in nl80211_set_tx_bitrate_mask()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 1626 const struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in ath10k_peer_assoc_h_vht() local 1629 if (!vht_cap->vht_supported) in ath10k_peer_assoc_h_vht() 1637 arg->peer_vht_caps = vht_cap->cap; in ath10k_peer_assoc_h_vht() 1639 ampdu_factor = (vht_cap->cap & in ath10k_peer_assoc_h_vht() 1655 __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath10k_peer_assoc_h_vht() 1657 __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath10k_peer_assoc_h_vht() 1659 __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath10k_peer_assoc_h_vht() 1661 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ath10k_peer_assoc_h_vht() 1715 if (sta->vht_cap.vht_supported) { in ath10k_peer_assoc_h_phymode() 1736 if (sta->vht_cap.vht_supported) { in ath10k_peer_assoc_h_phymode() [all …]
|
D | wmi.c | 3051 arg->vht_cap = ev->vht_cap_info; in ath10k_wmi_main_op_pull_svc_rdy_ev() 3088 arg->vht_cap = ev->vht_cap_info; in ath10k_wmi_10x_op_pull_svc_rdy_ev() 3128 ar->vht_cap_info = __le32_to_cpu(arg.vht_cap); in ath10k_wmi_event_service_ready() 3206 __le32_to_cpu(arg.vht_cap), in ath10k_wmi_event_service_ready()
|
D | wmi.h | 4840 __le32 vht_cap; member
|
D | wmi-tlv.c | 819 arg->vht_cap = ev->vht_cap_info; in ath10k_wmi_tlv_op_pull_svc_rdy_ev()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | rs.c | 205 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in rs_sgi_allow() local 213 if (is_ht80(rate) && (vht_cap->cap & in rs_sgi_allow() 2623 static int rs_vht_highest_rx_mcs_index(struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_highest_rx_mcs_index() argument 2626 u16 rx_mcs = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) & in rs_vht_highest_rx_mcs_index() 2642 struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_set_enabled_rates() argument 2646 int highest_mcs = rs_vht_highest_rx_mcs_index(vht_cap, 1); in rs_vht_set_enabled_rates() 2665 highest_mcs = rs_vht_highest_rx_mcs_index(vht_cap, 2); in rs_vht_set_enabled_rates() 2715 struct ieee80211_sta_vht_cap *vht_cap) in rs_vht_init() argument 2717 rs_vht_set_enabled_rates(sta, vht_cap, lq_sta); in rs_vht_init() 2720 (vht_cap->cap & IEEE80211_VHT_CAP_RXLDPC)) in rs_vht_init() [all …]
|
D | sf.c | 168 if (sta->ht_cap.ht_supported || sta->vht_cap.vht_supported) { in iwl_mvm_fill_sf_command()
|
D | sta.c | 174 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()
|
D | mac80211.c | 524 hw->wiphy->bands[IEEE80211_BAND_5GHZ]->vht_cap.cap |= in iwl_mvm_mac_setup_register()
|
/linux-4.1.27/drivers/net/wireless/ |
D | mac80211_hwsim.c | 2462 sband->vht_cap.vht_supported = true; in mac80211_hwsim_new_radio() 2463 sband->vht_cap.cap = in mac80211_hwsim_new_radio() 2475 sband->vht_cap.vht_mcs.rx_mcs_map = in mac80211_hwsim_new_radio() 2484 sband->vht_cap.vht_mcs.tx_mcs_map = in mac80211_hwsim_new_radio() 2485 sband->vht_cap.vht_mcs.rx_mcs_map; in mac80211_hwsim_new_radio()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | cfg80211.c | 5609 band->vht_cap.vht_supported = true; in brcmf_update_vht_cap() 5611 band->vht_cap.cap |= IEEE80211_VHT_CAP_SHORT_GI_80; in brcmf_update_vht_cap() 5613 band->vht_cap.cap |= IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ; in brcmf_update_vht_cap() 5614 band->vht_cap.cap |= IEEE80211_VHT_CAP_SHORT_GI_160; in brcmf_update_vht_cap() 5618 band->vht_cap.vht_mcs.rx_mcs_map = mcs_map; in brcmf_update_vht_cap() 5619 band->vht_cap.vht_mcs.tx_mcs_map = mcs_map; in brcmf_update_vht_cap()
|
/linux-4.1.27/include/net/ |
D | mac80211.h | 1622 struct ieee80211_sta_vht_cap vht_cap; member
|
D | cfg80211.h | 330 struct ieee80211_sta_vht_cap vht_cap; member
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
D | hw.c | 3629 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()
|