freebsd-nq/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
ar2317.c
ar2413.c
ar2425.c
ar5111.c
ar5112.c
ar5212_ani.c
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
ar5212_keycache.c
ar5212_misc.c [ath_hal] Add get/set NAV functions 2021-04-18 22:52:31 -07:00
ar5212_phy.c
ar5212_power.c
ar5212_recv.c
ar5212_reset.c
ar5212_rfgain.c
ar5212_xmit.c
ar5212.h [ath_hal] Add get/set NAV functions 2021-04-18 22:52:31 -07:00
ar5212.ini
ar5212desc.h
ar5212phy.h
ar5212reg.h
ar5311reg.h
ar5413.c