aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>2012-10-15 05:59:55 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-10-29 15:19:30 -0400
commit7bf7a71e0f7ad69358d01f2a7ba7faa9428db90b (patch)
treefe6895e1da26946ff6dda2e53e9f1baf088fd2c6
parentf9401b1e74f33d40d97364be5244b715e8cee6ed (diff)
ath9k: Add new BT profile info A2DP_Voice
When the BT connection is initiated by headset, it's possible that headset requests to make one A2DP and one Voice connection over the same link. BT firmware will send a new profile A2DP_Voice in this case. So WLAN has to take care of this new profile for tuning BTCOEX parameters. Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_mci.h1
-rw-r--r--drivers/net/wireless/ath/ath9k/mci.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mci.h b/drivers/net/wireless/ath/ath9k/ar9003_mci.h
index 3e51f54b0122..66d7ab9f920d 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mci.h
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mci.h
@@ -126,6 +126,7 @@ enum ath_mci_gpm_coex_profile_type {
126 MCI_GPM_COEX_PROFILE_HID, 126 MCI_GPM_COEX_PROFILE_HID,
127 MCI_GPM_COEX_PROFILE_BNEP, 127 MCI_GPM_COEX_PROFILE_BNEP,
128 MCI_GPM_COEX_PROFILE_VOICE, 128 MCI_GPM_COEX_PROFILE_VOICE,
129 MCI_GPM_COEX_PROFILE_A2DPVO,
129 MCI_GPM_COEX_PROFILE_MAX 130 MCI_GPM_COEX_PROFILE_MAX
130}; 131};
131 132
diff --git a/drivers/net/wireless/ath/ath9k/mci.h b/drivers/net/wireless/ath/ath9k/mci.h
index e5f170a4d662..06958837620c 100644
--- a/drivers/net/wireless/ath/ath9k/mci.h
+++ b/drivers/net/wireless/ath/ath9k/mci.h
@@ -70,6 +70,7 @@
70 _mci->num_pan++; \ 70 _mci->num_pan++; \
71 break; \ 71 break; \
72 case MCI_GPM_COEX_PROFILE_VOICE: \ 72 case MCI_GPM_COEX_PROFILE_VOICE: \
73 case MCI_GPM_COEX_PROFILE_A2DPVO:\
73 _mci->num_sco++; \ 74 _mci->num_sco++; \
74 break; \ 75 break; \
75 default: \ 76 default: \
@@ -94,6 +95,7 @@
94 _mci->num_pan--; \ 95 _mci->num_pan--; \
95 break; \ 96 break; \
96 case MCI_GPM_COEX_PROFILE_VOICE: \ 97 case MCI_GPM_COEX_PROFILE_VOICE: \
98 case MCI_GPM_COEX_PROFILE_A2DPVO:\
97 _mci->num_sco--; \ 99 _mci->num_sco--; \
98 break; \ 100 break; \
99 default: \ 101 default: \