• Home
  • Raw
  • Download

Lines Matching full:ie

2  * NXP Wireless LAN device driver: management IE handling- setting and
3 * deleting IE.
23 /* This function checks if current IE index is used by any on other interface.
24 * Return: -1: yes, current IE index is used by someone else.
25 * 0: no, current IE index is NOT used by other interface.
32 struct mwifiex_ie *ie; in mwifiex_ie_index_used_by_other_intf() local
36 ie = &adapter->priv[i]->mgmt_ie[idx]; in mwifiex_ie_index_used_by_other_intf()
37 if (ie->mgmt_subtype_mask && ie->ie_length) in mwifiex_ie_index_used_by_other_intf()
45 /* Get unused IE index. This index will be used for setting new IE */
48 struct mwifiex_ie *ie, u16 *index) in mwifiex_ie_get_autoidx() argument
54 len = le16_to_cpu(ie->ie_length); in mwifiex_ie_get_autoidx()
79 /* This function prepares IE data buffer for command to be sent to FW */
86 struct mwifiex_ie *ie; in mwifiex_update_autoindex_ies() local
95 ie = (struct mwifiex_ie *)(((u8 *)ie_list) + travel_len); in mwifiex_update_autoindex_ies()
96 tlv_len = le16_to_cpu(ie->ie_length); in mwifiex_update_autoindex_ies()
101 index = le16_to_cpu(ie->ie_index); in mwifiex_update_autoindex_ies()
102 mask = le16_to_cpu(ie->mgmt_subtype_mask); in mwifiex_update_autoindex_ies()
106 if (mwifiex_ie_get_autoidx(priv, mask, ie, &index)) in mwifiex_update_autoindex_ies()
112 memcpy(tmp, &ie->ie_buffer, le16_to_cpu(ie->ie_length)); in mwifiex_update_autoindex_ies()
113 priv->mgmt_ie[index].ie_length = ie->ie_length; in mwifiex_update_autoindex_ies()
118 ie->ie_index = cpu_to_le16(index); in mwifiex_update_autoindex_ies()
129 ie->ie_length = 0; in mwifiex_update_autoindex_ies()
130 memcpy(&priv->mgmt_ie[index], ie, in mwifiex_update_autoindex_ies()
150 * and prepare single structure for IE setting.
151 * This function also updates allocated IE indices from driver.
197 /* save beacon ie index after auto-indexing */ in mwifiex_update_uap_custom_ie()
204 /* save probe resp ie index after auto-indexing */ in mwifiex_update_uap_custom_ie()
211 /* save assoc resp ie index after auto-indexing */ in mwifiex_update_uap_custom_ie()
218 /* This function checks if the vendor specified IE is present in passed buffer
221 * If the vendor specified IE is present then memory is allocated for
222 * mwifiex_ie pointer and filled in with IE. Caller should take care of freeing
230 struct mwifiex_ie *ie = *ie_ptr; in mwifiex_update_vs_ie() local
240 ie = *ie_ptr; in mwifiex_update_vs_ie()
244 if (le16_to_cpu(ie->ie_length) + vs_ie->len + 2 > in mwifiex_update_vs_ie()
247 memcpy(ie->ie_buffer + le16_to_cpu(ie->ie_length), in mwifiex_update_vs_ie()
249 le16_unaligned_add_cpu(&ie->ie_length, vs_ie->len + 2); in mwifiex_update_vs_ie()
250 ie->mgmt_subtype_mask = cpu_to_le16(mask); in mwifiex_update_vs_ie()
251 ie->ie_index = cpu_to_le16(MWIFIEX_AUTO_IDX_MASK); in mwifiex_update_vs_ie()
254 *ie_ptr = ie; in mwifiex_update_vs_ie()
259 * from cfg80211_ap_settings->beacon and sets these IE to FW.
325 * these IE to FW.
371 /* Skip only Microsoft WMM IE */ in mwifiex_uap_parse_tail_ies()
391 /* parse only WPA vendor IE from tail, WMM IE is configured by in mwifiex_uap_parse_tail_ies()
431 * function and sets these IE to FW.
446 /* This function removes management IE set */