HomeFreeBSD

rsu: fix frame processing in the Rx path (similar to r292207).

Description

rsu: fix frame processing in the Rx path (similar to r292207).

  • Fill in Rx radiotap header correctly (for every packet in a chain;

not once per chain).

  • Fix rate / flags fields in Rx radiotap.
  • Add debug messages for discarded frames.
  • Pass received control (< sizeof(struct ieee80211_frame)) frames

to net80211 (if allowed by device filter; cannot happen yet).

Tested with Asus USB-N10.

Differential Revision: https://reviews.freebsd.org/D5723