Searched refs:htcap (Results 1 – 8 of 8) sorted by relevance
484 struct mwifiex_ie_types_htcap *htcap; in mwifiex_uap_bss_param_prepare() local624 htcap = (struct mwifiex_ie_types_htcap *)tlv; in mwifiex_uap_bss_param_prepare()625 htcap->header.type = cpu_to_le16(WLAN_EID_HT_CAPABILITY); in mwifiex_uap_bss_param_prepare()626 htcap->header.len = in mwifiex_uap_bss_param_prepare()628 htcap->ht_cap.cap_info = bss_cfg->ht_cap.cap_info; in mwifiex_uap_bss_param_prepare()629 htcap->ht_cap.ampdu_params_info = in mwifiex_uap_bss_param_prepare()631 memcpy(&htcap->ht_cap.mcs, &bss_cfg->ht_cap.mcs, in mwifiex_uap_bss_param_prepare()633 htcap->ht_cap.extended_ht_cap_info = in mwifiex_uap_bss_param_prepare()635 htcap->ht_cap.tx_BF_cap_info = bss_cfg->ht_cap.tx_BF_cap_info; in mwifiex_uap_bss_param_prepare()636 htcap->ht_cap.antenna_selection_info = in mwifiex_uap_bss_param_prepare()
96 struct ieee80211_ht_cap *htcap);
2599 struct ath6kl_htcap *htcap = &vif->htcap[band]; in ath6kl_set_htcap() local2601 if (htcap->ht_enable == ht_enable) in ath6kl_set_htcap()2606 htcap->ht_enable = true; in ath6kl_set_htcap()2607 htcap->cap_info = (band == NL80211_BAND_2GHZ) ? in ath6kl_set_htcap()2609 htcap->ampdu_factor = IEEE80211_HT_MAX_AMPDU_16K; in ath6kl_set_htcap()2611 memset(htcap, 0, sizeof(*htcap)); in ath6kl_set_htcap()2614 band, htcap); in ath6kl_set_htcap()3806 vif->htcap[NL80211_BAND_2GHZ].ht_enable = true; in ath6kl_interface_add()3807 vif->htcap[NL80211_BAND_5GHZ].ht_enable = true; in ath6kl_interface_add()
3169 struct ath6kl_htcap *htcap) in ath6kl_wmi_set_htcap_cmd() argument3186 cmd->ht_enable = !!htcap->ht_enable; in ath6kl_wmi_set_htcap_cmd()3187 cmd->ht20_sgi = !!(htcap->cap_info & IEEE80211_HT_CAP_SGI_20); in ath6kl_wmi_set_htcap_cmd()3189 !!(htcap->cap_info & IEEE80211_HT_CAP_SUP_WIDTH_20_40); in ath6kl_wmi_set_htcap_cmd()3190 cmd->ht40_sgi = !!(htcap->cap_info & IEEE80211_HT_CAP_SGI_40); in ath6kl_wmi_set_htcap_cmd()3192 !!(htcap->cap_info & IEEE80211_HT_CAP_40MHZ_INTOLERANT); in ath6kl_wmi_set_htcap_cmd()3193 cmd->max_ampdu_len_exp = htcap->ampdu_factor; in ath6kl_wmi_set_htcap_cmd()
626 struct ath6kl_htcap htcap[NUM_NL80211_BANDS]; member
2632 struct ath6kl_htcap *htcap);
129 __be16 htcap; member
3325 struct element_info htcap; member