All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ bluez v2] gatt: expanded maximum GATT channels to 6
@ 2025-02-06  2:56 ` Yang Li via B4 Relay
  0 siblings, 0 replies; 3+ messages in thread
From: Yang Li @ 2025-02-06  2:56 UTC (permalink / raw)
  To: Linux Bluetooth; +Cc: Yang Li

The maximum value of GATT channels should be 6,
including ATT connection(1) and L2CAP CB connection(1-5).

Ref https://github.com/bluez/bluez/issues/1033

Signed-off-by: Yang Li <yang.li@amlogic.com>
---
Changes in v2:
- Change the maximum value of Channels to 6
- Link to v1: https://patch.msgid.link/20250121-upstream-v1-1-7b6e450747f7@amlogic.com
---
 src/main.c    | 2 +-
 src/main.conf | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index d13ada2af..50346abbb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1119,7 +1119,7 @@ static void parse_gatt(GKeyFile *config)
 	parse_config_u16(config, "GATT", "ExchangeMTU", &btd_opts.gatt_mtu,
 				BT_ATT_DEFAULT_LE_MTU, BT_ATT_MAX_LE_MTU);
 	parse_config_u8(config, "GATT", "Channels", &btd_opts.gatt_channels,
-				1, 5);
+				1, 6);
 	parse_config_bool(config, "GATT", "Client", &btd_opts.gatt_client);
 	parse_gatt_export(config);
 }
diff --git a/src/main.conf b/src/main.conf
index 60ab60edc..749ed6d25 100644
--- a/src/main.conf
+++ b/src/main.conf
@@ -264,7 +264,8 @@
 #ExchangeMTU = 517
 
 # Number of ATT channels
-# Possible values: 1-5 (1 disables EATT)
+# Possible values: 1-6 (1 disables EATT)
+# The ATT channels contains ATT connection(1) and L2CAP CB connection(1-5)
 # Default to 1
 #Channels = 1
 

---
base-commit: 2ee08ffd4d469781dc627fa50b4a015d9ad68007
change-id: 20250121-upstream-fab070351ad3

Best regards,
-- 
Yang Li <yang.li@amlogic.com>


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

* [PATCH BlueZ bluez v2] gatt: expanded maximum GATT channels to 6
@ 2025-02-06  2:56 ` Yang Li via B4 Relay
  0 siblings, 0 replies; 3+ messages in thread
From: Yang Li via B4 Relay @ 2025-02-06  2:56 UTC (permalink / raw)
  To: Linux Bluetooth; +Cc: Yang Li

From: Yang Li <yang.li@amlogic.com>

The maximum value of GATT channels should be 6,
including ATT connection(1) and L2CAP CB connection(1-5).

Ref https://github.com/bluez/bluez/issues/1033

Signed-off-by: Yang Li <yang.li@amlogic.com>
---
Changes in v2:
- Change the maximum value of Channels to 6
- Link to v1: https://patch.msgid.link/20250121-upstream-v1-1-7b6e450747f7@amlogic.com
---
 src/main.c    | 2 +-
 src/main.conf | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index d13ada2af..50346abbb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1119,7 +1119,7 @@ static void parse_gatt(GKeyFile *config)
 	parse_config_u16(config, "GATT", "ExchangeMTU", &btd_opts.gatt_mtu,
 				BT_ATT_DEFAULT_LE_MTU, BT_ATT_MAX_LE_MTU);
 	parse_config_u8(config, "GATT", "Channels", &btd_opts.gatt_channels,
-				1, 5);
+				1, 6);
 	parse_config_bool(config, "GATT", "Client", &btd_opts.gatt_client);
 	parse_gatt_export(config);
 }
diff --git a/src/main.conf b/src/main.conf
index 60ab60edc..749ed6d25 100644
--- a/src/main.conf
+++ b/src/main.conf
@@ -264,7 +264,8 @@
 #ExchangeMTU = 517
 
 # Number of ATT channels
-# Possible values: 1-5 (1 disables EATT)
+# Possible values: 1-6 (1 disables EATT)
+# The ATT channels contains ATT connection(1) and L2CAP CB connection(1-5)
 # Default to 1
 #Channels = 1
 

---
base-commit: 2ee08ffd4d469781dc627fa50b4a015d9ad68007
change-id: 20250121-upstream-fab070351ad3

Best regards,
-- 
Yang Li <yang.li@amlogic.com>



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

* RE: [BlueZ,bluez,v2] gatt: expanded maximum GATT channels to 6
  2025-02-06  2:56 ` Yang Li via B4 Relay
  (?)
@ 2025-02-06  4:11 ` bluez.test.bot
  -1 siblings, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2025-02-06  4:11 UTC (permalink / raw)
  To: linux-bluetooth, devnull+yang.li.amlogic.com

[-- Attachment #1: Type: text/plain, Size: 1260 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=931037

---Test result---

Test Summary:
CheckPatch                    PENDING   0.19 seconds
GitLint                       PENDING   0.28 seconds
BuildEll                      PASS      20.18 seconds
BluezMake                     PASS      1430.34 seconds
MakeCheck                     PASS      13.46 seconds
MakeDistcheck                 PASS      161.06 seconds
CheckValgrind                 PASS      213.54 seconds
CheckSmatch                   PASS      282.03 seconds
bluezmakeextell               PASS      97.35 seconds
IncrementalBuild              PENDING   0.27 seconds
ScanBuild                     PASS      854.88 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:



---
Regards,
Linux Bluetooth


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

end of thread, other threads:[~2025-02-06  4:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-06  2:56 [PATCH BlueZ bluez v2] gatt: expanded maximum GATT channels to 6 Yang Li
2025-02-06  2:56 ` Yang Li via B4 Relay
2025-02-06  4:11 ` [BlueZ,bluez,v2] " bluez.test.bot

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.