Re: [RFA] 0-length PSDU reporting

Guy Harris <guy-FrUbXkNCsVf2fBVCVOL8/[email protected]> Wed, 8 Aug 2018 18:53:29 -0700
Newsgroups org.netbsd.radiotap
Message-ID <[email protected]>
On Jul 9, 2018, at 1:30 AM, Johannes Berg <[email protected]> wrote:

> The presence of this field indicates that there was no PSDU in or
> captured for this PPDU, only the PHY data is valid and the radiotap
> header is not followed by an 802.11 header.

Would the lack of any packet data, according to the appropriate packet length field (length field in the pcap per-packet header, Original Packet Length field in pcapng packet blocks, etc.), i.e. the packet length and the radiotap header length are equal, be sufficient to indicate that?

If so, should this be renamed to "0-length PSDU type"; if absent, the packet is a 0-length PSDU of unknown type?

Or could some 802.11 chip, when running in monitor mode, provide a packet with radio information and no 802.11 header or data on certain radio-layer error conditions?  If so, that means that an explicit indication is required.