Lines Matching refs:beacon_ie

143 			     struct mwifiex_ie *beacon_ie, u16 *beacon_idx,  in mwifiex_update_uap_custom_ie()  argument
159 if (beacon_ie) { in mwifiex_update_uap_custom_ie()
161 le16_to_cpu(beacon_ie->ie_length); in mwifiex_update_uap_custom_ie()
162 memcpy(pos, beacon_ie, len); in mwifiex_update_uap_custom_ie()
184 if (beacon_ie && *beacon_idx == MWIFIEX_AUTO_IDX_MASK) { in mwifiex_update_uap_custom_ie()
187 len = sizeof(*beacon_ie) - IEEE_MAX_IE_SIZE + in mwifiex_update_uap_custom_ie()
188 le16_to_cpu(beacon_ie->ie_length); in mwifiex_update_uap_custom_ie()
252 struct mwifiex_ie *beacon_ie = NULL, *pr_ie = NULL, *ar_ie = NULL; in mwifiex_set_mgmt_beacon_data_ies() local
259 &beacon_ie, MGMT_MASK_BEACON, in mwifiex_set_mgmt_beacon_data_ies()
263 &beacon_ie, MGMT_MASK_BEACON, in mwifiex_set_mgmt_beacon_data_ies()
292 if (beacon_ie || pr_ie || ar_ie) { in mwifiex_set_mgmt_beacon_data_ies()
293 ret = mwifiex_update_uap_custom_ie(priv, beacon_ie, in mwifiex_set_mgmt_beacon_data_ies()
305 kfree(beacon_ie); in mwifiex_set_mgmt_beacon_data_ies()
437 struct mwifiex_ie *beacon_ie = NULL, *pr_ie = NULL; in mwifiex_del_mgmt_ies() local
460 beacon_ie = kmalloc(sizeof(struct mwifiex_ie), GFP_KERNEL); in mwifiex_del_mgmt_ies()
461 if (!beacon_ie) { in mwifiex_del_mgmt_ies()
465 beacon_ie->ie_index = cpu_to_le16(priv->beacon_idx); in mwifiex_del_mgmt_ies()
466 beacon_ie->mgmt_subtype_mask = cpu_to_le16(MWIFIEX_DELETE_MASK); in mwifiex_del_mgmt_ies()
467 beacon_ie->ie_length = 0; in mwifiex_del_mgmt_ies()
490 if (beacon_ie || pr_ie || ar_ie) in mwifiex_del_mgmt_ies()
492 beacon_ie, &priv->beacon_idx, in mwifiex_del_mgmt_ies()
498 kfree(beacon_ie); in mwifiex_del_mgmt_ies()