Lines Matching refs:iefrm

306     const struct ieee80211_frame *wh, const uint8_t *iefrm)  in verify_mesh_preq_len()  argument
310 if (iefrm[2] & IEEE80211_MESHPREQ_FLAGS_AE) { in verify_mesh_preq_len()
313 ndest = iefrm[IEEE80211_MESHPREQ_TCNT_OFFSET_AE]; in verify_mesh_preq_len()
317 ndest = iefrm[IEEE80211_MESHPREQ_TCNT_OFFSET]; in verify_mesh_preq_len()
321 if(iefrm[1] != (alloc_sz)) { in verify_mesh_preq_len()
325 iefrm[2] & IEEE80211_MESHPREQ_FLAGS_AE ? "1" : "0"); in verify_mesh_preq_len()
337 const struct ieee80211_frame *wh, const uint8_t *iefrm) in verify_mesh_prep_len() argument
340 if (iefrm[2] & IEEE80211_MESHPREP_FLAGS_AE) { in verify_mesh_prep_len()
341 if (iefrm[1] == IEEE80211_MESHPREP_BASE_SZ_AE) in verify_mesh_prep_len()
343 } else if (iefrm[1] == IEEE80211_MESHPREP_BASE_SZ) in verify_mesh_prep_len()
349 iefrm[2] & IEEE80211_MESHPREP_FLAGS_AE ? "1" : "0"); in verify_mesh_prep_len()
361 const struct ieee80211_frame *wh, const uint8_t *iefrm) in verify_mesh_perr_len() argument
364 const uint8_t *iefrm_t = iefrm; in verify_mesh_perr_len()
385 alloc_sz = (iefrm_t - iefrm) - 2; /* action + code */ in verify_mesh_perr_len()
386 if(alloc_sz != iefrm[1]) { in verify_mesh_perr_len()
405 const uint8_t *iefrm = frm + 2; /* action + code */ in hwmp_recv_action_meshpath() local
406 const uint8_t *iefrm_t = iefrm; /* temporary pointer */ in hwmp_recv_action_meshpath()
410 while (efrm - iefrm > 1) { in hwmp_recv_action_meshpath()
411 IEEE80211_VERIFY_LENGTH(efrm - iefrm, iefrm[1] + 2, return 0); in hwmp_recv_action_meshpath()
412 switch (*iefrm) { in hwmp_recv_action_meshpath()
417 iefrm_t = iefrm; in hwmp_recv_action_meshpath()
465 iefrm_t = iefrm; in hwmp_recv_action_meshpath()
505 iefrm_t = iefrm; in hwmp_recv_action_meshpath()
550 (const struct ieee80211_meshrann_ie *) iefrm; in hwmp_recv_action_meshpath()
568 iefrm += iefrm[1] + 2; in hwmp_recv_action_meshpath()