Bluetooth: ISO: Align broadcast sync_timeout with connection timeout

This aligns broadcast sync_timeout with existing connection timeouts
which are 20 seconds long.
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 48201a3b
...@@ -164,6 +164,8 @@ struct bt_voice { ...@@ -164,6 +164,8 @@ struct bt_voice {
#define BT_ISO_QOS_BIG_UNSET 0xff #define BT_ISO_QOS_BIG_UNSET 0xff
#define BT_ISO_QOS_BIS_UNSET 0xff #define BT_ISO_QOS_BIS_UNSET 0xff
#define BT_ISO_SYNC_TIMEOUT 0x07d0 /* 20 secs */
struct bt_iso_io_qos { struct bt_iso_io_qos {
__u32 interval; __u32 interval;
__u16 latency; __u16 latency;
......
...@@ -834,10 +834,10 @@ static struct bt_iso_qos default_qos = { ...@@ -834,10 +834,10 @@ static struct bt_iso_qos default_qos = {
.bcode = {0x00}, .bcode = {0x00},
.options = 0x00, .options = 0x00,
.skip = 0x0000, .skip = 0x0000,
.sync_timeout = 0x4000, .sync_timeout = BT_ISO_SYNC_TIMEOUT,
.sync_cte_type = 0x00, .sync_cte_type = 0x00,
.mse = 0x00, .mse = 0x00,
.timeout = 0x4000, .timeout = BT_ISO_SYNC_TIMEOUT,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment