Skip to content

Commit b308192

Browse files
andrzej-kaczmareknashif
authored andcommitted
Bluetooth: Controller: Add todos for per adv chain scan
Add todos for few useful improvements that can be done later. Signed-off-by: Andrzej Kaczmarek <[email protected]>
1 parent 993838e commit b308192

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

subsys/bluetooth/controller/hci/hci.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5694,6 +5694,9 @@ static void le_per_adv_sync_report(struct pdu_data *pdu_data,
56945694
}
56955695

56965696
sep->handle = sys_cpu_to_le16(node_rx->hdr.handle);
5697+
/* TODO: use actual TX power only on 1st report, subsequent
5698+
* reports can use 0x7F
5699+
*/
56975700
sep->tx_power = tx_pwr;
56985701
sep->rssi = rssi;
56995702
sep->cte_type = cte_type;

subsys/bluetooth/controller/ll_sw/nordic/lll/lll_scan_aux.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ uint8_t lll_scan_aux_setup(struct pdu_adv *pdu, uint8_t pdu_phy,
190190
overhead_us = PDU_AC_US(pdu->len, pdu_phy, pdu_phy_flags_rx);
191191
#if defined(CONFIG_BT_CTLR_DF_SCAN_CTE_RX)
192192
/* Add CTE time if samples are available (8us unit) */
193+
/* TODO: check if CTE was actually enabled for rx */
193194
if (cte_info && radio_df_iq_samples_amount_get()) {
194195
overhead_us += cte_info->time << 3;
195196
}

0 commit comments

Comments
 (0)