Lines Matching full:ie

3  * NXP Wireless LAN device driver: management IE handling- setting and
4 * deleting IE.
11 /* This function checks if current IE index is used by any on other interface.
12 * Return: -1: yes, current IE index is used by someone else.
13 * 0: no, current IE index is NOT used by other interface.
20 struct mwifiex_ie *ie; in mwifiex_ie_index_used_by_other_intf() local
24 ie = &adapter->priv[i]->mgmt_ie[idx]; in mwifiex_ie_index_used_by_other_intf()
25 if (ie->mgmt_subtype_mask && ie->ie_length) in mwifiex_ie_index_used_by_other_intf()
33 /* Get unused IE index. This index will be used for setting new IE */
36 struct mwifiex_ie *ie, u16 *index) in mwifiex_ie_get_autoidx() argument
42 len = le16_to_cpu(ie->ie_length); in mwifiex_ie_get_autoidx()
67 /* This function prepares IE data buffer for command to be sent to FW */
74 struct mwifiex_ie *ie; in mwifiex_update_autoindex_ies() local
83 ie = (struct mwifiex_ie *)(((u8 *)ie_list) + travel_len); in mwifiex_update_autoindex_ies()
84 tlv_len = le16_to_cpu(ie->ie_length); in mwifiex_update_autoindex_ies()
89 index = le16_to_cpu(ie->ie_index); in mwifiex_update_autoindex_ies()
90 mask = le16_to_cpu(ie->mgmt_subtype_mask); in mwifiex_update_autoindex_ies()
94 if (mwifiex_ie_get_autoidx(priv, mask, ie, &index)) in mwifiex_update_autoindex_ies()
100 memcpy(tmp, &ie->ie_buffer, le16_to_cpu(ie->ie_length)); in mwifiex_update_autoindex_ies()
101 priv->mgmt_ie[index].ie_length = ie->ie_length; in mwifiex_update_autoindex_ies()
106 ie->ie_index = cpu_to_le16(index); in mwifiex_update_autoindex_ies()
117 ie->ie_length = 0; in mwifiex_update_autoindex_ies()
118 memcpy(&priv->mgmt_ie[index], ie, in mwifiex_update_autoindex_ies()
138 * and prepare single structure for IE setting.
139 * This function also updates allocated IE indices from driver.
185 /* save beacon ie index after auto-indexing */ in mwifiex_update_uap_custom_ie()
192 /* save probe resp ie index after auto-indexing */ in mwifiex_update_uap_custom_ie()
199 /* save assoc resp ie index after auto-indexing */ in mwifiex_update_uap_custom_ie()
206 /* This function checks if the vendor specified IE is present in passed buffer
209 * If the vendor specified IE is present then memory is allocated for
210 * mwifiex_ie pointer and filled in with IE. Caller should take care of freeing
218 struct mwifiex_ie *ie = *ie_ptr; in mwifiex_update_vs_ie() local
228 ie = *ie_ptr; in mwifiex_update_vs_ie()
232 if (le16_to_cpu(ie->ie_length) + vs_ie->len + 2 > in mwifiex_update_vs_ie()
235 memcpy(ie->ie_buffer + le16_to_cpu(ie->ie_length), in mwifiex_update_vs_ie()
237 le16_unaligned_add_cpu(&ie->ie_length, vs_ie->len + 2); in mwifiex_update_vs_ie()
238 ie->mgmt_subtype_mask = cpu_to_le16(mask); in mwifiex_update_vs_ie()
239 ie->ie_index = cpu_to_le16(MWIFIEX_AUTO_IDX_MASK); in mwifiex_update_vs_ie()
242 *ie_ptr = ie; in mwifiex_update_vs_ie()
247 * from cfg80211_ap_settings->beacon and sets these IE to FW.
313 * these IE to FW.
359 /* Skip only Microsoft WMM IE */ in mwifiex_uap_parse_tail_ies()
379 /* parse only WPA vendor IE from tail, WMM IE is configured by in mwifiex_uap_parse_tail_ies()
419 * function and sets these IE to FW.
434 /* This function removes management IE set */