* [bluez/bluez] 0cb83c: client/btpclient: refactor read-commands bitmap bu...
@ 2026-05-19 11:48 fdanis-oss
0 siblings, 0 replies; only message in thread
From: fdanis-oss @ 2026-05-19 11:48 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/1097304
Home: https://github.com/bluez/bluez
Commit: 0cb83cdaeb54b3c4b0f544f3b5689ce52974988f
https://github.com/bluez/bluez/commit/0cb83cdaeb54b3c4b0f544f3b5689ce52974988f
Author: Frédéric Danis <frederic.danis@collabora.com>
Date: 2026-05-19 (Tue, 19 May 2026)
Changed paths:
M client/btpclient/bap.c
M client/btpclient/btpclient.c
M client/btpclient/btpclient.h
M client/btpclient/core.c
M client/btpclient/gap.c
M client/btpclient/gatt.c
Log Message:
-----------
client/btpclient: refactor read-commands bitmap building
Add add_supported_command() and use it across all btp_*_read_commands
handlers.
This replaces fixed-size bitmask assembly with a dynamically growing
command bitmap based on opcode index, avoiding shift-width issues with
higher opcodes.
This will allow to add opcodes like GAP_SET_EXTENDED_ADVERTISING
(0x21).
Refactor core, gap, gatt and bap read-commands paths to build response
bitmaps through the shared helper and preserve existing error handling
for allocation failures.
Assisted-by: GPT:GPT-5.3-Codex
Commit: 654df3d8b47612d2d0d740d940095982c8f9d9e9
https://github.com/bluez/bluez/commit/654df3d8b47612d2d0d740d940095982c8f9d9e9
Author: Frédéric Danis <frederic.danis@collabora.com>
Date: 2026-05-19 (Tue, 19 May 2026)
Changed paths:
M client/btpclient/gap.c
Log Message:
-----------
client/btpclient: Replace advertising defines by shared ones
The advertisement types are already defined in src/shared/ad.h
Commit: e6f7d0db186428ccb5d3734e157bc964be62a454
https://github.com/bluez/bluez/commit/e6f7d0db186428ccb5d3734e157bc964be62a454
Author: Frédéric Danis <frederic.danis@collabora.com>
Date: 2026-05-19 (Tue, 19 May 2026)
Changed paths:
M client/btpclient/gap.c
M src/shared/btp.h
Log Message:
-----------
client/btpclient: Add BTP_OP_GAP_SET_EXTENDED_ADVERTISING support
This set LEAdvertisement1's SecondaryChannel property to "2M" to
force Extended advertisement type.
Compare: https://github.com/bluez/bluez/compare/0cb83cdaeb54%5E...e6f7d0db1864
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-19 11:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-19 11:48 [bluez/bluez] 0cb83c: client/btpclient: refactor read-commands bitmap bu fdanis-oss
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox