mbox series

[0/2] Bluetooth: Report extended adv capabilities to userspace

Message ID 20200825233151.1580920-1-danielwinkler@google.com (mailing list archive)
Headers show
Series Bluetooth: Report extended adv capabilities to userspace | expand

Message

Daniel Winkler Aug. 25, 2020, 11:31 p.m. UTC
Hi Maintainers,

This series improves the kernel/controller support that is reported
to userspace for the following extended advertising features:

1. If extended advertising is available, the number of hardware slots
is used and reported, rather than the fixed default of 5. If no hardware
support is available, default is used as before for software rotation.

2. New flags indicating general hardware offloading and ability to
set tx power level. These are kept as two separate flags because in
the future vendor commands may allow tx power to be set without
hardware offloading support.


Daniel Winkler (2):
  bluetooth: Report num supported adv instances for hw offloading
  bluetooth: Add MGMT capability flags for tx power and ext advertising

 include/net/bluetooth/mgmt.h | 2 ++
 net/bluetooth/hci_core.c     | 2 +-
 net/bluetooth/mgmt.c         | 8 +++++---
 3 files changed, 8 insertions(+), 4 deletions(-)

Comments

Marcel Holtmann Sept. 11, 2020, 7:18 a.m. UTC | #1
Hi Daniel,

> This series improves the kernel/controller support that is reported
> to userspace for the following extended advertising features:
> 
> 1. If extended advertising is available, the number of hardware slots
> is used and reported, rather than the fixed default of 5. If no hardware
> support is available, default is used as before for software rotation.
> 
> 2. New flags indicating general hardware offloading and ability to
> set tx power level. These are kept as two separate flags because in
> the future vendor commands may allow tx power to be set without
> hardware offloading support.
> 
> 
> Daniel Winkler (2):
>  bluetooth: Report num supported adv instances for hw offloading
>  bluetooth: Add MGMT capability flags for tx power and ext advertising
> 
> include/net/bluetooth/mgmt.h | 2 ++
> net/bluetooth/hci_core.c     | 2 +-
> net/bluetooth/mgmt.c         | 8 +++++---
> 3 files changed, 8 insertions(+), 4 deletions(-)

both patches have been applied to bluetooth-next tree.

Regards

Marcel