Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Bluetooth: hci_core: increase max adv inst

Now that all preconditions are present for actual multi-advertising, the
number of allowed advertising instances can be larger than one. This
patch increases the number of allowed advertising instances to 5.

Signed-off-by: Florian Grandel <fgrandel@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

authored by

Florian Grandel and committed by
Marcel Holtmann
db25be66 d4c5af8f

+1 -1
+1 -1
include/net/bluetooth/hci_core.h
··· 169 169 __u8 scan_rsp_data[HCI_MAX_AD_LENGTH]; 170 170 }; 171 171 172 - #define HCI_MAX_ADV_INSTANCES 1 172 + #define HCI_MAX_ADV_INSTANCES 5 173 173 #define HCI_DEFAULT_ADV_DURATION 2 174 174 175 175 #define HCI_MAX_SHORT_NAME_LENGTH 10