Lines Matching refs:ie
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()
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()
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()
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()