Home
last modified time | relevance | path

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

/drivers/net/wireless/mwifiex/
Die.c329 struct mwifiex_ie *gen_ie; in mwifiex_uap_parse_tail_ies() local
340 gen_ie = kzalloc(sizeof(*gen_ie), GFP_KERNEL); in mwifiex_uap_parse_tail_ies()
341 if (!gen_ie) in mwifiex_uap_parse_tail_ies()
374 memcpy(gen_ie->ie_buffer + ie_len, hdr, token_len); in mwifiex_uap_parse_tail_ies()
394 memcpy(gen_ie->ie_buffer + ie_len, vendorhdr, token_len); in mwifiex_uap_parse_tail_ies()
401 gen_ie->ie_index = cpu_to_le16(gen_idx); in mwifiex_uap_parse_tail_ies()
402 gen_ie->mgmt_subtype_mask = cpu_to_le16(MGMT_MASK_BEACON | in mwifiex_uap_parse_tail_ies()
405 gen_ie->ie_length = cpu_to_le16(ie_len); in mwifiex_uap_parse_tail_ies()
407 if (mwifiex_update_uap_custom_ie(priv, gen_ie, &gen_idx, NULL, NULL, in mwifiex_uap_parse_tail_ies()
416 kfree(gen_ie); in mwifiex_uap_parse_tail_ies()
[all …]
Dsta_ioctl.c1377 struct mwifiex_ds_misc_gen_ie *gen_ie, in mwifiex_misc_ioctl_gen_ie() argument
1382 switch (gen_ie->type) { in mwifiex_misc_ioctl_gen_ie()
1385 gen_ie->len = priv->wpa_ie_len; in mwifiex_misc_ioctl_gen_ie()
1386 memcpy(gen_ie->ie_data, priv->wpa_ie, gen_ie->len); in mwifiex_misc_ioctl_gen_ie()
1388 mwifiex_set_gen_ie_helper(priv, gen_ie->ie_data, in mwifiex_misc_ioctl_gen_ie()
1389 (u16) gen_ie->len); in mwifiex_misc_ioctl_gen_ie()
1394 if (gen_ie->len > ARP_FILTER_MAX_BUF_SIZE) { in mwifiex_misc_ioctl_gen_ie()
1400 memcpy(adapter->arp_filter, gen_ie->ie_data, in mwifiex_misc_ioctl_gen_ie()
1401 gen_ie->len); in mwifiex_misc_ioctl_gen_ie()
1402 adapter->arp_filter_size = gen_ie->len; in mwifiex_misc_ioctl_gen_ie()
[all …]