Commit | Line | Data |
---|---|---|
ccf74f23 LAD |
1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* | |
3 | * BlueZ - Bluetooth protocol stack for Linux | |
4 | * | |
5 | * Copyright (C) 2022 Intel Corporation | |
6 | */ | |
7 | ||
8 | #ifndef __ISO_H | |
9 | #define __ISO_H | |
10 | ||
11 | /* ISO defaults */ | |
12 | #define ISO_DEFAULT_MTU 251 | |
f764a6c2 LAD |
13 | #define ISO_MAX_NUM_BIS 0x1f |
14 | ||
15 | /* ISO socket broadcast address */ | |
16 | struct sockaddr_iso_bc { | |
17 | bdaddr_t bc_bdaddr; | |
18 | __u8 bc_bdaddr_type; | |
19 | __u8 bc_sid; | |
20 | __u8 bc_num_bis; | |
21 | __u8 bc_bis[ISO_MAX_NUM_BIS]; | |
22 | }; | |
ccf74f23 LAD |
23 | |
24 | /* ISO socket address */ | |
25 | struct sockaddr_iso { | |
26 | sa_family_t iso_family; | |
27 | bdaddr_t iso_bdaddr; | |
28 | __u8 iso_bdaddr_type; | |
f764a6c2 | 29 | struct sockaddr_iso_bc iso_bc[]; |
ccf74f23 LAD |
30 | }; |
31 | ||
32 | #endif /* __ISO_H */ |