Commit: fbc85a500387e14082da55ad7dd854b53453fe44
Parent: 3f96e817fe4e8b7f4fd67a988a9f7966e710206f
Author: Michael Sun <michaelfsun@google.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-06-22 20:01:47
Tree: bf3615fcf49f7dba1abf762d10cd2e38ea15e198

btmgmt: Add command "remove" into "monitor" btmgmt submenu This patch introduces a new btmgmt command ‘remove’ wihtin "monitor" submenu to allow users to remove previously added filters along with a event handler to handle kernel issued MGMT_EV_ADV_MONITOR_REMOVED event. The command will work with the new MGMT opcode MGMT_OP_REMOVE_ADV_MONITOR. Tested on Atlas Chromebook with a sample stdout below: [mgmt]# remove 1 Advertisement monitor with handle: 0x0001 removed [mgmt]# remove 1234 Could not remove advertisement monitor with status 0x11 (Invalid Index)

Diffstat

M tools/btmgmt.c | 56 ++++++++++++++++++++++++++++++++++++++++

1 files changed, 56 insertions(+), 0 deletions(-)

View Full Diff | Patch