Skip to content

Commit c302efe

Browse files
ivaniushkovrlubos
authored andcommitted
bluetooth: hci: add support of LE Receiver Test v3 command
The command support was added to the controller Revert "bluetooth: hci: remove LE Receiver Test v3 command support" This reverts commit b6aa77f. Signed-off-by: Ivan Iushkov <ivan.iushkov@nordicsemi.no> (cherry picked from commit a89a099)
1 parent acfcf04 commit c302efe

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

subsys/bluetooth/controller/hci_internal.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,10 @@ void hci_internal_supported_commands(sdc_hci_ip_supported_commands_t *cmds)
440440
cmds->hci_le_transmitter_test_v2 = 1;
441441
#endif
442442

443+
#if defined(CONFIG_BT_CTLR_DTM_HCI_RX_V3)
444+
cmds->hci_le_receiver_test_v3 = 1;
445+
#endif
446+
443447
#if defined(CONFIG_BT_CTLR_DTM_HCI_TX_V3)
444448
cmds->hci_le_transmitter_test_v3 = 1;
445449
#endif
@@ -1564,6 +1568,10 @@ static uint8_t le_controller_cmd_put(uint8_t const * const cmd,
15641568
return sdc_hci_cmd_le_receiver_test_v1((void *)cmd_params);
15651569
case SDC_HCI_OPCODE_CMD_LE_RECEIVER_TEST_V2:
15661570
return sdc_hci_cmd_le_receiver_test_v2((void *)cmd_params);
1571+
#if defined(CONFIG_BT_CTLR_DTM_HCI_RX_V3)
1572+
case SDC_HCI_OPCODE_CMD_LE_RECEIVER_TEST_V3:
1573+
return sdc_hci_cmd_le_receiver_test_v3((void *)cmd_params);
1574+
#endif /* CONFIG_BT_CTLR_DTM_HCI_RX_V3 */
15671575
case SDC_HCI_OPCODE_CMD_LE_TRANSMITTER_TEST_V1:
15681576
return sdc_hci_cmd_le_transmitter_test_v1((void *)cmd_params);
15691577
case SDC_HCI_OPCODE_CMD_LE_TRANSMITTER_TEST_V2:

0 commit comments

Comments
 (0)