Bluetooth: btintel: improvement: mask vendor events from controller
PATCH 1/1 Bluetooth: btintel: improvement: mask vendor events from controller
This patch mask unnecessary event notifications from controller to host
Signed-off-by Amit K Bag <[email protected]>
--- drivers/bluetooth/btintel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bluetooth/btintel.c +1 -1
@@ -313,7 +313,7 @@ EXPORT_SYMBOL_GPL(btintel_load_ddc_config);int btintel_set_event_mask (struct hci_dev *hdev,bool debug) { -u8 mask[8 ] = {0x87 ,0x0c ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }; +u8 mask[8 ] = {0x01 ,0x0c ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 };struct sk_buff *skb;int err;
Signature · 1 line
2.7.4
Marcel Holtmann
maintainerHi Amit,
Quoted 12 lines
This patch mask unnecessary event notifications from controller to host
Signed-off-by Amit K Bag <[email protected]>---
drivers/bluetooth/btintel.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/bluetooth/btintel.c +0
-0
drivers/bluetooth/btintel.c EXPORT_SYMBOL_GPL(btintel_load_ddc_config); · line 318
Quoted 7 lines
drivers/bluetooth/btintel.c +1
-1@@ -313,7 +313,7 @@ EXPORT_SYMBOL_GPL(btintel_load_ddc_config);int btintel_set_event_mask (struct hci_dev *hdev,bool debug) { -u8 mask[8 ] = {0x87 ,0x0c ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }; +u8 mask[8 ] = {0x01 ,0x0c ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 };struct sk_buff *skb;int err;
so I enabled actually many more events to ensure we get proper output in btmon in case something happens. So you need to be more specific why we want to not enable these events for our hardware.
Regards
Marcel