feat(ble_audio): Support Zephyr LE Audio v4.4.1

This commit is contained in:
Liu Linyan
2026-06-30 15:17:24 +08:00
committed by Linyan Liu
parent 1e58083bdf
commit 9b415a7d1f
29 changed files with 525 additions and 398 deletions
@@ -29,7 +29,7 @@ typedef enum __packed {
struct bt_conn_le {
bt_addr_le_t dst;
uint16_t interval;
uint32_t interval_us;
/** @brief Remote LE features
*
@@ -114,5 +114,7 @@ bool bt_conn_is_peer_addr_le(const struct bt_conn *conn, uint8_t id,
*/
#define BT_CONN_INDEX_INVALID 0xff
struct bt_conn *bt_conn_lookup_index(uint8_t index);
/* Set connection object in certain state and perform action related to state */
void bt_conn_set_state(struct bt_conn *conn, bt_conn_state_t state);
@@ -112,7 +112,7 @@ struct bt_conn_le_info {
* Address (RPA) before identity has been resolved.
*/
const bt_addr_le_t *dst;
uint16_t interval; /**< Connection interval */
uint32_t interval_us; /**< Connection interval in microseconds */
};
/** @brief Convert connection interval to milliseconds
@@ -182,8 +182,6 @@ extern "C" {
enum bt_iso_state {
/** Channel disconnected */
BT_ISO_STATE_DISCONNECTED,
/** Channel is pending ACL encryption before connecting */
BT_ISO_STATE_ENCRYPT_PENDING,
/** Channel in connecting state */
BT_ISO_STATE_CONNECTING,
/** Channel ready for upper layer traffic on it */
@@ -213,17 +211,6 @@ struct bt_iso_chan {
struct bt_iso_chan_qos *qos;
/** Channel state */
enum bt_iso_state state;
/**
* @brief The required security level of the channel
*
* This value can be set as the central before connecting a CIS
* with bt_iso_chan_connect().
* The value is overwritten to @ref bt_iso_server::sec_level for the
* peripheral once a channel has been accepted.
*
* Only available when @kconfig{CONFIG_BT_SMP} is enabled.
*/
bt_security_t required_sec_level;
/** @internal Node used internally by the stack */
sys_snode_t node;
};
@@ -783,13 +770,6 @@ struct bt_iso_accept_info {
/** @brief ISO Server structure. */
struct bt_iso_server {
/**
* @brief Required minimum security level.
*
* Only available when @kconfig{CONFIG_BT_SMP} is enabled.
*/
bt_security_t sec_level;
/**
* @brief Server accept callback
*