Lines Matching defs:index
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.
45 /* Get unused IE index. This index will be used for setting new IE */
48 struct mwifiex_ie *ie, u16 *index)
63 *index = i;
71 *index = i;
84 u16 travel_len, index, mask;
101 index = le16_to_cpu(ie->ie_index);
104 if (index == MWIFIEX_AUTO_IDX_MASK) {
106 if (mwifiex_ie_get_autoidx(priv, mask, ie, &index))
108 if (index == MWIFIEX_AUTO_IDX_MASK)
111 tmp = (u8 *)&priv->mgmt_ie[index].ie_buffer;
113 priv->mgmt_ie[index].ie_length = ie->ie_length;
114 priv->mgmt_ie[index].ie_index = cpu_to_le16(index);
115 priv->mgmt_ie[index].mgmt_subtype_mask =
118 ie->ie_index = cpu_to_le16(index);
123 * Check if this index is being used on any
126 if (mwifiex_ie_index_used_by_other_intf(priv, index))
130 memcpy(&priv->mgmt_ie[index], ie,
136 priv->mgmt_ie[index].ie_length) +
197 /* save beacon ie index after auto-indexing */
204 /* save probe resp ie index after auto-indexing */
211 /* save assoc resp ie index after auto-indexing */