Bluetooth: Controller: BIS initial implementation review rework
Changes here are related to review rework. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
61eb655ab6
commit
8fbbf2baef
10 changed files with 189 additions and 183 deletions
|
@ -6348,6 +6348,10 @@ no_ext_hdr:
|
|||
sizeof(*sep));
|
||||
|
||||
sep->sync_handle = sys_cpu_to_le16(node_rx->hdr.handle);
|
||||
|
||||
/* NOTE: both sep and bi struct store little-endian values,
|
||||
* explicit endian-ness conversion not required.
|
||||
*/
|
||||
sep->num_bis = bi->num_bis;
|
||||
sep->nse = bi->nse;
|
||||
sep->iso_interval = bi->iso_interval;
|
||||
|
@ -6413,7 +6417,7 @@ static void le_big_sync_established(struct pdu_data *pdu,
|
|||
return;
|
||||
}
|
||||
|
||||
/* TODO: Fill latency */
|
||||
/* FIXME: Fill latency */
|
||||
sys_put_le32(0, sep->latency);
|
||||
|
||||
sep->nse = lll->nse;
|
||||
|
@ -6424,7 +6428,7 @@ static void le_big_sync_established(struct pdu_data *pdu,
|
|||
sep->iso_interval = sys_cpu_to_le16(sync_iso->iso_interval);
|
||||
sep->num_bis = lll->num_bis;
|
||||
|
||||
/* TODO: Connection handle list of all BISes in the BIG */
|
||||
/* FIXME: Connection handle list of all BISes in the BIG */
|
||||
sep->handle[0] = sys_cpu_to_le16(0);
|
||||
}
|
||||
|
||||
|
@ -6432,7 +6436,7 @@ static void le_sync_iso_pdu(struct pdu_data *pdu,
|
|||
struct node_rx_pdu *node_rx,
|
||||
struct net_buf *buf)
|
||||
{
|
||||
printk("Sync ISO PDU (%u)\n", pdu->len);
|
||||
/* FIXME: integrate with ISOAL interface */
|
||||
}
|
||||
|
||||
static void le_big_sync_lost(struct pdu_data *pdu,
|
||||
|
@ -6501,7 +6505,7 @@ static void le_big_complete(struct pdu_data *pdu_data,
|
|||
return;
|
||||
}
|
||||
|
||||
/* TODO: Fill sync delay and latency */
|
||||
/* FIXME: Fill sync delay and latency */
|
||||
sys_put_le24(0, sep->sync_delay);
|
||||
sys_put_le24(0, sep->latency);
|
||||
|
||||
|
@ -6513,7 +6517,7 @@ static void le_big_complete(struct pdu_data *pdu_data,
|
|||
sep->max_pdu = sys_cpu_to_le16(lll->max_pdu);
|
||||
sep->num_bis = lll->num_bis;
|
||||
|
||||
/* TODO: Connection handle list of all BISes in the BIG */
|
||||
/* FIXME: Connection handle list of all BISes in the BIG */
|
||||
sep->handle[0] = sys_cpu_to_le16(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue