Bluetooth: controller: split: Fix PHY update proc symmetric rsp
Fix PHY update procedure to correctly handle master requesting asymmetrical and slave symmetrical. Fixes BT LL TS 5.1.0 conformance test: LL/CON/MAS/BV-117-C [PHY Update Procedure - Master Requests Asymmetrical, Slave Symmetrical] Relates to #17097. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
ae8628d089
commit
a081e001b0
1 changed files with 10 additions and 0 deletions
|
@ -5246,6 +5246,11 @@ static inline int ctrl_rx(memq_link_t *link, struct node_rx_pdu **rx,
|
|||
conn->llcp_phy.tx &= p->rx_phys;
|
||||
conn->llcp_phy.rx &= p->tx_phys;
|
||||
|
||||
if (!conn->llcp_phy.tx || !conn->llcp_phy.rx) {
|
||||
conn->llcp_phy.tx = 0;
|
||||
conn->llcp_phy.rx = 0;
|
||||
}
|
||||
|
||||
/* pause data packet tx */
|
||||
conn->llcp_phy.pause_tx = 1U;
|
||||
|
||||
|
@ -5274,6 +5279,11 @@ static inline int ctrl_rx(memq_link_t *link, struct node_rx_pdu **rx,
|
|||
conn->llcp_phy.tx &= p->rx_phys;
|
||||
conn->llcp_phy.rx &= p->tx_phys;
|
||||
|
||||
if (!conn->llcp_phy.tx || !conn->llcp_phy.rx) {
|
||||
conn->llcp_phy.tx = 0;
|
||||
conn->llcp_phy.rx = 0;
|
||||
}
|
||||
|
||||
/* pause data packet tx */
|
||||
conn->llcp_phy.pause_tx = 1U;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue