commit 2fd667af946bf84b71c9867fcd91c61d8086ce6d
parent 8d3b06502285befbc00334731271236e009ab9e9
Author: James Prestwood <prestwoj@gmail.com>
Date: Fri, 13 Sep 2019 13:47:04 -0700
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.
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git 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 } },
{ },
};