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