Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ v3 0/3] Initial Channel Sounding Support for
@ 2026-06-11 12:00 Naga Bhavani Akella
  2026-06-11 12:00 ` [PATCH BlueZ v3 1/3] shared: rap: Check role before sending CS Sec Enable cmd Naga Bhavani Akella
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Naga Bhavani Akella @ 2026-06-11 12:00 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: luiz.dentz, quic_mohamull, quic_hbandi, quic_anubhavg,
	Naga Bhavani Akella

This series adds initial LE Channel Sounding (CS) Initiator support by
introducing the required HCI command flow and event handling for CS
procedures.

The changes include
1. Adding an is_central parameter to validate that
current local role is central before issuing
HCI_LE_CS_Security_Enable command.

2. Introduction of initial LE Channel Sounding (CS)
Initiator support by adding required HCI command flow
and event handling for CS capability discovery,
configuration management, and ranging procedures.

Changes in v3:
src/shared/rap.h :
 - add wrapper API to prevent compilation issue

Changes in v2:
profiles/ranging/rap_hci.c :
 - remove unused bt_rap_set_channel_classification
 - remove __maybe_used macro usage

Naga Bhavani Akella (3):
  shared: rap: Check role before sending CS Sec Enable cmd
  profiles: ranging: Add CS Initiator cmd and evt handling
  shared: rap: remove the old wrapper API

 profiles/ranging/rap.c     |   9 +-
 profiles/ranging/rap_hci.c | 763 ++++++++++++++++++++++++++++++++-----
 src/shared/rap.h           |  11 +-
 3 files changed, 682 insertions(+), 101 deletions(-)

-- 


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH BlueZ v2 1/2] shared: rap: Check role before sending CS Sec Enable cmd
@ 2026-06-09 15:45 Naga Bhavani Akella
  2026-06-09 17:18 ` Initial Channel Sounding Support for bluez.test.bot
  0 siblings, 1 reply; 7+ messages in thread
From: Naga Bhavani Akella @ 2026-06-09 15:45 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: luiz.dentz, quic_mohamull, quic_hbandi, quic_anubhavg,
	Naga Bhavani Akella

Add the is_central parameter to verify whether
the local role is central before sending
the HCI CS Security Enable command.
---
 src/shared/rap.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/shared/rap.h b/src/shared/rap.h
index d3ced61b1..8b4f47757 100644
--- a/src/shared/rap.h
+++ b/src/shared/rap.h
@@ -213,5 +213,6 @@ void bt_rap_detach_hci(struct bt_rap *rap, void *hci_sm);
 
 /* Connection handle mapping functions */
 bool bt_rap_set_conn_handle(void *hci_sm, struct bt_rap *rap, uint16_t handle,
-				const uint8_t *bdaddr, uint8_t bdaddr_type);
+			const uint8_t *bdaddr, uint8_t bdaddr_type,
+			bool is_central);
 void bt_rap_clear_conn_handle(void *hci_sm, uint16_t handle);
-- 


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH BlueZ v1 1/2] shared: rap: Add the is_central parameter to verify whether the local role is central before sending the HCI CS Security Enable command.
@ 2026-06-09 10:49 Naga Bhavani Akella
  2026-06-09 12:29 ` Initial Channel Sounding Support for bluez.test.bot
  0 siblings, 1 reply; 7+ messages in thread
From: Naga Bhavani Akella @ 2026-06-09 10:49 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: luiz.dentz, quic_mohamull, quic_hbandi, quic_anubhavg,
	Naga Bhavani Akella

---
 src/shared/rap.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/shared/rap.h b/src/shared/rap.h
index d3ced61b1..4d6a3d1c8 100644
--- a/src/shared/rap.h
+++ b/src/shared/rap.h
@@ -213,5 +213,6 @@ void bt_rap_detach_hci(struct bt_rap *rap, void *hci_sm);
 
 /* Connection handle mapping functions */
 bool bt_rap_set_conn_handle(void *hci_sm, struct bt_rap *rap, uint16_t handle,
-				const uint8_t *bdaddr, uint8_t bdaddr_type);
+				const uint8_t *bdaddr, uint8_t bdaddr_type,
+				bool is_central);
 void bt_rap_clear_conn_handle(void *hci_sm, uint16_t handle);
-- 


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

end of thread, other threads:[~2026-06-11 15:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-11 12:00 [PATCH BlueZ v3 0/3] Initial Channel Sounding Support for Naga Bhavani Akella
2026-06-11 12:00 ` [PATCH BlueZ v3 1/3] shared: rap: Check role before sending CS Sec Enable cmd Naga Bhavani Akella
2026-06-11 15:21   ` Initial Channel Sounding Support for bluez.test.bot
2026-06-11 12:00 ` [PATCH BlueZ v3 2/3] profiles: ranging: Add CS Initiator cmd and evt handling Naga Bhavani Akella
2026-06-11 12:00 ` [PATCH BlueZ v3 3/3] shared: rap: remove the old wrapper API Naga Bhavani Akella
  -- strict thread matches above, loose matches on Subject: below --
2026-06-09 15:45 [PATCH BlueZ v2 1/2] shared: rap: Check role before sending CS Sec Enable cmd Naga Bhavani Akella
2026-06-09 17:18 ` Initial Channel Sounding Support for bluez.test.bot
2026-06-09 10:49 [PATCH BlueZ v1 1/2] shared: rap: Add the is_central parameter to verify whether the local role is central before sending the HCI CS Security Enable command Naga Bhavani Akella
2026-06-09 12:29 ` Initial Channel Sounding Support for bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox