Loading system/bta/hh/bta_hh_le.cc +5 −0 Original line number Diff line number Diff line Loading @@ -1422,6 +1422,11 @@ static void read_pref_conn_params_cb(uint16_t conn_id, tGATT_STATUS status, if (timeout < 300) timeout = 300; } if (interop_match_addr(INTEROP_HID_PREF_CONN_ZERO_LATENCY, (RawAddress*)&p_dev_cb->link_spec.addrt.bda)) { latency = 0; } BTM_BleSetPrefConnParams(p_dev_cb->link_spec.addrt.bda, min_interval, max_interval, latency, timeout); if (!L2CA_UpdateBleConnParams(p_dev_cb->link_spec.addrt.bda, min_interval, Loading system/conf/interop_database.conf +6 −0 Original line number Diff line number Diff line Loading @@ -858,3 +858,9 @@ EPG = Name_Based CANZ = Name_Based BSK30 = Name_Based BSK10 = Name_Based # Some devices response slowly after setting non zero latency. # To avoid slowing down profile connection set latency to 0. # Peer can request proper latency based on its power state later. [INTEROP_HID_PREF_CONN_ZERO_LATENCY] 00:15:9E = Address_Based system/device/include/interop.h +5 −0 Original line number Diff line number Diff line Loading @@ -351,6 +351,11 @@ typedef enum { // Som A2DP sink devices don't respond SDP request during A2DP reconnection INTEROP_A2DP_SKIP_SDP_DURING_RECONNECTION, // Some devices response slowly after setting non zero latency. // To avoid slowing down profile connection set latency to 0. // Peer can request proper latency based on its power state later. INTEROP_HID_PREF_CONN_ZERO_LATENCY, END_OF_INTEROP_LIST } interop_feature_t; Loading system/device/src/interop.cc +1 −0 Original line number Diff line number Diff line Loading @@ -398,6 +398,7 @@ static const char* interop_feature_string_(const interop_feature_t feature) { CASE_RETURN_STR(INTEROP_DELAY_AUTH); CASE_RETURN_STR(INTEROP_MULTIPLE_HOGP_SERVICE_CHOOSE_THIRD); CASE_RETURN_STR(INTEROP_A2DP_SKIP_SDP_DURING_RECONNECTION); CASE_RETURN_STR(INTEROP_HID_PREF_CONN_ZERO_LATENCY); } return UNKNOWN_INTEROP_FEATURE; } Loading Loading
system/bta/hh/bta_hh_le.cc +5 −0 Original line number Diff line number Diff line Loading @@ -1422,6 +1422,11 @@ static void read_pref_conn_params_cb(uint16_t conn_id, tGATT_STATUS status, if (timeout < 300) timeout = 300; } if (interop_match_addr(INTEROP_HID_PREF_CONN_ZERO_LATENCY, (RawAddress*)&p_dev_cb->link_spec.addrt.bda)) { latency = 0; } BTM_BleSetPrefConnParams(p_dev_cb->link_spec.addrt.bda, min_interval, max_interval, latency, timeout); if (!L2CA_UpdateBleConnParams(p_dev_cb->link_spec.addrt.bda, min_interval, Loading
system/conf/interop_database.conf +6 −0 Original line number Diff line number Diff line Loading @@ -858,3 +858,9 @@ EPG = Name_Based CANZ = Name_Based BSK30 = Name_Based BSK10 = Name_Based # Some devices response slowly after setting non zero latency. # To avoid slowing down profile connection set latency to 0. # Peer can request proper latency based on its power state later. [INTEROP_HID_PREF_CONN_ZERO_LATENCY] 00:15:9E = Address_Based
system/device/include/interop.h +5 −0 Original line number Diff line number Diff line Loading @@ -351,6 +351,11 @@ typedef enum { // Som A2DP sink devices don't respond SDP request during A2DP reconnection INTEROP_A2DP_SKIP_SDP_DURING_RECONNECTION, // Some devices response slowly after setting non zero latency. // To avoid slowing down profile connection set latency to 0. // Peer can request proper latency based on its power state later. INTEROP_HID_PREF_CONN_ZERO_LATENCY, END_OF_INTEROP_LIST } interop_feature_t; Loading
system/device/src/interop.cc +1 −0 Original line number Diff line number Diff line Loading @@ -398,6 +398,7 @@ static const char* interop_feature_string_(const interop_feature_t feature) { CASE_RETURN_STR(INTEROP_DELAY_AUTH); CASE_RETURN_STR(INTEROP_MULTIPLE_HOGP_SERVICE_CHOOSE_THIRD); CASE_RETURN_STR(INTEROP_A2DP_SKIP_SDP_DURING_RECONNECTION); CASE_RETURN_STR(INTEROP_HID_PREF_CONN_ZERO_LATENCY); } return UNKNOWN_INTEROP_FEATURE; } Loading