diff options
author | Yun-Hao Chung <howardchung@chromium.org> | 2021-05-24 10:43:37 +0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-05-24 13:14:24 -0700 |
commit | 2501575a73d0c434ffa02d62d4d1f9c0584bf01d (patch) | |
tree | 028427d4bfc1233c0b1c93aa3b9f75af443b631c /src/btd.h | |
parent | af77ecf57c5d02c43f13133b49270f2253e7fdc9 (diff) | |
download | bluez-2501575a73d0c434ffa02d62d4d1f9c0584bf01d.tar.gz |
core: Add RSSI sampling period in system parameter
Add an option in main.conf to configure the default RSSI sampling
period for advertisement monitor.
Reviewed-by: apusaka@chromium.org
Reviewed-by: mmandlik@chromium.org
Reviewed-by: mcchou@chromium.org
Diffstat (limited to 'src/btd.h')
-rw-r--r-- | src/btd.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -89,6 +89,10 @@ struct btd_avdtp_opts { uint8_t stream_mode; }; +struct btd_advmon_opts { + uint8_t rssi_sampling_period; +}; + struct btd_opts { char *name; uint32_t class; @@ -123,6 +127,8 @@ struct btd_opts { uint8_t key_size; enum jw_repairing_t jw_repairing; + + struct btd_advmon_opts advmon; }; extern struct btd_opts btd_opts; |