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 --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,
--
2.27.0.290.gba653c62da-goog
Hi Alain,
On Mon, Jun 15, 2020 at 7:55 AM Alain Michaud <[email protected]> wrote:
>
> 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 --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,
> --
> 2.27.0.290.gba653c62da-goog
Applied, thanks.
--
Luiz Augusto von Dentz