Bluetooth: Controller: Handle LL_UNKNOWN_RSP PDU for remote features

When a peer controller does not recognize one of the LL control
PDUs received, it will issue an LL_UNKNOWN_RSP PDU to let the
peer know that it does not recognize the request.
The controller now handles this incoming PDU and completes the
procedure by issuing the appropriate HCI event in the case of
an LL_FEATURE_REQ and _RSP pair.

Jira: ZEP-1220

Change-Id: I7c04a346441f04deee41198daa6309c11ae1b571
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2016-11-07 15:49:43 +01:00 committed by Johan Hedberg
commit 6ccfa64b5c
2 changed files with 33 additions and 10 deletions

View file

@ -1677,9 +1677,8 @@ isr_rx_conn_pkt_ctrl(struct radio_pdu_node_rx *radio_pdu_node_rx,
*/
*rx_enqueue = 1;
} else {
/** @todo check opcode in unknown rsp, and take
* necessary actions
*/
/* enqueue the error and let HCI handle it */
*rx_enqueue = 1;
/* Procedure complete */
_radio.conn_curr->procedure_expire = 0;
}