All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v1 0/1] Autoconnecttimeout max value increased to 20000 msecs
@ 2024-03-29  6:35 Mahesh Talewad
  2024-03-29  6:35 ` [PATCH BlueZ v1 1/1] Autoconnecttimeout max value increased to 20000 msecs from 16384 msecs Mahesh Talewad
  0 siblings, 1 reply; 4+ messages in thread
From: Mahesh Talewad @ 2024-03-29  6:35 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: devyani.godbole, luiz.dentz, sarveshwar.bajaj, mahesh.talewad

Hello Maintainers,

This Patch is for following point:
  In implementation Autoconnecttimeout max value is 16384 msecs.
  Increased this Autoconnecttimeout max value to 20000 msecs.
        
Thank you in advance for your review.

Thanks and regards,
Mahesh Vithal Talewad

Mahesh Talewad (1):
  Autoconnecttimeout max value increased to 20000 msecs from 16384 msecs

 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH BlueZ v1 1/1] Autoconnecttimeout max value increased to 20000 msecs from 16384 msecs
  2024-03-29  6:35 [PATCH BlueZ v1 0/1] Autoconnecttimeout max value increased to 20000 msecs Mahesh Talewad
@ 2024-03-29  6:35 ` Mahesh Talewad
  2024-03-29  8:37   ` Autoconnecttimeout max value increased to 20000 msecs bluez.test.bot
  2024-03-29  9:13   ` [PATCH BlueZ v1 1/1] Autoconnecttimeout max value increased to 20000 msecs from 16384 msecs Paul Menzel
  0 siblings, 2 replies; 4+ messages in thread
From: Mahesh Talewad @ 2024-03-29  6:35 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: devyani.godbole, luiz.dentz, sarveshwar.bajaj, mahesh.talewad

 - In implementation Autoconnecttimeout max value is 16384 msecs.
   Increased this Autoconnecttimeout max value to 20000 msecs.

Signed-off-by: Mahesh Talewad <mahesh.talewad@nxp.com>
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index b1339c230..8ce72badc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -656,7 +656,7 @@ static void parse_le_config(GKeyFile *config)
 		  &btd_opts.defaults.le.autoconnect_timeout,
 		  sizeof(btd_opts.defaults.le.autoconnect_timeout),
 		  0x0001,
-		  0x4000},
+		  0x4E20},
 		{ "AdvMonAllowlistScanDuration",
 		  &btd_opts.defaults.le.advmon_allowlist_scan_duration,
 		  sizeof(btd_opts.defaults.le.advmon_allowlist_scan_duration),
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: Autoconnecttimeout max value increased to 20000 msecs
  2024-03-29  6:35 ` [PATCH BlueZ v1 1/1] Autoconnecttimeout max value increased to 20000 msecs from 16384 msecs Mahesh Talewad
@ 2024-03-29  8:37   ` bluez.test.bot
  2024-03-29  9:13   ` [PATCH BlueZ v1 1/1] Autoconnecttimeout max value increased to 20000 msecs from 16384 msecs Paul Menzel
  1 sibling, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2024-03-29  8:37 UTC (permalink / raw)
  To: linux-bluetooth, mahesh.talewad

[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=839675

---Test result---

Test Summary:
CheckPatch                    PASS      0.48 seconds
GitLint                       FAIL      0.48 seconds
BuildEll                      PASS      24.42 seconds
BluezMake                     PASS      1658.83 seconds
MakeCheck                     PASS      13.87 seconds
MakeDistcheck                 PASS      176.99 seconds
CheckValgrind                 PASS      248.83 seconds
CheckSmatch                   PASS      350.74 seconds
bluezmakeextell               PASS      119.39 seconds
IncrementalBuild              PASS      1440.37 seconds
ScanBuild                     PASS      992.18 seconds

Details
##############################
Test: GitLint - FAIL
Desc: Run gitlint
Output:
[BlueZ,v1,1/1] Autoconnecttimeout max value increased to 20000 msecs from 16384 msecs

WARNING: I3 - ignore-body-lines: gitlint will be switching from using Python regex 'match' (match beginning) to 'search' (match anywhere) semantics. Please review your ignore-body-lines.regex option accordingly. To remove this warning, set general.regex-style-search=True. More details: https://jorisroovers.github.io/gitlint/configuration/#regex-style-search
1: T1 Title exceeds max length (85>80): "[BlueZ,v1,1/1] Autoconnecttimeout max value increased to 20000 msecs from 16384 msecs"


---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH BlueZ v1 1/1] Autoconnecttimeout max value increased to 20000 msecs from 16384 msecs
  2024-03-29  6:35 ` [PATCH BlueZ v1 1/1] Autoconnecttimeout max value increased to 20000 msecs from 16384 msecs Mahesh Talewad
  2024-03-29  8:37   ` Autoconnecttimeout max value increased to 20000 msecs bluez.test.bot
@ 2024-03-29  9:13   ` Paul Menzel
  1 sibling, 0 replies; 4+ messages in thread
From: Paul Menzel @ 2024-03-29  9:13 UTC (permalink / raw)
  To: Mahesh Talewad
  Cc: linux-bluetooth, devyani.godbole, luiz.dentz, sarveshwar.bajaj

Dear Mahesh,


Thank you for you patch.

Am 29.03.24 um 07:35 schrieb Mahesh Talewad:
>   - In implementation Autoconnecttimeout max value is 16384 msecs.
>     Increased this Autoconnecttimeout max value to 20000 msecs.

Please do *not* format it as a list item. I’d also rewrite the commit 
message summary/title to use imperative mood:

> Increase autoconnect timeout max from 16.384 s to 20 s

Please also add, why this change is necessary.

> Signed-off-by: Mahesh Talewad <mahesh.talewad@nxp.com>
> ---
>   src/main.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/main.c b/src/main.c
> index b1339c230..8ce72badc 100644
> --- a/src/main.c
> +++ b/src/main.c
> @@ -656,7 +656,7 @@ static void parse_le_config(GKeyFile *config)
>   		  &btd_opts.defaults.le.autoconnect_timeout,
>   		  sizeof(btd_opts.defaults.le.autoconnect_timeout),
>   		  0x0001,
> -		  0x4000},
> +		  0x4E20},

Please add a comment with the decimal value. (Or why not use a decimal 
value?)

Also, isn’t

2 * 16 + 15 * 256 + 4 * 16^3 = 20256

Why not just use 0x5000 (= 20480) to make it easier to calculate?

>   		{ "AdvMonAllowlistScanDuration",
>   		  &btd_opts.defaults.le.advmon_allowlist_scan_duration,
>   		  sizeof(btd_opts.defaults.le.advmon_allowlist_scan_duration),

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-29  9:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-29  6:35 [PATCH BlueZ v1 0/1] Autoconnecttimeout max value increased to 20000 msecs Mahesh Talewad
2024-03-29  6:35 ` [PATCH BlueZ v1 1/1] Autoconnecttimeout max value increased to 20000 msecs from 16384 msecs Mahesh Talewad
2024-03-29  8:37   ` Autoconnecttimeout max value increased to 20000 msecs bluez.test.bot
2024-03-29  9:13   ` [PATCH BlueZ v1 1/1] Autoconnecttimeout max value increased to 20000 msecs from 16384 msecs Paul Menzel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.