Introducing NAME_REQUEST_FAILED flag that will be sent together with device found event on name resolve failure. This will provide the userspace with an information so it can decide not to resolve the name for these devices in the future.
Showing the changes to include (1 of 3 files). Show all
Unified · Split
| @@ -936,10 +936,11 @@ struct mgmt_ev_auth_failed { · 935 unmodified lines | |||
| 936 | __u8 status; | 936 | __u8 status; |
| 937 | } __packed; | 937 | } __packed; |
| 938 | 938 | ||
| 939 | #define MGMT_DEV_FOUND_CONFIRM_NAME 0x01 | 939 | #define MGMT_DEV_FOUND_CONFIRM_NAME 0x01 |
| 940 | #define MGMT_DEV_FOUND_LEGACY_PAIRING 0x02 | 940 | #define MGMT_DEV_FOUND_LEGACY_PAIRING 0x02 |
| 941 | #define MGMT_DEV_FOUND_NOT_CONNECTABLE 0x04 | 941 | #define MGMT_DEV_FOUND_NOT_CONNECTABLE 0x04 |
| 942 | #define MGMT_DEV_FOUND_INITIATED_CONN 0x08 | 942 | #define MGMT_DEV_FOUND_INITIATED_CONN 0x08 |
| 943 | #define MGMT_DEV_FOUND_NAME_REQUEST_FAILED 0x10 | ||
| 943 | 944 | ||
| 944 | #define MGMT_EV_DEVICE_FOUND 0x0012 | 945 | #define MGMT_EV_DEVICE_FOUND 0x0012 |
| 945 | struct mgmt_ev_device_found { | 946 | struct mgmt_ev_device_found { |