Home
last modified time | relevance | path

Searched refs:rsn_ie_tlv (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Djoin.c333 struct mwifiex_ie_types_rsn_param_set *rsn_ie_tlv; in mwifiex_append_rsn_ie_wpa_wpa2() local
339 rsn_ie_tlv = (struct mwifiex_ie_types_rsn_param_set *) (*buffer); in mwifiex_append_rsn_ie_wpa_wpa2()
340 rsn_ie_tlv->header.type = cpu_to_le16((u16) priv->wpa_ie[0]); in mwifiex_append_rsn_ie_wpa_wpa2()
341 rsn_ie_tlv->header.type = cpu_to_le16( in mwifiex_append_rsn_ie_wpa_wpa2()
342 le16_to_cpu(rsn_ie_tlv->header.type) & 0x00FF); in mwifiex_append_rsn_ie_wpa_wpa2()
343 rsn_ie_tlv->header.len = cpu_to_le16((u16) priv->wpa_ie[1]); in mwifiex_append_rsn_ie_wpa_wpa2()
344 rsn_ie_tlv->header.len = cpu_to_le16(le16_to_cpu(rsn_ie_tlv->header.len) in mwifiex_append_rsn_ie_wpa_wpa2()
346 if (le16_to_cpu(rsn_ie_tlv->header.len) <= (sizeof(priv->wpa_ie) - 2)) in mwifiex_append_rsn_ie_wpa_wpa2()
347 memcpy(rsn_ie_tlv->rsn_ie, &priv->wpa_ie[2], in mwifiex_append_rsn_ie_wpa_wpa2()
348 le16_to_cpu(rsn_ie_tlv->header.len)); in mwifiex_append_rsn_ie_wpa_wpa2()
[all …]