Bluetooth: controller: split: Fix DLE preparation routine
This fixes the EBQ tests 129 and 130. These tests check behaviour for the DLE procedure when Encoded PHY or 2M PHY are not supported. See also BT core spec. Version 5.1, Vol6, Part B, Section 5.1.9 Signed-off-by: Andries Kruithof <Andries.Kruithof@nordicsemi.no>
This commit is contained in:
parent
88f8880e16
commit
3db3ae5aed
1 changed files with 2 additions and 1 deletions
|
@ -3194,7 +3194,8 @@ static inline void event_len_prep(struct ll_conn *conn)
|
|||
(!feature_coded_phy && !feature_phy_2m)) {
|
||||
rx_time = PKT_US(LL_LENGTH_OCTETS_RX_MAX, 0);
|
||||
#if defined(CONFIG_BT_CTLR_PHY)
|
||||
tx_time = conn->default_tx_time;
|
||||
tx_time = MIN(PKT_US(LL_LENGTH_OCTETS_RX_MAX, 0),
|
||||
conn->default_tx_time);
|
||||
#else /* !CONFIG_BT_CTLR_PHY */
|
||||
tx_time = PKT_US(conn->default_tx_octets, 0);
|
||||
#endif /* !CONFIG_BT_CTLR_PHY */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue