Преглед изворни кода

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>
Rajkumar Manoharan пре 12 година
родитељ
комит
7bf7a71e0f
2 измењених фајлова са 3 додато и 0 уклоњено
  1. 1 0
      drivers/net/wireless/ath/ath9k/ar9003_mci.h
  2. 2 0
      drivers/net/wireless/ath/ath9k/mci.h

+ 1 - 0
drivers/net/wireless/ath/ath9k/ar9003_mci.h

@@ -126,6 +126,7 @@ enum ath_mci_gpm_coex_profile_type {
 	MCI_GPM_COEX_PROFILE_HID,
 	MCI_GPM_COEX_PROFILE_HID,
 	MCI_GPM_COEX_PROFILE_BNEP,
 	MCI_GPM_COEX_PROFILE_BNEP,
 	MCI_GPM_COEX_PROFILE_VOICE,
 	MCI_GPM_COEX_PROFILE_VOICE,
+	MCI_GPM_COEX_PROFILE_A2DPVO,
 	MCI_GPM_COEX_PROFILE_MAX
 	MCI_GPM_COEX_PROFILE_MAX
 };
 };
 
 

+ 2 - 0
drivers/net/wireless/ath/ath9k/mci.h

@@ -70,6 +70,7 @@
 			_mci->num_pan++;	 \
 			_mci->num_pan++;	 \
 			break;			 \
 			break;			 \
 		case MCI_GPM_COEX_PROFILE_VOICE: \
 		case MCI_GPM_COEX_PROFILE_VOICE: \
+		case MCI_GPM_COEX_PROFILE_A2DPVO:\
 			_mci->num_sco++;	 \
 			_mci->num_sco++;	 \
 			break;			 \
 			break;			 \
 		default:			 \
 		default:			 \
@@ -94,6 +95,7 @@
 			_mci->num_pan--;	 \
 			_mci->num_pan--;	 \
 			break;			 \
 			break;			 \
 		case MCI_GPM_COEX_PROFILE_VOICE: \
 		case MCI_GPM_COEX_PROFILE_VOICE: \
+		case MCI_GPM_COEX_PROFILE_A2DPVO:\
 			_mci->num_sco--;	 \
 			_mci->num_sco--;	 \
 			break;			 \
 			break;			 \
 		default:			 \
 		default:			 \