From 74ad0d13c4278506577442c7d516b6d9f49c7c8a Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 19 May 2009 17:53:53 +0000 Subject: add TBTT interrupt support; this was added in Griffin so consumers should check HAL_CAP_INTRMASK before using it NB: didn't test 11n parts yet so supported only for 5212-class parts --- sys/dev/ath/ath_hal/ar5212/ar5212_attach.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/ath/ath_hal/ar5212/ar5212_attach.c') diff --git a/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c b/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c index 63856a4..60e1521 100644 --- a/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c +++ b/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c @@ -847,6 +847,8 @@ ar5212FillCapabilityInfo(struct ath_hal *ah) | HAL_INT_BNR | HAL_INT_BMISC ; + if (AH_PRIVATE(ah)->ah_macVersion < AR_SREV_VERSION_GRIFFIN) + pCap->halIntrMask &= ~HAL_INT_TBTT; return AH_TRUE; #undef IS_COBRA -- cgit v1.1