freebsd-skq/sys/dev/ath/ath_hal
Adrian Chadd bed90bf8ed [ath_hal] Add get/set NAV functions
The NAV (network allocation vector) register reflects the current MAC
tracking of NAV - when it will stay quiet before transmitting.

Other devices transmit their frame durations in their 802.11 PHY headers
and all devices that hear a frame - even if it's one in an encoding
they don't understand - will understand the low bitrate PHY header that
includes the frame duration.  So, they'll set NAV to this value so
they'll stay quiet until the transmit completes.

Anyway, sometimes the PHY NAV header is garbled and sometimes, notably
older broadcom devices, will fake a long NAV so they can get "cleaner" air
for local calibration.  When this happens, the hardware will stay quiet
for quite some time and this can lead to missed/stuck beacons, or
(for Very Large Values) a MAC hang.

This code just adds the ability to get/set the NAV; the driver will
need to take care of using it during transmit hangs and beacon misses
to see if it's due to a trash looking NAV.
2021-04-18 22:52:31 -07:00
..
ah_regdomain ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar5210 [ath_hal] Add get/set NAV functions 2021-04-18 22:52:31 -07:00
ar5211 [ath_hal] Add get/set NAV functions 2021-04-18 22:52:31 -07:00
ar5212 [ath_hal] Add get/set NAV functions 2021-04-18 22:52:31 -07:00
ar5312 ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar5416 ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar9001 ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar9002 ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar9003
ah_btcoex.h
ah_debug.h
ah_decode.h
ah_desc.h
ah_devid.h
ah_diagcodes.h
ah_eeprom_9287.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_eeprom_9287.h ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_eeprom_v1.c
ah_eeprom_v1.h
ah_eeprom_v3.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_eeprom_v3.h ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_eeprom_v4k.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_eeprom_v4k.h
ah_eeprom_v14.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_eeprom_v14.h
ah_eeprom.h
ah_internal.h ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_regdomain.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_regdomain.h
ah_soc.h ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah.h [ath_hal] Add get/set NAV functions 2021-04-18 22:52:31 -07:00