K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-11-03T03:07:41.763404Z K 7 svn:log V 873 Begin some dirty hacks to implement channel survey support and unify some of the MIB counter access. The reference HAL has a handful of routines which fondle the MIB registers. This commit modifies the ar5416AniGetListenTime() to use ar5416GetMibCycleCountsPct() which grabs the TX/RX/RC counters and returns the percentage of time the channel is busy. This way it doesn't also do its own register reading. The last values are cached in the ath_hal state, so they can be used by other parts of the code. This will (eventually) include channel survey support, which will keep a per-channel history of these values. Also - run this every ANI interval, whether it's enabled or not. The listen time routine should be modified to not use ANI state at all so it can be called if it's disabled without the fear of aniState being NULL, but that can come in a subsequent commit. END