]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
These timer registers are all 1uS in resolution in AR5416
authoradrian <adrian@FreeBSD.org>
Tue, 23 Aug 2011 13:36:09 +0000 (13:36 +0000)
committeradrian <adrian@FreeBSD.org>
Tue, 23 Aug 2011 13:36:09 +0000 (13:36 +0000)
commitc36c4349d1772250aeeed3787263ae376a0d52f9
treedcc0796eee2ebf9b9e9a65760bc9c8102effc822
parent96322898dac58c30c8a2341b79d3f5667fc7c858
These timer registers are all 1uS in resolution in AR5416
or later. Previous hardware had some as TU, some as 1/8th
TU.

* Modify AR_NEXT_DBA and AR_NEXT_SWBA to use a new macro,
  ONE_EIGHTH_TU_TO_USEC(), which converts the 1/8th TU
  fields to USEC. This is just cosmetic and matches the
  Atheros reference driver.

* Fix AR_NEXT_TBTT, which is USEC, not TU.

Submitted by: paradyse@gmail.com
Approved by: re (kib, blanket)
sys/dev/ath/ath_hal/ar5416/ar5416_beacon.c