Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d62ea3c1 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Myles Watson
Browse files

Match Nintento Pro Controller by name for interop

The Nintento Pro Controller uses an unknown number of
BDA ranges (at least 3 found internally). Switching
to name matching...

Bug: 136478524
Test: manual
Change-Id: Ie2dfb700c9550af0c314759ec496a04a8e1aa062
parent dbda8935
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -143,10 +143,6 @@ static const interop_addr_entry_t interop_addr_database[] = {

    // AirPods 2 - unacceptably loud volume
    {{{0x94, 0x16, 0x25, 0, 0, 0}}, 3, INTEROP_DISABLE_ABSOLUTE_VOLUME},

    // Nintendo Switch Pro Controller - does not set sniff interval dynamically.
    // Requires custom HID report command to change mode.
    {{{0x98, 0xB6, 0xE9, 0, 0, 0}}, 3, INTEROP_HID_HOST_LIMIT_SNIFF_INTERVAL},
};

typedef struct {
@@ -173,4 +169,8 @@ static const interop_name_entry_t interop_name_database[] = {

    // Kenwood KMM-BT518HD - no audio when A2DP codec sample rate is changed
    {"KMM-BT51*HD", 11, INTEROP_DISABLE_AVDTP_RECONFIGURE},

    // Nintendo Switch Pro Controller - does not set sniff interval dynamically.
    // Requires custom HID report command to change mode.
    {"Pro Controller", 14, INTEROP_HID_HOST_LIMIT_SNIFF_INTERVAL},
};