Bluetooth: controller: Add BT_CTLR_CONN_RSSI_EVENT option
Split BT_CTLR_CONN_RSSI option into two, the base option enables the Read RSSI command, while the new BT_CTLR_CONN_RSSI_EVENT enables the connection RSSI events. There is no handling of RSSI events, only a BT_INFO log. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
68ce16cf86
commit
eba6265ac3
10 changed files with 40 additions and 18 deletions
|
@ -1195,7 +1195,7 @@ void ull_conn_done(struct node_rx_event_done *done)
|
|||
}
|
||||
#endif /* CONFIG_BT_CTLR_LE_PING */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_CONN_RSSI)
|
||||
#if defined(CONFIG_BT_CTLR_CONN_RSSI_EVENT)
|
||||
/* generate RSSI event */
|
||||
if (lll->rssi_sample_count == 0) {
|
||||
struct node_rx_pdu *rx;
|
||||
|
@ -1219,7 +1219,7 @@ void ull_conn_done(struct node_rx_event_done *done)
|
|||
ll_rx_sched();
|
||||
}
|
||||
}
|
||||
#endif /* CONFIG_BT_CTLR_CONN_RSSI */
|
||||
#endif /* CONFIG_BT_CTLR_CONN_RSSI_EVENT */
|
||||
|
||||
/* break latency based on ctrl procedure pending */
|
||||
if (((((conn->llcp_req - conn->llcp_ack) & 0x03) == 0x02) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue