Lines Matching defs:index
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.
33 /* Get unused IE index. This index will be used for setting new IE */
36 struct mwifiex_ie *ie, u16 *index)
51 *index = i;
59 *index = i;
72 u16 travel_len, index, mask;
89 index = le16_to_cpu(ie->ie_index);
92 if (index == MWIFIEX_AUTO_IDX_MASK) {
94 if (mwifiex_ie_get_autoidx(priv, mask, ie, &index))
96 if (index == MWIFIEX_AUTO_IDX_MASK)
99 tmp = (u8 *)&priv->mgmt_ie[index].ie_buffer;
101 priv->mgmt_ie[index].ie_length = ie->ie_length;
102 priv->mgmt_ie[index].ie_index = cpu_to_le16(index);
103 priv->mgmt_ie[index].mgmt_subtype_mask =
106 ie->ie_index = cpu_to_le16(index);
111 * Check if this index is being used on any
114 if (mwifiex_ie_index_used_by_other_intf(priv, index))
118 memcpy(&priv->mgmt_ie[index], ie,
124 priv->mgmt_ie[index].ie_length) +
185 /* save beacon ie index after auto-indexing */
192 /* save probe resp ie index after auto-indexing */
199 /* save assoc resp ie index after auto-indexing */