Lines Matching refs:beacon_ie

155 			     struct mwifiex_ie *beacon_ie, u16 *beacon_idx,  in mwifiex_update_uap_custom_ie()  argument
171 if (beacon_ie) { in mwifiex_update_uap_custom_ie()
173 le16_to_cpu(beacon_ie->ie_length); in mwifiex_update_uap_custom_ie()
174 memcpy(pos, beacon_ie, len); in mwifiex_update_uap_custom_ie()
196 if (beacon_ie && *beacon_idx == MWIFIEX_AUTO_IDX_MASK) { in mwifiex_update_uap_custom_ie()
199 len = sizeof(*beacon_ie) - IEEE_MAX_IE_SIZE + in mwifiex_update_uap_custom_ie()
200 le16_to_cpu(beacon_ie->ie_length); in mwifiex_update_uap_custom_ie()
264 struct mwifiex_ie *beacon_ie = NULL, *pr_ie = NULL, *ar_ie = NULL; in mwifiex_set_mgmt_beacon_data_ies() local
271 &beacon_ie, MGMT_MASK_BEACON, in mwifiex_set_mgmt_beacon_data_ies()
275 &beacon_ie, MGMT_MASK_BEACON, in mwifiex_set_mgmt_beacon_data_ies()
304 if (beacon_ie || pr_ie || ar_ie) { in mwifiex_set_mgmt_beacon_data_ies()
305 ret = mwifiex_update_uap_custom_ie(priv, beacon_ie, in mwifiex_set_mgmt_beacon_data_ies()
317 kfree(beacon_ie); in mwifiex_set_mgmt_beacon_data_ies()
449 struct mwifiex_ie *beacon_ie = NULL, *pr_ie = NULL; in mwifiex_del_mgmt_ies() local
472 beacon_ie = kmalloc(sizeof(struct mwifiex_ie), GFP_KERNEL); in mwifiex_del_mgmt_ies()
473 if (!beacon_ie) { in mwifiex_del_mgmt_ies()
477 beacon_ie->ie_index = cpu_to_le16(priv->beacon_idx); in mwifiex_del_mgmt_ies()
478 beacon_ie->mgmt_subtype_mask = cpu_to_le16(MWIFIEX_DELETE_MASK); in mwifiex_del_mgmt_ies()
479 beacon_ie->ie_length = 0; in mwifiex_del_mgmt_ies()
502 if (beacon_ie || pr_ie || ar_ie) in mwifiex_del_mgmt_ies()
504 beacon_ie, &priv->beacon_idx, in mwifiex_del_mgmt_ies()
510 kfree(beacon_ie); in mwifiex_del_mgmt_ies()