Bluetooth: Send index information updates to monitor channel
The Bluetooth public device address might change during controller setup and it makes it a lot simpler for monitoring tools if they just get told what the new address is. In addition include the manufacturer / company information of the controller. That allows for easy vendor specific HCI command and event handling. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
committed by
Johan Hedberg
parent
9bc63ca090
commit
6c566dd5a1
@@ -41,6 +41,7 @@ struct hci_mon_hdr {
|
||||
#define HCI_MON_SCO_RX_PKT 7
|
||||
#define HCI_MON_OPEN_INDEX 8
|
||||
#define HCI_MON_CLOSE_INDEX 9
|
||||
#define HCI_MON_INDEX_INFO 10
|
||||
|
||||
struct hci_mon_new_index {
|
||||
__u8 type;
|
||||
@@ -50,4 +51,10 @@ struct hci_mon_new_index {
|
||||
} __packed;
|
||||
#define HCI_MON_NEW_INDEX_SIZE 16
|
||||
|
||||
struct hci_mon_index_info {
|
||||
bdaddr_t bdaddr;
|
||||
__le16 manufacturer;
|
||||
} __packed;
|
||||
#define HCI_MON_INDEX_INFO_SIZE 8
|
||||
|
||||
#endif /* __HCI_MON_H */
|
||||
|
||||
Reference in New Issue
Block a user