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

Commit 6a3e7b83 authored by Chris Manton's avatar Chris Manton
Browse files

add acl data passing API

stack/l2cap/l2c_link::l2c_link_send_to_lower

Towards proper interfaces

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working

Change-Id: I48d067c679715e2fc6987347b92b8177fca9d512
parent 4531c4a1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2883,3 +2883,7 @@ void acl_accept_connection_request(const RawAddress& bd_addr, uint8_t role) {
void acl_reject_connection_request(const RawAddress& bd_addr, uint8_t reason) {
  btsnd_hcic_reject_conn(bd_addr, reason);
}

void acl_send_data_packet(BT_HDR* p_buf, uint16_t flags) {
  bte_main_hci_send(p_buf, flags);
}
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ void acl_create_classic_connection(const RawAddress& bd_addr,
                                   bool there_are_high_priority_channels,
                                   bool is_bonding);
void acl_reject_connection_request(const RawAddress& bd_addr, uint8_t reason);
void acl_send_data_packet(BT_HDR* p_buf, uint16_t flags);

// ACL data received from HCI-ACL
extern void l2c_rcv_acl_data(BT_HDR* p_msg);