Skip to content
Permalink
Browse files

Bluetooth: controller: Decorrelate address generation from resolution

Changes related to Bluetooth TSE 11068.

This is done because the current test suite does not issue
an LE Enable Address Resolution command anymore in RPA
generation tests. Makes sense now that the Bluetooth SIG has
agreed to completely decouple address resolution from
generation.

Fixes BT LL TS 5.1.0 test:
LL/SEC/ADV/BV-03-C [Privacy - Non-connectable Undirected
Advertising, Resolvable Private Address]

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
  • Loading branch information...
cvinayak authored and carlescufi committed Jul 29, 2019
1 parent dd7999d commit 09c1c9e8004f9de007d4bb64ebeac18a6848f840
Showing with 2 additions and 16 deletions.
  1. +1 −8 subsys/bluetooth/controller/ll_sw/ll_filter.c
  2. +1 −8 subsys/bluetooth/controller/ll_sw/ull_filter.c
@@ -45,6 +45,7 @@ static struct {
} wl[WL_SIZE];

static u8_t rl_enable;

static struct rl_dev {
u8_t taken:1;
u8_t rpas_ready:1;
@@ -684,20 +685,12 @@ static void rpa_timeout(struct k_work *work)

static void rpa_refresh_start(void)
{
if (!rl_enable) {
return;
}

BT_DBG("");
k_delayed_work_submit(&rpa_work, rpa_timeout_ms);
}

static void rpa_refresh_stop(void)
{
if (!rl_enable) {
return;
}

k_delayed_work_cancel(&rpa_work);
}

@@ -56,6 +56,7 @@ static struct {
} wl[WL_SIZE];

static u8_t rl_enable;

static struct rl_dev {
u8_t taken:1;
u8_t rpas_ready:1;
@@ -925,20 +926,12 @@ static void rpa_timeout(struct k_work *work)

static void rpa_refresh_start(void)
{
if (!rl_enable) {
return;
}

BT_DBG("");
k_delayed_work_submit(&rpa_work, rpa_timeout_ms);
}

static void rpa_refresh_stop(void)
{
if (!rl_enable) {
return;
}

k_delayed_work_cancel(&rpa_work);
}

0 comments on commit 09c1c9e

Please sign in to comment.
You can’t perform that action at this time.