FR 56685: BT Power Back off during 5G Coex
- Change default pout values to 0x80 for each tech
in conf file.
Change-Id: I859bb1a52330a13774d8c69363b4afbd90e3280d
diff --git a/system_bt_ext/conf/bt_profile.conf b/system_bt_ext/conf/bt_profile.conf
index 8082534..d3fd677 100644
--- a/system_bt_ext/conf/bt_profile.conf
+++ b/system_bt_ext/conf/bt_profile.conf
@@ -7,7 +7,7 @@
# 1.AVRCP
# 2.PBAP
# 3.MAP
-# 4.MAX_PWR
+# 4.MAX_POW
#
# ******************************* Start of config Database *******************
#AVRCP profile and its configurable features
@@ -32,14 +32,14 @@
map_email_support = true
map_0104_support = true
-#Configurable BT MAX_PWR based on BT Technology
+#Configurable BT MAX_POW based on BT Technology
#Host can specify different max. power for different Technology/packet type
#Currently BR,EDR and BLE packet type are supported
-#Power value 0XFF is meant to disable the max power restriction for particular technology
-# BR_max_pow_support default value 0xFF
-# EDR_max_pow_support default value 0xFF
-# BLE_max_pow_support default value 0xFF
+#Power value 0x80 is meant to disable the max power restriction for particular technology
+# BR_max_pow_support default value 0x80
+# EDR_max_pow_support default value 0x80
+# BLE_max_pow_support default value 0x80
[MAX_POW]
-#BR_max_pow_support = 0xFF
-#EDR_max_pow_support = 0xFF
+#BR_max_pow_support = 0x80
+#EDR_max_pow_support = 0x80
BLE_max_pow_support = 0x18
diff --git a/system_bt_ext/device/src/profile_config.cc b/system_bt_ext/device/src/profile_config.cc
index a206fc8..39c95d7 100644
--- a/system_bt_ext/device/src/profile_config.cc
+++ b/system_bt_ext/device/src/profile_config.cc
@@ -283,7 +283,7 @@
max_pow_feature_t max_radiated_power_fetch(const profile_t profile, profile_info_t feature_name)
{
- static max_pow_feature_t Tech_max_power = {0xFF, 0xFF, 0xFF, false, false, false};
+ static max_pow_feature_t Tech_max_power = {0x80, 0x80, 0x80, false, false, false};
assert(profile);
LOG_WARN(LOG_TAG, "max_radiated_power_fetch:profile %d", profile);