]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
iw: print out Mesh ID on scan
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Mon, 14 May 2012 15:23:48 +0000 (23:23 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 14 May 2012 17:17:55 +0000 (19:17 +0200)
Print out the mesh id element which is useful for a mesh node
to scan for an existing mesh network

scan.c

diff --git a/scan.c b/scan.c
index 110e1d39ade647e0d8695b77e5b7190b3a49d53e..5f8ce93b529963fb8fb13ba2264907310695e573 100644 (file)
--- 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), },
 };