Skip to content

Commit

Permalink
Bluetooth: Controller: Use net_buf for CC/CS TX
Browse files Browse the repository at this point in the history
Preallocate a response event net_buf buffer before processing an
incoming command and provide it to hci.c so that it populates
the event directly, instead of using a temporary buffer than
must then be copied into the return net_buf.
This applies exclusively to Command Complete and Command
Status, since those are the only events that are sent in
direct respone to an incoming command.

Jira: ZEP-726

Change-Id: Ia3ea71ac497690af929c44308760f68491ea829e
Signed-off-by: Carles Cufi <[email protected]>
  • Loading branch information
carlescufi authored and Johan Hedberg committed Oct 4, 2016
1 parent 6877651 commit 0a720c4
Show file tree
Hide file tree
Showing 3 changed files with 273 additions and 337 deletions.
Loading

0 comments on commit 0a720c4

Please sign in to comment.