Bluetooth: controller: llcp: update max dle times on feature exchange

On a completion of feature exchange the max DLE times needs to be
updated if Coded PHY has become supported.
For this now also keep a separate store of the default_tx_octets/time
for the sake of re-calculation of local versions of DLE values

Signed-off-by: Erik Brockhoff <erbr@oticon.com>
This commit is contained in:
Erik Brockhoff 2022-05-19 11:03:35 +02:00 committed by Carles Cufí
commit 7daba33f2d
3 changed files with 21 additions and 4 deletions

View file

@ -102,6 +102,8 @@ struct lll_conn {
struct data_pdu_length local;
struct data_pdu_length remote;
struct data_pdu_length eff;
uint16_t default_tx_time;
uint16_t default_tx_octets;
uint8_t update;
} dle;
#endif /* CONFIG_BT_CTLR_DATA_LENGTH */