Lines Matching refs:pr_ie
155 struct mwifiex_ie *pr_ie, u16 *probe_idx, in mwifiex_update_uap_custom_ie() argument
177 if (pr_ie) { in mwifiex_update_uap_custom_ie()
179 le16_to_cpu(pr_ie->ie_length); in mwifiex_update_uap_custom_ie()
180 memcpy(pos, pr_ie, len); in mwifiex_update_uap_custom_ie()
202 if (pr_ie && le16_to_cpu(pr_ie->ie_index) == MWIFIEX_AUTO_IDX_MASK) { in mwifiex_update_uap_custom_ie()
205 len = sizeof(*pr_ie) - IEEE_MAX_IE_SIZE + in mwifiex_update_uap_custom_ie()
206 le16_to_cpu(pr_ie->ie_length); in mwifiex_update_uap_custom_ie()
260 struct mwifiex_ie *beacon_ie = NULL, *pr_ie = NULL, *ar_ie = NULL; in mwifiex_set_mgmt_beacon_data_ies() local
277 data->proberesp_ies_len, &pr_ie, in mwifiex_set_mgmt_beacon_data_ies()
281 data->proberesp_ies_len, &pr_ie, in mwifiex_set_mgmt_beacon_data_ies()
300 if (beacon_ie || pr_ie || ar_ie) { in mwifiex_set_mgmt_beacon_data_ies()
302 &beacon_idx, pr_ie, in mwifiex_set_mgmt_beacon_data_ies()
314 kfree(pr_ie); in mwifiex_set_mgmt_beacon_data_ies()
402 struct mwifiex_ie *beacon_ie = NULL, *pr_ie = NULL; in mwifiex_del_mgmt_ies() local
435 pr_ie = kmalloc(sizeof(struct mwifiex_ie), GFP_KERNEL); in mwifiex_del_mgmt_ies()
436 if (!pr_ie) { in mwifiex_del_mgmt_ies()
440 pr_ie->ie_index = cpu_to_le16(priv->proberesp_idx); in mwifiex_del_mgmt_ies()
441 pr_ie->mgmt_subtype_mask = cpu_to_le16(MWIFIEX_DELETE_MASK); in mwifiex_del_mgmt_ies()
442 pr_ie->ie_length = 0; in mwifiex_del_mgmt_ies()
455 if (beacon_ie || pr_ie || ar_ie) in mwifiex_del_mgmt_ies()
458 pr_ie, &priv->proberesp_idx, in mwifiex_del_mgmt_ies()
463 kfree(pr_ie); in mwifiex_del_mgmt_ies()