mbox series

[v2,0/3] Support reading and setting default system parameters

Message ID 20200610200452.107406-1-alainm@chromium.org (mailing list archive)
Headers show
Series Support reading and setting default system parameters | expand

Message

Alain Michaud June 10, 2020, 8:04 p.m. UTC
This series adds support for reading and setting default system
parameters from userspace.  In particular, combined with the userspace
changes, allows platforms to override default system parameters from a
main.conf file.

The series has been reviewed and tested on chromeos.


Changes in v2:
- Renamed the mgmt.h per Marcel's comments.
- Addressed Marcel's comments in the implementation.

Alain Michaud (3):
  mgmt: read/set system parameter definitions
  bluetooth:centralize default value initialization.
  bluetooth: implement read/set default system parameters mgmt

 include/net/bluetooth/hci_core.h |  18 +++
 include/net/bluetooth/mgmt.h     |  30 ++++
 net/bluetooth/Makefile           |   2 +-
 net/bluetooth/hci_conn.c         |  14 +-
 net/bluetooth/hci_core.c         |  14 +-
 net/bluetooth/hci_request.c      |  15 +-
 net/bluetooth/mgmt.c             |   6 +
 net/bluetooth/mgmt_config.c      | 253 +++++++++++++++++++++++++++++++
 net/bluetooth/mgmt_config.h      |  11 ++
 9 files changed, 341 insertions(+), 22 deletions(-)
 create mode 100644 net/bluetooth/mgmt_config.c
 create mode 100644 net/bluetooth/mgmt_config.h