2012-05-14 15:26:59

by Chun-Yeow Yeoh

[permalink] [raw]
Subject: [PATCH] iw: print out Mesh ID on scan

Print out the mesh id element which is useful for a mesh node
to scan for an existing mesh network
---
scan.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scan.c b/scan.c
index 110e1d3..5f8ce93 100644
--- a/scan.c
+++ b/scan.c
@@ -675,6 +675,7 @@ static const struct ie_print ieprinters[] = {
[61] = { "HT operation", print_ht_op, 22, 22, BIT(PRINT_SCAN), },
[48] = { "RSN", print_rsn, 2, 255, BIT(PRINT_SCAN), },
[50] = { "Extended supported rates", print_supprates, 0, 255, BIT(PRINT_SCAN), },
+ [114] = { "MESH ID", print_ssid, 0, 32, BIT(PRINT_SCAN) | BIT(PRINT_LINK), },
[127] = { "Extended capabilities", print_capabilities, 0, 255, BIT(PRINT_SCAN), },
};

--
1.7.0.4