Searched refs:gen_ie (Results 1 – 2 of 2) sorted by relevance
/drivers/net/wireless/marvell/mwifiex/ |
D | ie.c | 326 struct mwifiex_ie *gen_ie; in mwifiex_uap_parse_tail_ies() local 335 gen_ie = kzalloc(sizeof(*gen_ie), GFP_KERNEL); in mwifiex_uap_parse_tail_ies() 336 if (!gen_ie) in mwifiex_uap_parse_tail_ies() 359 memcpy(gen_ie->ie_buffer + ie_len, hdr, in mwifiex_uap_parse_tail_ies() 375 memcpy(gen_ie->ie_buffer + ie_len, vendorhdr, in mwifiex_uap_parse_tail_ies() 381 kfree(gen_ie); in mwifiex_uap_parse_tail_ies() 385 gen_ie->ie_index = cpu_to_le16(gen_idx); in mwifiex_uap_parse_tail_ies() 386 gen_ie->mgmt_subtype_mask = cpu_to_le16(MGMT_MASK_BEACON | in mwifiex_uap_parse_tail_ies() 389 gen_ie->ie_length = cpu_to_le16(ie_len); in mwifiex_uap_parse_tail_ies() 391 if (mwifiex_update_uap_custom_ie(priv, gen_ie, &gen_idx, NULL, NULL, in mwifiex_uap_parse_tail_ies() [all …]
|
D | sta_ioctl.c | 1458 struct mwifiex_ds_misc_gen_ie *gen_ie, in mwifiex_misc_ioctl_gen_ie() argument 1463 switch (gen_ie->type) { in mwifiex_misc_ioctl_gen_ie() 1466 gen_ie->len = priv->wpa_ie_len; in mwifiex_misc_ioctl_gen_ie() 1467 memcpy(gen_ie->ie_data, priv->wpa_ie, gen_ie->len); in mwifiex_misc_ioctl_gen_ie() 1469 mwifiex_set_gen_ie_helper(priv, gen_ie->ie_data, in mwifiex_misc_ioctl_gen_ie() 1470 (u16) gen_ie->len); in mwifiex_misc_ioctl_gen_ie() 1475 if (gen_ie->len > ARP_FILTER_MAX_BUF_SIZE) { in mwifiex_misc_ioctl_gen_ie() 1481 memcpy(adapter->arp_filter, gen_ie->ie_data, in mwifiex_misc_ioctl_gen_ie() 1482 gen_ie->len); in mwifiex_misc_ioctl_gen_ie() 1483 adapter->arp_filter_size = gen_ie->len; in mwifiex_misc_ioctl_gen_ie() [all …]
|