Lines Matching refs:ht_cap

38 			  struct ieee80211_ht_cap *ht_cap)  in mwifiex_fill_cap_info()  argument
40 uint16_t ht_ext_cap = le16_to_cpu(ht_cap->extended_ht_cap_info); in mwifiex_fill_cap_info()
49 ht_cap->ampdu_params_info = in mwifiex_fill_cap_info()
50 (sband->ht_cap.ampdu_factor & in mwifiex_fill_cap_info()
52 ((sband->ht_cap.ampdu_density << in mwifiex_fill_cap_info()
56 memcpy((u8 *)&ht_cap->mcs, &sband->ht_cap.mcs, in mwifiex_fill_cap_info()
57 sizeof(sband->ht_cap.mcs)); in mwifiex_fill_cap_info()
60 (sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 && in mwifiex_fill_cap_info()
64 SETHT_MCS32(ht_cap->mcs.rx_mask); in mwifiex_fill_cap_info()
69 ht_cap->cap_info = cpu_to_le16(sband->ht_cap.cap); in mwifiex_fill_cap_info()
70 ht_cap->extended_ht_cap_info = cpu_to_le16(ht_ext_cap); in mwifiex_fill_cap_info()
73 ht_cap->tx_BF_cap_info = cpu_to_le32(MWIFIEX_DEF_11N_TX_BF_CAP); in mwifiex_fill_cap_info()
317 struct mwifiex_ie_types_htcap *ht_cap; in mwifiex_cmd_append_11n_tlv() local
334 ht_cap = (struct mwifiex_ie_types_htcap *) *buffer; in mwifiex_cmd_append_11n_tlv()
335 memset(ht_cap, 0, sizeof(struct mwifiex_ie_types_htcap)); in mwifiex_cmd_append_11n_tlv()
336 ht_cap->header.type = cpu_to_le16(WLAN_EID_HT_CAPABILITY); in mwifiex_cmd_append_11n_tlv()
337 ht_cap->header.len = in mwifiex_cmd_append_11n_tlv()
339 memcpy((u8 *) ht_cap + sizeof(struct mwifiex_ie_types_header), in mwifiex_cmd_append_11n_tlv()
341 le16_to_cpu(ht_cap->header.len)); in mwifiex_cmd_append_11n_tlv()
343 mwifiex_fill_cap_info(priv, radio_type, &ht_cap->ht_cap); in mwifiex_cmd_append_11n_tlv()
365 if (!(sband->ht_cap.cap & in mwifiex_cmd_append_11n_tlv()
388 if (sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 && in mwifiex_cmd_append_11n_tlv()