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>
This commit is contained in:
parent
dd7999d253
commit
09c1c9e800
2 changed files with 2 additions and 16 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue