Home | History | Annotate | Download | only in ap

Lines Matching refs:pos

57 	u8 *pos;
105 pos = (u8 *)mgmt->u.action.u.wnm_sleep_resp.variable;
111 gtk_elem_len = wpa_wnmsleep_gtk_subelem(sta->wpa_sm, pos);
112 pos += gtk_elem_len;
116 res = wpa_wnmsleep_igtk_subelem(sta->wpa_sm, pos);
123 pos += igtk_elem_len;
132 os_memcpy(pos, &wnmsleep_ie, wnmsleep_ie_len);
134 pos += wnmsleep_ie_len;
136 os_memcpy(pos, wnmtfs_ie, wnmtfs_ie_len);
191 const u8 *pos = frm;
199 dialog_token = *pos++;
200 while (pos + 1 < frm + len) {
201 u8 ie_len = pos[1];
202 if (pos + 2 + ie_len > frm + len)
204 if (*pos == WLAN_EID_WNMSLEEP)
205 wnmsleep_ie = (struct wnm_sleep_element *) pos;
206 else if (*pos == WLAN_EID_TFS_REQ) {
208 tfsreq_ie_start = (u8 *) pos;
209 tfsreq_ie_end = (u8 *) pos;
212 *pos);
213 pos += ie_len + 2;