mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 17:57:38 -04:00
Bluetooth: centralize default value initialization.
This patch centralized the initialization of default parameters. This is required to allow clients to more easily customize the default system parameters. Signed-off-by: Alain Michaud <alainm@chromium.org> Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
committed by
Marcel Holtmann
parent
7e90de4ac1
commit
10873f99ce
@@ -295,6 +295,14 @@ struct hci_dev {
|
||||
__u8 le_scan_type;
|
||||
__u16 le_scan_interval;
|
||||
__u16 le_scan_window;
|
||||
__u16 le_scan_int_suspend;
|
||||
__u16 le_scan_window_suspend;
|
||||
__u16 le_scan_int_discovery;
|
||||
__u16 le_scan_window_discovery;
|
||||
__u16 le_scan_int_adv_monitor;
|
||||
__u16 le_scan_window_adv_monitor;
|
||||
__u16 le_scan_int_connect;
|
||||
__u16 le_scan_window_connect;
|
||||
__u16 le_conn_min_interval;
|
||||
__u16 le_conn_max_interval;
|
||||
__u16 le_conn_latency;
|
||||
@@ -323,6 +331,16 @@ struct hci_dev {
|
||||
__u16 devid_product;
|
||||
__u16 devid_version;
|
||||
|
||||
__u8 def_page_scan_type;
|
||||
__u16 def_page_scan_int;
|
||||
__u16 def_page_scan_window;
|
||||
__u8 def_inq_scan_type;
|
||||
__u16 def_inq_scan_int;
|
||||
__u16 def_inq_scan_window;
|
||||
__u16 def_br_lsto;
|
||||
__u16 def_page_timeout;
|
||||
__u16 def_multi_adv_rotation_duration;
|
||||
|
||||
__u16 pkt_type;
|
||||
__u16 esco_type;
|
||||
__u16 link_policy;
|
||||
|
||||
Reference in New Issue
Block a user