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

Commit e15b0e33 authored by Chris Manton's avatar Chris Manton
Browse files

Add API stack/acl/btm_acl::acl_get_supported_packet_types

Working towards encapsulation of tACL_CONN

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Id55a15fb9bfc6d07496d3cac4887e3a0b78db66d
parent d39aab17
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2801,3 +2801,7 @@ void acl_set_disconnect_reason(uint8_t acl_disc_reason) {
bool acl_is_role_switch_allowed() {
  return btm_cb.acl_cb_.btm_def_link_policy & HCI_ENABLE_MASTER_SLAVE_SWITCH;
}

uint16_t acl_get_supported_packet_types() {
  return btm_cb.acl_cb_.btm_acl_pkt_types_supported;
}
+2 −0
Original line number Diff line number Diff line
@@ -309,3 +309,5 @@ uint8_t acl_get_disconnect_reason();
void acl_set_disconnect_reason(uint8_t acl_disc_reason);

bool acl_is_role_switch_allowed();

uint16_t acl_get_supported_packet_types();