HomeFreeBSD

[ath] replace the hard-coded magic values in if_athioctl.h with constant defines

Description

[ath] replace the hard-coded magic values in if_athioctl.h with constant defines

Replace some hard-coded magic values in the ioctl stats struct with
#defines. I'm going to follow up with some more sanity checking in
the receive path that also use these values so we don't do bad
things if the hardware is (more) confused.

Details

Provenance
adrianAuthored on
Parents
rS368448: The list of ports in configuration path shall be protected by locks,
Branches
Unknown
Tags
Unknown