Lines Matching refs:frame
265 static int check_fcs(const u8 *frame, size_t frame_len, const u8 *fcs) in check_fcs() argument
267 if (WPA_GET_LE32(fcs) != ieee80211_crc32(frame, frame_len)) in check_fcs()
278 const u8 *frame, *fcspos; in wlantest_process() local
325 frame = data + iter._max_length; in wlantest_process()
330 fcspos = frame + frame_len; in wlantest_process()
331 if (check_fcs(frame, frame_len, fcspos) < 0) { in wlantest_process()
342 rx_frame(wt, frame, frame_len); in wlantest_process()
346 tx_status(wt, frame, frame_len, !failed); in wlantest_process()
348 rx_frame(wt, frame, frame_len); in wlantest_process()
356 const u8 *frame, *fcspos; in wlantest_process_prism() local
372 frame = data + hdrlen; in wlantest_process_prism()
378 fcspos = frame + frame_len; in wlantest_process_prism()
379 if (check_fcs(frame, frame_len, fcspos) < 0) { in wlantest_process_prism()
387 rx_frame(wt, frame, frame_len); in wlantest_process_prism()