freebsd-skq/sys/dev/ath/ath_hal/ar5212
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
..
ar2316.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar2317.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar2413.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar2425.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar5111.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar5112.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar5212_ani.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar5212_attach.c [ath_hal] Add get/set NAV functions 2021-04-18 22:52:31 -07:00
ar5212_beacon.c
ar5212_eeprom.c
ar5212_gpio.c
ar5212_interrupts.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar5212_keycache.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar5212_misc.c [ath_hal] Add get/set NAV functions 2021-04-18 22:52:31 -07:00
ar5212_phy.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar5212_power.c
ar5212_recv.c
ar5212_reset.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar5212_rfgain.c
ar5212_xmit.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar5212.h [ath_hal] Add get/set NAV functions 2021-04-18 22:52:31 -07:00
ar5212.ini
ar5212desc.h
ar5212phy.h ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ar5212reg.h
ar5311reg.h
ar5413.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00