Parent: b175b8504c61c9684d6f5e37949161c296d5d65d
Author: Archie Pusaka <apusaka@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-03-30 21:38:02
Tree: b4bb7612095d3b397ae73f43c9ea6e84d120dd5c
adv_monitor: merge monitors with the same pattern Some bluetooth chipset (e.g. Intel) doesn't support MSFT extension monitors with the same pattern. In order to make them work, and also to generally make their task easier, we merge monitors with the same pattern in the userspace. Therefore, each monitor sent to the kernel will all have different patterns. If the merged monitor have different RSSI parameter, we would choose the most lenient parameter of the two, since we can still do additional filtering in the userspace. This way, we wouldn't miss any information and can still get the benefit of offloading the filtering. Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Diffstat
| M | src/adv_monitor.c | | | 656 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 529 insertions(+), 127 deletions(-)