Lines Matching refs:vht_cap

87 			  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()
152 vht_cap->supp_mcs.tx_highest = cpu_to_le16(tmp); in mwifiex_fill_vht_cap_tlv()
161 struct mwifiex_ie_types_vhtcap *vht_cap; in mwifiex_cmd_append_11ac_tlv() local
177 vht_cap = (struct mwifiex_ie_types_vhtcap *)*buffer; in mwifiex_cmd_append_11ac_tlv()
178 memset(vht_cap, 0, sizeof(*vht_cap)); in mwifiex_cmd_append_11ac_tlv()
179 vht_cap->header.type = cpu_to_le16(WLAN_EID_VHT_CAPABILITY); in mwifiex_cmd_append_11ac_tlv()
180 vht_cap->header.len = in mwifiex_cmd_append_11ac_tlv()
182 memcpy((u8 *)vht_cap + sizeof(struct mwifiex_ie_types_header), 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()
189 ret_len += sizeof(*vht_cap); in mwifiex_cmd_append_11ac_tlv()