Bluetooth: controller: split: Port random slave event backoff
Port the implementation that performed random backoff of forced slave event scheduling. When peer master implementation skips events, multiple local overlapping slaves will randomize their forced scheduling to break out of a round robin pattern increasing the chance of synchronizing with their masters again. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
4052bac93f
commit
dd3e8241e9
3 changed files with 6 additions and 11 deletions
|
@ -1009,16 +1009,13 @@ void ull_conn_done(struct node_rx_event_done *done)
|
|||
if (latency_event) {
|
||||
force = 1U;
|
||||
} else {
|
||||
/* FIXME:*/
|
||||
#if 0
|
||||
force = lll->slave.force & 0x01;
|
||||
force = conn->slave.force & 0x01;
|
||||
|
||||
/* rotate force bits */
|
||||
lll->slave.force >>= 1;
|
||||
conn->slave.force >>= 1;
|
||||
if (force) {
|
||||
lll->slave.force |= BIT(31);
|
||||
conn->slave.force |= BIT(31);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue