zephyr/include
Joakim Andersson bd7a2fc395 Bluetooth: host: Change directed advertising to privacy-enabled peer
Change the advertising option that controls if the directed advertiser
will use an RPA or the identity address of the peer for the initiator
address.
This option currently has two issues:
 - It behaves differently if the privacy feature has been enabled,
   which can be confusing for application to use.
 - It cannot start a directed advertiser towards a peer that is not
   privacy-enabled and has distributed an IRK.

This commit includes the following changes:
 - When privacy has been enabled in order to advertise towards a
   privacy-enabled peer the BT_LE_ADV_OPT_DIR_ADDR_RPA option must now
   be set (same as when privacy has been disabled).
 - It is now possible to start a directed advertiser using the identity
   address of the peer when privacy-enabled.
 - When privacy has been enabled the advertising option combination
   of using the local identity address and an RPA as the initiator
   address is now disallowed and will return an error code.
   This is done because this combination did not actually work and would
   have used the identity address of the peer instead.
 - If the controller does not support controller-based privacy then
   using the option BT_LE_ADV_OPT_DIR_ADDR_RPA will return ENOTSUP
   because this behavior cannot be done with host-based privacy.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-11-11 13:22:02 +01:00
..
app_memory userspace: update k_mem_domain_add_partition docs 2020-11-05 09:33:40 -05:00
arch arch: arc: add support of ARConnect inter-core debug unit 2020-11-09 15:52:15 -06:00
audio device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
bluetooth Bluetooth: host: Change directed advertising to privacy-enabled peer 2020-11-11 13:22:02 +01:00
canbus subsys: canopen: Add a wrapper to avoid passing device to CO_init 2020-09-02 13:48:13 +02:00
cmsis_rtos_v1
cmsis_rtos_v2
console device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
crypto device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
data
debug debug: x86: Add gdbstub for X86 2020-09-02 20:54:57 -04:00
devicetree devicetree: rename header to reflect that io-channels are not ADC-only 2020-10-19 17:21:33 +02:00
dfu dfu: img_util: Add flash integrity check 2020-09-03 17:56:02 +02:00
disk device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
display device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
drivers drivers: add infrastructure for regulator devices 2020-10-28 15:22:53 +01:00
dt-bindings drivers: display: ili9xxx: generalize ILI display driver 2020-11-10 15:52:12 -06:00
fs fs: Add support for mount flags 2020-11-06 13:10:13 -05:00
linker net: dns: dns-sd: support dns service discovery 2020-11-09 16:15:02 -08:00
logging logging: make log_backend_std header public 2020-10-21 10:21:05 -04:00
lorawan lorawan,lora: fix C++ compilation/linking errors 2020-10-15 11:08:07 +02:00
mgmt mgmt/osdp: CP: Unify osdp_cp_send_cmd_*() as osdp_cp_send_command() 2020-10-21 17:36:16 +02:00
net net: lwm2m: Add path generation macro 2020-11-10 14:10:44 +02:00
posix include/posix: fix extern "C" placement 2020-10-13 10:05:30 -05:00
power pm: Add power management states definition 2020-11-11 13:20:05 +01:00
random
settings
shell shell: documentation update 2020-10-08 10:12:25 -04:00
stats
storage storage/flash_map: Added function for get erased byte value 2020-10-30 15:53:38 +01:00
sys lib: os: ring_buffer: Cleaning checkpatch warnings 2020-11-11 13:17:49 +01:00
timing timing: introduce timing functions as a generic feature 2020-09-05 13:28:38 -05:00
toolchain sys: util: Add clamp macro 2020-11-05 12:12:17 +01:00
tracing
usb usb: samples: Add Extension descriptor to webUSB sample. 2020-10-30 15:56:13 +01:00
zephyr
cache.h
device.h device: deprecate DEVICE_INIT 2020-11-10 08:38:09 -06:00
devicetree.h devicetree: add a name for an invalid node identifier 2020-10-19 18:14:11 +02:00
ec_host_cmd.h include: remove enum build assert 2020-10-02 11:44:39 +02:00
emul.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
exc_handle.h
fatal.h
generated_dts_board.h
init.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
irq_nextlevel.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
irq_offload.h irq: Change offload API to take a constant parameter 2020-09-02 13:48:13 +02:00
irq.h irq: Change dynamic API to take a constant parameter 2020-09-02 13:48:13 +02:00
kernel_includes.h kernel: move kernel object APIs to own header 2020-10-12 12:21:46 -04:00
kernel_structs.h kernel: move k_heap definition 2020-10-06 19:56:51 -04:00
kernel_version.h
kernel.h kernel: improve k_thread_user_mode_enter() docs 2020-10-26 13:06:16 +01:00
mempool_heap.h
mempool_sys.h
ptp_clock.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
sched_priq.h
shared_irq.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
spinlock.h kernel: Add cache coherence management framework 2020-10-21 06:38:53 -04:00
sw_isr_table.h irq: Change dynamic API to take a constant parameter 2020-09-02 13:48:13 +02:00
sys_clock.h kernel/sys_clock.h: Remove deprecated macros 2020-10-04 14:12:27 -07:00
syscall_handler.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
syscall.h
timeout_q.h kernel: timer: update _timeout API for const correctness 2020-10-02 11:29:14 +02:00
toolchain.h ARC: toolchain: handle difference in macros for MWDT and ARC GNU 2020-09-05 10:22:56 -05:00
wait_q.h
zephyr.h