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()
261 struct mwifiex_ie *beacon_ie = NULL, *pr_ie = NULL, *ar_ie = NULL; in mwifiex_set_mgmt_beacon_data_ies() local
268 &beacon_ie, MGMT_MASK_BEACON, in mwifiex_set_mgmt_beacon_data_ies()
272 &beacon_ie, MGMT_MASK_BEACON, in mwifiex_set_mgmt_beacon_data_ies()
301 if (beacon_ie || pr_ie || ar_ie) { in mwifiex_set_mgmt_beacon_data_ies()
302 ret = mwifiex_update_uap_custom_ie(priv, beacon_ie, in mwifiex_set_mgmt_beacon_data_ies()
314 kfree(beacon_ie); in mwifiex_set_mgmt_beacon_data_ies()
430 struct mwifiex_ie *beacon_ie = NULL, *pr_ie = NULL; in mwifiex_del_mgmt_ies() local
453 beacon_ie = kmalloc(sizeof(struct mwifiex_ie), GFP_KERNEL); in mwifiex_del_mgmt_ies()
454 if (!beacon_ie) { in mwifiex_del_mgmt_ies()
458 beacon_ie->ie_index = cpu_to_le16(priv->beacon_idx); in mwifiex_del_mgmt_ies()
459 beacon_ie->mgmt_subtype_mask = cpu_to_le16(MWIFIEX_DELETE_MASK); in mwifiex_del_mgmt_ies()
460 beacon_ie->ie_length = 0; in mwifiex_del_mgmt_ies()
483 if (beacon_ie || pr_ie || ar_ie) in mwifiex_del_mgmt_ies()
485 beacon_ie, &priv->beacon_idx, in mwifiex_del_mgmt_ies()
491 kfree(beacon_ie); in mwifiex_del_mgmt_ies()