From 8cfcd74fa1ae85b48a9fde3b7c7ea19121a69915 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sat, 4 Jun 2016 07:29:10 +0000 Subject: [PATCH] [ath_hal] add STOMP_AUDIO for AR9462/QCA9565. Obtained from: Linux ath9k --- sys/contrib/dev/ath/ath_hal/ar9300/ar9300_mci.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_mci.c b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_mci.c index 502746e55bec..1f5a500a5477 100644 --- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_mci.c +++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_mci.c @@ -1890,6 +1890,12 @@ void ar9300_mci_bt_coex_set_weights(struct ath_hal *ah, u_int32_t stomp_type) ar9300_gpio_set(ah, 5, 0); } break; + case HAL_BT_COEX_STOMP_AUDIO: + ahp->ah_bt_coex_wlan_weight[0] = 0xffffff01; + ahp->ah_bt_coex_wlan_weight[1] = 0xffffffff; + ahp->ah_bt_coex_wlan_weight[2] = 0xffffff01; + ahp->ah_bt_coex_wlan_weight[3] = 0xffffffff; + break; default: /* There is a forceWeight from registry */ ahp->ah_bt_coex_wlan_weight[0] = stomp_type;