monitor: Update flag information for Extended Advertismement
authorTedd Ho-Jeong An <tedd.an@intel.com>
Thu, 16 Jun 2022 19:58:02 +0000 (12:58 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
This patch updates the missing flag details for Advertisement flags

@ MGMT Event: Command Complete (0x0001) plen 11
      Read Advertising Features (0x003d) plen 8
        Status: Success (0x00)
        Flags: 0x0001ffff
...
          Unknown advertising flag (0x00010c00)
...

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
monitor/packet.c

index 9b35706..33554de 100755 (executable)
@@ -12690,10 +12690,13 @@ static const struct bitfield_data mgmt_adv_flags_table[] = {
        {  7, "Advertise in 1M on Secondary channel"    },
        {  8, "Advertise in 2M on Secondary channel"    },
        {  9, "Advertise in CODED on Secondary channel" },
+       {  10, "Support setting Tx Power"               },
+       {  11, "Support HW offload"                     },
        {  12, "Use provided duration parameter"        },
        {  13, "Use provided timeout parameter"         },
        {  14, "Use provided interval parameters"       },
        {  15, "Use provided tx power parameter"        },
+       {  16, "Contain Scan Response Data"             },
        { }
 };
 #define MGMT_ADV_PARAM_DURATION                (1 << 12)