am c158bf7b: Tune BT EDR parameters and set SG_PROTECTIVE mode
Merge commit 'c158bf7bad39d39f8119d626611ac7a9a94dd238' into eclair-plus-aosp
* commit 'c158bf7bad39d39f8119d626611ac7a9a94dd238':
Tune BT EDR parameters and set SG_PROTECTIVE mode
diff --git a/wilink_6_1/config/tiwlan.ini b/wilink_6_1/config/tiwlan.ini
index 5d0b095..e73ca79 100644
--- a/wilink_6_1/config/tiwlan.ini
+++ b/wilink_6_1/config/tiwlan.ini
@@ -117,12 +117,22 @@
ReportSeverityTable = 00001101
+# beacon receive time
BeaconReceiveTime = 50
#
+# BT EDR configuration parameters
+#
+coexWlanActiveBtAclMasterMinEDR = 20
+coexWlanActiveBtAclMasterMaxEDR = 50
+coexWlanActiveMaxBtAclMasterEDR = 10
+coexWlanActiveBtAclSlaveMinEDR = 20
+coexWlanActiveBtAclSlaveMaxEDR = 50
+coexWlanActiveMaxBtAclSlaveEDR = 10
+
+#
# QOS UPSD
#
-
desiredPsMode = 1 # Global Power save delivery protocol (1 - UPSD, 0 - Legacy)
QOS_wmePsModeBE = 1 # Power save delivery protocol for BE AC (1 - UPSD, 0 - Legacy)
QOS_wmePsModeBK = 1 # Power save delivery protocol for BK AC (1 - UPSD, 0 - Legacy)
@@ -184,8 +194,8 @@
SnrBeaconAverageWeight = 20
SnrPacketAverageWeight = 10
-HT_Enable=1 #0=diable 802.11n support / 1=Enable
-IbssProtectionType = 1 # 0 = CTS protaction disable ; 1 = Standard CTS protaction
+HT_Enable=0 # 0=disable 802.11n support / 1=Enable
+IbssProtectionType = 1 # 0 = CTS protection disable ; 1 = Standard CTS protection
BurstModeEnable = 0 # 0 - Disabled 1 - Enabled
RoamScanEnable = 0 # 1- roaming and immidate scan enable by deafult 0- allowing roaming & scannig due to CLI confguration
RoamingOperationalMode = 1 # 0=Manual , 1=Auto
diff --git a/wilink_6_1/wpa_supplicant_lib/driver_ti.c b/wilink_6_1/wpa_supplicant_lib/driver_ti.c
index 3d6a71a..ba3f428 100644
--- a/wilink_6_1/wpa_supplicant_lib/driver_ti.c
+++ b/wilink_6_1/wpa_supplicant_lib/driver_ti.c
@@ -401,9 +401,11 @@
switch(mode_set)
{
case BLUETOOTH_COEXISTENCE_MODE_ENABLED:
- case BLUETOOTH_COEXISTENCE_MODE_SENSE:
mode_set = SG_OPPORTUNISTIC;
break;
+ case BLUETOOTH_COEXISTENCE_MODE_SENSE:
+ mode_set = SG_PROTECTIVE;
+ break;
case BLUETOOTH_COEXISTENCE_MODE_DISABLED:
mode_set = SG_DISABLE;
break;