diff mbox series

[BlueZ,2/3] monitor: Update flag information for Extended Advertismement

Message ID 20220616195803.99346-2-hj.tedd.an@gmail.com (mailing list archive)
State Accepted
Commit 2479a013a2028d419c713b9e41ee55e2851533f4
Headers show
Series [BlueZ,1/3] doc/mgmt-api: Update for Add Extended Advertisement Command | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
tedd_an/checkpatch success Checkpatch PASS
tedd_an/gitlint fail [BlueZ,2/3] monitor: Update flag information for Extended Advertismement 11: B3 Line contains hard tab characters (\t): " ..." 13: B3 Line contains hard tab characters (\t): " ..."

Commit Message

Tedd Ho-Jeong An June 16, 2022, 7:58 p.m. UTC
From: Tedd Ho-Jeong An <tedd.an@intel.com>

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)
	...
---
 monitor/packet.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/monitor/packet.c b/monitor/packet.c
index bd9efd2c7..3d081c544 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -12667,10 +12667,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)