From 2fd667af946bf84b71c9867fcd91c61d8086ce6d Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Fri, 13 Sep 2019 13:47:04 -0700 Subject: [PATCH] monitor: print QoS Map The actual data in the map is very low level, but this at least shows us that the IE was included. --- monitor/nlmon.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/monitor/nlmon.c b/monitor/nlmon.c index ee92641e..17ba7e24 100644 --- a/monitor/nlmon.c +++ b/monitor/nlmon.c @@ -1854,6 +1854,13 @@ static void print_ie_supported_operating_classes(unsigned int level, print_ie_error(level, label, size, -EINVAL); } +static void print_qos_map(unsigned int level, const char *label, + const void *data, + uint16_t size) +{ + print_attr(level, "QoS Map"); +} + static struct attr_entry ie_entry[] = { { IE_TYPE_SSID, "SSID", ATTR_CUSTOM, { .function = print_ie_ssid } }, @@ -1902,6 +1909,8 @@ static struct attr_entry ie_entry[] = { { IE_TYPE_SUPPORTED_OPERATING_CLASSES, "Supported Operating Classes", ATTR_CUSTOM, { .function = print_ie_supported_operating_classes } }, + { IE_TYPE_QOS_MAP_SET, "QoS Map", + ATTR_CUSTOM, { .function = print_qos_map } }, { }, };