diff options
author | adrian <adrian@FreeBSD.org> | 2015-01-17 06:43:30 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2015-01-17 06:43:30 +0000 |
commit | 97232fbb83230fd5cdf8eaae7649a84e2756c1cc (patch) | |
tree | b45166218ab3c888be194ca3ad9a0577561e195d /sys/contrib/dev | |
parent | 503404cbf71618dfe1fe8b2fa92654965f826c96 (diff) | |
download | FreeBSD-src-97232fbb83230fd5cdf8eaae7649a84e2756c1cc.zip FreeBSD-src-97232fbb83230fd5cdf8eaae7649a84e2756c1cc.tar.gz |
Override the bt enable/disable methods for AR9462 (jupiter) and
AR9565 (Aphrodite.) These need to use the MCI routines, not
the legacy 2-wire / 3-wire bluetooth coexistence methods.
Tested:
* AR9462 (WB222); STA mode
Diffstat (limited to 'sys/contrib/dev')
-rw-r--r-- | sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c index 3e12033..3846dcb 100644 --- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c +++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c @@ -250,6 +250,11 @@ ar9300_attach_freebsd_ops(struct ath_hal *ah) ah->ah_btCoexEnable = ar9300_bt_coex_enable; /* MCI bluetooth functions */ + if (AR_SREV_JUPITER(ah) || AR_SREV_APHRODITE(ah)) { + ah->ah_btCoexSetWeights = ar9300_mci_bt_coex_set_weights; + ah->ah_btCoexDisable = ar9300_mci_bt_coex_disable; + ah->ah_btCoexEnable = ar9300_mci_bt_coex_enable; + } ah->ah_btMciSetup = ar9300_mci_setup; ah->ah_btMciSendMessage = ar9300_mci_send_message; ah->ah_btMciGetInterrupt = ar9300_mci_get_interrupt; |