FreeBSD/src a8083b9 (r346470)sys/contrib/dev/ath/ath_hal/ar9300 ar9300_freebsd.c ar9300_stub_funcs.h, sys/dev/ath if_athvar.h if_ath_rx.c

[ath] [ath_hal] [ath_hal_9300] Extend the start PCU receive to handle resetting ANI.

One of the fun issues with scanning has been how the existing
ANI values were programmed into the hardware when channels were
changed.  If you're on a really crappy channel and ANI has made
you deaf then when you scan you continue to be deaf on all channels.

This code passes in a flag to startpcureceive which in AR5416 and later
is also used to enable ANI.  This allows it to know if it's a normal
operation or a scan operation.

This fixes my situation at home where a temporary spot of a device
going deaf due to interference starts scanning and .. can't hear
anything until I restart.

Now, this isn't the full fix - ideally:

(a) all the ANI config and per-channel information would be migrated
     to the shared HAL stuff and enabled for all of the NICs;
(b) when a station reassociates and some other error conditions
    (like missed beacons, NF calibration failures, etc) a knob
    to reset ANI parameters would likely help recovery.

But hey, I'm committing bits of code again! woo!

Tested:

* AR9344 (2G), STA operation
DeltaFile
+1-9sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c
+3-3sys/dev/ath/ath_hal/ar5212/ar5212_recv.c
+3-3sys/dev/ath/ath_hal/ar5416/ar5416_recv.c
+2-2sys/dev/ath/if_athvar.h
+2-2sys/dev/ath/if_ath_rx.c
+1-1sys/dev/ath/ath_hal/ar5210/ar5210_recv.c
+1-1sys/dev/ath/ath_hal/ar5211/ar5211.h
+1-1sys/dev/ath/ath_hal/ar5211/ar5211_recv.c
+1-1sys/dev/ath/ath_hal/ar5212/ar5212.h
+1-1sys/dev/ath/ath_hal/ah.h
+1-1sys/dev/ath/ath_hal/ar5416/ar5416.h
+1-1sys/contrib/dev/ath/ath_hal/ar9300/ar9300_stub_funcs.h
+1-1sys/contrib/dev/ath/ath_hal/ar9300/ar9300_stub_funcs.c
+1-1sys/dev/ath/if_ath_rx_edma.c
+1-1sys/dev/ath/ath_hal/ar5210/ar5210.h
+21-2915 files

UnifiedSplitRaw