diff mbox series

[BlueZ,v1] main: adding missing connection parameter entries

Message ID 20200615145221.224747-1-alainm@chromium.org
State New
Headers show
Series [BlueZ,v1] main: adding missing connection parameter entries | expand

Commit Message

Alain Michaud June 15, 2020, 2:52 p.m. UTC
This patch adds the missing connection parameter entries for loading
connection parameters from main.conf

---

 src/main.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
diff mbox series

Patch

diff --git a/src/main.c b/src/main.c
index 77886d58e..ceb839d11 100644
--- a/src/main.c
+++ b/src/main.c
@@ -411,6 +411,22 @@  static void parse_controller_config(GKeyFile *config)
 		  &main_opts.default_params.le_scan_win_connect,
 		  0x0004,
 		  0x4000},
+		{ "LEMinConnectionInterval",
+		  &main_opts.default_params.le_min_conn_interval,
+		  0x0006,
+		  0x0C80},
+		{ "LEMaxConnectionInterval",
+		  &main_opts.default_params.le_max_conn_interval,
+		  0x0006,
+		  0x0C80},
+		{ "LEConnectionLatency",
+		  &main_opts.default_params.le_conn_latency,
+		  0x0000,
+		  0x01F3},
+		{ "LEConnectionSupervisionTimeout",
+		  &main_opts.default_params.le_conn_lsto,
+		  0x000A,
+		  0x0C80},
 		{ "LEAutoconnecttimeout",
 		  &main_opts.default_params.le_autoconnect_timeout,
 		  0x0001,