Bluetooth: Allow LL_REJECT_EXT_IND as a response to LL_CTE_REQ

In Core_v5.3, Vol 6, Part B, Section 5.1.12 describes that this
is allowed.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
This commit is contained in:
Rubin Gerritsen 2022-12-28 15:57:44 +01:00 committed by AndersBroman
parent 1eeb342476
commit 62fafa5fc9
1 changed files with 12 additions and 0 deletions

View File

@ -3354,6 +3354,7 @@ dissect_btle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
* - As a response to LL_CONNECTION_PARAM_REQ
* - As a response to LL_CONNECTION_PARAM_RSP
* - As a response during the phy update procedure.
* - As a response during the CTE request procedure.
*/
if (connection_info && !btle_frame_info->retransmit && direction != BTLE_DIR_UNKNOWN) {
if (direction == BTLE_DIR_SLAVE_MASTER &&
@ -3402,6 +3403,17 @@ dissect_btle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
last_control_proc[other_direction],
last_control_proc[direction],
1);
} else if (control_proc_can_add_frame(pinfo,
last_control_proc[other_direction],
0x1A, 1)) {
control_proc_add_last_frame(tvb,
pinfo,
btle_tree,
control_opcode,
direction,
last_control_proc[other_direction],
last_control_proc[direction],
1);
} else {
expert_add_info(pinfo, control_proc_item, &ei_control_proc_wrong_seq);
}