- Add new macros to check the version, version+type and version+type+subtype of a frame.
- Use these for existing frame type checks
- Add new frame type checks
- Convert the use of these flag checks to use the macros, not direct header poking.
Notably I'm calling out things like QOS any versus QOS data, the
kind of NULL frames, etc. Eg, in the TKIP code it's checking whether
a frame is ANY kind of QOS frame, not just QOS data.
These macros should hopefully make the header checks clearer and less
error prone. They're also useful in drivers that are doing their own
header parsing.
Locally:
- ath(4) - AP, STA, AP+STA modes
- local ath10k/athp - AP, STA modes