HomeFreeBSD

[ath] validate ts_antenna before updating tx statistics

Description

[ath] validate ts_antenna before updating tx statistics

Right now ts_antenna is either 0 or 1 in each supported HAL so
this is purely a sanity check.

Later on if I ever get magical free time I may add some extensions
for the NICs that can have slightly more complicated antenna switches
for transmit and I'd like this to not bust memory.

Details

Provenance
adrianAuthored on Mar 13 2021, 1:29 AM
Parents
rG07564e176201: arm64: Add support for the RK805/RK808 RTC
Branches
Unknown
Tags
Unknown