Searched refs:rsn_ie_tlv (Results 1 – 1 of 1) sorted by relevance
321 struct mwifiex_ie_types_rsn_param_set *rsn_ie_tlv; in mwifiex_append_rsn_ie_wpa_wpa2() local327 rsn_ie_tlv = (struct mwifiex_ie_types_rsn_param_set *) (*buffer); in mwifiex_append_rsn_ie_wpa_wpa2()328 rsn_ie_tlv->header.type = cpu_to_le16((u16) priv->wpa_ie[0]); in mwifiex_append_rsn_ie_wpa_wpa2()329 rsn_ie_tlv->header.type = cpu_to_le16( in mwifiex_append_rsn_ie_wpa_wpa2()330 le16_to_cpu(rsn_ie_tlv->header.type) & 0x00FF); in mwifiex_append_rsn_ie_wpa_wpa2()331 rsn_ie_tlv->header.len = cpu_to_le16((u16) priv->wpa_ie[1]); in mwifiex_append_rsn_ie_wpa_wpa2()332 rsn_ie_tlv->header.len = cpu_to_le16(le16_to_cpu(rsn_ie_tlv->header.len) in mwifiex_append_rsn_ie_wpa_wpa2()334 if (le16_to_cpu(rsn_ie_tlv->header.len) <= (sizeof(priv->wpa_ie) - 2)) in mwifiex_append_rsn_ie_wpa_wpa2()335 memcpy(rsn_ie_tlv->rsn_ie, &priv->wpa_ie[2], in mwifiex_append_rsn_ie_wpa_wpa2()336 le16_to_cpu(rsn_ie_tlv->header.len)); in mwifiex_append_rsn_ie_wpa_wpa2()[all …]