HID: Reduce the initial sniff latency for specific IOT devices
Limit sniff mode for HID Pro Controller to 11.25ms (2/2)
Bug: 133410149
Test: manual
CRs-Fixed: 2480816
Change-Id: Iec5625ec678a0e980bc794c55cf22596326bb3c4
(cherry picked from commit I4bffb759323bedd36e754cf758ac1d61cffc886e)
diff --git a/system_bt_ext/conf/interop_database.conf b/system_bt_ext/conf/interop_database.conf
index cf6348f..98ca9f8 100644
--- a/system_bt_ext/conf/interop_database.conf
+++ b/system_bt_ext/conf/interop_database.conf
@@ -471,3 +471,8 @@
#Leviathan Mini :: 10:b7:f6:03:38:b0
[INTEROP_DISABLE_SNIFF_DURING_CALL]
10:b7:f6 = Address_Based
+
+#Nintendo Switch Pro Controller - does not set sniff interval dynamically.
+#Requires custom HID report command to change mode.
+[INTEROP_HID_HOST_LIMIT_SNIFF_INTERVAL]
+98:B6:E9 = Address_Based
diff --git a/system_bt_ext/device/src/interop.cc b/system_bt_ext/device/src/interop.cc
index 2381669..22cdab3 100644
--- a/system_bt_ext/device/src/interop.cc
+++ b/system_bt_ext/device/src/interop.cc
@@ -255,6 +255,7 @@
CASE_RETURN_STR(INTEROP_ADV_PBAP_VER_1_2)
CASE_RETURN_STR(INTEROP_DISABLE_SNIFF_LINK_DURING_SCO)
CASE_RETURN_STR(INTEROP_DISABLE_SNIFF_DURING_CALL)
+ CASE_RETURN_STR(INTEROP_HID_HOST_LIMIT_SNIFF_INTERVAL)
}
return "UNKNOWN";
}