monitor: Decode Add ADV monitor command
authorHoward Chung <howardchung@google.com>
Thu, 29 Oct 2020 10:09:44 +0000 (18:09 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:33 +0000 (19:08 +0530)
commite21aaccc1a2ed0649c5183dbbe61aee6c165c9a0
tree453db567f8853f3a7eaed8b7a3417b2f714cb00a
parent81d1cfde5358754b51bc4259a8e701483c756375
monitor: Decode Add ADV monitor command

Add support for Add Advertisement Monitor MGMT command and event.

@ MGMT Command: Add Advertisement Monitor (0x0052) plen 69
        Number of patterns: 2
          Pattern 1:
            AD type: 0
            Offset: 1
            Length: 2
            Value : ...
          Pattern 2:
            AD type: 1
            Offset: 10
            Length: 4
            Value : ...
@ MGMT Event: Advertisement Monitor Added (0x002b) plen 2
        Handle: 1
@ MGMT Event: Command Complete (0x0001) plen 5
      Add Advertisement Monitor (0x0052) plen 2
        Status: Success (0x00)
        Handle: 1

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
monitor/packet.c