summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wassp.c
blob: 9fee1db49c18b2c5bfde4f312b06b835f64d4ee9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
/* packet-wassp.c
 * Routines for the disassembly of the Chantry/Enterasys/ExtremeNetworks AP-Controller
 * tunneling protocol.
 *
 * By Zhong Wei Situ <zsitu@extremenetworks.com>
 * Copyright 2019 Extreme Networks
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

/*
  https://tools.ietf.org/html/draft-singh-capwap-ctp-02
  looks very similar (but not always identical).

  AC: Access Controller
  MU: Mobile Unit (Wireless client)
  RU: Radio Unit (Access point)

 */

#include "config.h"
#include <epan/packet.h>
#include <epan/reassemble.h>
#include <epan/conversation.h>
#include <epan/tfs.h>

#include <wsutil/array.h>

#define PROTO_SHORT_NAME "WASSP"
#define PROTO_LONG_NAME "Wireless Access Station Session Protocol"
#define LBS_HDR_MAGIC 0x7c83
#define MU_NETFLOW_RECORD_SIZE 46
#define WASSP_SNMP 161

/* TLV structure offsets. */
#define TLV_TYPE 0
#define TLV_LENGTH 2
#define TLV_VALUE 4

/* header lengths */
#define WASSP_HDR_LEN 8
#define RU_HEADER_WITH_MAC_LEN 16
#define RU_HEADER_WITHOUT_MAC_LEN 12
#define WASSP_MU_HDR_LEN 14

/* WASSP header offsets in bytes */
#define WASSP_HDR_VERSION 0
#define WASSP_HDR_TYPE 1
#define WASSP_HDR_SEQ_NUM 2
#define WASSP_HDR_FLAGS 3
#define WASSP_HDR_SESSIONID 4
#define WASSP_HDR_PLENGTH 6


/* RU Discover header offsets in bytes */
#define RU_HDR_VERSION 0
#define RU_HDR_TYPE 1
#define RU_HDR_RAD_NUM 2
#define RU_HDR_LENGTH 4
#define RU_HDR_CHECKSUM 6
#define RU_HDR_AC_OP 8
#define RU_HDR_MAC  10
#define RU_HDR_AC_MODE  10


#define RU_HDR_CONTAIN_MAC 1
/* MU NetFlow header offsets in bytes */
#define MU_NETFLOW_HDR_VERSION 0
#define MU_NETFLOW_HDR_LENGTH 2
#define MU_NETFLOW_HDR_FLAG 4
#define MU_NETFLOW_HDR_UPTIME 6

#define MU_NETFLOW_HEADER_TOTAL_LENGTH 10


/* WASSP MU header offsets in bytes */
#define WASSP_MU_HDR_TYPE 0
#define WASSP_MU_HDR_QOS 1
#define WASSP_MU_HDR_ACTION_SSID 2
#define WASSP_MU_HDR_MAC 4
#define WASSP_MU_HDR_RESV_0 10
#define WASSP_MU_HDR_RESV_1 12
#define WASSP_MU_HDR_WITH_ASSO_STATUS_LEN 15
#define WASSP_MU_HDR_WITHOUT_ASSO_STATUS_LEN 14

#define RU_WASSP_FLAGS_MORE_FRAGMENTS_FOLLOWING 0x01
#define RU_WASSP_FLAGS_NOT_FIRST_FRAGMENT       0x04
#define RU_WASSP_FLAGS_USE_FRAGMENTATION        0x08
#define RU_WASSP_FLAGS                          0x3f

#define RU_DISCOVER_OP_MODE 1
#define WASSP_MOBILITY 0x10
#define WASSP_DATA_FRAGMENT 0x2

/* Define WASSP UDP port */
#define UDP_PORT_WASSP 13910
#define PORT_WASSP_DISCOVER 13907
#define PORT_WASSP_RANGE "13907,13910" /* Not IANA registered */

#define WASSP_DATA_FRAGMENT_BIT 0x2



typedef struct   tlv_mac_add
{
	uint16_t tlvType ;
	uint16_t tlvLen;
	uint8_t   tlvMac[6/* MAC_ADDR_SIZE */];
}  TLV_MAC_ADD;
#define TLV_MAC_ADD_SIZE sizeof (TLV_MAC_ADD)




typedef struct
{
	uint16_t     tlvType;
	uint16_t     tlvLen;
	TLV_MAC_ADD  tlvMacAddress;
	uint32_t     radioId;
} TLV_RADIO_BLOCK;


typedef struct tlvVnsBlock
{
	uint16_t     tlvType;
	uint16_t     tlvLen;
	uint32_t     radioId;
	uint32_t     bssidId;
	uint32_t     ssidId;
} TLV_VNS_BLOCK;


typedef struct
{
	TLV_MAC_ADD           tlvMacAddress;
	TLV_RADIO_BLOCK       tlvRadioB[2];
	TLV_VNS_BLOCK         tlvVnsB[16];
} tlvSsiddBssidMap;




/* @*@ */
typedef struct
{
	uint16_t   tlvId;
	char     *name;
	uint16_t   type;
	uint16_t   length;
#define WASSP_TAB_IDX length
	uint32_t   (*parseFunc)(void);
	uint32_t   (*setFunc)(void);
	uint32_t   offset;
	uint8_t    flags;
	uint32_t   minValue;
	uint32_t   maxValue;
	uint32_t   (*customCheckFunc)(void);
} TLV_PARSER_ENTRY;

/* @*@ */
#define TLV_TYPE_UNKNOWN         0
#define TLV_TYPE_STRING          1  //- PW_TYPE_STRING
#define TLV_TYPE_INT             2  //- PW_TYPE_INTEGER
#define TLV_TYPE_UINT            3  //- PW_TYPE_INTEGER
#define TLV_TYPE_BOOL            4  //- PW_TYPE_INTEGER
#define TLV_TYPE_OCTETS          5  //- PW_TYPE_OCTETS
#define TLV_TYPE_MACADD          6  //- PW_TYPE_MACADD
#define TLV_TYPE_BLOCK_TLV       7
#define TLV_TYPE_INDEX           8  //- PW_TYPE_INTEGER
#define TLV_TYPE_IP_ADDR         9  //- PW_TYPE_INTEGER

typedef enum
{
	CONFIG_GLOBAL_BLOCK,
	CONFIG_ERROR_BLOCK,
	TAB_CONFIG_MODIFIED,
	RADIO_CONFIG_BLOCK,
	VNS_CONFIG_BLOCK,
	MU_RF_STATS_BLOCK,
	AP_STATS_BLOCK,
	STATS_MU_BLOCK,
	TAB_STATS_RADIO,
	TAB_STATS_ETH,
	TAB_STATS_WDS,
	TAB_STATS_DOT1x,
	TAB_CONFIG_FILTER,
	TAB_STATS_VNS,
	TAB_CONFIG_RADIUS_SERVER,
	TAB_CONFIG_SITE,
	TAB_CONFIG_POLICY,
	TAB_CONFIG_COS,
	TAB_CONFIG_LOC_BASE_LP,
	TAB_CONFIG_RADIUS,
	EVENT_BLOCK,
	TAB_SSS_MU_BLOCK,
	TAB_EID_MU_BLOCK,
	BULK_MU_BLOCK,
	MU_BLOCK,
	BULK_VNS_BLOCK,
	VNS_BLOCK,
	TAB_SIAPP_PMK_BLOCK,
	TAB_SIAPP_RADIO_CONFIG_BLOCK,
	TAB_SIAPP_MU_STATS_BLOCK,
	TAB_SIAPP_THIN_BLOCK,
	TAB_SIAPP_BLOCK,
	TAB_ASSOC_SSID_ARRAY,
	TAB_ASSOC_SSID_BLOCK,
	TAB_AP_LIST_BLOCK,
	TAB_AP_LIST_ARRAY,
	TAB_SCAN_PROFILE_BLOCK,
	TAB_THREAT_DEF_ARRAY,
	TAB_THREAT_DEF_BLOCK,
	TAB_THREAT_PATTERN_ARRAY,
	TAB_THREAT_PATTERN_BLOCK,
	TAB_SURVEILLANCE_DATA_ARRAY,
	TAB_SURVEILLANCE_DATA_BLOCK,
	TAB_THREAT_DATA_ARRAY,
	TAB_THREAT_DATA_BLOCK,
	TAB_THREAT_CLASSIFY_ARRAY,
	TAB_THREAT_CLASSIFY_BLOCK,
	TAB_USER_CLASSIFY_ARRAY,
	TAB_USER_CLASSIFY_BLOCK,
	TAB_MU_EVENT_ARRAY,
	TAB_MU_EVENT_BLOCK,
	TAB_COUNTRY_ARRAY,
	TAB_COUNTRY_BLOCK,
	TAB_LOCATOR_LOC_BLOCK,
	TAB_LOCATOR_LOC_ARRAY,
	TAB_RSS_DATA_ARRAY,
	TAB_RSS_DATA_BLOCK,
	TAB_MCAST_FILTER_BLOCK,
	TAB_MCAST_FILTER_BLOCK_ENTRY,
	TAB_MU_SESSION_ARRAY,
	TAB_MU_SESSION_BLOCK,
	TAB_DETECTED_ROGUE_ARRAY,
	TAB_DETECTED_ROGUE_BLOCK,
	TAB_FILTER_RULES_EXT_BLOCK,
	TAB_APP_POLICY_FIXED_BLOCK,
	TAB_V_FILTER_RULES_EXT_BLOCK,
	TAB_V_SITE_FILTER_RULES_EXT_BLOCK,
	TAB_APP_POLICY_ENTRY_BLOCK,
	TAB_11U_ANQP_BLOCK,
	TAB_HS2_BLOCK,
	TAB_RU_ACK_RADIO_CONFIG,
	TAB_MU_APPL_STATS_BLOCK,
	TAB_EXTAPP_CONF_BLOCK,
	TAB_V_CP_CONFIG_BLOCK,
	TAB_TOPOLOGY_ARRAY_BLOCK,
	TAB_TOPOLOGY_STRUCT_BLOCK,
	TAB_FILTER_CONFIG_STRUCT_BLOCK,
	TAB_S_TOPOLOGY_ARRAY_BLOCK,
	TAB_S_TOPOLOGY_STRUCT_BLOCK,
	TAB_S_TOPO_MCAST_FILTER_CONFIG_BLOCK,
	TAB_S_TOPO_MCAST_FILTER_RULES_EXT_BLOCK,
	TAB_NAC_SERVER_CONFIG_ARRAY,
	TAB_NAC_SERVER_CONFIG_BLOCK,
	TAB_NAC_WEB_AUTH_USER_GROUP_ARRAY,
	TAB_NAC_WEB_AUTH_USER_GROUP_BLOCK,

	TAB_MAX
} WASSP_SUBTLV_TAB_e;


/* Wassp RU Message/Header Types */
typedef enum
{
	WASSP_RU_UNUSED_0 = 0,
	WASSP_RU_Discov,                           // 1
	WASSP_RU_Register_Req,                     // 2
	WASSP_RU_Register_Rsp,                     // 3
	WASSP_RU_Authentication_Req,               // 4
	WASSP_RU_Authentication_Rsp,               // 5
	WASSP_RU_SW_Version_Validate_Req,          // 6
	WASSP_RU_SW_Version_Validate_Rsp,          // 7
	WASSP_RU_Config_Req,                       // 8
	WASSP_RU_Config_Rsp,                       // 9
	WASSP_RU_Ack,                              // 10
	WASSP_RU_Config_Status_Notify,             // 11
	WASSP_RU_Set_State_Req,                    // 12
	WASSP_RU_Set_State_Rsp,                    // 13
	WASSP_RU_Stats_Notify,                     // 14
	WASSP_Data,                                // 15
	WASSP_RU_Poll,                             // 16
	WASSP_RU_SNMP_Req,                         // 17
	WASSP_RU_SNMP_Rsp,                         // 18
	WASSP_BP_Trap_Notify,                      // 19
	WASSP_BP_Scan_Req,                         // 20
	WASSP_RFM_Notify,                          // 21
	WASSP_RU_SNMP_Alarm_Notify,                // 22
	WASSP_RU_SNMP_Set_Alarm_Clear,             // 23
	WASSP_RU_SNMP_Set_Log_Status,              // 24
	WASSP_RU_SNMP_Get_Log_Req,                 // 25
	WASSP_RU_SNMP_Get_Log_Resp,                // 26
	WASSP_SEC_Update_Notify,                   // 27
	WASSP_RU_STATS_Req,                        // 28
	WASSP_RU_STATS_Rsp,                        // 29
	WASSP_RU_UNUSED_30,                        // 30
	WASSP_RU_UNUSED_31,                        // 31
	WASSP_RU_Get_Req,                          // 32
	WASSP_RU_Get_Rsp,                          // 33
	WASSP_RU_Alarm_Notify,                     // 34
	WASSP_RU_Set_Alarm_Clear,                  // 35
	WASSP_RU_Get_Log_Req,                      // 36
	WASSP_RU_Get_Log_Rsp,                      // 37
	WASSP_RU_UNUSED_38,                        // 38
	WASSP_RU_UNUSED_39,                        // 39
	WASSP_P_PEER_DOWN_NOTIFY,                  // 40
	WASSP_P_LINK_STATE_CHANGE_REQ,             // 41
	WASSP_P_LINK_STATE_CHANGE_RSP,             // 42
	WASSP_RU_AC_Poll,                          // 43
	WASSP_RU_GetIP_Req,                        // 44
	WASSP_RU_GetIP_Rsp,                        // 45
	WASSP_RU_LAMG_Update_Req,                  // 46
	WASSP_RU_LAMG_Update_Rsp,                  // 47
	WASSP_RU_Event_Req,                        // 48
	WASSP_RU_Event_Rsp,                        // 49
	WASSP_RU_BULK_MU_UPDATE_REQ,               // 50
	WASSP_RU_BULK_MU_UPDATE_RSP,               // 51
	WASSP_ROAMED_MU_FILTER_STATS_REQ,          // 52
	WASSP_ROAMED_MU_FILTER_STATS_RESP,         // 53
	WASSP_RU_UNUSED_54,                        // 54
	WASSP_LBS_TAG_REPORT,                      // 55
	WASSP_RU_AC_Event_Req,                     // 56
	WASSP_RU_AC_Event_Rsp,                     // 57
	WASSP_RU_Event_Notify,                     // 58
	WASSP_RU_AC_EVENT,                         // 59
	WASSP_WIDS_WIPS_Config_Req,                // 60
	WASSP_WIDS_WIPS_Config_Rsp,                // 61
	WASSP_Scan_Data_Notify,                    // 62
	WASSP_Scan_Data_Notify_Ack,                // 63
	WASSP_Loc_Data_Notify,                     // 64
	WASSP_Loc_Data_Notify_Ack,                 // 65
	WASSP_RU_SW_Version_Validate_Ack,          // 66
	WASSP_NEIGHBOUR_STATS_Rsp,                 // 67
	WASSP_APPL_STATS_RESP,                     // 68
	WASSP_RU_Capture_Req,                      // 69
	WASSP_RU_Capture_Rsp,                      // 70
	/* AC/AC tunneling */
	WASSP_AC_Register_Req = 101,               // 101
	WASSP_AC_Register_Rsp,                     // 102
	WASSP_AC_Deregister_Req,                   // 103
	WASSP_AC_Deregister_Rsp,                   // 104

	WASSP_P_MAX

} wassp_ru_msg_t;





/* Value string object enumerates wassp header type field */
static const value_string wassp_header_types[] =
{
	{ WASSP_RU_UNUSED_0, "WASSP Reserved 0"},
	{ WASSP_RU_Discov, "WASSP RU Discover"},
	{ WASSP_RU_Register_Req, "RU Registration Request"},
	{ WASSP_RU_Register_Rsp, "RU Registration Response"},
	{ WASSP_RU_Authentication_Req, "RU Authentication Request"},
	{ WASSP_RU_Authentication_Rsp, "RU Authentication Response"},
	{ WASSP_RU_SW_Version_Validate_Req, "RU Software Version Report"},
	{ WASSP_RU_SW_Version_Validate_Rsp, "RU Software Version Command"},
	{ WASSP_RU_Config_Req, "RU Configuration Request"},
	{ WASSP_RU_Config_Rsp, "RU Configuration Response"},
	{ WASSP_RU_Ack, "RU Acknowledge"},
	{ WASSP_RU_Config_Status_Notify, "RU Configuration Status Notify"},
	{ WASSP_RU_Set_State_Req, "RU Set State Request"},
	{ WASSP_RU_Set_State_Rsp, "RU Set State Response"},
	{ WASSP_RU_Stats_Notify, "RU Statistics Notify"},
	{ WASSP_Data, "WASSP Data"},
	{ WASSP_RU_Poll, "RU Poll"},
	{ WASSP_RU_SNMP_Req, "SNMP Request"},
	{ WASSP_RU_SNMP_Rsp, "SNMP Response"},
	{ WASSP_BP_Trap_Notify, "BP Trap Notify"},
	{ WASSP_BP_Scan_Req, "BP Trap Notify"},
	{ WASSP_RFM_Notify, "RFM Notify"},
	{ WASSP_RU_SNMP_Alarm_Notify, "RU SNMP Alarm Notify"},
	{ WASSP_RU_SNMP_Set_Alarm_Clear, "RU SNMP Set Alarm"},
	{ WASSP_RU_SNMP_Set_Log_Status, "RU SNMP Set Log Status"},
	{ WASSP_RU_SNMP_Get_Log_Req, "RU SNMP Get Log Request"},
	{ WASSP_RU_SNMP_Get_Log_Resp, "RU SNMP Get Log Response"},
	{ WASSP_SEC_Update_Notify, "SEC Update Notify"},
	{ WASSP_RU_STATS_Req, "RU Statistics Request"},
	{ WASSP_RU_STATS_Rsp, "RU Statistics Response"},
	{ WASSP_RU_UNUSED_30, "WASSP MU Statistics Request" },
	{ WASSP_RU_UNUSED_31, "WASSP MU Statistics Response" },
	{ WASSP_RU_Get_Req, "Dot1x Get Request"},
	{ WASSP_RU_Get_Rsp, "Dot1x Get Response"},
	{ WASSP_RU_Alarm_Notify, "RU Alarm Notify"},
	{ WASSP_RU_Set_Alarm_Clear, "RU Set Alarm Clear"},
	{ WASSP_RU_Get_Log_Req, "RU Get Log Request"},
	{ WASSP_RU_Get_Log_Rsp, "RU Get Log Response"},
	{ WASSP_RU_UNUSED_38, "WASSP UNUSED 38"},
	{ WASSP_RU_UNUSED_39, "WASSP UNUSED 39"},
	{ WASSP_P_PEER_DOWN_NOTIFY, "Availability Peer Controller down Notify"},
	{ WASSP_P_LINK_STATE_CHANGE_REQ, "Availability Peer Controller Link State Change Request"},
	{ WASSP_P_LINK_STATE_CHANGE_RSP, "Availability Peer Controller Link State Change Response"},
	{ WASSP_RU_AC_Poll, "RU Poll Controller"},
	{ WASSP_RU_GetIP_Req, "RU Get IP Request"},
	{ WASSP_RU_GetIP_Rsp, "RU Get IP Response"},
	{ WASSP_RU_LAMG_Update_Req, "WASSP reserved"},
	{ WASSP_RU_LAMG_Update_Rsp, "WASSP reserved"},
	{ WASSP_RU_Event_Req, "RU Event Request"},
	{ WASSP_RU_Event_Rsp, "RU Event Response"},
	{ WASSP_RU_BULK_MU_UPDATE_REQ, "RU Bulk MUs Update Request"},
	{ WASSP_RU_BULK_MU_UPDATE_RSP, "RU Bulk MUs Update Response"},
	{ WASSP_ROAMED_MU_FILTER_STATS_REQ, "Roamed MU Filter Statistics Request"},
	{ WASSP_ROAMED_MU_FILTER_STATS_RESP, "Roamed MU Filter Statistics Response"},
	{ WASSP_RU_UNUSED_54, "WASSP reserved"},
	{ WASSP_LBS_TAG_REPORT, "Location Base Service Tag Report"},
	{ WASSP_RU_AC_Event_Req, "RU Alarm Clear Event Request"},
	{ WASSP_RU_AC_Event_Rsp, "RU Alarm Clear Event Response"},
	{ WASSP_RU_Event_Notify, "RU Event Notify"},
	{ WASSP_RU_AC_EVENT, "RU Alarm Clear Event"},
	{ WASSP_WIDS_WIPS_Config_Req, "WIDS WIPS Configuration Request"},
	{ WASSP_WIDS_WIPS_Config_Rsp, "WIDS WIPS Configuration Response"},
	{ WASSP_Scan_Data_Notify, "Scan Data Notify"},
	{ WASSP_Scan_Data_Notify_Ack, "Scan Data Notify Acknowledge"},
	{ WASSP_Loc_Data_Notify, "Location Data Notify"},
	{ WASSP_Loc_Data_Notify_Ack, "Location Data Notify Acknowledge"},
	{ WASSP_RU_SW_Version_Validate_Ack, "RU Software Version Validate Acknowledge"},
	{ WASSP_NEIGHBOUR_STATS_Rsp, "Neighbor Statistics Response"},
	{ WASSP_APPL_STATS_RESP, "Application Statistics Response"},
	{ WASSP_RU_Capture_Req, "RU Capture Request"},
	{ WASSP_RU_Capture_Rsp, "RU Capture Response"},
	/* AC/AC tunneling */
	{ WASSP_AC_Register_Req, "Tunnel Register Request"},
	{ WASSP_AC_Register_Rsp, "Tunnel Register Response"},
	{ WASSP_AC_Deregister_Req, "Tunnel Deregister Request"},
	{ WASSP_AC_Deregister_Rsp, "Tunnel deregister Response"},
	{ 0, NULL }
};



/* Wassp MU Header Types */
typedef enum
{
	WASSP_MU_UNUSED_0 = 0,
	WASSP_MU_Associate_Req,           //  1
	WASSP_MU_Associate_Rsp,           //  2
	WASSP_MU_Data,                    //  3
	WASSP_MU_Disconnect_Req,          //  4
	WASSP_MU_Disconnect_Rsp,          //  5
	WASSP_MU_Roam_Notify,             //  6
	WASSP_MU_Disconnect_Notify,       //  7
	WASSP_MU_INVALID_PMK_REQ,         //  8
	WASSP_MU_Update_Req,              //  9
	WASSP_MU_Update_Rsp,              //  10
	WASSP_MU_MIRRORN,                 //  11
	WASSP_MU_NETFLOW,                 //  12
	WASSP_MU_Radius_Update,           //  13
	WASSP_AP2AC_MU_Inform_Req,        //  14
	WASSP_AP2AC_MU_Inform_Rsp,        //  15
	WASSP_MU_Eap_Last,                //  16
	WASSP_MU_PMIRROR,                 //  17
	WASSP_MU_UNUSED_18,               //  18
	WASSP_MU_UNUSED_19,               //  19
	WASSP_MU_UNUSED_20,               //  20
	WASSP_MU_UNUSED_21,               //  21
	WASSP_MU_UNUSED_22,               //  22
	WASSP_MU_UNUSED_23,               //  23
	WASSP_MU_UNUSED_24,               //  24
	WASSP_MU_UNUSED_25,               //  25
	WASSP_MU_UNUSED_26,               //  26
	WASSP_MU_UNUSED_27,               //  27
	WASSP_MU_UNUSED_28,               //  28
	WASSP_MU_UNUSED_29,               //  29
	WASSP_MU_STATS_Req,               //  30
	WASSP_MU_STATS_Rsp,               //  31
	WASSP_MU_UNUSED_32,               //  32
	WASSP_MU_UNUSED_33,               //  33
	WASSP_MU_UNUSED_34,               //  34
	WASSP_MU_UNUSED_35,               //  35
	WASSP_MU_UNUSED_36,               //  36
	WASSP_MU_UNUSED_37,               //  37
	WASSP_MU_BULK_Associate_Req,      //  38
	WASSP_MU_BULK_Associate_Rsp       //  39


} wassp_mu_msg_t;

/* Value string object enumerates wassp mu header type field */
static const value_string wassp_mu_header_types[] =
{
	{ WASSP_MU_UNUSED_0, "MU Unused 0"},
	{ WASSP_MU_Associate_Req, "MU Association Request"},
	{ WASSP_MU_Associate_Rsp, "MU Association Response"},
	{ WASSP_MU_Data, "MU Data"},
	{ WASSP_MU_Disconnect_Req, "MU Disconnect Request"},
	{ WASSP_MU_Disconnect_Rsp, "MU Disconnect Response"},
	{ WASSP_MU_Roam_Notify, "MU Roam Notify"},
	{ WASSP_MU_Disconnect_Notify, "MU Disconnect Notify"},
	{ WASSP_MU_INVALID_PMK_REQ, "MU Invalid PMK Request"},
	{ WASSP_MU_Update_Req, "MU Update Request"},
	{ WASSP_MU_Update_Rsp, "MU Update Response"},
	{ WASSP_MU_MIRRORN, "MU Mirror N"},
	{ WASSP_MU_NETFLOW, "MU Netflow"},
	{ WASSP_MU_Radius_Update, "MU Radius Update"},
	{ WASSP_AP2AC_MU_Inform_Req, "AccessPoint To Controller MU Info Request"},
	{ WASSP_AP2AC_MU_Inform_Rsp, "AccessPoint To Controller MU Info Response"},
	{ WASSP_MU_Eap_Last, "MU Extensible Authentication Protocol Last"},
	{ WASSP_MU_PMIRROR, "MU P Mirror"},
	{ WASSP_MU_UNUSED_18, "MU Unused 18"},
	{ WASSP_MU_UNUSED_19, "MU Unused 19"},
	{ WASSP_MU_UNUSED_20, "MU Unused 20"},
	{ WASSP_MU_UNUSED_21, "MU Unused 21"},
	{ WASSP_MU_UNUSED_22, "MU Unused 22"},
	{ WASSP_MU_UNUSED_23, "MU Unused 23"},
	{ WASSP_MU_UNUSED_24, "MU Unused 24"},
	{ WASSP_MU_UNUSED_25, "MU Unused 25"},
	{ WASSP_MU_UNUSED_26, "MU Unused 26"},
	{ WASSP_MU_UNUSED_27, "MU Unused 27"},
	{ WASSP_MU_UNUSED_28, "MU Unused 28"},
	{ WASSP_MU_UNUSED_29, "MU Unused 29"},
	{ WASSP_MU_STATS_Req, "MU Statistics Request"},
	{ WASSP_MU_STATS_Rsp, "MU Statistics Response"},
	{ WASSP_MU_UNUSED_32, "MU Unused 32"},
	{ WASSP_MU_UNUSED_33, "MU Unused 33"},
	{ WASSP_MU_UNUSED_34, "MU Unused 34"},
	{ WASSP_MU_UNUSED_35, "MU Unused 35"},
	{ WASSP_MU_UNUSED_36, "MU Unused 36"},
	{ WASSP_MU_UNUSED_37, "MU Unused 37"},
	{ WASSP_MU_BULK_Associate_Req, "MU Bulk Associate Request"},
	{ WASSP_MU_BULK_Associate_Rsp, "MU Bulk Associate Response"},
	{ 0, NULL }
};







/*****************************************************
* Main TLVs
****************************************************/

/* TLV Header Types */
typedef enum
{
	EID_UNUSED_0 = 0,          //  0
	EID_STATUS,                //  1
	EID_RU_SW_VERSION,         //  2
	EID_RU_SERIAL_NUMBER,      //  3
	EID_RU_REG_CHALLENGE,      //  4
	EID_RU_REG_RESPONSE,       //  5
	EID_AC_IPADDR,             //  6
	EID_RU_VNSID,              //  7
	EID_TFTP_SERVER,           //  8
	EID_IMAGE_PATH,            //  9
	EID_CONFIG,                //  10
	EID_RU_STATE,              //  11
	EID_SESSION_KEY,           //  12
	EID_RU_PROTOCOL,           //  13
	EID_RANDOM_NUMBER,         //  14
	EID_STANDBY_TIMEOUT,       //  15
	EID_RU_CHALLENGE_ID,       //  16
	EID_RU_MODEL,              //  17
	EID_RU_SCAN_MODE,          //  18
	EID_RU_SCAN_TYPE,          //  19
	EID_RU_SCAN_INTERVAL,      //  20
	EID_RU_RADIO_TYPE,         //  21
	EID_RU_CHANNEL_DWELL_TIME, //  22
	EID_RU_CHANNEL_LIST,       //  23
	EID_RU_TRAP,               //  24
	EID_RU_SCAN_TIMES,         //  25
	EID_RU_SCAN_DELAY,         //  26
	EID_RU_SCAN_REQ_ID,        //  27
	EID_STATIC_CONFIG,         //  28
	EID_LOCAL_BRIDGING,        //  29
	EID_STATIC_BP_IPADDR,      //  30
	EID_STATIC_BP_NETMASK,     //  31
	EID_STATIC_BP_GATEWAY,     //  32
	EID_STATIC_BM_IPADDR,      //  33
	EID_BP_BPSSID,             //  34
	EID_BP_WIRED_MACADDR,      //  35
	EID_RU_CAPABILITY,         //  36
	EID_RU_SSID_NAME,          //  37
	EID_ALARM,                 //  38
	EID_RU_PREAUTH,            //  39
	EID_RU_PMK,                //  40
	EID_AC_REG_CHALLENGE,      //  41
	EID_AC_REG_RESPONSE,       //  42
	EID_STATS,                 //  43
	EID_CERTIFICATE,           //  44
	EID_RADIO_ID,              //  45
	EID_REQ_ID,                //  46
	EID_NETWORK_ID,            //  47
	EID_MU_MAC,                //  48
	EID_TIME,                  //  49
	EID_NUM_RADIOS,            //  50
	EID_RADIO_INFO,            //  51
	EID_NETWORK_INFO,          //  52
	EID_VENDOR_ID,             //  53
	EID_PRODUCT_ID,            //  54
	EID_RADIO_INFO_ACK,        //  55
	EID_SECURE_TUNNEL,         //  56
	EID_MU_TOPOLOGY_ID,        //  57
	EID_SSID,                  //  58
	EID_EVENT_BLOCK,           //  59
	EID_SNMP_ERROR_STATUS,     //  60
	EID_SNMP_ERROR_INDEX,      //  61
	EID_RU_REAUTH_TIMER,       //  62
	EID_AP_IMG_TO_RAM,         //  63
	EID_AP_IMG_ROLE,           //  64
	EID_AP_STATS_BLOCK,        //  65
	EID_MU_RF_STATS_BLOCK,     //  66
	EID_STATS_REQUEST_TYPE,    //  67
	EID_STATS_LAST,            //  68
	EID_TLV_CONFIG,            //  69
	EID_CONFIG_ERROR_BLOCK,    //  70
	EID_CONFIG_MODIFIED_BLOCK, //  71
	EID_MU_PMKID_LIST,         //  72
	EID_MU_PMK_BP,             //  73
	EID_MU_PMKID_BP,           //  74
	EID_COUNTDOWN_TIME,        //  75
	EID_WASSP_VLAN_TAG,        //  76
	EID_SSID_ID,               //  77
	EID_BULK_MU_BLOCK,         //  78
	EID_MU_BLOCK,              //  79
	EID_PORT_OPEN_FLAG,        //  80
	EID_WASSP_TUNNEL_TYPE,     //  81
	EID_LOG_TYPE,              //  82
	EID_LOG_FILE,              //  83
	EID_ALARM_SEVERITY,        //  84
	EID_ALARM_DESCRIPTION,     //  85
	EID_BULK_VNS_BLOCK,        //  86
	EID_VNS_BLOCK,             //  87
	EID_AP_DHCP_MODE,          //  88
	EID_AP_IPADDR,             //  89
	EID_AP_NETMASK,            //  90
	EID_AP_GATEWAY,            //  91
	EID_BSSID2IP_BLOCK,        //  92
	EID_RU_BACKUP_VERSION,     //  93
	EID_AC_SW_VERSION,         //  94
	EID_MCAST_LAMG_LIST,       //  95
	EID_FILTER_NAME,           //  96
	EID_FILTER_RULES,          //  97
	EID_AUTH_STATE,            //  98
	EID_MU_DISC_AFTER_AUTH,    //  99
	EID_MU_MAC_LIST,           // 100
	EID_TRANS_ID,              // 101
	EID_TIMEZONE_OFFSET,       // 102
	EID_SENSOR_FORCE_DOWNLOAD, // 103
	EID_SENSOR_IMG_VERSION,    // 104
	EID_BRIDGE_MODE,           // 105
	EID_MU_VLAN_TAG,           // 106
	EID_RATECTRL_CIR_UL,       // 107
	EID_RATECTRL_CIR_DL,       // 108
	EID_RATECTRL_CBS_UL,       // 109
	EID_RATECTRL_CBS_DL,       // 110
	EID_RATECTRL_NAME_UL,      // 111
	EID_RATECTRL_NAME_DL,      // 112
	EID_POLICY_NAME,           // 113
	EID_SIAPP_PMK_BLOCK,                       //  114
	EID_SIAPP_PMKID,                           //  115
	EID_SIAPP_PMK_REAUTH,                      //  116
	EID_SIAPP_PMK_LIFETIME,                    //  117
	EID_SIAPP_PMKID_FLAG,                      //  118
	EID_SIAPP_MU_PMK,                          //  119
	EID_SIAPP_AP_NAME,                         //  120
	EID_SIAPP_RADIO_CONFIG_BLOCK,              //  121
	EID_SIAPP_CLUSTER_ACS_REQ,                 //  122
	EID_SIAPP_SIAPP_MU_STATS_BLOCK,            //  123
	EID_SIAPP_PACKET_RETRIES,                  //  124
	EID_SIAPP_ASSOC_IN_WLAN,                   //  125
	EID_SIAPP_ASSOC_IN_CLUSTER,                //  126
	EID_SIAPP_REASSOC_IN_CLUSTER,              //  127
	EID_SIAPP_THIN_BLOCK,                      //  128
	EID_SIAPP_NEWAP_BSSID,                     //  129
	EID_SIAPP_OLDAP_BSSID,                     //  130
	EID_SIAPP_RAD_CACS_REQ,                    //  131
	EID_SIAPP_RADIOBLOCK,                      //  132
	EID_SIAPP_CLIENT_COUNT,                    //  133
	EID_SIAPP_BLOCK,                           //  134
	EID_SIAPP_MU_TransmittedFrameCount,        //  135
	EID_SIAPP_MU_ReceivedFrameCount,           //  136
	EID_SIAPP_MU_TransmittedBytes,             //  137
	EID_SIAPP_MU_ReceivedBytes,                //  138
	EID_SIAPP_MU_UL_DroppedRateControlPackets, //  139
	EID_SIAPP_MU_DL_DroppedRateControlPackets, //  140
	EID_SIAPP_MU_DL_DroppedBufferFullPackets,  //  141
	EID_SIAPP_MU_DL_LostRetriesPackets,        //  142
	EID_SIAPP_MU_UL_DroppedRateControlBytes,   //  143
	EID_SIAPP_MU_DL_DroppedRateControlBytes,   //  144
	EID_SIAPP_MU_DL_DroppedBufferFullBytes,    //  145
	EID_SIAPP_MU_DL_LostRetriesBytes,          //  146
	EID_SIAPP_BP_BSSID,                        //  147
	EID_SIAPP_RADIO_ID,                        //  148
	EID_SIAPP_MACADDR,                         //  149
	EID_SIAPP_PREAUTH_REQ,                     //  150
	EID_SIAPP_USER_IDENTITY,                   //  151
	EID_SIAPP_LOADBAL_BLOCK,                   //  152
	EID_SIAPP_LOADBAL_PKT_TYPE,                //  153
	EID_SIAPP_LOADBAL_LOADGROUP_ID,            //  154
	EID_SIAPP_LOADBAL_LOAD_VALUE,              //  155
	EID_SIAPP_AC_MGMT_MAC,                     //  156
	EID_SIAPP_FILTER_COS,                      //  157
	EID_COS,                                   //  158
	EID_RATE_LIMIT_RESOURCE_TBL,               //  159
	EID_UCAST_FILTER_DISABLE,                  //  160
	EID_MU_INFORM_REASON,                      //  161
	EID_MU_FILTER_POLICY_NAME,                 //  162
	EID_MU_TOPOLOGY_POLICY_NAME,               //  163
	EID_MU_COS_POLICY_NAME,                    //  164
	EID_MU_FILTER_KEY,                         //  165
	EID_MU_TOPOLOGY_KEY,                       //  166
	EID_MU_COS_KEY,                            //  167
	EID_MU_SESSION_TIMEOUT,                    //  168
	EID_MU_ACCOUNTING_CLASS,                   //  169
	EID_MU_LOGIN_LAT_PORT,                     //  170
	EID_MU_IDLE_TIMEOUT,                       //  171
	EID_MU_ACCT_INTERIM_INTERVAL,              //  172
	EID_MU_IP_ADDR,                            //  173
	EID_MU_TERMINATE_ACTION,                   //  174
	EID_SITE_NAME,                             //  175
	EID_PEER_SITE_IP,                          //  176
	EID_INTERFERENCE_EVENTS_ENABLE,            //  177
	EID_EVENT_TYPE,                            //  178
	EID_EVENT_CHANNEL,                         //  179
	EID_EVENT_VALUE,                           //  180
	EID_SSS_MU_BLOCK,                          //  181
	EID_SSS_MU_ASSOC_TIME,                     //  182
	EID_SSS_TS64_MU_UPDATE,                    //  183
	EID_SSS_TS64_AP_CURRENT,                   //  184
	EID_SSS_MU_AUTH_STATE,                     //  185
	EID_SSS_AP_HOMEHASH,                       //  186
	EID_TIME_FIRST_DETECTED,                   //  187
	EID_TIME_LAST_REPORTED,                    //  188
	EID_EVENT_ARRAY,                           //  189
	EID_SSS_DEFAULT_SESSION_TIMEOUT,           //  190
	EID_SSS_SSID,                              //  191
	EID_SSS_PRIVACY_TYPE,                      //  192
	EID_POLICY_ZONE_NAME,                      //  193
	EID_RU_AC_EVENT_COMPONENT_ID,              //  194
	EID_MU_AUTH_STATE,                         //  195
	EID_MU_USER_NAME,                          //  196
	EID_BULK_TYPE,                             //  197
	EID_SENT_TIME,                             //  198
	EID_INFORM_MU_PMK,                         //  199
	EID_COLLECTOR_IP_ADDR,                     //  200
	EID_ARP_PROXY,                             //  201
	EID_MCAST_FILTER_RULES,                    //  202
	EID_AP_PARAMS,                             //  203
	EID_ASSOC_SSID_ARRAY,                      //  204
	EID_ASSOC_SSID_BLOCK,                      //  205
	EID_AP_LIST_BLOCK,                         //  206
	EID_AP_LIST_ARRAY,                         //  207
	EID_MAC_ADDR,                              //  208
	EID_SCAN_PROFILE_ID,                       //  209
	EID_ACTION_REQ,                            //  210
	EID_CHANNEL_LIST,                          //  211
	EID_COUNTERMEASURES_MAX_CH,                //  212
	EID_COUNTERMEASURES_SET,                   //  213
	EID_SCAN_PROFILE_BLOCK,                    //  214
	EID_SEQ_NUM,                               //  215
	EID_THREAT_DEF_ARRAY,                      //  216
	EID_THREAT_DEF_BLOCK,                      //  217
	EID_THREAT_TYPE,                           //  218
	EID_THREAT_ID,                             //  219
	EID_THREAT_STATS_F,                        //  220
	EID_THREAT_FR_SFR,                         //  221
	EID_THREAT_PATTERN_ARRAY,                  //  222
	EID_THREAT_PATTERN_BLOCK,                  //  223
	EID_THREAT_PATTERN,                        //  224
	EID_THREAT_ALERT_TH_DUR,                   //  225
	EID_THREAT_CLEAR_TH_DUR,                   //  226
	EID_THREAT_PRIORITY,                       //  227
	EID_THREAT_MITIGATION_LIST,                //  228
	EID_SSS_MU_IS_PORT_CLOSED,                 //  229
	EID_FULL_UPDATE,                           //  230
	EID_REASON,                                //  231
	EID_SURVEILLANCE_DATA_ARRAY,               //  232
	EID_SURVEILLANCE_DATA_BLOCK,               //  233
	EID_SCAN_BSSID,                            //  234
	EID_PARAMS,                                //  235
	EID_SCAN_RSS_RSSI,                         //  236
	EID_SCAN_SSID,                             //  237
	EID_SCAN_CAP,                              //  238
	EID_THREAT_CLASSIFICATION,                 //  239
	EID_THREAT_DATA_ARRAY,                     //  240
	EID_THREAT_DATA_BLOCK,                     //  241
	EID_STATE,                                 //  242
	EID_DROP_FR_CNT,                           //  243
	EID_STOP_ROAM_CNT,                         //  244
	EID_SPOOF_CNT,                             //  245
	EID_THREAT_CLASSIFY_ARRAY,                 //  246
	EID_THREAT_CLASSIFY_BLOCK,                 //  247
	EID_THREAT_NAME,                           //  248
	EID_LOCATION,                              //  249
	EID_ENCRYPTION_TYPE,                       //  250
	EID_MU_EVENT_ARRAY,                        //  251
	EID_MU_EVENT_BLOCK,                        //  252
	EID_COMPONENT_ID,                          //  253
	EID_MU_EVENT_STRING,                       //  254
	EID_BYPASS_BMCAST,                         //  255
	EID_GETTIMEOFDAY,                          //  256
	EID_COUNTRY_ID,                            //  257
	EID_COUNTRY_ARRAY,                         //  258
	EID_COUNTRY_BLOCK,                         //  259
	EID_MU_EVENT_TYPE,                         //  260
	EID_LOCATOR_FLOOR_ID,                      //  261
	EID_LOCATOR_LOC_TYPE,                      //  262
	EID_LOCATOR_LOC_BLOCK,                     //  263
	EID_LOCATOR_LOC_ARRAY,                     //  264
	EID_LOCATOR_LOC_POINT,                     //  265
	EID_MU_EVENT_DETAILS,                      //  266
	EID_MU_EVENT_FROM_AP,                      //  267
	EID_MU_EVENT_LOC_BLOCK,                     //  268
	EID_LOCATOR_LOC_AP_DISTANCE,               //  269
	EID_LOCATOR_LOC_PRECISION,                 //  270
	EID_RSS_DATA_ARRAY,                        //  271
	EID_RSS_DATA_BLOCK,                        //  272
	EID_LOCATOR_MU_ACTION,                     //  273
	EID_EFFECTIVE_EGRESS_VLAN,                 //  274
	EID_REBOOT_ACK,                            //  275
	EID_MU_BSSID,                              //  276
	EID_AUTH_FLAG,                             //  277
	EID_ROAMED_FLAG,                           //  278
	EID_MU_RSS,                                //  279
	EID_FILTER_RULES_VER,                      //  280
	EID_FILTER_TYPE,                           //  281
	EID_MCAST_FILTER_BLOCK,                    //  282
	EID_MCAST_FILTER_BLOCK_ENTRY,              //  283
	EID_DEFAULT_ACTION_TYPE,                   //  284
	EID_DEFAULT_CONTAIN_TO_VLAN,               //  285
	EID_DEFAULT_BRIDGE_MODE,                   //  286
	EID_INVALID_POLICY,                        //  287
	EID_LOCATOR_FLOOR_NAME,                    //  288
	EID_AP_FLAGS,                              //  289
	EID_AP_PVID,                               //  290
	EID_AP_REDIRECT,                           //  291
	EID_MU_CVLAN_BAP,                          //  292
	EID_MU_SESSION_ARRAY,                      //  293
	EID_MU_SESSION_BLOCK,                      //  294
	EID_MU_SESSION_ID,                         //  295
	EID_MU_RFS_NAME,                           //  296
	EID_MU_FLAGS,                              //  297
	EID_MU_ASSOC_TIME,                         //  298
	EID_MU_ACTIVE_TIME,                        //  299
	EID_REPORT_REQ,                            //  300
	EID_MU_URL,                                //  301
	EID_MU_SESSION_LIFETIME,                   //  302
	EID_MU_REAUTH_TIMER,                       //  303
	EID_MU_ACCT_SESSION_ID_STRING,             //  304
	EID_MU_ACCT_POLICY_NAME,                   //  305
	EID_MU_ACCT_START_TIME,                    //  306
	EID_MU_ACCT_CLASS,                         //  307
	EID_MU_LOGIN_LAT_GROUP,                    //  308
	EID_MU_TUNNEL_PRIVATE_GROUP_ID_STRING,     //  309
	EID_MU_USER_ID_STRING,                     //  310
	EID_MU_DEFENDED_STATE,                     //  311
	EID_MU_MOD_MASK,                           //  312
	EID_LOCATOR_TRACKED,                       //  313
	EID_PORT,                                  //  314
	EID_RETRIES_COUNT,                         //  315
	EID_MODULATION_TYPE,                       //  316
	EID_DETECTED_ROGUE_ARRAY,                  //  317
	EID_DETECTED_ROGUE_BLOCK,                  //  318
	EID_ROGUE_DETECTION,                       //  319
	EID_MAC_ADDR_TX,                           //  320
	EID_MAC_ADDR_RX,                           //  321
	EID_IP_ADDR_TX,                            //  322
	EID_IP_ADDR_RX,                            //  323
	EID_TTL,                                   //  324
	EID_GW_IP_ADDR,                            //  325
	EID_LOCATOR_STATE_DATA,                    //  326
	EID_LOCATOR_POINT_SET,                     //  327
	EID_FILTER_RULE_FIXED_APP_ID,              //  328
	EID_FILTER_RULES_EXT_BLOCK,                //  329
	EID_MU_AREA_BLOCK,                         //  330
	EID_MU_LOCATION,                           //  331
	EID_MU_LOCATION_TS,                        //  332
	EID_DNS_IP_ADDR,                           //  333
	EID_IN_SERVICE_AP_LIST,                    //  334
	EID_OUT_SERVICE_AP_LIST,                   //  335
	EID_LAST_RD_AP,                            //  336
	EID_ROGUE_INFO,                            //  337
	EID_MU_IS_FT,                              //  338
	EID_MU_PMK_R1,                             //  339
	EID_SIAPP_R0KHID,                          //  340
	EID_SIAPP_R1KHID,                          //  341
	EID_SIAPP_FT_NONCE,                        //  342
	EID_SIAPP_FT_PMKR0NAME,                    //  343
	EID_SIAPP_FT_R1KHID,                       //  344
	EID_SIAPP_FT_S1KHID,                       //  345
	EID_SIAPP_FT_PMKR1,                        //  346
	EID_SIAPP_FT_PMKR1NAME,                    //  347
	EID_SIAPP_FT_PAIRWISE,                     //  348
	EID_SIAPP_FT_LIFETIME,                     //  349
	EID_MU_POWER_CAP,                          //  350
	EID_AREA_NAME,                             //  351
	EID_PERIODIC_NEIGHBOUR_REPORT,             //  352
	EID_TIMESTAMP,                             //  353
	EID_NEIGHBOUR_ENTRY,                       //  354
	EID_MU_REQ,                                //  355
	EID_RU_REQ,                                //  356
	EID_NEIGHBOUR_REQ,                         //  357
	EID_SSS_FT_ASSOC,                          //  358
	EID_DEFAULT_MIRRORN,                       //  359
	EID_FILTER_RULE_EXT_ACT_FLAGS,             //  360
	EID_TOPO_GROUP_MAPPING,                    //  361
	EID_MU_PMK_R0NAME,                         //  362
	EID_CUI,                                   //  363
	EID_SSS_CAPINFO,                           //  364
	EID_SSS_CAPPOWER,                          //  365
	EID_WFA_VSA,                               //  366
	EID_WFA_HS20_REMED_METHOD,                 //  367
	EID_WFA_HS20_URL,                          //  368
	EID_WFA_HS20_DEAUTH_CODE,                  //  369
	EID_WFA_HS20_REAUTH_DELAY,                 //  370
	EID_WFA_HS20_SWT,                          //  371
	EID_POWER_STATUS,                          //  372
	EID_IPV6_ADDR,                             //  373
	EID_FILTER_RULES_APP_SIG_GROUP_ID,         //  374
	EID_FILTER_RULES_APP_SIG_DISP_ID,          //  375
	EID_MU_DEV_IDENTITY,                       //  376
	EID_APPL_STATS_REQ,                        //  377
	EID_MU_APPL_STATS_BLOCK,                   //  378
	EID_TOPOLOGY_ARRAY,                        //  379
	EID_TOPOLOGY_STRUCT,                       //  380
	EID_FILTER_CONFIG_STRUCT,                  //  381
	EID_DHCP_HOST_NAME,                        //  382
	EID_NEIGHBOUR_ENTRY_2,                     //  383
	EID_CHANNEL_ENTRY,                         //  384
	EID_MU_ECP_PW,                             //  385
	EID_MU_ECP_TOKEN,                          //  386
	EID_STATIC_VSA_IPADDR,                     //  387
	EID_STATIC_VSA_NETMASK,                    //  388
	EID_PKT_CAPTURE_STATUS,                    //  389
	EID_PKT_CAPTURE_FILTERS,                   //  390
	EID_PKT_F_WIRELESS,                        //  391
	EID_PKT_F_WIREDCLIENT,                     //  392
	EID_PKT_F_DIRECTION,                       //  393
	EID_PKT_F_RADIO,                           //  394
	EID_PKT_F_FLAGS,                           //  395
	EID_PKT_F_IP_ARRAY,                        //  396
	EID_PKT_F_MAC,                             //  397
	EID_PKT_F_PROTOCOL,                        //  398
	EID_PKT_F_PORT,                            //  399
	EID_VSA_SSID_ID,                           //  400
	EID_MU_AUTH_TYPE,                          //  401
	EID_PKT_F_MAX_PKT_COUNT,                   //  402
	EID_PKT_F_FLAG_2,                          //  403
	EID_IMAGE_PORT,                            //  404
	EID_FILTER_ROLE_ID,                        //  405
	EID_FILTER_ROLE_TIMESTAMP,                 //  406
	EID_MAX
} wassp_tlv_type_t;

/* Value string object enumerates wassp tlv type field */
static const value_string wassp_tlv_types[] =
{
	{ EID_STATUS, "Status/Action"},
	{ EID_RU_SW_VERSION, "Software Version"},
	{ EID_RU_SERIAL_NUMBER, "Serial Number"},
	{ EID_RU_REG_CHALLENGE, "Registration Challenge"},
	{ EID_RU_REG_RESPONSE, "Challenge Response"},
	{ EID_AC_IPADDR, "Controller IP Address"},
	{ EID_RU_VNSID, "AccessPoint VNS ID"},
	{ EID_TFTP_SERVER, "TFTP Server Address"},
	{ EID_IMAGE_PATH, "Path/Filename of Upgrade Image"},
	{ EID_CONFIG, "SNMP Encoded Configuration"},
	{ EID_RU_STATE, "AccessPoint State"},
	{ EID_SESSION_KEY, "Binding Key"},
	{ EID_RU_PROTOCOL, "Message Type"},
	{ EID_RANDOM_NUMBER, "Random Number"},
	{ EID_STANDBY_TIMEOUT, "Standby Timeout"},
	{ EID_RU_CHALLENGE_ID, "AccessPoint Challenge ID"},
	{ EID_RU_MODEL, "AccessPoint Model"},
	{ EID_RU_SCAN_MODE, "AccessPoint Scan Mode"},
	{ EID_RU_SCAN_TYPE, "AccessPoint Scan Type"},
	{ EID_RU_SCAN_INTERVAL, "AccessPoint Scan Interval"},
	{ EID_RU_RADIO_TYPE, "AccessPoint Radio Type"},
	{ EID_RU_CHANNEL_DWELL_TIME, "AccessPoint Channel Dwell Time"},
	{ EID_RU_CHANNEL_LIST, "AccessPoint Channel List"},
	{ EID_RU_TRAP, "AccessPoint Trap"},
	{ EID_RU_SCAN_TIMES, "AccessPoint Scan Times"},
	{ EID_RU_SCAN_DELAY, "AccessPoint Scan Delay"},
	{ EID_RU_SCAN_REQ_ID, "AccessPoint Scan Request ID"},
	{ EID_STATIC_CONFIG, "Static Configuration"},
	{ EID_LOCAL_BRIDGING, "Local Bridging"},
	{ EID_STATIC_BP_IPADDR, "Static AccessPoint IP Address"},
	{ EID_STATIC_BP_NETMASK, "Static AccessPoint NetMask"},
	{ EID_STATIC_BP_GATEWAY, "Static AccessPoint Gateway"},
	{ EID_STATIC_BM_IPADDR, "Static Controller IP Address"},
	{ EID_BP_BPSSID, "AccessPoint BSSID"},
	{ EID_BP_WIRED_MACADDR, "AccessPoint Wired MAC"},
	{ EID_RU_CAPABILITY, "AccessPoint Capability"},
	{ EID_RU_SSID_NAME, "AccessPoint SSID Name"},
	{ EID_ALARM, "Alarm"},
	{ EID_RU_PREAUTH, "AccessPoint Preauthorization"},
	{ EID_RU_PMK, "AccessPoint Pairwise Master Key"},
	{ EID_AC_REG_CHALLENGE, "Controller Register Challenge"},
	{ EID_AC_REG_RESPONSE, "Controller Register Response"},
	{ EID_STATS, "Stats"},
	{ EID_CERTIFICATE, "Certificate"},
	{ EID_RADIO_ID, "Radio ID"},
	{ EID_REQ_ID, "Request ID"},
	{ EID_NETWORK_ID, "Network ID"},
	{ EID_MU_MAC, "MU MAC Address"},
	{ EID_TIME, "Time"},
	{ EID_NUM_RADIOS, "Number of Radios"},
	{ EID_RADIO_INFO, "Radio Info"},
	{ EID_NETWORK_INFO, "Network Info"},
	{ EID_VENDOR_ID, "Vendor ID"},
	{ EID_PRODUCT_ID, "Product ID"},
	{ EID_RADIO_INFO_ACK, "Radio Info Acknowledge"},
	{ EID_SECURE_TUNNEL, "Secure Tunnel"},
	{ EID_MU_TOPOLOGY_ID, "MU Topology ID"},
	{ EID_SSID, "SSID"},
	{ EID_EVENT_BLOCK, "Event Block"},
	{ EID_SNMP_ERROR_STATUS, "SNMP Error Status"},
	{ EID_SNMP_ERROR_INDEX, "SNMP Error Index"},
	{ EID_RU_REAUTH_TIMER, "AccessPoint ReAuthentication Timer"},
	{ EID_AP_IMG_TO_RAM, "AccessPoint Image Store to RAM"},
	{ EID_AP_IMG_ROLE, "AccessPoint Image Type"},
	{ EID_AP_STATS_BLOCK, "AccessPoint Statistics Block"},
	{ EID_MU_RF_STATS_BLOCK, "AccessPoint RF Statistics Block"},
	{ EID_STATS_REQUEST_TYPE, "AccessPoint Statistics Request Type"},
	{ EID_STATS_LAST, "AccessPoint Statistics Last Flag"},
	{ EID_TLV_CONFIG, "TLV Configuration"},
	{ EID_CONFIG_ERROR_BLOCK, "AccessPoint Configuration Error Block"},
	{ EID_CONFIG_MODIFIED_BLOCK, "AccessPoint Configuration Modified Block"},
	{ EID_MU_PMKID_LIST, "MU Pairwise Master Key List"},
	{ EID_MU_PMK_BP, "MU and AccessPoint Pairwise Master Key"},
	{ EID_MU_PMKID_BP, "MU and AccessPoint Pairwise Master Key ID"},
	{ EID_COUNTDOWN_TIME, "CountDown Time"},
	{ EID_WASSP_VLAN_TAG, "VLAN Tag"},
	{ EID_SSID_ID, "SSID(Service Set Identifier)"},
	{ EID_BULK_MU_BLOCK, "Bulk MU Block"},
	{ EID_MU_BLOCK, "MU Block" },
	{ EID_PORT_OPEN_FLAG, "Port Open Flag"},
	{ EID_WASSP_TUNNEL_TYPE, "Tunnel Type"},
	{ EID_LOG_TYPE, "Log type"},
	{ EID_LOG_FILE, "Log File"},
	{ EID_ALARM_SEVERITY, "Alarm Severity"},
	{ EID_ALARM_DESCRIPTION, "Alarm Information"},
	{ EID_BULK_VNS_BLOCK, "Bulk VNS Block"},
	{ EID_VNS_BLOCK, "VNS Block"},
	{ EID_AP_DHCP_MODE, "AccessPoint DHCP Mode"},
	{ EID_AP_IPADDR, "AccessPoint IP Address"},
	{ EID_AP_NETMASK, "AccessPoint IP Netmask"},
	{ EID_AP_GATEWAY, "AccessPoint IP Gateway"},
	{ EID_BSSID2IP_BLOCK, "BSSID to IP Address Mapping Block"},
	{ EID_RU_BACKUP_VERSION, "AccessPoint Upgrade: Software Version of The Backup Image"},
	{ EID_AC_SW_VERSION, "AccessPoint Upgrade: Software Version"},
	{ EID_MCAST_LAMG_LIST, "Multicast Optimization"},
	{ EID_FILTER_NAME, "Filter Rule Name"},
	{ EID_FILTER_RULES, "Array of Filter Rules"},
	{ EID_AUTH_STATE, "Authentication State( MU Not Authenticate = 0, ANON_AUTHENTICATED=0, MU Authenticated = 1"},
	{ EID_MU_DISC_AFTER_AUTH, "After Authenticated MU State( Disconnected = 0, Connected = 1"},
	{ EID_MU_MAC_LIST, "Array of MAC Addresses"},
	{ EID_TRANS_ID, "Transaction ID of The Message Determined At The Home Controller"},
	{ EID_TIMEZONE_OFFSET, "Timezone Offset"},
	{ EID_SENSOR_FORCE_DOWNLOAD, "Force Download of Sensor Image"},
	{ EID_SENSOR_IMG_VERSION, "Sensor Image Version"},
	{ EID_BRIDGE_MODE, "Bridge Mode"},
	{ EID_MU_VLAN_TAG, "MU VLAN Tag"},
	{ EID_RATECTRL_CIR_UL, "Up Link Bandwidth Control: Committed Information Rate (CIR)"},
	{ EID_RATECTRL_CIR_DL, "Down Link Bandwidth Control: Committed Information Rate (CIR)"},
	{ EID_RATECTRL_CBS_UL, "Up Link Bandwidth Control: Committed Burst Size (CBS)"},
	{ EID_RATECTRL_CBS_DL, "Down Link Bandwidth Control: Committed Burst Size (CBS)"},
	{ EID_RATECTRL_NAME_UL, "Up Link Bandwidth Control Profile Name"},
	{ EID_RATECTRL_NAME_DL, "Down Link Bandwidth Control Profile Name"},
	{ EID_POLICY_NAME, "Policy Profile Name"},
	{ EID_SIAPP_PMK_BLOCK, "Secure Inter-Access Point Protocol(SIAPP) Pairwise Master Key Block"},
	{ EID_SIAPP_PMKID, "Secure Inter-Access Point Protocol(SIAPP) Pairwise Master Key ID"},
	{ EID_SIAPP_PMK_REAUTH, "Secure Inter-Access Point Protocol(SIAPP) Pairwise Master Key ReAuthenticate"},
	{ EID_SIAPP_PMK_LIFETIME, "Secure Inter-Access Point Protocol(SIAPP) Pairwise Master Key Life Time"},
	{ EID_SIAPP_PMKID_FLAG, "Secure Inter-Access Point Protocol(SIAPP) Pairwise Master Key ID Flag"},
	{ EID_SIAPP_MU_PMK, "MU Secure Inter-Access Point Protocol(SIAPP) Pairwise Master Key"},
	{ EID_SIAPP_AP_NAME, "SIAPP AP Name"},
	{ EID_SIAPP_RADIO_CONFIG_BLOCK, "SIAPP Radio Configuration Block"},
	{ EID_SIAPP_CLUSTER_ACS_REQ, "SIAPP Cluster ACS Request"},
	{ EID_SIAPP_SIAPP_MU_STATS_BLOCK, "SIAPP MU Statistics Block"},
	{ EID_SIAPP_PACKET_RETRIES, "SIAPP Packet Retries"},
	{ EID_SIAPP_ASSOC_IN_WLAN, "SIAPP MU Association With In Same WLAN"},
	{ EID_SIAPP_ASSOC_IN_CLUSTER, "SIAPP MU Association With In Same Cluster"},
	{ EID_SIAPP_REASSOC_IN_CLUSTER, "SIAPP MU Reassociation With In Same Cluster"},
	{ EID_SIAPP_THIN_BLOCK, "SIAPP Thin Access Points Block"},
	{ EID_SIAPP_NEWAP_BSSID, "SIAPP New Access Points BSSID"},
	{ EID_SIAPP_OLDAP_BSSID, "SIAPP Old Access Points BSSID"},
	{ EID_SIAPP_RAD_CACS_REQ, "SIAPP Radio CACS Request"},
	{ EID_SIAPP_RADIOBLOCK, "SIAPP Radio Block"},
	{ EID_SIAPP_CLIENT_COUNT, "SIAPP Client Count"},
	{ EID_SIAPP_BLOCK, "SIAPP Block"},
	{ EID_SIAPP_MU_TransmittedFrameCount, "SIAPP MU _Transmitted Frame Count"},
	{ EID_SIAPP_MU_ReceivedFrameCount, "SIAPP MU Received Frame Count"},
	{ EID_SIAPP_MU_TransmittedBytes, "SIAPP MU Transmitted Bytes"},
	{ EID_SIAPP_MU_ReceivedBytes, "SIAPP MU Received Bytes"},
	{ EID_SIAPP_MU_UL_DroppedRateControlPackets, "SIAPP MU Up Link Dropped Rate Control Packets"},
	{ EID_SIAPP_MU_DL_DroppedRateControlPackets, "SIAPP MU Down Link Dropped Rate Control Packets"},
	{ EID_SIAPP_MU_DL_DroppedBufferFullPackets, "SIAPP MU Down Link Dropped Buffer Full Packets"},
	{ EID_SIAPP_MU_DL_LostRetriesPackets, "SIAPP MU Down Link Lost Retries Packets"},
	{ EID_SIAPP_MU_UL_DroppedRateControlBytes, "SIAPP MU Up Link Dropped Rate Control Bytes"},
	{ EID_SIAPP_MU_DL_DroppedRateControlBytes, "SIAPP MU Down Link Dropped Rate Control Bytes"},
	{ EID_SIAPP_MU_DL_DroppedBufferFullBytes, "SIAPP MU Down Link Dropped Buffer Full Bytes"},
	{ EID_SIAPP_MU_DL_LostRetriesBytes, "SIAPP MU Down Link Lost Retries Bytes"},
	{ EID_SIAPP_BP_BSSID, "SIAPP  Access Points BSSID"},
	{ EID_SIAPP_RADIO_ID, "SIAPP Radio ID"},
	{ EID_SIAPP_MACADDR, "SIAPP Mac Address"},
	{ EID_SIAPP_PREAUTH_REQ, "SIAPP Preauthentication Request"},
	{ EID_SIAPP_USER_IDENTITY, "SIAPP Client IDY"},
	{ EID_SIAPP_LOADBAL_BLOCK, "SIAPP Load Balance block"},
	{ EID_SIAPP_LOADBAL_PKT_TYPE, "SIAPP Load Balance PKT Type"},
	{ EID_SIAPP_LOADBAL_LOADGROUP_ID, "SIAPP Load Balance Load Group ID"},
	{ EID_SIAPP_LOADBAL_LOAD_VALUE, "SIAPP Load Balance Load Value"},
	{ EID_SIAPP_AC_MGMT_MAC, "SIAPP Controller Management Mac Address"},
	{ EID_SIAPP_FILTER_COS, "SIAPP Filter Rule COS"},
	{ EID_COS, "Classes of Service(COS)"},
	{ EID_RATE_LIMIT_RESOURCE_TBL, "Bandwidth Control Rate Limit Resource Table"},
	{ EID_UCAST_FILTER_DISABLE, "Unicast Filter Disable Flag"},
	{ EID_MU_INFORM_REASON, "MU Information"},
	{ EID_MU_FILTER_POLICY_NAME, "MU Filter Rule Name"},
	{ EID_MU_TOPOLOGY_POLICY_NAME, "MU Topology Name"},
	{ EID_MU_COS_POLICY_NAME, "MU COS Name"},
	{ EID_MU_FILTER_KEY, "MU Filter Rule ID"},
	{ EID_MU_TOPOLOGY_KEY, "MU Topology ID"},
	{ EID_MU_COS_KEY, "MU COS ID"},
	{ EID_MU_SESSION_TIMEOUT, "MU Session Life Time"},
	{ EID_MU_ACCOUNTING_CLASS, "MU Accounting Class"},
	{ EID_MU_LOGIN_LAT_PORT, "MU Login authentication state(0 = Non-auth, 1 = Auth)"},
	{ EID_MU_IDLE_TIMEOUT, "MU Session Idle Timeout"},
	{ EID_MU_ACCT_INTERIM_INTERVAL, "Client Acct-Interim-Interval(RADIUS)"},
	{ EID_MU_IP_ADDR, "MU IP Address"},
	{ EID_MU_TERMINATE_ACTION, "MU Terminate Action"},
	{ EID_SITE_NAME, "Site Name"},
	{ EID_PEER_SITE_IP, "Peer Site IP Address"},
	{ EID_INTERFERENCE_EVENTS_ENABLE, "Interference Events Enable Flag"},
	{ EID_EVENT_TYPE, "Event Type"},
	{ EID_EVENT_CHANNEL, "Event Channel"},
	{ EID_EVENT_VALUE, "Event Value"},
	{ EID_SSS_MU_BLOCK, "Site Section MU Block"},
	{ EID_SSS_MU_ASSOC_TIME, "Site Section MU Association Time"},
	{ EID_SSS_TS64_MU_UPDATE, "Site Section MU Update Time Stamp"},
	{ EID_SSS_TS64_AP_CURRENT, "Site Section AccessPoint Current Time"},
	{ EID_SSS_MU_AUTH_STATE, "Site Section MU Authentication State"},
	{ EID_SSS_AP_HOMEHASH, "Site Section AccessPoint Home Hashed Value"},
	{ EID_TIME_FIRST_DETECTED, "First Detected Time"},
	{ EID_TIME_LAST_REPORTED, "Last Reported Time"},
	{ EID_EVENT_ARRAY, "Array Of Events"},
	{ EID_SSS_DEFAULT_SESSION_TIMEOUT, "Site Section Default Timeout Time"},
	{ EID_SSS_SSID, "Site Section SSID"},
	{ EID_SSS_PRIVACY_TYPE, "Site Section Privacy Type"},
	{ EID_POLICY_ZONE_NAME, "Policy Zone Name"},
	{ EID_RU_AC_EVENT_COMPONENT_ID, "Event Component ID"},
	{ EID_MU_AUTH_STATE, "MU Authentication State"},
	{ EID_MU_USER_NAME, "MU User Name"},
	{ EID_BULK_TYPE, "Bulk Type"},
	{ EID_SENT_TIME, "Sent Time"},
	{ EID_INFORM_MU_PMK, "Pairwise Master Key Informed From AP"},
	{ EID_COLLECTOR_IP_ADDR, "Collector IP Address"},
	{ EID_ARP_PROXY, "Enable/Disable Proxying of ARP Per Topology"},
	{ EID_MCAST_FILTER_RULES, "Multicast Filter Rules Per Topology"},
	{ EID_AP_PARAMS, "AP Parameters"},
	{ EID_ASSOC_SSID_ARRAY, "Array of Associated SSID"},
	{ EID_ASSOC_SSID_BLOCK, "Block of Associated SSID"},
	{ EID_AP_LIST_BLOCK, "Bloc of AP List"},
	{ EID_AP_LIST_ARRAY, "Array of AP List"},
	{ EID_MAC_ADDR, "MAC Address"},
	{ EID_SCAN_PROFILE_ID, "Scan Profile ID"},
	{ EID_ACTION_REQ, "Action Request"},
	{ EID_CHANNEL_LIST, "Channel List"},
	{ EID_COUNTERMEASURES_MAX_CH, "CounterMeasures Max Channel"},
	{ EID_COUNTERMEASURES_SET, "Enable/disable CounterMeasures"},
	{ EID_SCAN_PROFILE_BLOCK, "Scan Profile Block"},
	{ EID_SEQ_NUM, "Sequence Number"},
	{ EID_THREAT_DEF_ARRAY, "Array Of Threat Definition"},
	{ EID_THREAT_DEF_BLOCK, "Block Of Threat Definition"},
	{ EID_THREAT_TYPE, "Threat Type"},
	{ EID_THREAT_ID, "Threat ID"},
	{ EID_THREAT_STATS_F, "Threat State"},
	{ EID_THREAT_FR_SFR, "Threat FR SFR"},
	{ EID_THREAT_PATTERN_ARRAY, "Array Of Threat Pattern"},
	{ EID_THREAT_PATTERN_BLOCK, "Block Of Threat Pattern"},
	{ EID_THREAT_PATTERN, "Threat Pattern"},
	{ EID_THREAT_ALERT_TH_DUR, "Threat Alert"},
	{ EID_THREAT_CLEAR_TH_DUR, "Threat Clear"},
	{ EID_THREAT_PRIORITY, "Threat Priority"},
	{ EID_THREAT_MITIGATION_LIST, "Threat Mitigation List"},
	{ EID_SSS_MU_IS_PORT_CLOSED, "Enable/Disable Site Section MU Port"},
	{ EID_FULL_UPDATE, "Full Update"},
	{ EID_REASON, "Reason"},
	{ EID_SURVEILLANCE_DATA_ARRAY, "Array of Surveillance Data"},
	{ EID_SURVEILLANCE_DATA_BLOCK, "Block of Surveillance Data"},
	{ EID_SCAN_BSSID, "Scan BSSID"},
	{ EID_PARAMS, "Parameters"},
	{ EID_SCAN_RSS_RSSI, "Scan RSS and RSSI"},
	{ EID_SCAN_SSID, "Scan SSID"},
	{ EID_SCAN_CAP, "Scan Capability"},
	{ EID_THREAT_CLASSIFICATION, "Threat Classification"},
	{ EID_THREAT_DATA_ARRAY, "Array Of Threat Data"},
	{ EID_THREAT_DATA_BLOCK, "Block Of Threat Data"},
	{ EID_STATE, "State"},
	{ EID_DROP_FR_CNT, "Drop FR Count"},
	{ EID_STOP_ROAM_CNT, "Stop ROAM Count"},
	{ EID_SPOOF_CNT, "Spoof Count"},
	{ EID_THREAT_CLASSIFY_ARRAY, "Array Of Classify Threat"},
	{ EID_THREAT_CLASSIFY_BLOCK, "Block Of Classify Threat"},
	{ EID_THREAT_NAME, "Threat Name"},
	{ EID_LOCATION, "Location"},
	{ EID_ENCRYPTION_TYPE, "Encryption Type"},
	{ EID_MU_EVENT_ARRAY, "Array Of MU Events"},
	{ EID_MU_EVENT_BLOCK, "Block Of MU Events"},
	{ EID_COMPONENT_ID, "Component ID"},
	{ EID_MU_EVENT_STRING, "MU Event String"},
	{ EID_BYPASS_BMCAST, "Bypass Broadcast and Multicast"},
	{ EID_GETTIMEOFDAY, "Get Time of Day"},
	/* Dedicated scanner / Guardian */
	{ EID_COUNTRY_ID, "Country ID"},
	{ EID_COUNTRY_ARRAY, "Array of Country"},
	{ EID_COUNTRY_BLOCK, "Country Block"},
	/* Location Engine */
	{ EID_MU_EVENT_TYPE, "MU Event Type"},
	{ EID_LOCATOR_FLOOR_ID, "Floor ID"},
	{ EID_LOCATOR_LOC_TYPE, "Location Type"},
	{ EID_LOCATOR_LOC_BLOCK, "Block of Location Data"},
	{ EID_LOCATOR_LOC_ARRAY, "Array of Location Data"},
	{ EID_LOCATOR_LOC_POINT, "Location Point"},
	{ EID_MU_EVENT_DETAILS, "MU Event Details"},
	{ EID_MU_EVENT_FROM_AP, "MU Event From AP"},
	{ EID_MU_EVENT_LOC_BLOCK, "Block of MU Location Event"},
	{ EID_LOCATOR_LOC_AP_DISTANCE, "AP Location Distance"},
	{ EID_LOCATOR_LOC_PRECISION, "Location Precision"},
	{ EID_RSS_DATA_ARRAY, "Array of RSS Data"},
	{ EID_RSS_DATA_BLOCK, "Block  of RSS Data"},
	{ EID_LOCATOR_MU_ACTION, "Location MU Action"},
	{ EID_EFFECTIVE_EGRESS_VLAN, "Effective Egress Vlan"},
	{ EID_REBOOT_ACK, "Reboot Acknowledgement"},
	{ EID_MU_BSSID, "MU BSSID"},
	{ EID_AUTH_FLAG, "Authentication Flag"},
	{ EID_ROAMED_FLAG, "ROAMED Flag"},
	{ EID_MU_RSS, "MU RSS"},
	{ EID_FILTER_RULES_VER, "Filter Rule Struct Version"},
	{ EID_FILTER_TYPE, "Filter Rule Type"},
	{ EID_MCAST_FILTER_BLOCK, "Multicast Filter Rule Block"},
	{ EID_MCAST_FILTER_BLOCK_ENTRY, "Multicast Filter Rule Block Entry"},
	{ EID_DEFAULT_ACTION_TYPE, "Default Action Type"},
	{ EID_DEFAULT_CONTAIN_TO_VLAN, "Default Contain to Vlan Flag"},
	{ EID_DEFAULT_BRIDGE_MODE, "Default Bridge Mode Flag"},
	{ EID_INVALID_POLICY, "Invalid Policy Flag"},
	{ EID_LOCATOR_FLOOR_NAME, "Floor Name"},
	{ EID_AP_FLAGS, "AP Flags"},
	{ EID_AP_PVID, "AP PVID"},
	{ EID_AP_REDIRECT, "AP Redirect Flag"},
	{ EID_MU_CVLAN_BAP, "AP Contain to Vlan Has Bridge At AP Topology Flag"},
	{ EID_MU_SESSION_ARRAY, "Array Of MU Session"},
	{ EID_MU_SESSION_BLOCK, "MU Session Block"},
	{ EID_MU_SESSION_ID, "MU Session ID"},
	{ EID_MU_RFS_NAME, "MU RFS Name"},
	{ EID_MU_FLAGS, "MU Flags"},
	{ EID_MU_ASSOC_TIME, "MU Associated Time"},
	{ EID_MU_ACTIVE_TIME, "MU Active Time"},
	{ EID_REPORT_REQ, "Report Request"},
	{ EID_MU_URL, "MU Captive Portal Url"},
	{ EID_MU_SESSION_LIFETIME, "MU Session Life Time"},
	{ EID_MU_REAUTH_TIMER, "MU Re-Authentication Timer"},
	{ EID_MU_ACCT_SESSION_ID_STRING, "MU Acct Session ID String"},
	{ EID_MU_ACCT_POLICY_NAME, "MU Acct Policy Name"},
	{ EID_MU_ACCT_START_TIME, "MU Acct Start Time"},
	{ EID_MU_ACCT_CLASS, "MU Acct Class"},
	{ EID_MU_LOGIN_LAT_GROUP, "MU Login Group"},
	{ EID_MU_TUNNEL_PRIVATE_GROUP_ID_STRING, "MU Tunnel Private Group ID String"},
	{ EID_MU_USER_ID_STRING, "MU User ID String"},
	{ EID_MU_DEFENDED_STATE, "MU Defended State"},
	{ EID_MU_MOD_MASK, "MU Modulation Mask"},
	{ EID_LOCATOR_TRACKED, "Locator Tracked"},
	{ EID_PORT, "Port"},
	{ EID_RETRIES_COUNT, "Retries Count"},
	{ EID_MODULATION_TYPE, "Modulation Type"},
	{ EID_DETECTED_ROGUE_ARRAY, "Array Of Detected Rogue"},
	{ EID_DETECTED_ROGUE_BLOCK, "Detected Rogue Block"},
	{ EID_ROGUE_DETECTION, "Rogue Detection"},
	{ EID_MAC_ADDR_TX, "Tx Mac Address"},
	{ EID_MAC_ADDR_RX, "Rx Mac Address"},
	{ EID_IP_ADDR_TX, "Tx IP Address"},
	{ EID_IP_ADDR_RX, "Rx IP Address"},
	{ EID_TTL, "TTL"},
	{ EID_GW_IP_ADDR, "Gateway IP Address"},
	{ EID_LOCATOR_STATE_DATA, "Location State Data"},
	{ EID_LOCATOR_POINT_SET, "Location Point Set"},
	{ EID_FILTER_RULE_FIXED_APP_ID, "Filter Rule Fixed Application ID"},
	{ EID_FILTER_RULES_EXT_BLOCK, "Filter Rule Extended Block"},
	{ EID_MU_AREA_BLOCK, "MU Area Block"},
	{ EID_MU_LOCATION, "MU Location"},
	{ EID_MU_LOCATION_TS, "MU Location Time Stamp"},
	{ EID_DNS_IP_ADDR, "DNS IP Address"},
	{ EID_IN_SERVICE_AP_LIST, "In-Service AP List"},
	{ EID_OUT_SERVICE_AP_LIST, "Out of Service AP List"},
	{ EID_LAST_RD_AP, "Last RD AP"},
	{ EID_ROGUE_INFO, "Rogue Info"},
	{ EID_MU_IS_FT, "Enable/Disable MU Fast Transition"},
	{ EID_MU_PMK_R1, "MU Fast Transition Roaming"},
	{ EID_SIAPP_R0KHID, "SIAPP R0KH ID"},
	{ EID_SIAPP_R1KHID, "SIAPP R1KH ID"},
	{ EID_SIAPP_FT_NONCE, "SIAPP Fast Transition Nonce"},
	{ EID_SIAPP_FT_PMKR0NAME, "SIAPP Fast Transition PMKR0 Name"},
	{ EID_SIAPP_FT_R1KHID, "SIAPP Fast Transition R1KH ID"},
	{ EID_SIAPP_FT_S1KHID, "SIAPP Fast Transition S1KH ID"},
	{ EID_SIAPP_FT_PMKR1, "SIAPP Fast Transition PMKR1"},
	{ EID_SIAPP_FT_PMKR1NAME, "SIAPP Fast Transition PMKR1 Name"},
	{ EID_SIAPP_FT_PAIRWISE, "SIAPP Fast Transition Pairwise"},
	{ EID_SIAPP_FT_LIFETIME, "SIAPP Fast Transition Life Time"},
	{ EID_MU_POWER_CAP, "MU Power Capable"},
	{ EID_AREA_NAME, "Area Name"},
	{ EID_PERIODIC_NEIGHBOUR_REPORT, "Periodic Neighbour Report"},
	{ EID_TIMESTAMP, "Time Stamp"},
	{ EID_NEIGHBOUR_ENTRY, "Neighbour Entry"},
	{ EID_MU_REQ, "MU Request"},
	{ EID_RU_REQ, "RU Request"},
	{ EID_NEIGHBOUR_REQ, "Neighbour Request"},
	{ EID_SSS_FT_ASSOC, "Site Section Fast Transition Association"},
	{ EID_DEFAULT_MIRRORN, "Enables the First N Packets of a Flow to The Controller"},
	{ EID_FILTER_RULE_EXT_ACT_FLAGS, "Extension to Filter Rule Definition. Specifies Additional Actions Per Filter Rule"},
	{ EID_TOPO_GROUP_MAPPING, "Topology Group Mapping"},
	{ EID_MU_PMK_R0NAME, "MU Pairwise Master Key R0 Name"},
	{ EID_CUI, "CUI"},
	{ EID_SSS_CAPINFO, "Site Section CAP Info"},
	{ EID_SSS_CAPPOWER, "Site Section CAP Power"},
	{ EID_WFA_VSA, "WFA Vendor Specific Hotspot"},
	{ EID_WFA_HS20_REMED_METHOD, "Online Signup Method for HS2.0 Remediation"},
	{ EID_WFA_HS20_URL, "Remediation Server Url for Online Signup In HS2.0"},
	{ EID_WFA_HS20_DEAUTH_CODE, "WFA HS20 De-Authentication Code"},
	{ EID_WFA_HS20_REAUTH_DELAY, "WFA HS20 Re-Authentication Delay"},
	{ EID_WFA_HS20_SWT, "WFA HS20 SWT"},
	{ EID_POWER_STATUS, "Power Status"},
	{ EID_IPV6_ADDR, "IPV6 Address"},
	{ EID_FILTER_RULES_APP_SIG_GROUP_ID, "Filter Rule Application Signature Group ID"},
	{ EID_FILTER_RULES_APP_SIG_DISP_ID, "Filter Rule Application Signature Display ID"},
	{ EID_MU_DEV_IDENTITY, "MU Device ID"},
	{ EID_APPL_STATS_REQ, "Application Rule Stats Request"},
	{ EID_MU_APPL_STATS_BLOCK, "MU Application Rule Stats Block"},
	{ EID_TOPOLOGY_ARRAY, "Array of Topologies"},
	{ EID_TOPOLOGY_STRUCT, "Topology Struct"},
	{ EID_FILTER_CONFIG_STRUCT, "Filter Rule Configuration Struct"},
	{ EID_DHCP_HOST_NAME, "DHCP Host Name"},
	{ EID_NEIGHBOUR_ENTRY_2, "Neighbour Entry 2"},
	{ EID_CHANNEL_ENTRY, "Channel Entry"},
	{ EID_MU_ECP_PW, "MU External Captive Portal Password"},
	{ EID_MU_ECP_TOKEN, "MU External Captive Portal Token"},
	{ EID_STATIC_VSA_IPADDR, "AP Endpoint on Overlay Network IP Address"},
	{ EID_STATIC_VSA_NETMASK, "AP Endpoint on Overlay Network IP Mask"},
	{ EID_PKT_CAPTURE_STATUS, "Packet Capture Status"},
	{ EID_PKT_CAPTURE_FILTERS, "Packet Capture Filters"},
	{ EID_PKT_F_WIRELESS, "Enable Packet Capture On Wireless"},
	{ EID_PKT_F_WIREDCLIENT, "Enable Packet Capture on Wired Client"},
	{ EID_PKT_F_DIRECTION, "Packet Capture Direction"},
	{ EID_PKT_F_RADIO, "Packet Capture on Radio"},
	{ EID_PKT_F_FLAGS, "Packet Capture Flag"},
	{ EID_PKT_F_IP_ARRAY, "Array of Packet Capture IP Addresses"},
	{ EID_PKT_F_MAC, "Array of Packet Capture Mac Addresses"},
	{ EID_PKT_F_PROTOCOL, "Packet Capture On Protocol"},
	{ EID_PKT_F_PORT, "Packet Capture On Port"},
	{ EID_VSA_SSID_ID, "VSA SSID ID"},
	{ EID_MU_AUTH_TYPE, "MU Authentication Type"},
	{ EID_PKT_F_MAX_PKT_COUNT, "Max Captured Packet Count"},
	{ EID_PKT_F_FLAG_2, "Packet Capture Flag 2"},
	{ EID_IMAGE_PORT, "Image Port"},
	{ EID_FILTER_ROLE_ID, "Filter Rule ID"},
	{ EID_FILTER_ROLE_TIMESTAMP, "Time Stamp of When Role Was Last Changed"},
	{ 0, NULL }
};


static const TLV_PARSER_ENTRY tlvMainTable[]  =
{
	{ EID_UNUSED_0, "Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATUS, "Status/Action", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_SW_VERSION, "Software Version", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_SERIAL_NUMBER, "Serial Number", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_REG_CHALLENGE, "Registration Challenge", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_REG_RESPONSE, "Challenge Response", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AC_IPADDR, "Controller IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_VNSID, "AccessPoint VNS ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TFTP_SERVER, "TFTP Server Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IMAGE_PATH, "Path/Filename of Upgrade Image", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_CONFIG, "SNMP Encoded Configuration", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_STATE, "AccessPoint State", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SESSION_KEY, "Binding Key", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_PROTOCOL, "Message Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RANDOM_NUMBER, "Random Number", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STANDBY_TIMEOUT, "Standby Timeout", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_CHALLENGE_ID, "AccessPoint Challenge ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_MODEL, "AccessPoint Model", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_SCAN_MODE, "AccessPoint Scan Mode", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_SCAN_TYPE, "AccessPoint Scan Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_SCAN_INTERVAL, "AccessPoint Scan Interval", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_RADIO_TYPE, "AccessPoint Radio Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_CHANNEL_DWELL_TIME, "AccessPoint Channel Dwell Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_CHANNEL_LIST, "AccessPoint Channel List", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_TRAP, "AccessPoint Trap", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_SCAN_TIMES, "AccessPoint Scan Times", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_SCAN_DELAY, "AccessPoint Scan Delay", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_SCAN_REQ_ID, "AccessPoint Scan Request ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATIC_CONFIG, "Static Configuration", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCAL_BRIDGING, "Local Bridging", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATIC_BP_IPADDR, "Static AccessPoint IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATIC_BP_NETMASK, "Static AccessPoint NetMask", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATIC_BP_GATEWAY, "Static AccessPoint Gateway", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATIC_BM_IPADDR, "Static Controller IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BP_BPSSID, "AccessPoint BSSID", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BP_WIRED_MACADDR, "AccessPoint Wired MAC", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_CAPABILITY, "AccessPoint Capability", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_SSID_NAME, "AccessPoint SSID Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ALARM, "Alarm", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_PREAUTH, "AccessPoint Preauthorization", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_PMK, "AccessPoint Pairwise Master Key", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AC_REG_CHALLENGE, "Controller Register Challenge", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AC_REG_RESPONSE, "Controller Register Response", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS, "Stats", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_CERTIFICATE, "Certificate", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIO_ID, "Radio ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_REQ_ID, "Request ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NETWORK_ID, "Network ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_MAC, "MU MAC Address", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TIME, "Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NUM_RADIOS, "Number of Radios", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIO_INFO, "Radio Info", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NETWORK_INFO, "Network Info", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_VENDOR_ID, "Vendor ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PRODUCT_ID, "Product ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIO_INFO_ACK, "Radio Info Acknowledge", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SECURE_TUNNEL, " secure tunnel", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TOPOLOGY_ID, "MU topology ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSID, "SSID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_EVENT_BLOCK, "Event Block", TLV_TYPE_BLOCK_TLV, EVENT_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SNMP_ERROR_STATUS, "SNMP Error Status", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SNMP_ERROR_INDEX, "SNMP Error Index", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_REAUTH_TIMER, "AccessPoint ReAuthentication Timer", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_IMG_TO_RAM, "AccessPoint Image Store to RAM", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_IMG_ROLE, "AccessPoint Image Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_STATS_BLOCK, "AccessPoint Statistics Block", TLV_TYPE_BLOCK_TLV, AP_STATS_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_RF_STATS_BLOCK, "AccessPoint RF Statistics Block", TLV_TYPE_BLOCK_TLV, MU_RF_STATS_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_REQUEST_TYPE, "AccessPoint Statistics Request Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_LAST, "AccessPoint Statistics Last Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TLV_CONFIG, "TLV Configuration", TLV_TYPE_BLOCK_TLV, CONFIG_GLOBAL_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_CONFIG_ERROR_BLOCK, "AccessPoint Configuration Error Block", TLV_TYPE_BLOCK_TLV, CONFIG_ERROR_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_CONFIG_MODIFIED_BLOCK, "AccessPoint Configuration Modified Block", TLV_TYPE_BLOCK_TLV, CONFIG_ERROR_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_PMKID_LIST, "MU Pairwise Master Key List", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_PMK_BP, "MU and AccessPoint Pairwise Master Key", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_PMKID_BP, "MU and AccessPoint Pairwise Master Key ID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COUNTDOWN_TIME, "CountDown Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WASSP_VLAN_TAG, "VLAN Tag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSID_ID, "SSID(Service Set Identifier)", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BULK_MU_BLOCK, "Bulk MU Block", TLV_TYPE_BLOCK_TLV, BULK_MU_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_BLOCK, "MU Block", TLV_TYPE_BLOCK_TLV, MU_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PORT_OPEN_FLAG, "Port Open Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WASSP_TUNNEL_TYPE, "Tunnel Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOG_TYPE, "Log type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOG_FILE, "Log File", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ALARM_SEVERITY, "Alarm Severity", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ALARM_DESCRIPTION, "Alarm Information", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BULK_VNS_BLOCK, "Bulk VNS Block", TLV_TYPE_BLOCK_TLV, BULK_VNS_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_VNS_BLOCK, "VNS Block", TLV_TYPE_BLOCK_TLV, VNS_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_DHCP_MODE, "AccessPoint DHCP Mode", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_IPADDR, "AccessPoint IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_NETMASK, "AccessPoint IP Netmask", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_GATEWAY, "AccessPoint IP Gateway", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BSSID2IP_BLOCK, "BSSID to IP Address Mapping Block", TLV_TYPE_BLOCK_TLV, CONFIG_ERROR_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_BACKUP_VERSION, "AccessPoint Upgrade: Software Version of The Backup Image", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AC_SW_VERSION, "AccessPoint Upgrade: Software Version", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MCAST_LAMG_LIST, " Multicast Optimization", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_NAME, "Filter Rule Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_RULES, "Array of Filter Rules", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AUTH_STATE, "Authentication State( MU Not Authenticate = 0, ANON_AUTHENTICATED=0, MU Authenticated = 1", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DISC_AFTER_AUTH, "After Authenticated MU State( Disconnected = 0, Connected = 1", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_MAC_LIST, "Array of MAC Addresses", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TRANS_ID, "Transaction ID of The Message Determined At The Home Controller", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TIMEZONE_OFFSET, "Timezone Offset", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SENSOR_FORCE_DOWNLOAD, " Force Download of Sensor Image", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SENSOR_IMG_VERSION, " Sensor Image Version", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BRIDGE_MODE, "Bridge Mode", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_VLAN_TAG, "MU VLAN Tag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RATECTRL_CIR_UL, "Up Link Bandwidth Control: Committed Information Rate (CIR)", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RATECTRL_CIR_DL, "Down Link Bandwidth Control: Committed Information Rate (CIR)", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RATECTRL_CBS_UL, "Up Link Bandwidth Control: Committed Burst Size (CBS)", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RATECTRL_CBS_DL, "Down Link Bandwidth Control: Committed Burst Size (CBS)", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RATECTRL_NAME_UL, "Up Link Bandwidth Control Profile Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RATECTRL_NAME_DL, "Down Link Bandwidth Control Profile Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_NAME, "Policy Profile Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_PMK_BLOCK, "Secure Inter-Access Point Protocol(SIAPP) Pairwise Master Key Block", TLV_TYPE_BLOCK_TLV, TAB_SIAPP_PMK_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_PMKID, "Secure Inter-Access Point Protocol(SIAPP) Pairwise Master Key ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_PMK_REAUTH, "Secure Inter-Access Point Protocol(SIAPP) Pairwise Master Key ReAuthenticate", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_PMK_LIFETIME, "Secure Inter-Access Point Protocol(SIAPP) Pairwise Master Key Life Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_PMKID_FLAG, "Secure Inter-Access Point Protocol(SIAPP) Pairwise Master Key ID Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MU_PMK, "MU Secure Inter-Access Point Protocol(SIAPP) Pairwise Master Key", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_AP_NAME, "SIAPP AP Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_RADIO_CONFIG_BLOCK, "SIAPP Radio Configuration Block", TLV_TYPE_BLOCK_TLV, TAB_SIAPP_RADIO_CONFIG_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_CLUSTER_ACS_REQ, "SIAPP Cluster ACS Request", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_SIAPP_MU_STATS_BLOCK, "SIAPP MU Statistics Block", TLV_TYPE_BLOCK_TLV, TAB_SIAPP_MU_STATS_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_PACKET_RETRIES, "SIAPP Packet Retries", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_ASSOC_IN_WLAN, "SIAPP MU Association With In Same WLAN", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_ASSOC_IN_CLUSTER, "SIAPP MU Association With In Same Cluster", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_REASSOC_IN_CLUSTER, "SIAPP MU Reassociation With In Same Cluster", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_THIN_BLOCK, "SIAPP Thin Access Points Block", TLV_TYPE_BLOCK_TLV, TAB_SIAPP_THIN_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_NEWAP_BSSID, "SIAPP New Access Points BSSID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_OLDAP_BSSID, "SIAPP Old Access Points BSSID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_RAD_CACS_REQ, "SIAPP Radio CACS Request", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_RADIOBLOCK, "SIAPP Radio Block", TLV_TYPE_BLOCK_TLV, TAB_SIAPP_MU_STATS_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_CLIENT_COUNT, "SIAPP Client Count", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_BLOCK, "SIAPP Block", TLV_TYPE_BLOCK_TLV, TAB_SIAPP_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MU_TransmittedFrameCount, "SIAPP MU Transmitted Frame Count", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MU_ReceivedFrameCount, "SIAPP MU Received Frame Count", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MU_TransmittedBytes, "SIAPP MU Transmitted Bytes", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MU_ReceivedBytes, "SIAPP MU Received Bytes", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MU_UL_DroppedRateControlPackets, "SIAPP MU Up Link Dropped Rate Control Packets", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MU_DL_DroppedRateControlPackets, "SIAPP MU Down Link Dropped Rate Control Packets", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MU_DL_DroppedBufferFullPackets, "SIAPP MU Down Link Dropped Buffer Full Packets", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MU_DL_LostRetriesPackets, "SIAPP MU Down Link Lost Retries Packets", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MU_UL_DroppedRateControlBytes, "SIAPP MU Up Link Dropped Rate Control Bytes", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MU_DL_DroppedRateControlBytes, "SIAPP MU Down Link Dropped Rate Control Bytes", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MU_DL_DroppedBufferFullBytes, "SIAPP MU Down Link Dropped Buffer Full Bytes", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MU_DL_LostRetriesBytes, "SIAPP MU Down Link Lost Retries Bytes", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_BP_BSSID, "SIAPP  Access Points BSSID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_RADIO_ID, "SIAPP Radio ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_MACADDR, "SIAPP Mac Address", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_PREAUTH_REQ, "SIAPP Preauthentication Request", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_USER_IDENTITY, "SIAPP Client ID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_LOADBAL_BLOCK, "SIAPP Load Balance Block", TLV_TYPE_BLOCK_TLV, CONFIG_ERROR_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_LOADBAL_PKT_TYPE, "SIAPP Load Balance PKT Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_LOADBAL_LOADGROUP_ID, "SIAPP Load Balance Load Group ID", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_LOADBAL_LOAD_VALUE, "SIAPP Load Balance Load Value", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_AC_MGMT_MAC, "SIAPP Controller Management Mac Address", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_FILTER_COS, "SIAPP Filter Rule COS", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COS, "Classes of Service(COS)", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RATE_LIMIT_RESOURCE_TBL, "Bandwidth Control Rate Limit Resource Table", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_UCAST_FILTER_DISABLE, "Unicast Filter Disable Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_INFORM_REASON, "MU Information", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_FILTER_POLICY_NAME, "MU Filter Rule Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TOPOLOGY_POLICY_NAME, "MU Topology Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_COS_POLICY_NAME, "MU COS Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_FILTER_KEY, "MU Filter Rule ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TOPOLOGY_KEY, "MU Topology ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_COS_KEY, "MU COS ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_SESSION_TIMEOUT, "MU Session Life Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ACCOUNTING_CLASS, "MU Accounting Class", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_LOGIN_LAT_PORT, "MU Login authentication state(0 = Non-auth, 1 = Auth)", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_IDLE_TIMEOUT, "MU Session Idle Timeout", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ACCT_INTERIM_INTERVAL, "Client Acct-Interim-Interval(RADIUS)", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_IP_ADDR, "MU IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TERMINATE_ACTION, "MU Terminate Action", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SITE_NAME, "Site Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PEER_SITE_IP, "Peer Site IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_INTERFERENCE_EVENTS_ENABLE, "Interference Events Enable Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_EVENT_TYPE, "Event Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_EVENT_CHANNEL, " Event Channel", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_EVENT_VALUE, "Event Value", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSS_MU_BLOCK, "Site Section MU Block", TLV_TYPE_BLOCK_TLV, TAB_SSS_MU_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSS_MU_ASSOC_TIME, "Site Section MU Association Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSS_TS64_MU_UPDATE, "Site Section MU Update Time Stamp", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSS_TS64_AP_CURRENT, "Site Section AccessPoint Current Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSS_MU_AUTH_STATE, "Site Section MU Authentication State", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSS_AP_HOMEHASH, "Site Section AccessPoint Home Hashed Value", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TIME_FIRST_DETECTED, "First Detected Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TIME_LAST_REPORTED, "Last Reported Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_EVENT_ARRAY, "Array Of Events", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSS_DEFAULT_SESSION_TIMEOUT, "Site Section Default Timeout Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSS_SSID, "Site Section SSID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSS_PRIVACY_TYPE, "Site Section Privacy Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_ZONE_NAME, "Policy Zone Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_AC_EVENT_COMPONENT_ID, "Event Component ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_AUTH_STATE, "MU Authentication State", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_USER_NAME, "MU User Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BULK_TYPE, "Bulk Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SENT_TIME, "Sent Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_INFORM_MU_PMK, "Pairwise Master Key Informed From AP", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COLLECTOR_IP_ADDR, "Collector IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0 },
	{ EID_ARP_PROXY, "Enable/Disable Proxying of ARP Per Topology", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MCAST_FILTER_RULES, "Multicast Filter Rules Per Topology", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_PARAMS, "AP Parameters", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ASSOC_SSID_ARRAY, "Array of Associated SSID", TLV_TYPE_BLOCK_TLV, TAB_ASSOC_SSID_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ASSOC_SSID_BLOCK, "Block of Associated SSID", TLV_TYPE_BLOCK_TLV, TAB_ASSOC_SSID_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_LIST_BLOCK, "Bloc of AP List", TLV_TYPE_BLOCK_TLV, TAB_AP_LIST_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_LIST_ARRAY, " Array of AP List", TLV_TYPE_BLOCK_TLV, TAB_AP_LIST_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MAC_ADDR, "MAC Address", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SCAN_PROFILE_ID, "Scan Profile ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ACTION_REQ, "Action Request", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_CHANNEL_LIST, "Channel List", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COUNTERMEASURES_MAX_CH, "CounterMeasures Max Channel", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COUNTERMEASURES_SET, "Enable/disable CounterMeasures", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SCAN_PROFILE_BLOCK, "Scan Profile Block", TLV_TYPE_BLOCK_TLV, TAB_SCAN_PROFILE_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SEQ_NUM, "Sequence Number", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_DEF_ARRAY, "Array Of Threat Definition", TLV_TYPE_BLOCK_TLV, TAB_THREAT_DEF_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_DEF_BLOCK, "Block Of Threat Definition", TLV_TYPE_BLOCK_TLV, TAB_THREAT_DEF_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_TYPE, "Threat Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_ID, "Threat ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_STATS_F, "Threat State", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_FR_SFR, "Threat FR SFR", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_PATTERN_ARRAY, "Array Of Threat Pattern", TLV_TYPE_BLOCK_TLV, TAB_THREAT_PATTERN_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_PATTERN_BLOCK, "Block Of Threat Pattern", TLV_TYPE_BLOCK_TLV, TAB_THREAT_PATTERN_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_PATTERN, "Threat Pattern", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_ALERT_TH_DUR, "Threat Alert", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_CLEAR_TH_DUR, "Threat Clear", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_PRIORITY, "Threat Priority", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_MITIGATION_LIST, "Threat Mitigation List", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSS_MU_IS_PORT_CLOSED, "Enable/Disable Site Section MU Port", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FULL_UPDATE, "Full Update", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_REASON, "Reason", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SURVEILLANCE_DATA_ARRAY, "Array of Surveillance Data", TLV_TYPE_BLOCK_TLV, TAB_SURVEILLANCE_DATA_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SURVEILLANCE_DATA_BLOCK, "Block of Surveillance Data", TLV_TYPE_BLOCK_TLV, TAB_SURVEILLANCE_DATA_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SCAN_BSSID, "Scan BSSID", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PARAMS, "Parameters", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SCAN_RSS_RSSI, "Scan RSS and RSSI", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SCAN_SSID, "Scan SSID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SCAN_CAP, "Scan Capability", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_CLASSIFICATION, "Threat Classification", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_DATA_ARRAY, "Array Of Threat Data", TLV_TYPE_BLOCK_TLV, TAB_THREAT_DATA_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_DATA_BLOCK, "Block Of Threat Data", TLV_TYPE_BLOCK_TLV, TAB_THREAT_DATA_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATE, "State", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DROP_FR_CNT, "Drop FR Count", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STOP_ROAM_CNT, "Stop ROAM Count", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SPOOF_CNT, "Spoof Count", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_CLASSIFY_ARRAY, "Array Of Classify Threat", TLV_TYPE_BLOCK_TLV, TAB_THREAT_CLASSIFY_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_CLASSIFY_BLOCK, "Block Of Classify Threat", TLV_TYPE_BLOCK_TLV, TAB_THREAT_CLASSIFY_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_THREAT_NAME, "Threat Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATION, "Location", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ENCRYPTION_TYPE, "Encryption Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_EVENT_ARRAY, "Array Of MU Events", TLV_TYPE_BLOCK_TLV, TAB_MU_EVENT_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_EVENT_BLOCK, "Block Of MU Events", TLV_TYPE_BLOCK_TLV, TAB_MU_EVENT_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COMPONENT_ID, "Component ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_EVENT_STRING, "MU Event String", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BYPASS_BMCAST, "Bypass Broadcast and Multicast", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_GETTIMEOFDAY, "Get Time of Day", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COUNTRY_ID, "Country ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COUNTRY_ARRAY, "Array of Country", TLV_TYPE_BLOCK_TLV, TAB_COUNTRY_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COUNTRY_BLOCK, "Country Block", TLV_TYPE_BLOCK_TLV, TAB_COUNTRY_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_EVENT_TYPE, "MU Event Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATOR_FLOOR_ID, "Floor ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATOR_LOC_TYPE, "Location Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATOR_LOC_BLOCK, "Block of Location Data", TLV_TYPE_BLOCK_TLV, TAB_LOCATOR_LOC_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATOR_LOC_ARRAY, "Array of Location Data", TLV_TYPE_BLOCK_TLV, TAB_LOCATOR_LOC_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATOR_LOC_POINT, "Location Point", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_EVENT_DETAILS, "MU Event Details", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_EVENT_FROM_AP, "MU Event From AP", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_EVENT_LOC_BLOCK, "Block of MU Location Event", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATOR_LOC_AP_DISTANCE, "AP Location Distance", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATOR_LOC_PRECISION, "Location Precision", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RSS_DATA_ARRAY, "Array of RSS Data", TLV_TYPE_BLOCK_TLV, TAB_RSS_DATA_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RSS_DATA_BLOCK, "Block  of RSS Data", TLV_TYPE_BLOCK_TLV, TAB_RSS_DATA_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATOR_MU_ACTION, "Location MU Action", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_EFFECTIVE_EGRESS_VLAN, "Effective Egress Vlan", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_REBOOT_ACK, "Reboot Acknowledgement", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_BSSID, "MU BSSID", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AUTH_FLAG, "Authentication Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ROAMED_FLAG, "ROAMED Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_RSS, "MU RSS", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_RULES_VER, "Filter Rule Struct Version", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_TYPE, "Filter Rule Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MCAST_FILTER_BLOCK, "Multicast Filter Rule Block", TLV_TYPE_BLOCK_TLV, TAB_MCAST_FILTER_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MCAST_FILTER_BLOCK_ENTRY, "Multicast Filter Rule Block Entry", TLV_TYPE_BLOCK_TLV, TAB_MCAST_FILTER_BLOCK_ENTRY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DEFAULT_ACTION_TYPE, "Default Action Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DEFAULT_CONTAIN_TO_VLAN, "Default Contain to Vlan Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DEFAULT_BRIDGE_MODE, "Default Bridge Mode Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_INVALID_POLICY, "Invalid Policy Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATOR_FLOOR_NAME, "Floor Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_FLAGS, "AP Flags", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_PVID, "AP PVID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_REDIRECT, "AP Redirect Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_CVLAN_BAP, "AP Contain to Vlan Has Bridge At AP Topology Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_SESSION_ARRAY, "Array Of MU Session", TLV_TYPE_BLOCK_TLV, TAB_MU_SESSION_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_SESSION_BLOCK, "MU Session Block", TLV_TYPE_BLOCK_TLV, TAB_MU_SESSION_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_SESSION_ID, "MU Session ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_RFS_NAME, "MU RFS Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_FLAGS, "MU Flags", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ASSOC_TIME, "MU Associated Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ACTIVE_TIME, "MU Actived Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_REPORT_REQ, "Report Request", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_URL, "MU Captive Portal Url", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_SESSION_LIFETIME, "MU Session Life Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_REAUTH_TIMER, "MU Re-Authentication Timer", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ACCT_SESSION_ID_STRING, "MU Acct Session ID String", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ACCT_POLICY_NAME, "MU Acct Policy Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ACCT_START_TIME, "MU Acct Start Time", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ACCT_CLASS, "MU Acct Class", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_LOGIN_LAT_GROUP, "MU Login Group", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TUNNEL_PRIVATE_GROUP_ID_STRING, "MU Tunnel Private Group ID String", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_USER_ID_STRING, "MU User ID String", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DEFENDED_STATE, "MU Defended State", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_MOD_MASK, "MU Modulation Maske", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATOR_TRACKED, "Locator Tracked", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PORT, "Port", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RETRIES_COUNT, "Retries Count", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MODULATION_TYPE, "Modulation Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DETECTED_ROGUE_ARRAY, "Array Of Detected Rogue", TLV_TYPE_BLOCK_TLV, TAB_DETECTED_ROGUE_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DETECTED_ROGUE_BLOCK, "Detected Rogue Block", TLV_TYPE_BLOCK_TLV, TAB_DETECTED_ROGUE_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ROGUE_DETECTION, "Rogue Detection", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MAC_ADDR_TX, "Tx Mac Address", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MAC_ADDR_RX, "Rx Mac Address", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IP_ADDR_TX, "Tx IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IP_ADDR_RX, "Rx IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TTL, "TTL", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_GW_IP_ADDR, "Gateway IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATOR_STATE_DATA, "Location State Data", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATOR_POINT_SET, "Location Point Set", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_RULE_FIXED_APP_ID, "Filter Rule Fixed Application ID", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_RULES_EXT_BLOCK, "Filter Rule Extended Block", TLV_TYPE_BLOCK_TLV, TAB_FILTER_RULES_EXT_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_AREA_BLOCK, "MU Area Block", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_LOCATION, "MU Location", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_LOCATION_TS, "MU Location Time Stamp", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DNS_IP_ADDR, "DNS IP Address", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IN_SERVICE_AP_LIST, "In-Service AP List", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_OUT_SERVICE_AP_LIST, "Out of Service AP List", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LAST_RD_AP, "Last RD AP", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ROGUE_INFO, "Rogue Info", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_IS_FT, "Enable/Disable MU Fast Transition", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_PMK_R1, "MU Fast Transition Roaming", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_R0KHID, "SIAPP R0KH ID", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_R1KHID, "SIAPP R1KH ID", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_FT_NONCE, "SIAPP Fast Transition Nonce", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_FT_PMKR0NAME, "SIAPP Fast Transition PMKR0 Name", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_FT_R1KHID, "SIAPP Fast Transition R1KH ID", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_FT_S1KHID, "SIAPP Fast Transition S1KH ID", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_FT_PMKR1, "SIAPP Fast Transition PMKR1", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_FT_PMKR1NAME, "SIAPP Fast Transition PMKR1 Name", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_FT_PAIRWISE, "SIAPP Fast Transition Pairwise", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_FT_LIFETIME, "SIAPP Fast Transition Life Time", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_POWER_CAP, "MU Power Capable", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AREA_NAME, "Area Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PERIODIC_NEIGHBOUR_REPORT, "Periodic Neighbour Report", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TIMESTAMP, "Time Stamp", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NEIGHBOUR_ENTRY, "Neighbour Entry", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_REQ, "MU Request", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RU_REQ, "RU Request", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NEIGHBOUR_REQ, "Neighbour Request", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSS_FT_ASSOC, "Site Section Fast Transition Association", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DEFAULT_MIRRORN, "Enables the First N Packets of a Flow to The Controller", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_RULE_EXT_ACT_FLAGS, "Extension to Filter Rule Definition. Specifies Additional Actions Per Filter Rule", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TOPO_GROUP_MAPPING, "Topology Group Mapping", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_PMK_R0NAME, "MU Pairwise Master Key R0 Name", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_CUI, "CUI", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSS_CAPINFO, "Site Section CAP Info", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SSS_CAPPOWER, "Site Section CAP Power", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WFA_VSA, "WFA Vendor Specific Hotspot", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WFA_HS20_REMED_METHOD, "Online Signup Method for HS2.0 Remediation", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WFA_HS20_URL, "Remediation Server Url for Online Signup In HS2.0", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WFA_HS20_DEAUTH_CODE, "WFA HS20 De-Authentication Code", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WFA_HS20_REAUTH_DELAY, "WFA HS20 Re-Authentication Delay", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WFA_HS20_SWT, "WFA HS20 SWT", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POWER_STATUS, "Power Status", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IPV6_ADDR, "IPV6 Address", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_RULES_APP_SIG_GROUP_ID, "Filter Rule Application Signature Group ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_RULES_APP_SIG_DISP_ID, "Filter Rule Application Signature Display ID", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DEV_IDENTITY, "MU Device ID", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_APPL_STATS_REQ, "Application Rule Stats Request", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_APPL_STATS_BLOCK, "MU Application Rule Stats Block", TLV_TYPE_BLOCK_TLV, TAB_MU_APPL_STATS_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TOPOLOGY_ARRAY, "Array of Topologies", TLV_TYPE_BLOCK_TLV, TAB_TOPOLOGY_ARRAY_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TOPOLOGY_STRUCT, "Topology Struct", TLV_TYPE_BLOCK_TLV, TAB_TOPOLOGY_STRUCT_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_CONFIG_STRUCT, "Filter Rule Configuration Struct", TLV_TYPE_BLOCK_TLV, TAB_FILTER_CONFIG_STRUCT_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DHCP_HOST_NAME, "DHCP Host Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NEIGHBOUR_ENTRY_2, "Neighbour Entry 2", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_CHANNEL_ENTRY, "Channel Entry", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ECP_PW, "MU External Captive Portal Password", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ECP_TOKEN, "MU External Captive Portal Token", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATIC_VSA_IPADDR, "AP Endpoint on Overlay Network IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATIC_VSA_NETMASK, "AP Endpoint on Overlay Network IP Mask", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PKT_CAPTURE_STATUS, "Packet Capture Status", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PKT_CAPTURE_FILTERS, "Packet Capture Filters", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PKT_F_WIRELESS, "Enable Packet Capture On Wireless", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PKT_F_WIREDCLIENT, "Enable Packet Capture on Wired Client", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PKT_F_DIRECTION, "Packet Capture Direction", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PKT_F_RADIO, "Packet Capture on Radio", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PKT_F_FLAGS, "Packet Capture Flag", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PKT_F_IP_ARRAY, "Array of Packet Capture IP Addresses", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PKT_F_MAC, "Array of Packet Capture Mac Addresses", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PKT_F_PROTOCOL, "Packet Capture On Protocol", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PKT_F_PORT, "Packet Capture On Port", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_VSA_SSID_ID, "VSA SSID ID", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_AUTH_TYPE, "MU Authentication Type", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PKT_F_MAX_PKT_COUNT, "Max Captured Packet Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PKT_F_FLAG_2, "Packet Capture Flag 2", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IMAGE_PORT, "Image Port", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_ROLE_ID, " Filter Rule ID", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_ROLE_TIMESTAMP, " Time Stamp of When Role Was Last Changed", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MAX, "EID_MAX", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0}
};





typedef enum
{
	EID_CONFIG_UNUSED_0 = 0,
	EID_RADIO_CONFIG_BLOCK,
	EID_VNS_CONFIG_BLOCK,
	EID_AP_ROLE,
	EID_LOC_ACTION_REQ,
	EID_TRACE_STATUS_DEBUG,
	EID_TRACE_STATUS_CONFIG,
	EID_MIC_ERR,
	EID_USE_BCAST_FOR_DISASSC,
	EID_BANDWIDTH_VOICE_ASSC,
	EID_BANDWIDTH_VOICE_REASSC,
	EID_BANDWIDTH_VIDEO_ASSC,
	EID_BANDWIDTH_VIDEO_REASSC,
	EID_BANDWIDTH_VIDEO_RESERVE,
	EID_BANDWIDTH_ADM_CTRL_RESERVE,
	EID_VLAN_TAG,
	EID_COUNTRY_CODE,
	EID_POLL_DURATION,
	EID_POLL_INTERVAL,
	EID_LOC_AUTO_COLLECT_ENABLE,
	EID_POLL_MAINTAIN_CLIENT_SESSION,
	EID_TELNET_ENABLE,
	EID_TELNET_PASSWORD,
	EID_TELNET_PASSWORD_ENTRY_MODE,
	EID_OUTDOOR_ENABLE,
	EID_ON_DEMAND_ARRAY,
	EID_LAG_ENABLED,
	EID_APP_POLICY_FIXED_BLOCK,
	EID_SLP_RETRY_COUNT,
	EID_SLP_RETRY_DELAY,
	EID_DNS_RETRY_COUNT,
	EID_DNS_RETRY_DELAY,
	EID_MCAST_SLP_RETRY_COUNT,
	EID_MCAST_SLP_RETRY_DELAY,
	EID_DISC_RETRY_COUNT,
	EID_DISC_RETRY_DELAY,
	EID_LOGGING_ALARM_SEV,
	EID_BLACKLIST_ADD,
	EID_FAILOVER_AC_IP_ADDR,
	EID_STATIC_AC_IP_ADDR,
	EID_DHCP_ASSIGNMENT,
	EID_STATIC_AP_IP_ADDR,
	EID_STATIC_AP_IP_NETMASK,
	EID_STATIC_AP_DEFAULT_GW,
	EID_BLACKLIST_DEL,
	EID_MACADDR_REQ,
	EID_AVAILABILITY_MODE,
	EID_AP_PERSISTENCE,
	EID_FOREIGN_AP,
	EID_SUPP1X_CREDENTIAL_REMOVE,
	EID_SUPP1X_CERT_TFTP_IP,
	EID_SUPP1X_CERT_TFTP_PATH,
	EID_SUPP1X_PRIVATE,
	EID_SUPP1X_DOMAIN,
	EID_SUPP1X_USERID,
	EID_SUPP1X_PASSWORD,
	EID_SUPP1X_CREDENT,
	EID_SUPP1X_SERIAL,
	EID_SUPP1X_START_DATE,
	EID_SUPP1X_END_DATE,
	EID_SUPP1X_ISSUED_BY,
	EID_SUPP1X_ISSUED_TO,
	EID_SUPP1X_SUBJALTNAME,
	EID_NOT_USED_CONFIG_TLV_63,
	EID_FAILOVER_AC_HOME_IP_ADDR,
	EID_FAILOVER_AC_FOREIGN_IP_ADDR,
	EID_AP_HOSTNAME,
	EID_LLDP_ENABLED,
	EID_LLDP_TTL,
	EID_LLDP_ANNOUNCEMENT_INT,
	EID_LLDP_ANNOUNCEMENT_DELAY,
	EID_VOWIFI_EXPIRATION_TIME,
	EID_MOBILITY_SHARED_KEY,
	EID_CHANNEL_REPORT_2_4G,
	EID_CHANNEL_REPORT_5G,
	EID_RATE_CONTROL_BLOCK,
	EID_AP_DNS,
	EID_STATIC_MTU,
	EID_MACFILTER_MODE,
	EID_SITE_CONFIG_BLOCK,
	EID_TOPOLOGY_BLOCK,
	EID_AP_NAME,
	EID_ANTENNA_MODELS,
	EID_AIRTIME_FAIRNESS_LEVEL,
	EID_VLAN_DEFAULT,
	EID_CLUSTER_PASSWORD,
	EID_SIAPP_PRIVACY,
	EID_LED_STATUS,
	EID_LBS_SRC_IP,
	EID_LBS_SRC_PORT,
	EID_LBS_DST_IP,
	EID_LBS_DST_PORT,
	EID_LBS_MCAST,
	EID_LBS_TAG_MODE,
	EID_ETH_PORT_MODE,
	EID_INTER_AP_ROAM,
	EID_MGMT_MAC,
	EID_REAL_CAPTURE_TIMEOUT,
	EID_POLICY_BLOCK,
	EID_FILTER_CONFIG_BLOCK,
	EID_COS_CONFIG_BLOCK,
	EID_LOCATION_BASED_LOOKUP_BLOCK,
	EID_RADIUS_SERVER_BLOCK,
	EID_DISC_RETRY_DELAY_WOUI_ADD,
	EID_DISC_RETRY_DELAY_WOUI_DEL,
	EID_SNIFFER_RADIO_BITMAP,
	EID_MCAST_ASSEMB,
	EID_JUMBO_FRAME,
	EID_DYN_ON_DEMAND_ARRAY,
	EID_BANDWIDTH_BE_ASSC,
	EID_BANDWIDTH_BE_REASSC,
	EID_BANDWIDTH_BK_ASSC,
	EID_BANDWIDTH_BK_REASSC,
	EID_NETFLOW_EXPORT_INTERVAL,
	EID_MIRRORN_PACKETS,
	EID_ICON_NAME,
	EID_ICON_FILE,
	EID_ICON_BLOCK,
	EID_BOARD_STATUS,
	EID_CP_MU_AUTO_LOGIN,
	EID_EXTAPP_CONF_BLOCK,
	EID_RB_REDIRECT,
	EID_RB_REDIRECT_PORTS,
	EID_S_TOPOLOGY_ARRAY,
	EID_S_TOPOLOGY_STRUCT,
	EID_S_TOPOLOGY_KEY,
	EID_S_TOPOLOGY_VLAN_TAG,
	EID_S_TOPOLOGY_ARP_PROXY,
	EID_S_TOPO_MCAST_FILTER_CONFIG_BLOCK,
	EID_MCAST_PRIORITIZED_VOICE,
	EID_IOT_CONTROL,
	EID_IOT_APPLICATION_ID,
	EID_AP_LOCATION,
	EID_IOT_ADMIN,
	EID_IOT_IMAGE,
	EID_IOT_BLE_ADVERTISE_INTERVAL,
	EID_IOT_BLE_ADVERTISE_POWER,
	EID_IOT_IBEACON_MAJOR,
	EID_IOT_IBEACON_MINOR,
	EID_IOT_IBEACON_UUID,
	EID_STATIC_ADSP_IP_ADDR,
	EID_OBSS_CHAN_ADJ_ACTIVE,
	EID_IOT_BLE_SCAN_SRC_IP,
	EID_IOT_BLE_SCAN_SRC_PORT,
	EID_IOT_BLE_SCAN_DST_IP,
	EID_IOT_BLE_SCAN_DST_PORT,
	EID_IOT_BLE_SCAN_INTERVAL,
	EID_IOT_BLE_SCAN_WINDOW,
	EID_IOT_BLE_SCAN_MIN_RSSI,
	EID_LISENSE_SERVER,
	EID_LISENSE_MIN_RSSI,
	EID_LISENSE_REP_FREQ,
	EID_DPI_SIG_HASH,
	EID_ANT_MODELS_IOT,
	EID_FABRICATTACH_ARRAY,
	EID_IOT_THREAD_CHANNEL,
	EID_IOT_THREAD_FACTORY_RESET,
	EID_IOT_THREAD_SHORT_PAN_ID,
	EID_IOT_THREAD_SHORT_EUI,
	EID_IOT_THREAD_PSKD,
	EID_IOT_THREAD_MASTER_KEY,
	EID_IOT_THREAD_NWK_NAME,
	EID_IOT_THREAD_COMM_CREDENTIAL,
	EID_IOT_THREAD_LONG_EUI,
	EID_IOT_THREAD_EXTENDED_PAN_ID,
	EID_AP_VSA_SSID_ID,
	EID_AP_STATIC_VSA_IPADDR,
	EID_AP_STATIC_VSA_NETMASK,
	EID_IOT_BLE_URL,
	EID_AP_PERSONALITY,
	EID_ADSP_RADIO_SHARE,
	EID_LOCATION_TENANT_ID,
	EID_IOT_BLE_BEACON_MEASURED_RSSI,
	EID_MU_NUM_RADAR_BACK
} wassp_subtlv_config_type_t;

/***************************************************
  get define from packet-wassp.h 's   wassp_subtlv_config_type_t  struct

****************************************************/

static const TLV_PARSER_ENTRY tlvGlobalConfigTable[]  =
{
	{ EID_CONFIG_UNUSED_0, "Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIO_CONFIG_BLOCK, "Radio Configuration Block", TLV_TYPE_BLOCK_TLV, RADIO_CONFIG_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_VNS_CONFIG_BLOCK, "VNS Configuration Block", TLV_TYPE_BLOCK_TLV, VNS_CONFIG_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_ROLE, "AccessPoint Role(0 - Traffic Forwarder, 1 - Dedicated Scanner, 2 - ADSP Sensor)", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOC_ACTION_REQ, "Enable RSS Collection for Positioning Engine Request", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TRACE_STATUS_DEBUG, "Enable Trace Debug", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TRACE_STATUS_CONFIG, "Enable Trace Configuration", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MIC_ERR, "Message Integrity Check on AP26xx", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_USE_BCAST_FOR_DISASSC, "Use Broadcast for Client Disassociation", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BANDWIDTH_VOICE_ASSC, "Admission Control: Maximum Bandwidth for Voice Clients", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BANDWIDTH_VOICE_REASSC, "Admission Control: Maximum Bandwidth for Reassociation of Voice Clients", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BANDWIDTH_VIDEO_ASSC, "Admission Control: Maximum Bandwidth for Video Clients", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BANDWIDTH_VIDEO_REASSC, "Admission Control: Maximum Bandwidth for Reassociation of Video Clients", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BANDWIDTH_VIDEO_RESERVE, "Admission Control: Maximum Bandwidth for Reserve of Video Clients", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BANDWIDTH_ADM_CTRL_RESERVE, "Admission Control: Maximum Bandwidth for Reserve of Admin", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_VLAN_TAG, "VLAN Tag of AP Uplink", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COUNTRY_CODE, "Country Code", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLL_DURATION, "Poll Timeout in Seconds", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLL_INTERVAL, "Poll Interval in Seconds", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOC_AUTO_COLLECT_ENABLE, "Enable Auto Collection of RSS for Positioning Engine", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLL_MAINTAIN_CLIENT_SESSION, "Enable Maintaining of Client Session When Poll to Controller Times Out", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TELNET_ENABLE, "Enable SSH Access to AP", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TELNET_PASSWORD, "Hash SSH Password", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TELNET_PASSWORD_ENTRY_MODE, "Telnet Password Entry Mode", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_OUTDOOR_ENABLE, "AP Environment (1 - Indoor, 2 - Outdoor)", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ON_DEMAND_ARRAY, "Array of MAC Addresses to Collect RSS for Positioning Engine (each element is 6 bytes)", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LAG_ENABLED, "Enable Link Aggregation on Uplink Ethernet Ports", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_APP_POLICY_FIXED_BLOCK, "Application Definition for Layer 4 Filters ", TLV_TYPE_BLOCK_TLV, TAB_APP_POLICY_FIXED_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SLP_RETRY_COUNT, "Retry Count for SLP Discovery", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SLP_RETRY_DELAY, "Delay Between SLP Retries", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DNS_RETRY_COUNT, "Retry Count for DNS Discovery", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DNS_RETRY_DELAY, "Delay Between DNS Retries", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MCAST_SLP_RETRY_COUNT, "Retry Count for Multicast SLP Discovery", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MCAST_SLP_RETRY_DELAY, "Delay Between Multicast SLP Retries", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DISC_RETRY_COUNT, "Retry Count for Discovery", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DISC_RETRY_DELAY, "Delay Between Discovery Retries", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOGGING_ALARM_SEV, "Minimum Severity of Event to Report", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BLACKLIST_ADD, "Add Clients to MAC Access List", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FAILOVER_AC_IP_ADDR, "Array of Controllers IP Addresses for Legacy Failover", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATIC_AC_IP_ADDR, "Array of Static Controller IP Addresses", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DHCP_ASSIGNMENT, "Uplink IP Address Assignment (0 - Static, 1 - DHCP)", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATIC_AP_IP_ADDR, "Uplink Static IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATIC_AP_IP_NETMASK, "Uplink Netmask", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATIC_AP_DEFAULT_GW, "Uplink Default Gateway", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BLACKLIST_DEL, "Remove Clients from MAC Access List", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MACADDR_REQ, "Request to Send Radio BSSIDs in Config Acknowledge", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AVAILABILITY_MODE, "Availability Mode", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_PERSISTENCE, "Keep Client Sessions When Connection to Controller Times Out", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FOREIGN_AP, "Home AP = 0, Foreign AP = 1", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_CREDENTIAL_REMOVE, "Remove Credential from AP,type: bitmask (1 - EAP-TLS, 2 - PEAP)", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_CERT_TFTP_IP, "TFTP Server IP Address for EAP-TLS Credential", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_CERT_TFTP_PATH, "TFTP Path for EAP-TLS Credential", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_PRIVATE, "EAP-TLS Private Key, Blowfish Encrypted", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_DOMAIN, "Community Domain", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_USERID, "PEAP User Id", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_PASSWORD, "PEAP Password, Blowfish Encrypted", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_CREDENT, "Credential Configuration of AP", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_SERIAL, "Certificate Serial", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_START_DATE, "Certificate Start Date", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_END_DATE, "Certificate Expiry Date", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_ISSUED_BY, "Certificate Issuer Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_ISSUED_TO, "Certificate Issued to Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SUPP1X_SUBJALTNAME, "Certificate Subject Alternative Name (Required From Microsoft)", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NOT_USED_CONFIG_TLV_63, "Not Used", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FAILOVER_AC_HOME_IP_ADDR, "Array of Home Controller IP Addresses", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FAILOVER_AC_FOREIGN_IP_ADDR, "Array of Foreign Controller IP Addresses", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_HOSTNAME, "AP Hostname", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LLDP_ENABLED, "Enable LLDP", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LLDP_TTL, "LLDP Time To Live", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LLDP_ANNOUNCEMENT_INT, "LLDP Announcement Interval", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LLDP_ANNOUNCEMENT_DELAY, "LLDP Announcement Delay", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_VOWIFI_EXPIRATION_TIME, "Voice Over WiFi Expiration Time", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MOBILITY_SHARED_KEY, "Encrypted With Blowfish Using AP Serial Number As Seed", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_CHANNEL_REPORT_2_4G, "Channel Report Based On 2.4GHz", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_CHANNEL_REPORT_5G, "Channel Report Based On 5GHz", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RATE_CONTROL_BLOCK, "Rate Control Block For Site", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_DNS, "AP DNS", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATIC_MTU, "Uplink Static MTU", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MACFILTER_MODE, "MAC Access List Mode (1 - Blacklist, 2 - Whitelist)", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SITE_CONFIG_BLOCK, "Configuration Block for Site", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TOPOLOGY_BLOCK, "Topology Configuration Block for Site", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_NAME, "AP Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ANTENNA_MODELS, "Array of Antenna Model IDs", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AIRTIME_FAIRNESS_LEVEL, "Airtime Fairness Level: 0-4", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_VLAN_DEFAULT, "Thick AP Default Vlan (Untagged: -1,  Vlan: 0~4094)", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_CLUSTER_PASSWORD, "SIAPP Cluster Password", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SIAPP_PRIVACY, "Enable SIAPP Encryption", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LED_STATUS, "LED Status (0 - Off, 1 - WDS Signal Strength, 2 - Locate, 3 - Normal)", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LBS_SRC_IP, "Location Base Service Source IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LBS_SRC_PORT, "Location Base Service Source Port", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LBS_DST_IP, "Location Base Service Destination IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LBS_DST_PORT, "Location Base Service Destination Port", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LBS_MCAST, "Location Base Service Multicast", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LBS_TAG_MODE, "Location Base Service Tag Mode", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ETH_PORT_MODE, "Ethernet Port Mode", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_INTER_AP_ROAM, "Inter AP Roam", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MGMT_MAC, "Management Mac Address", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_REAL_CAPTURE_TIMEOUT, "Real Capture Time Out", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_BLOCK, "Policy Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_POLICY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_CONFIG_BLOCK, "Filter Rule Configuration Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_FILTER, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COS_CONFIG_BLOCK, "COS Configuration Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_COS, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATION_BASED_LOOKUP_BLOCK, "Location Based Lookup Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_LOC_BASE_LP, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIUS_SERVER_BLOCK, "RADIUS Server Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_RADIUS_SERVER, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DISC_RETRY_DELAY_WOUI_ADD, "Blacklist WOUI Add", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DISC_RETRY_DELAY_WOUI_DEL, "Blacklist WOUI Delete", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SNIFFER_RADIO_BITMAP, "Sniffer Radio Bit Map", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MCAST_ASSEMB, "Multicast Assemble", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_JUMBO_FRAME, "Jumbo Frame", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DYN_ON_DEMAND_ARRAY, "Location Dynamic On-demand MAC List", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BANDWIDTH_BE_ASSC, "Best Effort Bandwidth for Association", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BANDWIDTH_BE_REASSC, "Best Effort Bandwidth for Reassociation", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BANDWIDTH_BK_ASSC, "Background Bandwidth for Association", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BANDWIDTH_BK_REASSC, "Background Bandwidth for Reassociation", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NETFLOW_EXPORT_INTERVAL, "Netflow Export Interval", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MIRRORN_PACKETS, "MirrorN Packets", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ICON_NAME, "Hotspot 2.0 ICON Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ICON_FILE, "Hotspot 2.0 ICON File", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ICON_BLOCK, "Hotspot 2.0 ICON Block", TLV_TYPE_BLOCK_TLV, VNS_CONFIG_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BOARD_STATUS, "Board Status", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_CP_MU_AUTO_LOGIN, "Client Auto Login Handling: 0 : Hide Auto Login, 1 : Redirect Auto Login, 2 : Drop Auto Login", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_EXTAPP_CONF_BLOCK, "Application Control Configuration Block", TLV_TYPE_BLOCK_TLV, TAB_EXTAPP_CONF_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RB_REDIRECT, "Role Based Redirection", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RB_REDIRECT_PORTS, "Role Based Redirection Ports", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_S_TOPOLOGY_ARRAY, "Array of Site Topologies", TLV_TYPE_BLOCK_TLV, TAB_S_TOPOLOGY_ARRAY_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_S_TOPOLOGY_STRUCT, "Site Topology Struct", TLV_TYPE_BLOCK_TLV, TAB_S_TOPOLOGY_STRUCT_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_S_TOPOLOGY_KEY, "Site Topology Key", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_S_TOPOLOGY_VLAN_TAG, "Site Topology Vlan Tag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_S_TOPOLOGY_ARP_PROXY, "Site Topology Arp Proxy", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_S_TOPO_MCAST_FILTER_CONFIG_BLOCK, "Site Topology  Multicast Filter Configuration Block", TLV_TYPE_BLOCK_TLV, TAB_S_TOPO_MCAST_FILTER_CONFIG_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MCAST_PRIORITIZED_VOICE, "Multicast Prioritized Voice", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_CONTROL, "IOT Control", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_APPLICATION_ID, "IOT Application ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_LOCATION, "AP Location", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_ADMIN, "Enable/Disable IOT Admin", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_IMAGE, "Enable IoT-KW41Z Image Upgrade", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_BLE_ADVERTISE_INTERVAL, "IOT BLE Advertise Interval", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_BLE_ADVERTISE_POWER, "IOT BLE Advertise Power", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_IBEACON_MAJOR, "IOT Ibeacon Major", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_IBEACON_MINOR, "IOT Ibeacon Minor", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_IBEACON_UUID, "IOT Ibeacon  UUID", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATIC_ADSP_IP_ADDR, "Set ADSP Url", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_OBSS_CHAN_ADJ_ACTIVE, "Set Auto Channel Width", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_BLE_SCAN_SRC_IP, "IOT BLE Scan Source IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_BLE_SCAN_SRC_PORT, "IOT BLE Scan Source Port", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_BLE_SCAN_DST_IP, "IOT BLE Scan Destination IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_BLE_SCAN_DST_PORT, "IOT BLE Scan Destination Port", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_BLE_SCAN_INTERVAL, "IOT BLE Scan Interval In Milliseconds", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_BLE_SCAN_WINDOW, "IOT BLE Scan Window In Milliseconds", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_BLE_SCAN_MIN_RSSI, "IOT BLE Scan Min RSSI", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LISENSE_SERVER, "License Server", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LISENSE_MIN_RSSI, "License Min RSSI", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LISENSE_REP_FREQ, "License Report Frequency", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DPI_SIG_HASH, "Deep Packet Inspection Signature Hash", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ANT_MODELS_IOT, "Antanna Type for IOT Radio", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FABRICATTACH_ARRAY, "Array Of FabricAttach ID", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_THREAD_CHANNEL, "IoT-Thread Network Parameter 802.15.4 Channel", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_THREAD_FACTORY_RESET, "IoT-Thread Network Factory Reset", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_THREAD_SHORT_PAN_ID, "IoT-Thread Network Parameter PAN ID", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_THREAD_SHORT_EUI, "IoT-Thread network Parameter EUI", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_THREAD_PSKD, "IoT-Thread network Parameter PSKd - Pre-Shared Key for the Device", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_THREAD_MASTER_KEY, "IoT-Thread Network Parameter: Master Key", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_THREAD_NWK_NAME, "IoT-Thread Network Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_THREAD_COMM_CREDENTIAL, "IoT-Thread Commissioner Credential", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_THREAD_LONG_EUI, "IoT-Thread Network Parameter EUI", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_THREAD_EXTENDED_PAN_ID, "IoT-Thread Network Parameter PAN ID", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_VSA_SSID_ID, "Configure VSA Interface", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_STATIC_VSA_IPADDR, "Configure VSA IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_STATIC_VSA_NETMASK, "Configure VSA Network Mask", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IOT_BLE_URL, "IoT-Eddystone URL Parameter", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_AP_PERSONALITY, "WING Or Identifi AP 1: WING AP, 0 : Identifi AP", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ADSP_RADIO_SHARE, "ADSP Radio Share Mode", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOCATION_TENANT_ID, "Location Tenant ID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0}
};



/*Members of EID_S_TOPO_MCAST_FILTER_CONFIG_BLOCK: */
typedef enum
{
	EID_S_TOPO_MCAST_FILTER_NAME  = 1,
	EID_S_TOPO_MCAST_FILTER_RULES,
	EID_S_TOPO_MCAST_FILTER_RULES_EXT_BLOCK
} wassp_tlv_S_topo_mcast_type_t;


static const TLV_PARSER_ENTRY tlvSTopoMcastFilterBlock[] =
{
	{ EID_S_TOPO_MCAST_FILTER_NAME, "Site Topology  Multicast Filter Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_S_TOPO_MCAST_FILTER_RULES, "Site Topology  Multicast Filter Rules", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_S_TOPO_MCAST_FILTER_RULES_EXT_BLOCK, "Site Topology  Multicast Filter Rules Block", TLV_TYPE_BLOCK_TLV, TAB_S_TOPO_MCAST_FILTER_RULES_EXT_BLOCK, 0, 0, 0, 0, 0, 0, 0}

};



/* Members of EID_S_TOPO_MCAST_FILTER_RULES_EXT_BLOCK: */
typedef enum
{
	EID_S_TOPO_MCAST_FILTER_RULE_EXT_ACT_FLAGS  = 1,
	EID_S_TOPO_MCAST_FILTER_RULES_IPV6

} wassp_tlv_S_topo_mcast_rule_type_t;

static const TLV_PARSER_ENTRY  tlvSTopoMcastFilterRuleBlock[] =
{
	{ EID_S_TOPO_MCAST_FILTER_RULE_EXT_ACT_FLAGS, "Site Topology  Multicast Filter Rule Action Flags", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_S_TOPO_MCAST_FILTER_RULES_IPV6, "Site Topology  Multicast Filter Rule IPv6 Addresses", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0}
};





/* TLV Stats Types Layer 1 */
typedef enum
{
	EID_DOT11_NOT_USED = 0,                             // 0
	EID_DOT11_ACKFailureCount,                          // 1
	EID_DOT11_FCSErrorCount,                            // 2
	EID_DOT11_FailedCount,                              // 3
	EID_DOT11_FrameDuplicateCount,                      // 4
	EID_DOT11_MulticastReceivedFrameCount,              // 5
	EID_DOT11_MulticastTransmittedFrameCount,           // 6
	EID_DOT11_MultipleRetryCount,                       // 7
	EID_DOT11_RTSFailureCount,                          // 8
	EID_DOT11_RTSSuccessCount,                          // 9
	EID_DOT11_ReceivedFragmentCount,                   // 10
	EID_DOT11_RetryCount,                               // 11
	EID_DOT11_TransmittedFragmentCount,                 // 12
	EID_DOT11_TransmittedFrameCount,                    // 13
	EID_DOT11_WEBUndecryptableCount,                    // 14
	EID_DOT11_WEPExcludedCount,                         // 15
	EID_DOT11_WEPICVErrorCount,                         // 16
	EID_DRM_AllocFailures,                              // 17
	EID_DRM_CurrentChannel,                             // 18
	EID_DRM_CurrentPower,                               // 19
	EID_DRM_DataTxFailures,                             // 20
	EID_DRM_DeviceType,                                 // 21
	EID_DRM_InDataPackets,                              // 22
	EID_DRM_InMgmtPackets,                              // 23
	EID_DRM_LoadFactor,                                 // 24
	EID_DRM_MgmtTxFailures,                             // 25
	EID_DRM_MsgQFailures,                               // 26
	EID_DRM_NoDRMCurrentChannel,                        // 27
	EID_DRM_OutDataPackets,                             // 28
	EID_DRM_OutMgmtPackets,                             // 29
	EID_IF_InBcastPackets,                              // 30
	EID_IF_InDiscards,                                  // 31
	EID_IF_InErrors,                                    // 32
	EID_IF_InMcastPackets,                              // 33
	EID_IF_InOctets,                                    // 34
	EID_IF_InUcastPackets,                              // 35
	EID_IF_MTU,                                         // 36
	EID_IF_OutBcastPackets,                             // 37
	EID_IF_OutDiscards,                                 // 38
	EID_IF_OutErrors,                                   // 39
	EID_IF_OutOctets,                                   // 40
	EID_IF_OutUcastPackets,                             // 41
	EID_IF_OutMCastPackets,                             // 42
	EID_MU_Address,                                     // 43
	EID_MU_AssociationCount,                            // 44
	EID_MU_AuthenticationCount,                         // 45
	EID_MU_DeAssociationCount,                          // 46
	EID_MU_DeAuthenticationCount,                       // 47
	EID_MU_IfIndex,                                     // 48
	EID_MU_ReAssociationCount,                          // 49
	EID_MU_ReceivedBytes,                               // 50
	EID_MU_ReceivedErrors,                              // 51
	EID_MU_ReceivedFrameCount,                          // 52
	EID_MU_ReceivedRSSI,                                // 53
	EID_MU_ReceivedRate,                                // 54
	EID_MU_TransmittedBytes,                            // 55
	EID_MU_TransmittedErrors,                           // 56
	EID_MU_TransmittedFrameCount,                       // 57
	EID_MU_TransmittedRSSI,                             // 58
	EID_MU_TransmittedRate,                             // 59
	EID_MU_RF_STATS_END,                                // 60
	EID_RFC_1213_SYSUPTIME,                             // 61
	EID_STATS_ETHER_BLOCK,                              // 62
	EID_STATS_RADIO_A_BLOCK,                            // 63
	EID_STATS_RADIO_B_G_BLOCK,                          // 64
	EID_MU_STATS_BLOCK,                                 // 65
	EID_STATS_WDS_BLOCK,                                // 66
	EID_WDS_ROLE,                                       // 67
	EID_WDS_PARENTMAC,                                  // 68
	EID_WDS_SSID,                                       // 69
	EID_STATS_SUPP1x_BLOCK,                             // 70
	EID_STATS_SUPP1X_CREDENT,                           // 71
	EID_STATS_SUPP1X_END_DATE,                          // 72
	EID_DOT11_ProtectionMode,                           // 73
	EID_MU_TSPEC_Stats_Block,                           // 74
	EID_DOT11_ChannelBonding,                           // 75
	EID_DCS_STAS_NF,                                    // 76
	EID_DCS_STAS_CHANN_OCCUPANCY,                       // 77
	EID_DCS_STAS_TX_OCCUPANCY,                          // 78
	EID_DCS_STAS_RX_OCCUPANCY,                          // 79
	EID_CAC_DEAUTH,                                     // 80
	EID_MU_IP,                                          // 81
	EID_STATS_CHECK,                                    // 82
	EID_WDS_BONDING,                                    // 83
	EID_MU_ReceivedRSS,                                 // 84
	EID_MU_RadioIndex,                                  // 85
	EID_MU_FltPktAllowed,                               // 86
	EID_MU_FltPktDenied,                                // 87
	EID_MU_FltName,                                     // 88
	EID_MU_FltReset,                                    // 89
	EID_MU_DL_DroppedRateControlPackets,                // 90
	EID_MU_DL_DroppedRateControlBytes,                  // 91
	EID_MU_DL_DroppedBufferFullPackets,                 // 92
	EID_MU_DL_DroppedBufferFullBytes,                   // 93
	EID_MU_DL_LostRetriesPackets,                       // 94
	EID_MU_DL_LostRetriesBytes,                         // 95
	EID_MU_UL_DroppedRateControlPackets,                // 96
	EID_MU_UL_DroppedRateControlBytes,                  // 97
	EID_SiappClusterName,                               // 98
	EID_LB_LoadGroupID,                                 // 99
	EID_LB_LoadValue,                                   // 100
	EID_LB_MemberCount,                                 // 101
	EID_LB_ClientCount,                                 // 102
	EID_LB_LoadState,                                   // 103
	EID_LB_ProbeReqsDeclined,                           // 104
	EID_LB_AuthReqsDeclined,                            // 105
	EID_LB_RebalanceEvents,                             // 106
	EID_MU_DOT11_CAPABILITY,                            // 107
	EID_BAND_PREFERENCE_STATS,                          // 108
	EID_R_LC_STATUS,                                    // 109
	EID_WDS_ROAM_COUNT,                                 // 110
	EID_WDS_TX_RETRIES,                                 // 111
	EID_RealCaptureTimeout,                             // 112
	EID_MU_11N_ADVANCED,                                // 113
	EID_MU_Count,                                       // 114
	EID_R_Clear_channel,                                // 115
	EID_R_RX_Occupancy,                                 // 116
	EID_STATS_VNS_BLOCK,                                // 117
	EID_STATS_VNS_ENTRY,                                // 118
	EID_ETH_STATUS,                                     // 119
	EID_LAG_ACT_AGGREGATE_STATUS,                       // 120
	EID_PERFORMANCE_STATS,                              // 121
	EID_APPL_STATS,                                     // 122
	EID_APPL_COUNT,                                     // 123
	EID_APPL_MAC,                                       // 124
	EID_APPL_DISPLAY_ID,                                // 125
	EID_APPL_TX_BYTES,                                  // 126
	EID_APPL_RX_BYTES,                                  // 127
	EID_MU_TRANSMITTED_MCS,                             // 128
	EID_MU_TOTAL_LOST_FRAMES,                           // 129
	EID_MU_DL_AGGR_SIZE,                                // 130
	EID_RX_PHYS_ERRORS,                                 // 131
	EID_RADIO_HARDWARE_RESET,                           // 132
	EID_TOTAL_PACKET_ERROR_RATE,                        // 133
	EID_STATS_PORT_BLOCK,                               // 134
	EID_PORT_ID,                                        // 135
	EID_MU_RADIO_ID,                                    // 136
	EID_IF_LinkSpeed,                                   // 137
	EID_MU_DL_RETRY_ATTEMPTS,                           // 138
	EID_FILTER_STATS_BLOCK,                             // 139
	EID_FILTER_STATS_RULES_BLOCK,                       // 140
	EID_ROLE_ID,                                        // 141
	EID_ROLE_TIMESTAMP,                                 // 142
	EID_DEFAULT_HIT_COUNT_IN,                           // 143
	EID_DEFAULT_HIT_COUNT_OUT,                          // 144
	EID_RULE_HIT_COUNT_IN,                              // 145
	EID_RULE_HIT_COUNT_OUT,                             // 146
	EID_STATS_RADIO_ID,                          // 147
	EID_STATS_RADIO_BLOCK,                       // 148
	EID_MU_RFQI,                                 // 149
	EID_RADIO_RFQI,                              // 150
	EID_IF_InBcastPackets_D,                     // 151
	EID_IF_InDiscards_D,                         // 152
	EID_IF_InErrors_D,                           // 153
	EID_IF_InMcastPackets_D,                     // 154
	EID_IF_InOctets_D,                           // 155
	EID_IF_InUcastPackets_D,                     // 156
	EID_IF_OutBcastPackets_D,                    // 157
	EID_IF_OutDiscards_D,                        // 158
	EID_IF_OutErrors_D,                          // 159
	EID_IF_OutOctets_D,                          // 160
	EID_IF_OutUcastPackets_D,                    // 161
	EID_IF_OutMCastPackets_D,                    // 162
	EID_MU_ReceivedFrameCount_D,                 // 163
	EID_MU_TransmittedFrameCount_D,              // 164
	EID_MU_ReceivedErrors_D,                     // 165
	EID_MU_TransmittedErrors_D,                  // 166
	EID_MU_ReceivedBytes_D,                      // 167
	EID_MU_TransmittedBytes_D,                   // 168
	EID_MU_rc_ul_dropped_pkts_D,                 // 169
	EID_MU_rc_ul_dropped_bytes_D,                // 170
	EID_MU_rc_dl_dropped_pkts_D,                 // 171
	EID_MU_rc_dl_dropped_bytes_D,                // 172
	EID_STATS_TLV_MAX                            //  Make shure this is the MAX
} wassp_tlv_stats_1_type_t;


/* Value string object enumerates wassp tlv type field */
static const TLV_PARSER_ENTRY tlvBeastConfigTable[] =
{
	{ EID_DOT11_NOT_USED, "DOT11Unused 0", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_ACKFailureCount, "802.11 Ack Failure Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_FCSErrorCount, "802.11 FCS Error Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_FailedCount, "802.11 Failed Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_FrameDuplicateCount, "802.11 Frame Duplicated Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_MulticastReceivedFrameCount, "802.11 Multicast Received Frame Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_MulticastTransmittedFrameCount, "802.11 Multicast Transmitted Frame Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_MultipleRetryCount, "802.11 Multiple Retry Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_RTSFailureCount, "802.11 RTS Failure Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_RTSSuccessCount, "802.11 RTS Success Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_ReceivedFragmentCount, "802.11 Received Fragment Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_RetryCount, "802.11 Retry Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_TransmittedFragmentCount, "802.11 Transmitted Fragment Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_TransmittedFrameCount, "802.11 Transmitted Frame Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_WEBUndecryptableCount, "802.11 WEP Undecryptable Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_WEPExcludedCount, "802.11 WEP Excluded Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_WEPICVErrorCount, "802.11 WEP ICV Error Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DRM_AllocFailures, "802.11 DRM Allocated Failures", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DRM_CurrentChannel, "802.11 DRM Current Channel", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DRM_CurrentPower, "802.11 DRM Current Power", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DRM_DataTxFailures, "802.11 DRM Data Tx Failures", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DRM_DeviceType, "802.11 DRM Device Type", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DRM_InDataPackets, "802.11 DRM In Data Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DRM_InMgmtPackets, "802.11 DRM In Management Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DRM_LoadFactor, "802.11 DRM Load Factor", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DRM_MgmtTxFailures, "802.11 DRM Management Tx Failures", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DRM_MsgQFailures, "802.11 DRM Message Q Failures", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DRM_NoDRMCurrentChannel, "802.11 No DRM Current Channel", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DRM_OutDataPackets, "802.11 DRM Out Data Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DRM_OutMgmtPackets, "802.11 DRM Out Management Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_InBcastPackets, "Interface In Bcast Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_InDiscards, "Interface In Discards", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_InErrors, "Interface In Errors", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_InMcastPackets, "Interface In Mcast Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_InOctets, "Interface In Octets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_InUcastPackets, "Interface In Ucast Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_MTU, "Interface MTU", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_OutBcastPackets, "Interface Out Bcast Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_OutDiscards, "Interface Out Discards", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_OutErrors, "Interface Out Errors", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_OutOctets, "Interface Out Octets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_OutUcastPackets, "Interface Out Ucast Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_OutMCastPackets, "Interface Out MCast Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_Address, "MU Address", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_AssociationCount, "MU Association Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_AuthenticationCount, "MU Authentication Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DeAssociationCount, "MU DeAssociation Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DeAuthenticationCount, "MU DeAuthentication Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_IfIndex, "MU Interface Index", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ReAssociationCount, "MU ReAssociation Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ReceivedBytes, "MU Received Bytes", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ReceivedErrors, "MU Received Errors", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ReceivedFrameCount, "MU Received Frame Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ReceivedRSSI, "MU Received RSSI", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ReceivedRate, "MU Received Rate", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TransmittedBytes, "MU Transmitted Bytes", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TransmittedErrors, "MU Transmitted Errors", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TransmittedFrameCount, "MU Transmitted Frame Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TransmittedRSSI, "MU Transmitted RSSI", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TransmittedRate, "MU Transmitted Rate", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_RF_STATS_END, "MU RF Stats End", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RFC_1213_SYSUPTIME, "RFC1213 System Up Time", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_ETHER_BLOCK, "Stats Ethernet Block", TLV_TYPE_BLOCK_TLV, TAB_STATS_ETH, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_RADIO_A_BLOCK, "Stats Radio A Block", TLV_TYPE_BLOCK_TLV, TAB_STATS_RADIO, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_RADIO_B_G_BLOCK, "Stats Radio BG Block", TLV_TYPE_BLOCK_TLV, TAB_STATS_RADIO, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_STATS_BLOCK, "MU Stats Block", TLV_TYPE_BLOCK_TLV, STATS_MU_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_WDS_BLOCK, "Stats WDS Block", TLV_TYPE_BLOCK_TLV, TAB_STATS_WDS, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WDS_ROLE, "WDS Role", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WDS_PARENTMAC, "WDS Parent Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WDS_SSID, "WDS SSID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_SUPP1x_BLOCK, "802.11X Stats Block", TLV_TYPE_BLOCK_TLV, TAB_STATS_WDS, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_SUPP1X_CREDENT, "802.11X Credent", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_SUPP1X_END_DATE, "802.11X Expiry Date", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_ProtectionMode, "802.11 Protection Mode", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TSPEC_Stats_Block, "MU TSPEC Stats Block", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DOT11_ChannelBonding, "802.11 Channel Bonding", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DCS_STAS_NF, "DCS STAS NF", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DCS_STAS_CHANN_OCCUPANCY, "DCS Stats Channel Occupancy", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DCS_STAS_TX_OCCUPANCY, "DCS Stats Tx Occupancy", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DCS_STAS_RX_OCCUPANCY, "DCS Stats Rx Occupancy", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_CAC_DEAUTH, "CAC DeAuthentication", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_IP, "MU IP", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_CHECK, "Stats Check", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WDS_BONDING, "WDS Bonding", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ReceivedRSS, "MU Received RSS", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_RadioIndex, "MU Radio Index", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_FltPktAllowed, "MU Allowed Packet", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_FltPktDenied, "MU Denied Packet", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_FltName, "MU Filter Rule Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_FltReset, "MU Filter Reset", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DL_DroppedRateControlPackets, "MU Down Link Dropped Rate Control Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DL_DroppedRateControlBytes, "MU Down Link Dropped Rate Control Bytes", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DL_DroppedBufferFullPackets, "MU Down Link Dropped Buffer Full Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DL_DroppedBufferFullBytes, "MU Down Link Dropped Buffer Full Bytes", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DL_LostRetriesPackets, "MU Down Link Lost Retries Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DL_LostRetriesBytes, "MU Down Link Lost Retries Bytes", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_UL_DroppedRateControlPackets, "MU Up Link Dropped Rate Control Packets", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_UL_DroppedRateControlBytes, "MU Up Link Dropped Rate Control Bytes", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SiappClusterName, "Siapp Cluster Mac address", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LB_LoadGroupID, "Load Balance Load Group ID", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LB_LoadValue, "Load Balance Load value", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LB_MemberCount, "Load Balance Member Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LB_ClientCount, "Load Balance Client Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LB_LoadState, "Load Balance Load State", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LB_ProbeReqsDeclined, "Load Balance Probe Request Declined", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LB_AuthReqsDeclined, "Load Balance Authentication request Declined", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LB_RebalanceEvents, "Load Balance Rebalance Events", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DOT11_CAPABILITY, "MU 802.11 Capability", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BAND_PREFERENCE_STATS, "Band Preference Stats", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_LC_STATUS, "Radio Load Control Stats", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WDS_ROAM_COUNT, "WDS Roam Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_WDS_TX_RETRIES, "WDS Tx Retries", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RealCaptureTimeout, "Real Capture Timeout", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_11N_ADVANCED, "MU 802.11N Advanced", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_Count, "MU Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_Clear_channel, "Radio Clear Channel", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_RX_Occupancy, "Radio Rx Occupancy", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_VNS_BLOCK, "VNS Stats Block", TLV_TYPE_BLOCK_TLV, TAB_STATS_VNS, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_VNS_ENTRY, "VNS Stats Entry", TLV_TYPE_BLOCK_TLV, TAB_STATS_VNS, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ETH_STATUS, "Ethernet Stats", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LAG_ACT_AGGREGATE_STATUS, "LAG Aggregate Stats", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PERFORMANCE_STATS, "Performance Stats", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_APPL_STATS, "Application Stats", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_APPL_COUNT, "Application Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_APPL_MAC, "Application Mac Address", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_APPL_DISPLAY_ID, "Application Display ID", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_APPL_TX_BYTES, "Application Tx Bytes", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_APPL_RX_BYTES, "Application Rx Bytes", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TRANSMITTED_MCS, "MU Transmitted MCS", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TOTAL_LOST_FRAMES, "MU Total Lost Frames", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DL_AGGR_SIZE, "MU Down Link Aggregate Size", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RX_PHYS_ERRORS, "Rx Phys Errors", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIO_HARDWARE_RESET, "Radio hardware Reset", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_TOTAL_PACKET_ERROR_RATE, "total Packet Error Rate", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_PORT_BLOCK, "ports Stats Block", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_PORT_ID, "Port ID", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_RADIO_ID, "MU Radio ID", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_LinkSpeed, "Interface Link Speed", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_DL_RETRY_ATTEMPTS, "MU Down Link Retry Attempts", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_STATS_BLOCK, "Filter Stats Block", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_FILTER_STATS_RULES_BLOCK, "Filter Stats Rules Block", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ROLE_ID, "Role ID", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_ROLE_TIMESTAMP, "Role Timestamp", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DEFAULT_HIT_COUNT_IN, "Default In Direction Hit Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_DEFAULT_HIT_COUNT_OUT, "Default Out Direction Hit Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RULE_HIT_COUNT_IN, "Role In Direction Hit Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RULE_HIT_COUNT_OUT, "Role Out Direction Hit Count", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_RADIO_ID, "Stats Radio ID", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_RADIO_BLOCK, "Stats Radio ID Block", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_RFQI, "MU RFQI", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIO_RFQI, "Radio RFQI", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_InBcastPackets_D, "Interface In Bcast Packets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_InDiscards_D, "Interface In Discards Packets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_InErrors_D, "Interface In Error Packets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_InMcastPackets_D, "Interface In Mcast Packets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_InOctets_D, "Interface In Octets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_InUcastPackets_D, "Interface In Ucast Packets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_OutBcastPackets_D, "Interface Out Bcast Packets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_OutDiscards_D, "Interface Out Discards Packets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_OutErrors_D, "Interface Out Error Packets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_OutOctets_D, "Interface Out Octets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_OutUcastPackets_D, "Interface Out Ucast Packets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_IF_OutMCastPackets_D, "Interface Out Mcast Packets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ReceivedFrameCount_D, "MU Received Fram Count Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TransmittedFrameCount_D, "MU Transmitted Fram Count Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ReceivedErrors_D, "MU Received Error Count Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TransmittedErrors_D, "MU Transmitted Error Count Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_ReceivedBytes_D, "MU Received Bytes Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_TransmittedBytes_D, "MU Transmitted Bytes Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_rc_ul_dropped_pkts_D, "MU Received Up Link Dropped Packets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_rc_ul_dropped_bytes_D, "MU Received Up Link Dropped Bytes Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_rc_dl_dropped_pkts_D, "MU Received Down Link Dropped Packets Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_MU_rc_dl_dropped_bytes_D, "MU Received Down Link Dropped Bytes Delta Value Since Last Message", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_STATS_TLV_MAX, "Last Stats TLV",0, 0, 0, 0, 0, 0, 0, 0, 0}

};



#define WASSP_MAX_DECR_INFO_NUM 18
#define WASSP_MAX_SUBTREE_LEN 50
#define EID_PARSE_ERROR (EID_MAX+1)

#define SET_WASSP_TLV_VERSION(val) (g_wassp_ver = (val))
#define GET_WASSP_TLV_VERSION()    (g_wassp_ver)

// #define WASSP_PRINT printf
#define WASSP_PRINT

#define WASSP_SUBTLV_GET_NAME(in_ptr) ((in_ptr)->name)
#define WASSP_SUBTLV_GET_TYPE(in_ptr) ((in_ptr)->type)



typedef enum
{
	EID_R_UNUSED_0 = 0,
	EID_R_RADIO_ID,
	EID_R_ENABLE_RADIO,
	EID_R_CHANNEL,
	EID_R_OP_RATE_SET,
	EID_R_OP_RATE_MAX,
	EID_R_BEACON_PERIOD,
	EID_R_DTIM_PERIOD,
	EID_R_RTS_THRESHOLD,
	EID_R_ANTENNA_TYPE,
	EID_R_A_CHAN_PLAN_TYPE,
	EID_R_FRAGMENT_THRESHOLD,
	EID_R_POWER_LEVEL,
	EID_R_LC_ASSOC_TRY_MAX,
	EID_R_LC_STRICT_CLIENT_COUNT_LIMIT,
	EID_R_DIVERSITY_RX,
	EID_R_DIVERSITY_TX,
	EID_R_SHORT_PREAMBLE,
	EID_R_BASIC_RATE_MAX,
	EID_R_BASIC_RATE_MIN,
	EID_R_HW_RETRIES,
	EID_R_TX_POWER_MIN,
	EID_R_TX_POWER_MAX,
	EID_R_INTERFERENCE_EVENT_TYPE,
	EID_R_DOMAIN_ID,
	EID_R_B_ENABLE,
	EID_R_B_BASIC_RATES,
	EID_R_G_ENABLE,
	EID_R_G_PROTECT_MODE,
	EID_R_G_PROTECT_TYPE,
	EID_R_G_PROTECT_RATE,
	EID_R_G_BASIC_RATE,
	EID_R_A_SUPPORT_802_11_J,
	EID_R_ATPC_EN_INTERVAL,
	EID_R_ACS_CH_LIST,
	EID_R_TX_POWER_ADJ,
	EID_R_WIRELESS_MODE,
	EID_R_N_CHANNEL_BONDING,
	EID_R_N_CHANNEL_WIDTH,
	EID_R_N_GUARD_INTERVAL,
	EID_R_N_PROTECT_ENABLE,
	EID_R_N_PROTECT_TYPE,
	EID_R_N_PROTECT_OFFSET,
	EID_R_N_PROTECT_BUSY_THRESHOLD,
	EID_R_AGGREGATE_MSDU,
	EID_R_AGGREGATE_MSDU_MAX_LEN,
	EID_R_AGGREGATE_MPDU,
	EID_R_AGGREGATE_MPDU_MAX_LEN,
	EID_R_AGGREGATE_MPDU_SUBFRAMES,
	EID_R_ADDBA_SUPPORT,
	EID_R_DCS_MODE,
	EID_R_DCS_NOISE_THRESHOLD,
	EID_R_DCS_CHL_OCCUPANCY_THRESHOLD,
	EID_R_DCS_UPDATE_PERIOD,
	EID_R_ANTENNA_SELECTION,
	EID_R_BKGND_SCAN_ENABLE,
	EID_R_BKGND_SCAN_INTERVAL,
	EID_R_BCMCRATECTRL_AIRTIME,
	EID_R_CACS,
	EID_R_MAX_DISTANCE,
	EID_R_LOADGROUP_ID,
	EID_R_GROUP_BALANCING,
	EID_R_LC_CLIENT_COUNT_LIMIT,
	EID_R_ENABLE_LDPC,
	EID_R_ENABLE_TXSTBC,
	EID_R_ENABLE_RXSTBC,
	EID_R_ENABLE_TXBF,
	EID_R_TXBF_CLIENT_LIMIT,
	EID_R_INTERFERENCE_WAIT_TIME,
	EID_R_LC_ASSOC_TRY_TIMEOUT,
	EID_R_OPT_MCAST_PS,
	EID_R_MCAST_TO_UCAST_DELIVERY,
	EID_R_ADAPTABLE_RATE_FOR_MCAST,
	EID_R_ANTENNA_PORT_ATT,
	EID_R_PROBE_SUP_ENABLE,
	EID_R_PROBE_SUP_CAP,
	EID_R_PROBE_SUP_THRESH,
	EID_R_MU_NUM_RADAR_BACK,
	EID_R_ADSP_RADIO_SHARE,
	EID_R_OCS_CHANNEL_ENABLE,
	EID_R_OCS_CHANNEL_LIST,
	EID_R_OCS_SCAN_INTERVAL,
	EID_R_SENSOR_SCAN_MODE,
	EID_R_SENSOR_SCAN_LIST


} wassp_subtlv_radio_block_type_t;

static const TLV_PARSER_ENTRY tlvRadioConfigTable[]  =
{
	{ EID_R_UNUSED_0, "Radio Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_RADIO_ID, "Radio ID", TLV_TYPE_INDEX, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_ENABLE_RADIO, "Enable/Disable Radio", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_CHANNEL, "Radio Frequency In MHz", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_OP_RATE_SET, "Operation Rate", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_OP_RATE_MAX, "Max Operation Rate", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_BEACON_PERIOD, "Beacon Interval", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_DTIM_PERIOD, "DTIM Count", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_RTS_THRESHOLD, "RTS/CTS Threshold", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_ANTENNA_TYPE, "Radio Antenna Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_A_CHAN_PLAN_TYPE, "Radio Channel Plan Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_FRAGMENT_THRESHOLD, "Fragment Threshold", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_POWER_LEVEL, "Power Level", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_LC_ASSOC_TRY_MAX, "LC Association Max Try", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_LC_STRICT_CLIENT_COUNT_LIMIT, "LC Strict Client Count Limit", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_DIVERSITY_RX, "Rx Diversity", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_DIVERSITY_TX, "Tx Diversity", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_SHORT_PREAMBLE, "Radio Short Preamble", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_BASIC_RATE_MAX, "Max Basic Rate", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_BASIC_RATE_MIN, "Min Basic Rate", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_HW_RETRIES, "Hardware Retries", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_TX_POWER_MIN, "Min Tx Power", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_TX_POWER_MAX, "Max Tx Power", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_INTERFERENCE_EVENT_TYPE, "Interference Event Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_DOMAIN_ID, "Domain ID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_B_ENABLE, "Enable Radio B", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_B_BASIC_RATES, "Radio B Basic Rates", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_G_ENABLE, "Enable Radio G", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_G_PROTECT_MODE, "Radio G Protect Mode", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_G_PROTECT_TYPE, "Radio G Protect Type", TLV_TYPE_INDEX, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_G_PROTECT_RATE, "Radio G Protect Rate", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_G_BASIC_RATE, "Radio G Basic Rate", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_A_SUPPORT_802_11_J, "Radio A Support 802.11J", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_ATPC_EN_INTERVAL, "Automatic Transmit Power Control Interval", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_ACS_CH_LIST, "Radio ACS Channel List", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_TX_POWER_ADJ, "Radio Tx Power Adjustment", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_WIRELESS_MODE, "Wireless Radio Mode", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_N_CHANNEL_BONDING, "802.11n Channel Bonding: 0=No Bonding, 1=Bond-Up, 2=Bond-Down", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_N_CHANNEL_WIDTH, "802.11n Channel Width: 1=20Mhz, 2=40Mhz, 3=both", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_N_GUARD_INTERVAL, "802.11n Guard Interval: 1=short, 2=long", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_N_PROTECT_ENABLE, "802.11n Channel Protection Mode: 0=disabled, 1=enabled", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_N_PROTECT_TYPE, "802.11n 40Mhz Channel Protection: 0=None, 1=CTS only, 2=RTS/CTS", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_N_PROTECT_OFFSET, "802.11n Channel Protection Offset: 1=20Mhz, 2=25MHz", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_N_PROTECT_BUSY_THRESHOLD, "802.11n 40Mhz Channel Busy Threshold: 0...100", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_AGGREGATE_MSDU, "Aggregate MSDUs: 0=disabled, 1=enabled", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_AGGREGATE_MSDU_MAX_LEN, "Aggregate MSDU Max Length: 2290...4096", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_AGGREGATE_MPDU, "Aggregate MPDUs: 0=disabled, 1=enabled", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_AGGREGATE_MPDU_MAX_LEN, "Aggregate MPDU Max Length: 1024...65535", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_AGGREGATE_MPDU_SUBFRAMES, "Aggregate MPDU Max # of Sub-frames: 2...64", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_ADDBA_SUPPORT, "ADDBA Support: 0=disabled, 1=enabled", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_DCS_MODE, "Dynamic channel Selection Mode: 0=off, 1=monitor, 2=active", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_DCS_NOISE_THRESHOLD, "Dynamic channel Selection Noise Threshold", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_DCS_CHL_OCCUPANCY_THRESHOLD, "Dynamic channel Selection Channel Occupancy", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_DCS_UPDATE_PERIOD, "Dynamic channel Selection Update Period", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_ANTENNA_SELECTION, "Antenna selection. LSB 0 - Left, bit 1 - Middle, bit 2 - Right", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_BKGND_SCAN_ENABLE, "Voice Over WIFI:  0=off, 1=on ", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_BKGND_SCAN_INTERVAL, "Voice Over WIFI Interval", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_BCMCRATECTRL_AIRTIME, "Broadcast/Multicast Rate Control: The Percentage of Airtime Allowed for Broadcast/Multicast Traffic", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_CACS, "Thick/Thin AP: Cluster ACS", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_MAX_DISTANCE, "Radio Max Distance (used for WDS)", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_LOADGROUP_ID, "Radio Load Group or Balance Group ID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_GROUP_BALANCING, "Group Balancing Mode", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_LC_CLIENT_COUNT_LIMIT, "Radio Client Count Limit", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_ENABLE_LDPC, "Enable/Disable LDPC Coding: 0 = Disable, 1 = Enable", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_ENABLE_TXSTBC, "Enable/Disable Radio TxSTBC: 0 = Disable, 1 = Enable", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_ENABLE_RXSTBC, "Enable/Disable Radio RxSTBC: 0 = Disable, 1 = Enable", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_ENABLE_TXBF, "Set TxBF Mode", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_TXBF_CLIENT_LIMIT, "TxBF Client Limit", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_INTERFERENCE_WAIT_TIME, "Interference Wait Time", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_LC_ASSOC_TRY_TIMEOUT, "LC Association Try Time Out", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_OPT_MCAST_PS, "Enable/Disable Optimized Multicast Power Save: 0 = Disable, 1 = Enable", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_MCAST_TO_UCAST_DELIVERY, "Multicast to Unicast Delivery: 0 = Disable, 1 = Auto", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_ADAPTABLE_RATE_FOR_MCAST, "Enable/Disable Adaptable Rate for Multicast: 0 = Disable, 1 = Enable", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_ANTENNA_PORT_ATT, "Antenna Port ATT", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_PROBE_SUP_ENABLE, "Enable/Disable Probe Suppression: 0 = Disable, 1 = Enable", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_PROBE_SUP_CAP, "Probe Suppression Capacity", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_PROBE_SUP_THRESH, "Probe Suppression Threshold", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_MU_NUM_RADAR_BACK, "DFS Max Number of Clients Allow Return to Original Channel After DFS", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_ADSP_RADIO_SHARE, "ADSP Radio Share", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_OCS_CHANNEL_ENABLE, "Enable/Disable OCS", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_OCS_CHANNEL_LIST, "List Of OCS Channel", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_OCS_SCAN_INTERVAL, "OCS Scan Interval", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_SENSOR_SCAN_MODE, "Sensor Scan Mode", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_R_SENSOR_SCAN_LIST, "Sensor Scan List", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0}

};





typedef enum
{
	EID_V_UNUSED = 0,
	EID_V_RADIO_ID,
	EID_V_VNS_ID,
	EID_V_TURBO_VOICE,
	EID_V_PROP_IE,
	EID_V_ENABLE_802_11_H,
	EID_V_POWER_BACKOFF,
	EID_V_BRIDGE_MODE,
	EID_V_VLAN_TAG,
	EID_V_PROCESS_IE_REQ,
	EID_V_ENABLE_U_APSD,
	EID_V_ADM_CTRL_VOICE,
	EID_V_ADM_CTRL_VIDEO,
	EID_V_QOS_UP_VALUE,
	EID_V_PRIORITY_OVERRIDE,
	EID_V_DSCP_OVERRIDE_VALUE,
	EID_V_ENABLE_802_11_E,
	EID_V_ENABLE_WMM,
	EID_V_LEGACY_CLIENT_PRIORITY,
	EID_V_SSID_ID,
	EID_V_SSID_BCAST_STRING,
	EID_V_SSID_SUPPRESS,
	EID_V_802_1_X_ENABLE,
	EID_V_802_1_X_DYN_REKEY,
	EID_V_WPA_ENABLE,
	EID_V_WPA_V2_ENABLE,
	EID_V_WPA_PASSPHRASE,
	EID_V_WPA_CIPHER_TYPE,
	EID_V_WPA_V2_CIPHER_TYPE,
	EID_V_WEP_KEY_INDEX,
	EID_V_WEP_DEFAULT_KEY_VALUE,
	EID_V_CHANNEL_REPORT,
	EID_V_WDS_SERVICE,
	EID_V_WDS_BSSID_PARENT,
	EID_V_WDS_BRIDGE,
	EID_V_OKC_ENABLED,
	EID_V_MU_ASSOC_RETRIES,
	EID_V_MU_ASSOC_TIMEOUT,
	EID_V_WDS_PARENT,
	EID_V_WDS_BACK_PARENT,
	EID_V_WDS_NAME,
	EID_V_SESSION_AVAIL,
	EID_V_UL_POLICER_ACTION,
	EID_V_DL_POLICER_ACTION,
	EID_V_ENABLE_802_11_K,
	EID_V_ENABLE_802_11_H_BG,
	EID_V_SITE_EGRESS_FILTER_MODE,
	EID_V_DEFAULT_IDLE_PRE_TIMEOUT,
	EID_V_DEFAULT_IDLE_POST_TIMEOUT,
	EID_V_IGNORE_COS,
	EID_V_RADIUS_SERVER_INDEX2,
	EID_V_MCAST_OPTIMIZATION,
	EID_V_MCAST_IGMP_TIMEOUT,
	EID_V_MCAST_FILTER_ENABLE,
	EID_V_FILTER_CONFIG_BLOCK,
	EID_V_DATA_REASSEMBLY_ENABLE,
	EID_V_UCAST_FILTER_ENABLE,
	EID_V_RATECTRL_CIR_UL,
	EID_V_RATECTRL_CIR_DL,
	EID_V_RATECTRL_CBS_UL,
	EID_V_RATECTRL_CBS_DL,
	EID_V_AIRTIME_FAIRNESS_ENABLE,
	EID_V_POWERSAVE_ENABLE,
	EID_V_GROUP_KP_SAVE_RETRY,
	EID_V_BALANCE_GROUP,
	EID_V_MESH_TYPE,
	EID_V_MESH_ROAMING_THRESHOLD,
	EID_V_COS,
	EID_V_RATE_LIMIT_RESOURCE_TBL,
	EID_V_AP_AUTH_CLIENT_MODES,
	EID_V_DEFAULT_POLICY_INDEX,
	EID_V_AUTH_POLICY_INDEX,
	EID_V_NONAUTH_POLICY_INDEX,
	EID_V_RADIUS_SERVER_INDEX,
	EID_V_NAS_IP,
	EID_V_NAS_ID,
	EID_V_VSA_SELMASK,
	EID_V_MBA_OPTIONS_MASK,
	EID_V_MBA_TIMEOUT_POLICY_KEY,
	EID_V_WLAN_SERVICE_NAME,
	EID_V_DEFAULT_SESSION_TIMEOUT,
	EID_V_RADIUS_CALLED_STATION_ID,
	EID_V_CAPTIVE_PORTAL,
	EID_V_COS_CONFIG_BLOCK,
	EID_V_TOPOLOGY_KEY,
	EID_V_MU_INIT_PERIOD_BEHAVIOUR,
	EID_V_DYNAMIC_EGRESS_VLANS,
	EID_V_STATIC_EGRESS_VLANS,
	EID_V_FLAGS,
	EID_V_DEFAULT_ACTION,
	EID_V_CONTAIN_TO_VLAN,
	EID_V_PVID_TOPOLOGY_KEY,
	EID_V_AP_REDIRECT,
	EID_V_ADM_CTRL_BE,
	EID_V_ADM_CTRL_BK,
	EID_V_11K_ENABLE,
	EID_V_11K_RM_CAP,
	EID_V_11R_ENABLE,
	EID_V_11R_R0KH_ID,
	EID_V_11R_MD_ID,
	EID_V_MGMT_FRAME_PROTECTION,
	EID_V_NETFLOW,
	EID_V_WLAN_DEFAULT_MIRRORN,
	EID_V_DEFAULT_MIRRORN,
	EID_V_11U_ANQP_BLOCK,
	EID_V_HS2_BLOCK,
	EID_V_APP_IDENTIFICATION_ENABLED,
	EID_V_PRIVACY,
	EID_V_11U_OSEN,
	EID_V_QOS_IN_USE,
	EID_V_CP_CONFIG_BLOCK,
	EID_V_CP_IDENTITY,
	EID_V_CP_PASSPHRASE,
	EID_V_CP_REDIRECT_URL,
	EID_V_CP_USE_HTTPS,
	EID_V_CP_AUTH_URL,
	EID_V_CP_FLAGS,
	EID_V_CP_AP_FQDN,
	EID_V_VNS_NAME,
	EID_V_LDAP_SERVER_INDEX,
	EID_V_AIRTIME_RESERVATION,
	EID_V_MU_DISCON_REQ_ENABLE

} wassp_subtlv_vns_config_type_t;

static const TLV_PARSER_ENTRY tlvVnsConfigTable[]  =
{
	{ EID_V_UNUSED, "Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RADIO_ID, "Radio ID", TLV_TYPE_INDEX, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_VNS_ID, "VNS ID", TLV_TYPE_INDEX, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_TURBO_VOICE, "Enable Turbo Voice", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_PROP_IE, "Process IE", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_ENABLE_802_11_H, "Enable 802.11H", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_POWER_BACKOFF, "Enable 802.11H Power Back Off", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_BRIDGE_MODE, "VNS Bridge Mode: 0 = Tunnel, 1 = Bridge, 3 = WDS, 10 = Any ", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_VLAN_TAG, "Vlan Tag: -1 = Untagged, -2 = Tunnel, 0 = WDS, 1-4094 = Tagged", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_PROCESS_IE_REQ, "Process IE Request", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_ENABLE_U_APSD, "Enable UAPSD Mode", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_ADM_CTRL_VOICE, "Enable Admission Control for Voice", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_ADM_CTRL_VIDEO, "Enable Admission Control for Video", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_QOS_UP_VALUE, "DSCP to UP Mapping", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_PRIORITY_OVERRIDE, "Enable DSCP to UP Override", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_DSCP_OVERRIDE_VALUE, "DSCP to UP Override value", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_ENABLE_802_11_E, "Enable 802.11E", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_ENABLE_WMM, "Enable WMM Mode", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_LEGACY_CLIENT_PRIORITY, "Enable Legacy Value", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_SSID_ID, "Internal VID Number Assigned by Controller", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_SSID_BCAST_STRING, "SSID String", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_SSID_SUPPRESS, "Enable Suppress SSID", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_802_1_X_ENABLE, "Enable 802.11X", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_802_1_X_DYN_REKEY, "VAP Group Key Update Interval", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WPA_ENABLE, "Enable WPA", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WPA_V2_ENABLE, "Enable WPA V2", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WPA_PASSPHRASE, "WPA-PSK Passphrase", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WPA_CIPHER_TYPE, "WPA Cipher Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WPA_V2_CIPHER_TYPE, "WPA V2 Cipher Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WEP_KEY_INDEX, "WEP Key Index", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WEP_DEFAULT_KEY_VALUE, "WEP Default Key", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_CHANNEL_REPORT, "Channel Report", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WDS_SERVICE, "WDS Service Type: 0 = None, 1 = Child, 2 = Parent, 3 = Both", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WDS_BSSID_PARENT, "WDS Parent BSSID", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WDS_BRIDGE, "Enable WDS Bridge: 0 = Unknown, 1 = Enable, 2 = Disable", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_OKC_ENABLED, "OKC/Preauthentication", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_MU_ASSOC_RETRIES, "MU Association Retries", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_MU_ASSOC_TIMEOUT, "MU Association Request Time Out", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WDS_PARENT, "WDS Parent AP", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WDS_BACK_PARENT, "WDS Backup Parent AP", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WDS_NAME, "WDS AP Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_SESSION_AVAIL, "Enable Session Availability", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_UL_POLICER_ACTION, "Up Link Policer Action: Bit0 Set = Downgrade, Bit1 Set = Drop, Bit2 Set = Delete TSPEC", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_DL_POLICER_ACTION, "Down Link Policer Action: Bit0 Set = Downgrade, Bit1 Set = Drop, Bit2 Set = Delete TSPEC", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_ENABLE_802_11_K, "Enable 802.11K", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_ENABLE_802_11_H_BG, "Enable 802.11H For BG Radio", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_SITE_EGRESS_FILTER_MODE, "Site Egress Filter Mode", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_DEFAULT_IDLE_PRE_TIMEOUT, "Default Idle Pre Timeout", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_DEFAULT_IDLE_POST_TIMEOUT, "Default Idle Post Timeout", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_IGNORE_COS, "Ignore CoS In This VNS", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RADIUS_SERVER_INDEX2, "Secondary Radius Server Index", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_MCAST_OPTIMIZATION, "Multicast: IGMP Snooping Enable/Disable Per VNS", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_MCAST_IGMP_TIMEOUT, "Multicast: IGMP Snooping LDMG Entry Expire Timer In Minutes", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_MCAST_FILTER_ENABLE, "Enable Multicast Filtering at AP", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_FILTER_CONFIG_BLOCK, "Filter Config Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_FILTER, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_DATA_REASSEMBLY_ENABLE, "Enable Fragmentation", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_UCAST_FILTER_ENABLE, "Enable Unicast Filter", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RATECTRL_CIR_UL, "Uplink CIR", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RATECTRL_CIR_DL, "Downlink CIR", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RATECTRL_CBS_UL, "Uplink CBS", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RATECTRL_CBS_DL, "Downlink CBS", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_AIRTIME_FAIRNESS_ENABLE, "Enable Airtime Fairness", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_POWERSAVE_ENABLE, "Enable Power Save", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_GROUP_KP_SAVE_RETRY, "Group Power Save Retry", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_BALANCE_GROUP, "Enable Vlan Membership to The Radio Balance", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_MESH_TYPE, "Mesh Type: 0 = Static WDS, 1 = Dynamic WDS", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_MESH_ROAMING_THRESHOLD, "Mesh Roaming Threshold", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_COS, "AP COS", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RATE_LIMIT_RESOURCE_TBL, "Rate Limit Resource List", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_AP_AUTH_CLIENT_MODES, "Client Authentication Mode: Bit0 Set = MBA, Bit1 SET = Dot1x, Bit2 Set = CP", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_DEFAULT_POLICY_INDEX, "Default Policy Index", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_AUTH_POLICY_INDEX, "Authentication Policy Index", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_NONAUTH_POLICY_INDEX, "Non Authentication Policy Index", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RADIUS_SERVER_INDEX, "Primary Radius Server", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_NAS_IP, "NAS IP", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_NAS_ID, "NAS Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_VSA_SELMASK, "VSA Mask", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_MBA_OPTIONS_MASK, "MBA Options  Mask", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_MBA_TIMEOUT_POLICY_KEY, "MBA Timeout Policy Key", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WLAN_SERVICE_NAME, "WLAN Service Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_DEFAULT_SESSION_TIMEOUT, "Default Session Timeout", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RADIUS_CALLED_STATION_ID, "Radius Called Station ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_CAPTIVE_PORTAL, "Enable Captive Portal", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_COS_CONFIG_BLOCK, "COS Configuration Block Index", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_TOPOLOGY_KEY, "Topology Key", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_MU_INIT_PERIOD_BEHAVIOUR, "MU Init Behaviour: 0 = Discard Non Auth Traffic, 1 = Default Policy", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_DYNAMIC_EGRESS_VLANS, "Dynamic Egress Vlan list", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_STATIC_EGRESS_VLANS, "Static Egress Vlan list", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_FLAGS, "Policy Flags Based on Analyzing The Rules Inside The Policy", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_DEFAULT_ACTION, "Default Action", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_CONTAIN_TO_VLAN, "Default Contain Vlan", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_PVID_TOPOLOGY_KEY, "PVID Topology Key", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_AP_REDIRECT, "AP Redirect Mode: -1 = Invalid, 0 = Disable, 1 = At Controller, 2 = At AP", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_ADM_CTRL_BE, "Enable Admission Control For Best Effort", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_ADM_CTRL_BK, "Enable Admission Control For Background", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_11K_ENABLE, "Enable 802.11K", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_11K_RM_CAP, "802.11K RM Capacity", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_11R_ENABLE, "Enable 802.11R", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_11R_R0KH_ID, "802.11R R0 Key Holder ID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_11R_MD_ID, "802.11R Mobility Domain ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_MGMT_FRAME_PROTECTION, "Protected Management Frames: 0 = Enable, 1 = Disable, 2 = Require", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_NETFLOW, "Control for NetFlow: 1 = Enable, 2 = Disable", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_WLAN_DEFAULT_MIRRORN, "V_WLAN_DEFAULT_MIRRORN", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_DEFAULT_MIRRORN, "WLAN Default MirrorN: 0 = None, 1 = Prohibited, 2 = Enable, 3 = Enable TCP and UDP Both Direction, 4 = Enable TCP and UDP In Direction ", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_11U_ANQP_BLOCK, "802.11U ANQP Config Block", TLV_TYPE_BLOCK_TLV, TAB_11U_ANQP_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_HS2_BLOCK, "HS2 Configuration Block", TLV_TYPE_BLOCK_TLV, TAB_HS2_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_APP_IDENTIFICATION_ENABLED, "Enable/Disable Application Identification", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_PRIVACY, "Privacy", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_11U_OSEN, "Enable OSU Server-Only Authenticated L2 Encryption Network", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_QOS_IN_USE, "Bitmask Used to Select DHCP Values for QoS Mapping", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_CP_CONFIG_BLOCK, "CP Configuration Block", TLV_TYPE_BLOCK_TLV, TAB_V_CP_CONFIG_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_CP_IDENTITY, "User Identity", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_CP_PASSPHRASE, "Shared Secret in Encryption Form", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_CP_REDIRECT_URL, "Redirection Url for Non-auth Policy", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_CP_USE_HTTPS, "Enable HTTPS", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_CP_AUTH_URL, "Where to Redirect MU After Successful Authentication", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_CP_FLAGS, "Bitmap for Captive Portal Flags", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_CP_AP_FQDN, "AP FQDN Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_VNS_NAME, "VNS Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_LDAP_SERVER_INDEX, "LDAP Server for CP Authentication", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_AIRTIME_RESERVATION, "Assign Airtime to VNS  In Percentage In Steps of 10%", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0}

};





//EID_STATS_VNS_BLOCK
typedef enum
{
	EID_V_STATS_UNUSED0,
	EID_V_STATS_VNSID,
	EID_V_STATS_RADCL_REQS,
	EID_V_STATS_RADCL_FAILED,
	EID_V_STATS_RADCL_REJECTS,
	EID_V_STATS_VNS_ENTRY = 118
} wassp_subtlv_vns_status_type_t;

static const TLV_PARSER_ENTRY tlvVnsStatusTable[]  =
{
	{ EID_V_STATS_UNUSED0, "VNS Stats Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_STATS_VNSID, "VNS ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_STATS_RADCL_REQS, "VNS Radius Stats Request", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_STATS_RADCL_FAILED, "VNS Radius Stats Failed", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_STATS_RADCL_REJECTS, "VNS Radius Stats Reject", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_STATS_VNS_ENTRY, "VNS Stats Entry", TLV_TYPE_BLOCK_TLV, TAB_STATS_VNS, 0, 0, 0, 0, 0, 0, 0}

};





//RADIUS: Global Radius Config Block (V8R11: Site)

typedef enum
{
	EID_RADIUS_ID = 0,
	EID_RADIUS_IP_NAME,
	EID_RADIUS_SHAREDSECRET,
	EID_RADIUS_PROTOCOL,
	EID_RADIUS_PORT,
	EID_RADIUS_TIMEOUT,
	EID_RADIUS_RETRY,
	EID_RADIUS_MBA_MAC_FORMAT,
	EID_RADIUS_MBA_PASSWORD

} wassp_subtlv_radius_config_type_t;

static const TLV_PARSER_ENTRY tlvRadiusConfigTable[]  =
{
	{ EID_RADIUS_ID, "Radius ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIUS_IP_NAME, "Radius Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIUS_SHAREDSECRET, "Radius Shared Secret", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIUS_PROTOCOL, "Radius Protocol: 0 = PAP, 1 = CHAP, 2 = MS CHAP, 3 = MS CHAP2", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIUS_PORT, "Radius Port", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIUS_TIMEOUT, "Radius Timeout", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIUS_RETRY, "Radius Retry Count", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIUS_MBA_MAC_FORMAT, "Radius MBA MAC Format", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_RADIUS_MBA_PASSWORD, "Radius MBA Password", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0}

};



//RADSRV:Radius Server Config Block for a specific VNS (for V6R0: Branch 802.1x)
typedef enum
{
	EID_V_UNUSED0,
	EID_V_RADSRV_SRV_ID,
	EID_V_RADSRV_SRV_TYPE,
	EID_V_RADSRV_SRV_PORT,
	EID_V_RADSRV_SRV_RETRY,
	EID_V_RADSRV_SRV_TIMEOUT,
	EID_V_RADSRV_AUTH_TYPE,
	EID_V_RADSRV_PASSWORD,
	EID_V_RADSRV_NAS_IP,
	EID_V_RADSRV_NAS_ID

} wassp_subtlv_radius_server_config_type_t;

static const TLV_PARSER_ENTRY tlvRadiusServerConfigTable[]  =
{
	{ EID_V_UNUSED0, "V_UNUSED0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RADSRV_SRV_ID, "Radius Server ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RADSRV_SRV_TYPE, "Radius Server Type", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RADSRV_SRV_PORT, "Radius Server Port", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RADSRV_SRV_RETRY, "Radius Server Retry", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RADSRV_SRV_TIMEOUT, "Radius Server Timeout", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RADSRV_AUTH_TYPE, "Radius Server Authentication Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RADSRV_PASSWORD, "Radius Server Password", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RADSRV_NAS_IP, "Radius Server NAS IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_RADSRV_NAS_ID, "Radius Server NAS ID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0}
};


typedef enum
{
	EID_V_FILTER_UNUSED_0,
	EID_V_FILTER_NAME,
	EID_V_FILTER_RULES,
	EID_V_FILTER_TYPE,
	EID_V_FILTER_KEY,
	EID_V_SITE_FILTER_RULES,
	EID_V_FILTER_BYPASS_BMCAST,
	EID_V_FILTER_RULES_EXT_BLOCK,
	EID_V_SITE_FILTER_RULES_EXT_BLOCK


} wassp_subtlv_filter_block_type_t;


static const TLV_PARSER_ENTRY tlvFilterConfigTable[]  =
{
	{ EID_V_FILTER_UNUSED_0, "Filter Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_FILTER_NAME, "Filter Rule Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_FILTER_RULES, "Filter Rule Bit Mask", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_FILTER_TYPE, "Filter Rule Type", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_FILTER_KEY, "Filter Rule Key", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_SITE_FILTER_RULES, "Site Filter Rules", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_FILTER_BYPASS_BMCAST, "Bypass Broadcast and Multicast", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_FILTER_RULES_EXT_BLOCK, "Filter Rule Extended Block", TLV_TYPE_BLOCK_TLV, TAB_V_FILTER_RULES_EXT_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_SITE_FILTER_RULES_EXT_BLOCK, "Site Filter Rule Extended Block", TLV_TYPE_BLOCK_TLV, TAB_V_SITE_FILTER_RULES_EXT_BLOCK, 0, 0, 0, 0, 0, 0, 0}
};



typedef enum
{
	EID_V_FILTER_UNUSED0,
	EID_V_FILTER_RULE_FIXED_APP_ID,
	EID_V_FILTER_RULE_EXT_ACT_FLAGS,
	EID_V_FILTER_RULES_APP_SIG_GROUP_ID,
	EID_V_FILTER_RULES_APP_SIG_DISP_ID,
	EID_V_FILTER_RULES_IPV6_ADDR

} wassp_subtlv_filter_rule_ext_block_type_t;



static const TLV_PARSER_ENTRY tlvFilterRuleExtConfigTable[]  =
{
	{ EID_V_FILTER_UNUSED0, "Filter Rule Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_FILTER_RULE_FIXED_APP_ID, "Fixed Application Rule ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_FILTER_RULE_EXT_ACT_FLAGS, "Filter Rule Ext Act Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_FILTER_RULES_APP_SIG_GROUP_ID, "Application Signature group ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_FILTER_RULES_APP_SIG_DISP_ID, "Application Signature Display ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_FILTER_RULES_IPV6_ADDR, "Filter Rule IPV6 List", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0}

};


typedef enum
{
	EID_V_SITE_FILTER_UNUSED0,
	EID_V_SITE_FILTER_RULE_FIXED_APP_ID,
	EID_V_SITE_FILTER_RULE_EXT_ACT_FLAGS,
	EID_V_SITE_FILTER_RULES_APP_SIG_GROUP_ID,
	EID_V_SITE_FILTER_RULES_APP_SIG_DISP_ID,
	EID_V_SITE_FILTER_RULES_IPV6_ADDR

} wassp_subtlv_site_filter_rule_ext_block_type_t;



static const TLV_PARSER_ENTRY tlvSiteFilterRuleExtConfigTable[]  =
{
	{ EID_V_SITE_FILTER_UNUSED0, "Site Filter Rule Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_SITE_FILTER_RULE_FIXED_APP_ID, "Site Fixed Application Rule ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_SITE_FILTER_RULE_EXT_ACT_FLAGS, "Site Filter Rule Ext Act Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_SITE_FILTER_RULES_APP_SIG_GROUP_ID, "Site Application Signature group ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_SITE_FILTER_RULES_APP_SIG_DISP_ID, "Site Application Signature Display ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_V_SITE_FILTER_RULES_IPV6_ADDR, "Site Filter Rule IPV6 List", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0}
};



#if 0
//BSSID2IP: BSSID to IP mapping block (for V6R0: VoWIFI)
typedef enum
{
	EID_BSSID2IP_UNUSED0,
	EID_BSSID2IP_BSSID,
	EID_BSSID2IP_IP

} wassp_subtlv_bssid2ip_block_type_t;


static const TLV_PARSER_ENTRY tlvBssid2ipConfigTable[]  =
{
	{ EID_BSSID2IP_UNUSED0, "BSSID2IP Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BSSID2IP_BSSID, "BSSID2IP BSSID", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_BSSID2IP_IP, "BSSID2IP IP Address", TLV_TYPE_IP_ADDR, 0, 0, 0, 0, 0, 0, 0, 0}

};
#endif

//EID_SITE_CONFIG_BLOCK: Site Config Block (V8.11: Rad@AP)
typedef enum
{
	EID_G_SITE_ENABLE = 4,
	EID_G_SITE_NAME,
	EID_G_RADIUS_CLIENT_AT_AP,
	EID_G_HYBRID_POLICY_MODE,
	EID_G_LOCATION,
	EID_G_INVALID_POLICY,
	EID_NAC_MBA_LOCAL_AUTH,
	EID_NAC_RULE_ARRAY,
	EID_NAC_RULE_BLOCK,
	EID_NAC_RULE_FLAGS,
	EID_NAC_RULE_AUTH_TYPE,
	EID_NAC_RULE_USER_USERNAME_GROUP_KEY,
	EID_NAC_RULE_USER_LDAPUSER_GROUP_KEY,
	EID_NAC_RULE_ENDSYS_HOSTNAME_GROUP_KEY,
	EID_NAC_RULE_ENDSYS_LDAPHOST_GROUP_KEY,
	EID_NAC_RULE_ENDSYS_IPv4_GROUP_KEY,
	EID_NAC_RULE_ENDSYS_MAC_GROUP_KEY,
	EID_NAC_RULE_DEV_TYPE_GROUP_KEY,
	EID_NAC_RULE_LOCATION_GROUP_KEY,
	EID_NAC_RULE_TIME_GROUP_KEY,
	EID_NAC_RULE_POLICY_KEY,
	EID_NAC_LDAP_USER_GROUP_ARRAY,
	EID_NAC_LDAP_USER_GROUP_BLOCK,
	EID_NAC_LDAP_USER_GROUP_KEY,
	EID_NAC_LDAP_USER_GROUP_MATCH_MODE,
	EID_NAC_LDAP_USER_ATTR_ARRAY,
	EID_NAC_LDAP_USER_ATTR_BLOCK,
	EID_NAC_LDAP_USER_ATTR_KEY,
	EID_NAC_LDAP_USER_ATTR_VAL,
	EID_NAC_USERNAME_GROUP_ARRAY,
	EID_NAC_USERNAME_GROUP_BLOCK,
	EID_NAC_USERNAME_GROUP_KEY,
	EID_NAC_USERNAME_ARRAY,
	EID_NAC_USERNAME,
	EID_NAC_HOSTNAME_GROUP_ARRAY,
	EID_NAC_HOSTNAME_GROUP_BLOCK,
	EID_NAC_HOSTNAME_GROUP_KEY,
	EID_NAC_HOSTNAME_ARRAY,
	EID_NAC_HOSTNAME,
	EID_NAC_HOST_IPv4_GROUP_ARRAY,
	EID_NAC_HOST_IPv4_GROUP_BLOCK,
	EID_NAC_HOST_IPv4_GROUP_KEY,
	EID_NAC_HOST_IPv4_ARRAY,
	EID_NAC_HOST_IPv4_ADDRESS,
	EID_NAC_LDAP_HOST_GROUP_ARRAY,
	EID_NAC_LDAP_HOST_GROUP_BLOCK,
	EID_NAC_LDAP_HOST_GROUP_KEY,
	EID_NAC_LDAP_HOST_GROUP_MATCH_MODE,
	EID_NAC_LDAP_HOST_ATTR_ARRAY,
	EID_NAC_LDAP_HOST_ATTR_BLOCK,
	EID_NAC_LDAP_HOST_ATTR_KEY,
	EID_NAC_LDAP_HOST_ATTR_VAL,
	EID_NAC_HOST_MAC_GROUP_ARRAY,
	EID_NAC_HOST_MAC_GROUP_BLOCK,
	EID_NAC_HOST_MAC_GROUP_KEY,
	EID_NAC_HOST_MAC_ARRAY,
	EID_NAC_HOST_MAC,
	EID_NAC_DEV_TYPE_GROUP_ARRAY,
	EID_NAC_DEV_TYPE_GROUP_BLOCK,
	EID_NAC_DEV_TYPE_GROUP_KEY,
	EID_NAC_DEV_TYPE_ARRAY,
	EID_NAC_DEV_TYPE_ATTRIBUTE,
	EID_NAC_TIME_GROUP_ARRAY,
	EID_NAC_TIME_GROUP_BLOCK,
	EID_NAC_TIME_RANGE_GROUP_KEY,
	EID_NAC_TIME_RANGE_ARRAY,
	EID_NAC_TIME_RANGE,
	EID_NAC_LOC_GROUP_ARRAY,
	EID_NAC_LOC_GROUP_BLOCK,
	EID_NAC_LOC_GROUP_KEY,
	EID_NAC_LOC_ATTR_ARRAY,
	EID_SITE_RATE_CONTROL_BLOCK,
	EID_NAC_LOC_ATTR_BLOCK,
	EID_NAC_LOC_SSID,
	EID_NAC_LOC_APID,
	EID_NAC_LDAP_SRV_ARRAY,
	EID_SITE_TOPOLOGY_BLOCK,
	EID_NAC_LDAP_SRV_BLOCK,
	EID_NAC_LDAP_SRV_KEY,
	EID_NAC_LDAP_SRV_URL,
	EID_NAC_LDAP_SRV_TIMEOUT,
	EID_NAC_LDAP_USER_SRCH_ROOT,
	EID_NAC_LDAP_HOST_SRCH_ROOT,
	EID_NAC_LDAP_OU_SRCH_ROOT,
	EID_NAC_LDAP_USER_OBJ_CLASS,
	EID_NAC_LDAP_USER_SRCH_ATTR,
	EID_NAC_LDAP_HOST_OBJ_CLASS,
	EID_NAC_LDAP_HOST_SRCH_ATTR,
	EID_NAC_LDAP_FLAGS,
	EID_NAC_LDAP_USER_AUTH_TYPE,
	EID_NAC_LDAP_OU_OBJ_CLASS_ARRAY,
	EID_NAC_LDAP_OU_OBJ_CLASS,
	EID_NAC_KRB_REALM_ARRAY,
	EID_NAC_KRB_REALM_BLOCK,
	EID_SITE_POLICY_BLOCK,
	EID_SITE_FILTER_CONFIG_BLOCK,
	EID_SITE_COS_CONFIG_BLOCK,
	EID_SITE_LOCATION_BASED_LOOKUP_BLOCK,
	EID_SITE_RADIUS_SERVER_BLOCK,
	EID_NAC_KRB_KDCS,
	EID_NAC_LDAP_SERVER_INDEX,
	EID_NAC_SERVER_CONFIG_ARRAY,
	EID_NAC_SERVER_CONFIG_BLOCK,
	EID_NAC_SERVER_FQDN,
	EID_NAC_SERVER_IPV4_ADDR,
	EID_NAC_SERVER_DOMAIN,
	EID_NAC_SERVER_ADMIN_ID,
	EID_NAC_SERVER_ADMIN_PWD,
	EID_NAC_SERVER_WORKGROUP,
	EID_NAC_RULE_ENDSYS_WEB_AUTH_USER_GROUP_KEY,
	EID_NAC_WEB_AUTH_USER_GROUP_ARRAY,
	EID_NAC_WEB_AUTH_USER_GROUP_BLOCK,
	EID_NAC_WEB_AUTH_USER_GROUP_KEY,
	EID_NAC_WEB_AUTH_USER_ARRAY,
	EID_G_SITE_MAX

} wassp_subtlv_site_config_type_t;

static const TLV_PARSER_ENTRY tlvSiteConfigTable[]  =
{
	{ EID_G_SITE_ENABLE, "Enable Site", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_G_SITE_NAME, "Site Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_G_RADIUS_CLIENT_AT_AP, "Enables Radius Client At AP", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_G_HYBRID_POLICY_MODE, "Hybrid Policy Mode", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_G_LOCATION, "Location", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_G_INVALID_POLICY, "Invalid Policy Action", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_MBA_LOCAL_AUTH, "NAC MBA Authentication Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_ARRAY, "Array of NAC Rule Structures", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_BLOCK, "NAC Rule Configuration Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_FLAGS, "Negate Flags For Different Groups", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_AUTH_TYPE, "Authentication Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_USER_USERNAME_GROUP_KEY, "Key Identifier of User Name Group", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_USER_LDAPUSER_GROUP_KEY, "Key identifier of LDAP User Group", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_ENDSYS_HOSTNAME_GROUP_KEY, "Key Identifier of End System Host Name Group", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_ENDSYS_LDAPHOST_GROUP_KEY, "Key Identifier of End System LDAP Host Group", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_ENDSYS_IPv4_GROUP_KEY, "Key Identifier of End System IPv4 Group", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_ENDSYS_MAC_GROUP_KEY, "Key Identifier of End System Mac Group", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_DEV_TYPE_GROUP_KEY, "Key Identifier of Device", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_LOCATION_GROUP_KEY, "Key Identifier of Location Group", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_TIME_GROUP_KEY, "Key Identifier of Time Group", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_POLICY_KEY, "Policy ID", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_USER_GROUP_ARRAY, "NAC LDAP User Group Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_USER_GROUP_BLOCK, "NAC LDAP User Group Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_USER_GROUP_KEY, "Key Identifier of Specific LDAP User Group", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_USER_GROUP_MATCH_MODE, "Match Mode of LDAP User Group", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_USER_ATTR_ARRAY, "NAC LDAP User Attribute Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_USER_ATTR_BLOCK, "NAC LDAP User Attribute Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_USER_ATTR_KEY, "LDAP User Attribute Key", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_USER_ATTR_VAL, "LDAP User Attribute Value", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_USERNAME_GROUP_ARRAY, "NAC Username Group Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_USERNAME_GROUP_BLOCK, "NAC Username Group Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_USERNAME_GROUP_KEY, "Key Identifier of Specific Username Group", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_USERNAME_ARRAY, "NAC Username Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_USERNAME, "NAC Username", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOSTNAME_GROUP_ARRAY, "NAC Host Name Group Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOSTNAME_GROUP_BLOCK, "NAC Host Name Group Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOSTNAME_GROUP_KEY, "NAC Host Name Group Key", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOSTNAME_ARRAY, "NAC Host Name Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOSTNAME, "NAC Host Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOST_IPv4_GROUP_ARRAY, "Array of Host By IPv4 Groups", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOST_IPv4_GROUP_BLOCK, "NAC Host IPv4 Group Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOST_IPv4_GROUP_KEY, "NAC Host IPv4 Group key", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOST_IPv4_ARRAY, "NAC Host IPv4 Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOST_IPv4_ADDRESS, "NAC Host IPv4 Address", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_HOST_GROUP_ARRAY, "NAC LDAP Host Group Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_HOST_GROUP_BLOCK, "NAC LDAP Host Group Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_HOST_GROUP_KEY, "NAC LDAP Host Group Key", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_HOST_GROUP_MATCH_MODE, "Match Mode of Specific LDAP Host Group", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_HOST_ATTR_ARRAY, "NAC LDAP Host Attribute Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_HOST_ATTR_BLOCK, "NAC LDAP Host Attribute Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_HOST_ATTR_KEY, "NAC LDAP Host Attribute Key", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_HOST_ATTR_VAL, "NAC LDAP Host Attribute value", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOST_MAC_GROUP_ARRAY, "NAC Host Mac Group Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOST_MAC_GROUP_BLOCK, "NAC Host Mac Group Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOST_MAC_GROUP_KEY, "NAC Host Mac Group Key", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOST_MAC_ARRAY, "NAC Host Mac Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_HOST_MAC, "NAC Host Mac", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_DEV_TYPE_GROUP_ARRAY, "NAC Device Type Group Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_DEV_TYPE_GROUP_BLOCK, "NAC Device Type Group Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_DEV_TYPE_GROUP_KEY, "NAC Device Type Group Key", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_DEV_TYPE_ARRAY, "NAC Device Type Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_DEV_TYPE_ATTRIBUTE, "NAC Device Type Attribute", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_TIME_GROUP_ARRAY, "NAC Time Group Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_TIME_GROUP_BLOCK, "NAC Time Group Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_TIME_RANGE_GROUP_KEY, "NAC Time Group Key", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_TIME_RANGE_ARRAY, "NAC Time Range Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_TIME_RANGE, "NAC Time Range", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LOC_GROUP_ARRAY, "NAC Location Group Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LOC_GROUP_BLOCK, "NAC Location Group Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LOC_GROUP_KEY, "NAC Location Group Key", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LOC_ATTR_ARRAY, "NAC Location Attribute Array", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SITE_RATE_CONTROL_BLOCK, "Site Rate Control Block", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LOC_ATTR_BLOCK, "NAC Location Attribute Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LOC_SSID, "NAC Location SSID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LOC_APID, "NAC Location AP ID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_SRV_ARRAY, "NAC Array of LDAP Servers", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SITE_TOPOLOGY_BLOCK, "Site Topology Block", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_SRV_BLOCK, "NAC LDAP Server Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_SRV_KEY, "NAC LDAP Server Key", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_SRV_URL, "NAC LDAP Server Url", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_SRV_TIMEOUT, "Timeout for Response From LDAP Server", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_USER_SRCH_ROOT, "LDAP Server User Search Root", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_HOST_SRCH_ROOT, "LDAP Server Hostname Search Root", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_OU_SRCH_ROOT, "LDAP Server OU Search Root", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_USER_OBJ_CLASS, "LDAP Server User Object Class", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_USER_SRCH_ATTR, "LDAP Server User Search Attribute", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_HOST_OBJ_CLASS, "LDAP Server Host object Class", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_HOST_SRCH_ATTR, "LDAP Server Host Search Attribute", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_FLAGS, "LDAP Server Flag", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_USER_AUTH_TYPE, "User Authentication Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_OU_OBJ_CLASS_ARRAY, "Array of NAC LDAP Organizational Units (OU) Object Classes", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_OU_OBJ_CLASS, "NAC LDAP Organizational Units (OU) Object Class", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_KRB_REALM_ARRAY, "Array of NAC Kerberos Realms", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_KRB_REALM_BLOCK, "NAC Kerberos Realm Block", TLV_TYPE_BLOCK_TLV, TAB_CONFIG_SITE, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SITE_POLICY_BLOCK, "Policy Block", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SITE_FILTER_CONFIG_BLOCK, "Filter Configuration Block",TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SITE_COS_CONFIG_BLOCK, "COS Configuration Block", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SITE_LOCATION_BASED_LOOKUP_BLOCK, "Location Based Lookup Block", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_SITE_RADIUS_SERVER_BLOCK, "Radius Server Block", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_KRB_KDCS, "List of Kerberos KDC FQDN", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_LDAP_SERVER_INDEX, "LDAP Server for MU Authorization", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_SERVER_CONFIG_ARRAY, "Array of NAC Authentication Server Configurations", TLV_TYPE_BLOCK_TLV, TAB_NAC_SERVER_CONFIG_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_SERVER_CONFIG_BLOCK, "NAC Authentication Server Block", TLV_TYPE_BLOCK_TLV, TAB_NAC_SERVER_CONFIG_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_SERVER_FQDN, "Authentication Server FQDN", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_SERVER_IPV4_ADDR, "Authentication Server IPv4 address", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_SERVER_DOMAIN, "Authentication Server Domain", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_SERVER_ADMIN_ID, "NAC Authentication Server Admin ID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_SERVER_ADMIN_PWD, "NAC Authentication Server Admin Password", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_SERVER_WORKGROUP, "NAC Authentication Server Workgroup", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_RULE_ENDSYS_WEB_AUTH_USER_GROUP_KEY, "NAC Rule End System WEB Authentication User Group Key", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_WEB_AUTH_USER_GROUP_ARRAY, "NAC WEB Authentication User Group Array", TLV_TYPE_BLOCK_TLV, TAB_NAC_WEB_AUTH_USER_GROUP_ARRAY, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_WEB_AUTH_USER_GROUP_BLOCK, "NAC WEB Authentication User Group Block", TLV_TYPE_BLOCK_TLV, TAB_NAC_WEB_AUTH_USER_GROUP_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_WEB_AUTH_USER_GROUP_KEY, "NAC WEB Authentication User Group key", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_NAC_WEB_AUTH_USER_ARRAY, "NAC WEB Authentication User", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_G_SITE_MAX, "G_SITE_MAX",0, 0, 0, 0, 0, 0, 0, 0, 0}
};






//EID_POLICY_BLOCK: Policy Table
typedef enum
{
	EID_POLICY_UNUSED0,
	EID_POLICY_ENTRY_NAME,
	EID_POLICY_ENTRY_KEY,
	EID_POLICY_TOPOLOGY_KEY,
	EID_POLICY_TOPOLOGY_VLAN_ID,
	EID_POLICY_TOPOLOGY_TYPE,
	EID_POLICY_FILTER_KEY,
	EID_POLICY_COS_KEY,
	EID_POLICY_IGNORE_COS,
	EID_POLICY_DYNAMIC_EGRESS_VLANS,
	EID_POLICY_STATIC_EGRESS_VLANS,
	EID_POLICY_DEFAULT_ACTION,
	EID_POLICY_FLAGS,
	EID_POLICY_DEFAULT_MIRRORN,
	EID_POLICY_RB_REDIRECT_URL

	// update below tlvPolicyConfigTable
} wassp_subtlv_policy_config_type_t;

static const TLV_PARSER_ENTRY tlvPolicyConfigTable[]  =
{
	{ EID_POLICY_UNUSED0, "Policy Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_ENTRY_NAME, "Policy Entry name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_ENTRY_KEY, "Policy Entry Key", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_TOPOLOGY_KEY, "Policy Topology Key", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_TOPOLOGY_VLAN_ID, "Topology Vlan ID", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_TOPOLOGY_TYPE, "Policy Topology Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_FILTER_KEY, "Policy Filter Key", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_COS_KEY, "Policy COS Key", TLV_TYPE_INT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_IGNORE_COS, "Policy Ignore COS", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_DYNAMIC_EGRESS_VLANS, "list of Dynamic Egress VLAN IDs", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_STATIC_EGRESS_VLANS, "list of static egress VLAN IDs", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_DEFAULT_ACTION, "Default Action for Policy", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_FLAGS, "Policy Flags", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_DEFAULT_MIRRORN, "Set Default MirrorN", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_POLICY_RB_REDIRECT_URL, "Policy Redirect Url", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0}

};



//EID_COS_CONFIG_BLOCK
typedef enum
{
	EID_COS_UNUSED0,
	EID_COS_KEY,
	EID_COS_DEFINITION,
	EID_COS_IN_RATE_LIMIT,
	EID_COS_OUT_RATE_LIMIT
} wassp_subtlv_cos_config_type_t;

static const TLV_PARSER_ENTRY tlvCosConfigTable[]  =
{
	{ EID_COS_UNUSED0, "COS Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COS_KEY, "COS Key", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COS_DEFINITION, "Binary Encoded COS Definition", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COS_IN_RATE_LIMIT, "Input Rate Limit in Kbps", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_COS_OUT_RATE_LIMIT, "Output Rate Limit in Kbps", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0}

};

//EID_11U_ANQP_BLOCK
typedef enum
{
	EID_11U_UNUSED0,
	EID_11U_3GPP_CELL_NETWORK_ARRAY,
	EID_11U_3GPP_CELL_NETWORK_STRUCT,
	EID_11U_3GPP_CELL_NETWORK_MCC,
	EID_11U_3GPP_CELL_NETWORK_MNC,
	EID_11U_ACCESS_NETWORK_TYPE,
	EID_11U_ASRA,
	EID_11U_DOMAIN_NAME,
	EID_11U_EAP_AUTH_PARAM,
	EID_11U_EAP_AUTH_PARAM_ARRAY,
	EID_11U_EAP_AUTH_PARAM_STRUCT,
	EID_11U_EAP_AUTH_TYPE,
	EID_11U_EAP_METHOD,
	EID_11U_EAP_METHODS_ARRAY,
	EID_11U_EAP_METHODS_STRUCT,
	EID_11U_HESSID,
	EID_11U_INTERNET_AVAILABLE,
	EID_11U_IPV4_ADDR_TYPE_AVAIL,
	EID_11U_IPV6_ADDR_TYPE_AVAIL,
	EID_11U_NAI_REALM,
	EID_11U_NAI_REALM_ARRAY,
	EID_11U_NAI_REALM_STRUCT,
	EID_11U_NETWORK_AUTH_TYPE,
	EID_11U_ROAMING_CONSORTIUM,
	EID_11U_ROAMING_CONSORTIUM_ARRAY,
	EID_11U_VENUE_INFO_GROUP_CODE,
	EID_11U_VENUE_INFO_TYPE_ASSIGNMENTS,
	EID_11U_VENUE_NAME_ARRAY,
	EID_11U_VENUE_NAME,
	EID_11U_NETWORK_AUTH_TYPE_URL
} wassp_subtlv_11u_anqp_config_type_t;


static const TLV_PARSER_ENTRY tlv11U_ANQP_blockTable[]  =
{
	//Members of EID_11U_ANQP_BLOCK block
	{ EID_11U_UNUSED0, "11U Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_3GPP_CELL_NETWORK_ARRAY, "11U 3GPP Cell Network Array", TLV_TYPE_BLOCK_TLV, TAB_11U_ANQP_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_3GPP_CELL_NETWORK_STRUCT, "11U 3GPP Cell Network Struct", TLV_TYPE_BLOCK_TLV, TAB_11U_ANQP_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_3GPP_CELL_NETWORK_MCC, "11U 3GPP Cell Network MCC", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_3GPP_CELL_NETWORK_MNC, "11U 3GPP Cell Network MNC", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_ACCESS_NETWORK_TYPE, "11U Access network Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_ASRA, "11U ASRA", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_DOMAIN_NAME, "11U Domain Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_EAP_AUTH_PARAM, "11U EAP Authentication Parameter", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_EAP_AUTH_PARAM_ARRAY, "11U EAP Authentication Parameter Array", TLV_TYPE_BLOCK_TLV, TAB_11U_ANQP_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_EAP_AUTH_PARAM_STRUCT, "11U EAP Authentication Parameter Struct", TLV_TYPE_BLOCK_TLV, TAB_11U_ANQP_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_EAP_AUTH_TYPE, "11U EAP Authentication Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_EAP_METHOD, "11U EAP Authentication Method", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_EAP_METHODS_ARRAY, "11U EAP Authentication Methods Array", TLV_TYPE_BLOCK_TLV, TAB_11U_ANQP_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_EAP_METHODS_STRUCT, "11U EAP Authentication Method Struct", TLV_TYPE_BLOCK_TLV, TAB_11U_ANQP_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_HESSID, "11U HESSID", TLV_TYPE_MACADD, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_INTERNET_AVAILABLE, "11U Internet Available", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_IPV4_ADDR_TYPE_AVAIL, "11U IPv4 Address Type Availability", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_IPV6_ADDR_TYPE_AVAIL, "11U IPv6 Address Type Availability", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_NAI_REALM, "11U NAI Realm", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_NAI_REALM_ARRAY, "11U NAI Realm Array", TLV_TYPE_BLOCK_TLV, TAB_11U_ANQP_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_NAI_REALM_STRUCT, "11U NAI Realm Struct", TLV_TYPE_BLOCK_TLV, TAB_11U_ANQP_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_NETWORK_AUTH_TYPE, "11U Network Authentication Type", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_ROAMING_CONSORTIUM, "11U Roaming Consortium", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_ROAMING_CONSORTIUM_ARRAY, "11U Roaming Consortium Array", TLV_TYPE_BLOCK_TLV, TAB_11U_ANQP_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_VENUE_INFO_GROUP_CODE, "11U Venue Info Group Code", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_VENUE_INFO_TYPE_ASSIGNMENTS, "11U Venue Info Type Assignments", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_VENUE_NAME_ARRAY, "1U Venue Name Array", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_VENUE_NAME, "1U Venue Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_11U_NETWORK_AUTH_TYPE_URL, "11U Network Authentication Type Url", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0}



};


// AppVisibility Enforce config block EID_EXTAPP_CONF_BLOCK
typedef enum
{
	EID_EXTAPP_UNUSED0,
	EID_EXTAPP_DISP_NAME,
	EID_EXTAPP_DISP_ID,
	EID_EXTAPP_MATCH_STR,
	EID_EXTAPP_APP_ID,
	EID_EXTAPP_GROUP_ID
} wassp_subtlv_extapp_conf_block_type_t;

static const TLV_PARSER_ENTRY tlvExtapp_conf_blockTable[]  =
{
	{ EID_EXTAPP_UNUSED0, "EXTAPP Unused 0", TLV_TYPE_UNKNOWN, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_EXTAPP_DISP_NAME, "EXTAPP Display Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_EXTAPP_DISP_ID, "EXTAPP Display ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_EXTAPP_MATCH_STR, "EXTAPP Match String", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_EXTAPP_APP_ID, "EXTAPP Application ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_EXTAPP_GROUP_ID, "EXTAPP Application Group ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0}

};


//Members of EID_HS2_BLOCK block
typedef enum
{
	EID_HS2_UNUSED0,
	EID_HS2_ANQP_DOMAIN_ID,
	EID_HS2_CONNECTION_CAP,
	EID_HS2_CONNECTION_CAP_ARRAY,
	EID_HS2_DGAF,
	EID_HS2_ICON_NAME,
	EID_HS2_OPERATING_CLASS,
	EID_HS2_OP_FRIENDLY_NAME_ARRAY,
	EID_HS2_OP_FRIENDLY_NAME,
	EID_HS2_OSU_STRUCT,
	EID_HS2_OSU_SP_ARRAY,
	EID_HS2_OSU_SP_STRUCT,
	EID_HS2_OSU_SP_DESC_ARRAY,
	EID_HS2_OSU_SP_DESC,
	EID_HS2_OSU_SP_FRIENDLY_NAME_ARRAY,
	EID_HS2_OSU_SP_FRIENDLY_NAME,
	EID_HS2_OSU_SP_ICON_ARRAY,
	EID_HS2_OSU_SP_ICON_STRUCT,
	EID_HS2_OSU_SP_METHOD_LIST,
	EID_HS2_OSU_SP_NAI,
	EID_HS2_OSU_SP_SERVER_URI,
	EID_HS2_OSU_SSID,
	EID_HS2_RELEASE,
	EID_HS2_WAN_METRICS_STRUCT,
	EID_HS2_UPLINK_LOAD,
	EID_HS2_UPLINK_SPEED,
	EID_HS2_WIDTH,
	EID_HS2_DOWLINK_LOAD,
	EID_HS2_DOWLINK_SPEED,
	EID_HS2_HIGHT
} wassp_subtlv_hs2_block_type_t;

static const TLV_PARSER_ENTRY tlvHS2_blockTable[]  =
{
	{ EID_HS2_UNUSED0, "HS2 Unused 0", TLV_TYPE_UNKNOWN, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_ANQP_DOMAIN_ID, "HS2 ANQP Domain ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_CONNECTION_CAP, "HS2 Connection Capacity", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_CONNECTION_CAP_ARRAY, "HS2 Connection Capacity Array", TLV_TYPE_BLOCK_TLV, TAB_HS2_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_DGAF, "Enable HS2 DGAF", TLV_TYPE_BOOL, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_ICON_NAME, "HS2 Icon Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OPERATING_CLASS, "HS2 Operating Class", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OP_FRIENDLY_NAME_ARRAY, "HS2 Operation Friendly Name Array", TLV_TYPE_BLOCK_TLV, TAB_HS2_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OP_FRIENDLY_NAME, "HS2 Operation Friendly Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OSU_STRUCT, "HS2 OSU Struct", TLV_TYPE_BLOCK_TLV, TAB_HS2_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OSU_SP_ARRAY, "HS2 OSU SP Array", TLV_TYPE_BLOCK_TLV, TAB_HS2_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OSU_SP_STRUCT, "HS2 OSU SP Struct", TLV_TYPE_BLOCK_TLV, TAB_HS2_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OSU_SP_DESC_ARRAY, "HS2 OSU SP Description Array", TLV_TYPE_BLOCK_TLV, TAB_HS2_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OSU_SP_DESC, "HS2 OSU SP Description", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OSU_SP_FRIENDLY_NAME_ARRAY, "HS2 OSU SP Friendly Name Array", TLV_TYPE_BLOCK_TLV, TAB_HS2_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OSU_SP_FRIENDLY_NAME, "HS2 OSU SP Friendly Name", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OSU_SP_ICON_ARRAY, "HS2 OSU SP Icon Array", TLV_TYPE_BLOCK_TLV, TAB_HS2_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OSU_SP_ICON_STRUCT, "HS2 OSU SP Icon Struct", TLV_TYPE_BLOCK_TLV, TAB_HS2_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OSU_SP_METHOD_LIST, "HS2 OSU SP Method List", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OSU_SP_NAI, "HS2 OSU SP NAI", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OSU_SP_SERVER_URI, "HS2 OSU SP Server Uri", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_OSU_SSID, "HS2 OSU SSID", TLV_TYPE_STRING, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_RELEASE, "HS2 Release", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_WAN_METRICS_STRUCT, "HS2 WAN method Struct", TLV_TYPE_BLOCK_TLV, TAB_HS2_BLOCK, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_UPLINK_LOAD, "HS2 Uplink Load", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_UPLINK_SPEED, "HS2 Uplink Speed", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_WIDTH, "HS2 Width", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_DOWLINK_LOAD, "HS2 Downlink Load", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_DOWLINK_SPEED, "HS2 Downlink Speed", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_HS2_HIGHT, "HS2 Height", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0}


};

//EID_LOCATION_BASED_LOOKUP_BLOCK
typedef enum
{
	EID_LOC_UNUSED0,
	EID_LOC_VLAN_ID_KEY,           //    1
	EID_LOC_POLICY_TOPOLOGY_KEY    //    2
} wassp_subtlv_locationbased_lookup_type_t;


static const TLV_PARSER_ENTRY tlvLocationBaseLookUpTable[]  =
{
	{ EID_LOC_UNUSED0, "Location Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOC_VLAN_ID_KEY, "Location Vlan ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_LOC_POLICY_TOPOLOGY_KEY, "Location Topology ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0}


};


//EID_APP_POLICY_FIXED_BLOCK
typedef enum
{
	EID_APP_POLICY_UNUSED0,
	EID_APP_POLICY_ENTRY_BLOCK     //    1
} wassp_subtlv_app_policy_fixed_type_t;

static const TLV_PARSER_ENTRY tlvAppPolicyFixedTable[]  =
{
	{ EID_APP_POLICY_UNUSED0, "Application Policy Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_APP_POLICY_ENTRY_BLOCK, "Application Policy Entry Block", TLV_TYPE_BLOCK_TLV, TAB_APP_POLICY_ENTRY_BLOCK, 0, 0, 0, 0, 0, 0, 0}


};




// EID_APP_POLICY_ENTRY_BLOCK
typedef enum
{
	EID_APP_POLICY_ENTRY_UNUSED0,
	EID_APP_POLICY_APP_ID,             //   1
	EID_APP_POLICY_OFFSET_LW,          //   2
	EID_APP_POLICY_MASK,               //   3
	EID_APP_POLICY_VALUE               //   4
} wassp_subtlv_app_policy_entry_type_t;


static const TLV_PARSER_ENTRY tlvAppPolicyEntryTable[]  =
{
	{ EID_APP_POLICY_ENTRY_UNUSED0, "Application Policy Entry Unused 0", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_APP_POLICY_APP_ID, "Application Policy ID", TLV_TYPE_UINT, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_APP_POLICY_OFFSET_LW, "Application Policy Offset", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_APP_POLICY_MASK, "Application Policy Masks", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0},
	{ EID_APP_POLICY_VALUE, "Application Policy Values", TLV_TYPE_OCTETS, 0, 0, 0, 0, 0, 0, 0, 0}


};






typedef struct
{
	char subtree_name[WASSP_MAX_SUBTREE_LEN];
	int*  ett_num;
	int  max_entry;
	const TLV_PARSER_ENTRY *entry;
} WASSP_SUBTLV_DECODER_INFO_t;



/* EID_ACTION -- upgrade command */
#define UPGRADE_ACTION_REPORT         (0)    /* report current status  */
#define UPGRADE_ACTION_NO_CHANGE      (1)    /* no upgrade is required */
#define UPGRADE_ACTION_LEGACY         (2)    /* legacy upgrade, stop service and upgrade*/
#define UPGRADE_ACTION_BACKGROUND     (3)    /* background download, keep service then upgrade */
#define UPGRADE_ACTION_SAVE_BACKUP    (4)    /* download image, overwrite backup image*/
#define UPGRADE_ACTION_SWITCH_VERSION (5)    /* switch to a previously downloaded image */
#define UPGRADE_ACTION_ABORT          (6)    /* abort current download operation */
#define UPGRADE_ACTION_STOP_SERVICE   (7)    /* put AP on hold, stopping service */
#define UPGRADE_ACTION_HOLD           (8)    /* put AP on hold, continue providing service !!!*/
#define UPGRADE_ACTION_REBOOT         (9)    /* reboot AP */

/* EID_STATUS -- version report */
#define UPGRADE_STATUS_NONE             (0)    /* not used */
#define UPGRADE_STATUS_SUCCESS          (1)    /* command is successful  */
#define UPGRADE_STATUS_FAIL             (2)    /* command has failed */
#define UPGRADE_STATUS_INPROGRESS       (100)  /* download and writing to flash */
#define UPGRADE_STATUS_DOWNLOAD_FAIL    (101)  /* download and writing to flash */
#define UPGRADE_STATUS_WRITE_FAIL       (102)  /* writing to flash failed */
#define UPGRADE_STATUS_CORRUPTED_FILE   (103)  /*corrupted/unusable image */
#define UPGRADE_STATUS_REBOOTING        (104)  /*AP is rebooting*/
#define UPGRADE_STATUS_INVALID_FILE     (105)  /*invalid image file (checksum, type etc..)*/
#define UPGRADE_STATUS_VERSION_MISMATCH (106)  /* requested version is not found*/

/* Wassp EID Status Type */
typedef enum
{
	EID_STATUS_UNDEFINED = 0,
	EID_STATUS_SUCCESS,
	EID_STATUS_FAILURE,
	EID_STATUS_INPROGRESS,
	EID_STATUS_DOWNLOAD_FAIL,
	EID_STATUS_WRITE_FAIL,
	EID_STATUS_CORRUPTED_FILE,
	EID_STATUS_REBOOTING,
	EID_STATUS_INVALID_FILE,
	EID_STATUS_VERSION_MISMATCH
} wassp_eid_status_t;

/* Wassp EID action Type */
typedef enum
{
	EID_ACTION_REPORT = 0,
	EID_ACTION_NOCHANGE,
	EID_ACTION_LEGACY,
	EID_ACTION_BACKGROUND,
	EID_ACTION_SAVE_BACKUP,
	EID_ACTION_SWITCH_VERSION,
	EID_ACTION_ABORT,
	EID_ACTION_STOP_SERVICE,
	EID_ACTION_HOLD,
	EID_ACTION_REBOOT
} wassp_eid_action_t;







static const value_string wassp_eid_status_types[] =
{
	{ UPGRADE_STATUS_NONE, "Unused" },
	{ UPGRADE_STATUS_SUCCESS, "success" },
	{ UPGRADE_STATUS_FAIL, "failure" },
	{ UPGRADE_STATUS_INPROGRESS, "download in progress" },
	{ UPGRADE_STATUS_DOWNLOAD_FAIL, "image download failed" },
	{ UPGRADE_STATUS_WRITE_FAIL, "writing image to flash failed" },
	{ UPGRADE_STATUS_CORRUPTED_FILE, "main image file is corrupted/unusable" },
	{ UPGRADE_STATUS_REBOOTING, "AP is rebooting" },
	{ UPGRADE_STATUS_INVALID_FILE, "bad header in downloaded image" },
	{ UPGRADE_STATUS_VERSION_MISMATCH, "image version requested does not exist" },
	{ 0, NULL }
};

/* Value string object enumerates wassp action type field */
static const value_string wassp_eid_action_types[] =
{
	{ UPGRADE_ACTION_REPORT, "request status report" },
	{ UPGRADE_ACTION_NO_CHANGE, "no change required" },
	{ UPGRADE_ACTION_LEGACY, "legacy AP upgrade -no service" },
	{ UPGRADE_ACTION_BACKGROUND, "upgrade AP while providing service" },
	{ UPGRADE_ACTION_SAVE_BACKUP, "download and save to backup image" },
	{ UPGRADE_ACTION_SWITCH_VERSION, "switch to a given version" },
	{ UPGRADE_ACTION_ABORT, "abort current download" },
	{ UPGRADE_ACTION_STOP_SERVICE, "put AP on hold,stop wireless service" },
	{ UPGRADE_ACTION_HOLD, "put AP on hold,keep wireless service" },
	{ UPGRADE_ACTION_REBOOT, "reboot AP" },
	{ 0, NULL }
};

static const value_string mu_resv0_strings[] =
{
	{ 0x0000, "UnUsed" },
	{ 0x4000, "Netflow" },
	{ 0x8000, "Mirrorn & Netflow" },
	{ 0xc000, "Mirrorn" },
	{ 0, NULL }
};

static const value_string mu_action_field_strings[] =
{
	{ 0x0, "SSID" },
	{ 0x2, "Redirect With Vlan ID" },
	{ 0x3, "Vlan ID" },
	{ 0, NULL }
};

static const value_string threat_state_strings[] =
{
	{ 0x0, "NA" },
	{ 0x1, "Active" },
	{ 0x2, "Inactive" },
	{ 0, NULL }
};

static const value_string radio_params_strings[] =
{
	{ 0x0, "NONE" },
	{ 0x1, "WMM" },
	{ 0x2, "80211E" },
	{ 0x3, "WMM & 80211E" },
	{ 0x4, "NA" },
	{ 0, NULL }
};

/* True False string object masks RU state  boolean labels */
static const true_false_string wassp_eid_rustate_types =
{
	"Standby",
	"Active",
};


#define WASSP_SUBTLV_GET_SUBTREE(in_ptr) ((in_ptr)->subtree_name)
#define WASSP_SUBTLV_GET_ETTNUM(in_ptr) ((in_ptr)->ett_num)
#define WASSP_SUBTLV_GET_MAXENTRY(in_ptr) ((in_ptr)->max_entry)
#define WASSP_SUBTLV_GET_ENTRY(in_ptr) ((in_ptr)->entry)
#define WASSP_SUBTLV_GET_ENTRY_IDX(in_ptr, idx) ((in_ptr)->entry[(idx)])
#define WASSP_SUBTLV_GET_ENTRY_IDX_TYPE(in_ptr, idx) (((in_ptr)->entry[(idx)]).type)
#define WASSP_SUBTLV_GET_ENTRY_IDX_NAME(in_ptr, idx) (((in_ptr)->entry[(idx)]).name)
#define WASSP_SUBTLV_GET_ENTRY_IDX_TABIDX(in_ptr, idx) (((in_ptr)->entry[(idx)]).length)



/* Wassp protocol registered fields or ru discover fields*/
static int proto_wassp;
static int hf_wassp_version;
static int hf_wassp_type;
static int hf_ru_rad_num;
static int hf_ru_checksum;
static int hf_ru_ac_op;
static int hf_ru_mac;
static int hf_ru_ac_mode;
static int hf_wassp_seq_num_flag;
static int hf_seq_num;
static int hf_wassp_use_frag;
static int hf_wassp_data_frag;
static int hf_wassp_more_frag;
static int hf_wassp_first_frag;
static int hf_wassp_sessionid;
static int hf_wassp_length;
static int hf_wassp_header;
static int hf_ru_discover_header;

/* ----------- MU data --------------*/
static int hf_wassp_mu_type;
static int hf_wassp_mu_qos;
static int hf_wassp_mu_action_ssid;
static int hf_wassp_mu_mac;
static int hf_wassp_mu_data_tree;
static int hf_wassp_mu_resv0;
static int hf_wassp_mu_resv1;
static int hf_wassp_mu_assoc_status;
static int hf_wassp_mu_data_header;
static int hf_wassp_mu_action;
static int hf_wassp_mu_action_field_value;



// netflow
static int  hf_wassp_mu_netflow_version;
static int  hf_wassp_mu_netflow_length;
static int  hf_wassp_mu_netflow_flags;
static int  hf_wassp_mu_netflow_uptime;
static int  hf_wassp_mu_netflow_record;
static int  hf_wassp_mu_netflow_in_bytes;
static int  hf_wassp_mu_netflow_in_packets;
static int  hf_wassp_mu_netflow_ip_protocol_number;
static int  hf_wassp_mu_netflow_source_tos;
static int  hf_wassp_mu_netflow_source_port;
static int  hf_wassp_mu_netflow_source_ip;
static int  hf_wassp_mu_netflow_input_snmp;
static int  hf_wassp_mu_netflow_dest_port;
static int  hf_wassp_mu_netflow_dest_ip;
static int  hf_wassp_mu_netflow_output_snmp;
static int  hf_wassp_mu_netflow_last_time;
static int  hf_wassp_mu_netflow_first_time;
static int  hf_wassp_mu_netflow_in_source_mac;
static int  hf_wassp_mu_netflow_in_dest_mac;
static int  hf_wassp_mu_netflow_tree;
static int  hf_wassp_mu_netflow_header;



/* ------  wassp TLV -------*/
static int hf_wassp_tlv_value;
static int hf_wassp_tlv_type_main;
static int hf_wassp_tlv_type_sub;
static int hf_wassp_tlv_length;
static int hf_wassp_tlv_value_octext;    // PW_TYPE_OCTETS
static int hf_wassp_tlv_value_string;
static int hf_wassp_tlv_value_ip;
static int hf_wassp_tlv_value_int;
static int hf_wassp_tlv_eid_status;
static int hf_wassp_tlv_eid_action;
static int hf_wassp_tlv_eid_rustate;
static int hf_wassp_tlv_unknown;
static int hf_wassp_tlv_invalid;

static int hf_wassp_ipaddress;
static int hf_wassp_sub_tree;
static int hf_wassp_topologykey;
static int hf_wassp_vlanid;
static int hf_wassp_topology_mode;
static int hf_wassp_in_cir;
static int hf_wassp_out_cir;

static int hf_wassp_flag_1b;
static int hf_wassp_tos;
static int hf_cos_tos;
static int hf_cos_tos_mask;
static int hf_cos_priority_txq;

static int hf_wassp_tos_mask;
static int hf_filter_tos_maskbit_priority;
static int hf_wassp_priority;
static int hf_cos_rateid;
static int hf_wassp_filter_rule;
static int hf_wassp_filter_flag;
static int hf_filter_rule_port_range;
static int hf_wassp_ipprotocol;
static int hf_wassp_netmasklength;
static int hf_wassp_macaddr;
static int hf_wassp_macaddr_mask;
static int hf_wassp_ethernet_type;
static int hf_wassp_reserve;
static int hf_wassp_freq;
static int hf_wassp_rss;
static int hf_wassp_rssi;
static int hf_wassp_threatstate;
static int hf_wassp_radioparams;
static int hf_wassp_channelfreq;
static int hf_wassp_mu;
static int hf_wassp_apprules;
static int hf_wassp_displayid;
static int hf_wassp_txbytes;
static int hf_wassp_rxbytes;



/* ************************************************************************* */
/*                   Header values for reassembly                            */
/* ************************************************************************* */
static int hf_wassp_fragments;
static int hf_wassp_fragment;
static int hf_wassp_fragment_overlap;
static int hf_wassp_fragment_overlap_conflict;
static int hf_wassp_fragment_multiple_tails;
static int hf_wassp_fragment_too_long_fragment;
static int hf_wassp_fragment_error;
static int hf_wassp_fragment_count;
static int hf_wassp_reassembled_in;
static int hf_wassp_reassembled_length;
static int ett_wassp_fragment;
static int ett_wassp_fragments;


static const fragment_items wassp_frag_items =
{
	/* Fragment subtrees */
	&ett_wassp_fragment,
	&ett_wassp_fragments,
	/* Fragment fields */
	&hf_wassp_fragments,
	&hf_wassp_fragment,
	&hf_wassp_fragment_overlap,
	&hf_wassp_fragment_overlap_conflict,
	&hf_wassp_fragment_multiple_tails,
	&hf_wassp_fragment_too_long_fragment,
	&hf_wassp_fragment_error,
	&hf_wassp_fragment_count,
	&hf_wassp_reassembled_in,
	&hf_wassp_reassembled_length,
	NULL,
	"fragments"
};




/* Wassp protocol registered subtrees */
static int ett_wassp;
static int ett_seq_flags;
static int ett_wassp_header;
static int ett_mu_data_header;
static int ett_mu_action_field;

static int ett_ru_discover_header;
static int ett_wassp_tlv;
static int ett_wassp_filter_rule;
static int ett_lbs_header;

static int ett_wassp_mu_appl_stats;
static int ett_wassp_data;
static int ett_wassp_mu_data_netflow;
static int ett_wassp_mu_data_netflow_header;
static int ett_wassp_tlv_missing;
static int ett_wassp_ap_stats_block;
static int ett_wassp_mu_rf_stats_block;
static int ett_wassp_config_error_block;
static int ett_wassp_config_modified_block;
static int ett_wassp_global_config_block;
static int ett_wassp_radio_config_block;
static int ett_wassp_vns_config_block;
static int ett_wassp_mu_stats_block;
static int ett_wassp_radio_stats_block;
static int ett_wassp_ether_stats_block;
static int ett_wassp_wds_stats_block;
static int ett_wassp_dot1x_stats_block;
static int ett_wassp_filter_config_block;
static int ett_wassp_site_filter_config_block;
static int ett_wassp_filter_ext_config_block;
static int ett_wassp_vns_stats_block;
static int ett_wassp_radius_config_block;
static int ett_wassp_eid_main_tlv_block;
static int ett_wassp_radius_server_config_block;
static int ett_wassp_site_config_block;
static int ett_wassp_policy_config_block;
static int ett_wassp_cos_config_block;
static int ett_wassp_localbase_lookup_block;
static int ett_wassp_app_policy_fixed_block;
static int ett_wassp_app_policy_entry_block;
static int ett_wassp_s_topo_m_filter_entry_block;
static int ett_wassp_s_topo_m_filter_ext_entry_block;
static int ett_wassp_11u_config_entry_block;
static int ett_wassp_hs2_config_entry_block;
static int ett_wassp_extapp_config_entry_block;


/* aeroscout */
static int hf_aeroscout_header;
static int hf_aeroscout_header_magic_number;  // 2 bytes
static int hf_aeroscout_request_id;           // 2 bytes
static int hf_aeroscout_code;                 // 1 byte
static int hf_aeroscout_sub_code;             // 1 byte
static int hf_aeroscout_datalength;           // 2 bytes
static int hf_lbs_vendor_id;                  // 2 byte
static int hf_lbs_rsvd1;                      // 2 bytes
static int hf_lbs_ap_bssid;                   // 6 bytes
static int hf_lbs_rsvd2;                      // 1
static int hf_lbs_rxchan;                     // 1
static int hf_lsb_tstamp;                     // 4 bytes
static int hf_lsb_rsvd3;                      // 2 bytes
static int hf_lsb_rssi;                       // 1
static int hf_lsb_rsvd;                       // 1
static int hf_lsb_noise_floor;                // 1
static int hf_lsb_rsvd4;                      // 3 bytes
static int hf_lsb_chan_rate;                  // 1
static int hf_lsb_rsvd5;                      // 1
static int hf_lsb_wh_addr2;                   // 6 bytes
static int hf_lsb_wh_fc;                      // 2 bytes
static int hf_lsb_wh_seq;                     // 2 bytes
static int hf_lsb_rsvd6;                      // 2 bytes
static int hf_lsb_wh_addr3;                   // 6 bytes
static int hf_lsb_wh_addr4;                   // 6 bytes



/* Our dissector handle */
static dissector_handle_t wassp_handle;

/* Dissector handles used in dissector registration */
static dissector_handle_t data_handle;
static dissector_handle_t eth_handle;
static dissector_handle_t ip_handle;
static dissector_handle_t ieee80211_handle;
static dissector_handle_t snmp_handle;


static const WASSP_SUBTLV_DECODER_INFO_t wassp_decr_info[TAB_MAX] =
{
	/*CONFIG_GLOBAL_BLOCK  */
	{"WASSP Global Config", &ett_wassp_global_config_block, array_length(tlvGlobalConfigTable), tlvGlobalConfigTable},
	/*CONFIG_ERROR_BLOCK */
	{"WASSP Config Error", &ett_wassp_config_error_block, array_length(tlvGlobalConfigTable), tlvGlobalConfigTable},
	/*TAB_CONFIG_MODIFIED */
	{"WASSP Config Modified", &ett_wassp_config_modified_block, array_length(tlvGlobalConfigTable), tlvGlobalConfigTable},
	/*RADIO_CONFIG_BLOCK */
	{"WASSP Radio Configure", &ett_wassp_radio_config_block, array_length(tlvRadioConfigTable), tlvRadioConfigTable},
	/*VNS_CONFIG_BLOCK */
	{"WASSP VNS Configure", &ett_wassp_vns_config_block, array_length(tlvVnsConfigTable), tlvVnsConfigTable},
	/*MU_RF_STATS_BLOCK */
	{"WASSP MU RF Stats", &ett_wassp_mu_rf_stats_block, array_length(tlvBeastConfigTable), tlvBeastConfigTable},
	/*AP_STATS_BLOCK */
	{"WASSP RU RF Stats", &ett_wassp_ap_stats_block, array_length(tlvBeastConfigTable), tlvBeastConfigTable},
	/*STATS_MU_BLOCK */
	{"WASSP MU Stats", &ett_wassp_mu_stats_block, array_length(tlvBeastConfigTable), tlvBeastConfigTable},
	/*TAB_STATS_RADIO */
	{"WASSP Radio Stats", &ett_wassp_radio_stats_block, array_length(tlvBeastConfigTable), tlvBeastConfigTable},
	/*TAB_STATS_ETH */
	{"WASSP Ethernet Stats", &ett_wassp_ether_stats_block, array_length(tlvBeastConfigTable), tlvBeastConfigTable},
	/*TAB_STATS_WDS */
	{"WASSP Wds Stats", &ett_wassp_wds_stats_block, array_length(tlvBeastConfigTable), tlvBeastConfigTable},
	/*TAB_STATS_DOT1x */
	{"WASSP Dot1x Stats", &ett_wassp_dot1x_stats_block, array_length(tlvBeastConfigTable), tlvBeastConfigTable},
	/*TAB_CONFIG_FILTER */
	{"WASSP Filter Config", &ett_wassp_filter_config_block, array_length(tlvFilterConfigTable), tlvFilterConfigTable},
	/*TAB_STATS_VNS */
	{"WASSP VNS Status", &ett_wassp_vns_stats_block, array_length(tlvVnsStatusTable), tlvVnsStatusTable},
	/*TAB_CONFIG_RADIUS_SERVER */
	{"WASSP Radius Server Config", &ett_wassp_radius_server_config_block, array_length(tlvRadiusServerConfigTable), tlvRadiusServerConfigTable},
	/*TAB_CONFIG_SITE */
	{"WASSP Site Config", &ett_wassp_site_config_block, array_length(tlvSiteConfigTable), tlvSiteConfigTable},
	/*TAB_CONFIG_POLICY */
	{"WASSP Policy Config", &ett_wassp_policy_config_block, array_length(tlvPolicyConfigTable), tlvPolicyConfigTable},
	/*TAB_CONFIG_COS */
	{"WASSP Class of Service Configuration", &ett_wassp_cos_config_block, array_length(tlvCosConfigTable), tlvCosConfigTable},
	/*TAB_CONFIG_LOC_BASE_LP */
	{"WASSP LocalBase Lookup", &ett_wassp_localbase_lookup_block, array_length(tlvLocationBaseLookUpTable), tlvLocationBaseLookUpTable},
	/*TAB_CONFIG_RADIUS */
	{"WASSP Radius Config", &ett_wassp_radius_config_block, array_length(tlvRadiusConfigTable), tlvRadiusConfigTable},
	/*EVENT_BLOCK */
	{"WASSP Event Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_SSS_MU_BLOCK */
	{"WASSP SSS MU Block",  &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_EID_MU_BLOCK */
	{"WASSP EID MU Block",  &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*BULK_MU_BLOCK */
	{"WASSP BULK MU Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*MU_BLOCK */
	{"WASSP MU Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*BULK_VNS_BLOCK */
	{"WASSP BULK VNS Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*VNS_BLOCK */
	{"WASSP VNS Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_SIAPP_PMK_BLOCK */
	{"SIAPP PMK Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_SIAPP_RADIO_CONFIG_BLOCK */
	{"SIAPP Radio Config Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_SIAPP_MU_STATS_BLOCK */
	{"SIAPP MU STATS Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_SIAPP_THIN_BLOCK */
	{"SIAPP THIN Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_SIAPP_BLOCK */
	{"SIAPP  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_ASSOC_SSID_ARRAY*/
	{"Assoc SSID array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_ASSOC_SSID_BLOCK*/
	{"Assoc SSID  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_AP_LIST_BLOCK*/
	{"AP list  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_AP_LIST_ARRAY*/
	{"AP list array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_SCAN_PROFILE_BLOCK*/
	{"Scan profile  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_THREAT_DEF_ARRAY*/
	{"Threat def array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_THREAT_DEF_BLOCK*/
	{"Thread def  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_THREAT_PATTERN_ARRAY*/
	{"Thread pattern array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_THREAT_PATTERN_BLOCK*/
	{"Thread pattern  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_SURVEILLANCE_DATA_ARRAY,*/
	{"Surveillance Data Array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_SURVEILLANCE_DATA_BLOCK,*/
	{"Surveillance Data  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_THREAT_DATA_ARRAY,*/
	{"Thread Data Array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_THREAT_DATA_BLOCK,*/
	{"Thread Data  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_THREAT_CLASSIFY_ARRAY,*/
	{"Thread Classify Array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_THREAT_CLASSIFY_BLOCK,*/
	{"Thread Classify  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_USER_CLASSIFY_ARRAY,*/
	{"User Classify Array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_USER_CLASSIFY_BLOCK,*/
	{"User Classify  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_MU_EVENT_ARRAY,  */
	{"MU Event Array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_MU_EVENT_BLOCK,*/
	{"MU Event  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_COUNTRY_ARRAY,*/
	{"Country Array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_COUNTRY_BLOCK,*/
	{"Country  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_LOCATOR_LOC_BLOCK,*/
	{"Locator LOC  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_LOCATOR_LOC_ARRAY,*/
	{"Locator LOC Array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_RSS_DATA_ARRAY,*/
	{"RSS Data  Array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_RSS_DATA_BLOCK,*/
	{"RSS Data  Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_MCAST_FILTER_BLOCK, */
	{"MCAST Filter Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_MCAST_FILTER_BLOCK_ENTRY */
	{"MCAST Filter Block Entry", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_MU_SESSION_ARRAY,*/
	{"MU Session Array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_MU_SESSION_BLOCK,*/
	{"MU Session Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_DETECTED_ROGUE_ARRAY,*/
	{"Detected Rogue Array", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_DETECTED_ROGUE_BLOCK,*/
	{"Detected Rogue Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_FILTER_RULES_EXT_BLOCK */
	{"Filter Rule Ext Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_APP_POLICY_FIXED_BLOCK */
	{"App Policy Fixed Block", &ett_wassp_app_policy_fixed_block, array_length(tlvAppPolicyFixedTable), tlvAppPolicyFixedTable},
	/*TAB_V_FILTER_RULES_EXT_BLOCK */
	{"FilterRules Ext Block", &ett_wassp_filter_ext_config_block, array_length(tlvFilterRuleExtConfigTable), tlvFilterRuleExtConfigTable},
	/*TAB_V_SITE_FILTER_RULES_EXT_BLOCK */
	{"Site FilterRules Ext Block", &ett_wassp_site_filter_config_block, array_length(tlvSiteFilterRuleExtConfigTable), tlvSiteFilterRuleExtConfigTable},
	/*TAB_APP_POLICY_ENTRY_BLOCK */
	{"App Policy Entry Block", &ett_wassp_app_policy_entry_block, array_length(tlvAppPolicyEntryTable), tlvAppPolicyEntryTable},
	/*TAB_11U_ANQP_BLOCK,  */
	{"11u Config Block", &ett_wassp_11u_config_entry_block, array_length(tlv11U_ANQP_blockTable), tlv11U_ANQP_blockTable},
	/*TAB_HS2_BLOCK,   */
	{"HS2 config Block", &ett_wassp_hs2_config_entry_block, array_length(tlvHS2_blockTable), tlvHS2_blockTable},
	/*TAB_RU_ACK_RADIO_CONFIG,*/
	{"WASSP RU Ack Radio Configure", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_MU_APPL_STATS_BLOCK */
	{"MU Appl Stats Block", &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_EXTAPP_CONF_BLOCK */
	{"Extend AppControl Config Block", &ett_wassp_extapp_config_entry_block, array_length(tlvExtapp_conf_blockTable), tlvExtapp_conf_blockTable},
	/*TAB_V_CP_CONFIG_BLOCK */
	{"CP Config Block", &ett_wassp_vns_config_block, array_length(tlvVnsConfigTable), tlvVnsConfigTable},
	/*TAB_TOPOLOGY_ARRAY_BLOCK */
	{"Topology Array Block",  &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_TOPOLOGY_STRUCT_BLOCK */
	{"Topology Struct Block",   &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_FILTER_CONFIG_STRUCT_BLOCK */
	{"Filter Config Struct Block",   &ett_wassp_eid_main_tlv_block, array_length(tlvMainTable), tlvMainTable},
	/*TAB_S_TOPOLOGY_ARRAY_BLOCK, */
	{"Site Topology Array Block",  &ett_wassp_site_config_block, array_length(tlvSiteConfigTable), tlvSiteConfigTable},
	/*TAB_S_TOPOLOGY_STRUCT_BLOCK,*/
	{"Site Topology Struct Block",  &ett_wassp_site_config_block, array_length(tlvSiteConfigTable), tlvSiteConfigTable},
	/*TAB_S_TOPO_MCAST_FILTER_CONFIG_BLOCK,*/
	{"Site Topology Mcast Filter Config Struct Block",  &ett_wassp_s_topo_m_filter_entry_block, array_length(tlvSTopoMcastFilterBlock), tlvSTopoMcastFilterBlock},
	/*TAB_S_TOPO_MCAST_FILTER_RULES_EXT_BLOCK,*/
	{"Site Topology Mcast Filter Rule Ext Block",  &ett_wassp_s_topo_m_filter_ext_entry_block, array_length(tlvSTopoMcastFilterRuleBlock), tlvSTopoMcastFilterRuleBlock},
	/*TAB_NAC_SERVER_CONFIG_ARRAY,*/
	{"NAC service config array",  &ett_wassp_site_config_block, array_length(tlvSiteConfigTable), tlvSiteConfigTable},
	/*TAB_NAC_SERVER_CONFIG_BLOCK,*/
	{"NAC service config Block",  &ett_wassp_site_config_block, array_length(tlvSiteConfigTable), tlvSiteConfigTable},
	/*TAB_NAC_WEB_AUTH_USER_GROUP_ARRAY,*/
	{"NAC WEB auth user group config array",  &ett_wassp_site_config_block, array_length(tlvSiteConfigTable), tlvSiteConfigTable},
	/*TAB_NAC_WEB_AUTH_USER_GROUP_BLOCK,*/
	{"NAC WEB auth user group  Block",  &ett_wassp_site_config_block, array_length(tlvSiteConfigTable), tlvSiteConfigTable},
};








static int wassp_type_converter(int in_tlv_type)
{
	int rtn_val = hf_wassp_tlv_value_octext;

	switch (in_tlv_type)
	{
	case 1:
		rtn_val = hf_wassp_tlv_value_string;
		break;
	case 2:
	case 3:
	case 4:
	case 7:
	case 8:
		rtn_val = hf_wassp_tlv_value_int;
		break;
	case 5:
		rtn_val = hf_wassp_tlv_value_octext;
		break;
	case 6:
		rtn_val = hf_wassp_mu_mac;
		break;
	case 9:
		rtn_val = hf_wassp_tlv_value_ip;
		break;

	default:
		break;
	}
	return rtn_val;
}




static int dissect_wassp_sub_tlv(proto_tree *wassp_tree, tvbuff_t *tvb, packet_info *pinfo, int offset, int in_len, int which_tab, int ru_msg_type);
static int dissect_wassp_tlv(proto_tree *wassp_tree, tvbuff_t *tvb, packet_info *pinfo, int offset, wassp_ru_msg_t rumsg_type);



/* Registered WASSP subdissectors */
static dissector_table_t wassp_dissector_table;

/* WASSP dissector routines */
static int dissect_wassp_mu(proto_tree *, tvbuff_t *, packet_info *, int, int);
static int  dissect_wassp(tvbuff_t *, packet_info *, proto_tree *);

/* Dissector registration routines */
void proto_register_wassp(void);
void proto_reg_handoff_wassp(void);
static int dissect_wassp_static(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_);

static int g_wassp_ver;
static reassembly_table  wassp_reassembled_table;
static void wassp_defragment_init(void)
{
	reassembly_table_init(&wassp_reassembled_table, &addresses_reassembly_table_functions);
}

static const char* wassp_match_strval(const WASSP_SUBTLV_DECODER_INFO_t *in_ptr, int in_type)
{
	if (in_ptr == NULL)
	{
		return NULL;
	}
	if (in_ptr->max_entry <= in_type)
	{
		return NULL;
	}

	return in_ptr->entry[in_type].name;
}

static void
port_range_print(char *buf, uint32_t temp)
{
	snprintf(buf, ITEM_LABEL_LENGTH, " %d - %d", (temp & 0xffff), (temp >> 16));
}




static void topology_moder_print(char *buf, uint16_t temp)
{
	uint16_t temp3 = temp & 0xc000;
	uint16_t temp4 = temp & 0x0fff;
	switch (temp3)
	{
	case 0xc000:
		if (temp4)
			snprintf(buf, ITEM_LABEL_LENGTH, " Routed At Controller  with vlanId = %d  (0x%x)", temp4, temp);
		else
			snprintf(buf, ITEM_LABEL_LENGTH, " Routed At Controller,  Untagged (0x%x)", temp);
		break;
	case 0x4000:
		if (temp4)
			snprintf(buf, ITEM_LABEL_LENGTH, " Bridge At AP with vlanId = %d  (0x%x)", temp4, temp);
		else
			snprintf(buf, ITEM_LABEL_LENGTH, " Bridge At AP,  Untagged  (0x%x) ", temp);
		break;
	case 0x8000:
		if (temp4)
			snprintf(buf, ITEM_LABEL_LENGTH, " Bridge At Controller with vlanId = %d  (0x%x)  ", temp4, temp);
		else
			snprintf(buf, ITEM_LABEL_LENGTH, " Bridge At Controller,  Untagged  (0x%x) ", temp);
		break;
	default:
		if (temp4)
			snprintf(buf, ITEM_LABEL_LENGTH, " Unknown mode with vlanId = %d (0x%x)", temp4, temp);
		else
			snprintf(buf, ITEM_LABEL_LENGTH, " Unknown mode,  Untagged (0x%x) ", temp);
		break;
	}
}



static void
maskbit_priority_print(char *buf, uint8_t temp)
{
	snprintf(buf, ITEM_LABEL_LENGTH, " Type of Service Mask bits  : %d     Priority TxQ : %d", (temp >> 4) & 0xf, temp & 0xf);
}

static void
cos_priority_txq_print(char *buf, uint8_t temp)
{
	snprintf(buf, ITEM_LABEL_LENGTH, " Class of Service priority bits  : %d     Class of Service Transmit Queue : %d", (temp >> 4) & 0xf, temp & 0xf);
}

static void
cos_rate_id_print(char *buf, uint8_t temp)
{
	snprintf(buf, ITEM_LABEL_LENGTH, " Class of Service Inbound Rate Limit ID  : %d    Class of Service Outbound Rate Limit ID : %d", (temp >> 4) & 0xf, temp & 0xf);
}



#define V831_FILTER_RULE_FORMAT 4
#define BEFORE_V831_FILTER_RULE_FORMAT 2
#define AFTER_V831_FILTER_RULE_FORMAT 1
#define V831_FILTER_RULE_STRUCT_SIZE 36
#define BEFORE_V831_FILTER_RULE_STRUCT_SIZE 16
#define AFTER_V831_FILTER_RULE_STRUCT_SIZE 20
static void decode_filter_rule_octext_string(proto_tree *tree, tvbuff_t *tvb, int offset, int length )
{
	int flag = 0, suboffset, count, i;
	proto_tree *filter_rule_tree = proto_item_add_subtree(tree, ett_wassp_filter_rule);
	/* there are 3 kinds of filter rule struct.
	   before V8.31 -- 16 bytes
	   V83.1 -- 36 bytes
	   after V8.31 -- 20 bytes
	*/

	if (((length - 4) % V831_FILTER_RULE_STRUCT_SIZE) == 0)  // might be V8.31 filter struct
		flag |= V831_FILTER_RULE_FORMAT;

	if (((length - 4) % AFTER_V831_FILTER_RULE_STRUCT_SIZE) == 0)  // might be new filter struct
		flag |= AFTER_V831_FILTER_RULE_FORMAT;

	if (((length - 4) % BEFORE_V831_FILTER_RULE_STRUCT_SIZE) == 0)  // might be old filter struct
		flag |= BEFORE_V831_FILTER_RULE_FORMAT;



	if (flag & V831_FILTER_RULE_FORMAT) // display as V8.31 filter struct
	{
		suboffset = offset + 4;
		//proto_tree_add_debug_text(filter_rule_tree, "-----------Display Filter Rule(s) in V3 Struct  Format------------");
		count = (length - 4) / V831_FILTER_RULE_STRUCT_SIZE;
		for (i = 0; i < count; i++)
		{
			//proto_tree_add_debug_text(filter_rule_tree, " filter rule %d", i + 1);
			proto_tree_add_item(filter_rule_tree, hf_wassp_filter_rule, tvb, suboffset, V831_FILTER_RULE_STRUCT_SIZE, ENC_NA);
			proto_tree_add_item(filter_rule_tree, hf_wassp_filter_flag, tvb, suboffset, 4, ENC_BIG_ENDIAN);
			suboffset += 4;
			proto_tree_add_item(filter_rule_tree, hf_wassp_ipaddress, tvb, suboffset, 4, ENC_BIG_ENDIAN);
			suboffset += 4;
			proto_tree_add_item(filter_rule_tree, hf_filter_rule_port_range, tvb, suboffset, 4, ENC_BIG_ENDIAN);
			suboffset += 4;
			proto_tree_add_item(filter_rule_tree, hf_wassp_ipprotocol, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_wassp_netmasklength, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_wassp_tos, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_filter_tos_maskbit_priority, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_cos_tos, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_cos_tos_mask, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_cos_priority_txq, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_cos_rateid, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_wassp_macaddr, tvb, suboffset, 6, ENC_NA);
			suboffset += 6;
			proto_tree_add_item(filter_rule_tree, hf_wassp_macaddr_mask, tvb, suboffset, 6, ENC_NA);
			suboffset += 6;
			proto_tree_add_item(filter_rule_tree, hf_wassp_vlanid, tvb, suboffset, 2, ENC_BIG_ENDIAN);
			suboffset += 2;
			proto_tree_add_item(filter_rule_tree, hf_wassp_ethernet_type, tvb, suboffset, 2, ENC_BIG_ENDIAN);
			suboffset += 2;
		}
	}

	if (flag & AFTER_V831_FILTER_RULE_FORMAT) // display as new filter struct
	{
		suboffset = offset + 4;
		//proto_tree_add_debug_text(filter_rule_tree, "-----------Display Filter Rule(s) in V2 Struct  Format------------");
		count = (length - 4) / AFTER_V831_FILTER_RULE_STRUCT_SIZE;
		for (i = 0; i < count; i++)
		{
			//proto_tree_add_debug_text(filter_rule_tree, " filter rule %d", i + 1);
			proto_tree_add_item(filter_rule_tree, hf_wassp_filter_rule, tvb, suboffset, AFTER_V831_FILTER_RULE_STRUCT_SIZE, ENC_NA);
			proto_tree_add_item(filter_rule_tree, hf_wassp_filter_flag, tvb, suboffset, 4, ENC_BIG_ENDIAN);
			suboffset += 4;
			proto_tree_add_item(filter_rule_tree, hf_wassp_ipaddress, tvb, suboffset, 4, ENC_BIG_ENDIAN);
			suboffset += 4;
			proto_tree_add_item(filter_rule_tree, hf_filter_rule_port_range, tvb, suboffset, 4, ENC_BIG_ENDIAN);
			suboffset += 4;
			proto_tree_add_item(filter_rule_tree, hf_wassp_ipprotocol, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_wassp_netmasklength, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_wassp_tos, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_filter_tos_maskbit_priority, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_cos_tos, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_cos_tos_mask, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_cos_priority_txq, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_cos_rateid, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
		}
	}

	if (flag & BEFORE_V831_FILTER_RULE_FORMAT)
	{
		suboffset = offset + 4;
		//proto_tree_add_debug_text(filter_rule_tree, "-----------Display Filter Rule(s) in V1 Struct  Format------------");
		count = (length - 4) / BEFORE_V831_FILTER_RULE_STRUCT_SIZE;
		for (i = 0; i < count; i++)
		{
			//proto_tree_add_debug_text(filter_rule_tree, "      filter rule %d", i + 1);
			proto_tree_add_item(filter_rule_tree, hf_wassp_filter_rule, tvb, suboffset, BEFORE_V831_FILTER_RULE_STRUCT_SIZE, ENC_NA);
			proto_tree_add_item(filter_rule_tree, hf_wassp_filter_flag, tvb, suboffset, 4, ENC_BIG_ENDIAN);
			suboffset += 4;
			proto_tree_add_item(filter_rule_tree, hf_wassp_ipaddress, tvb, suboffset, 4, ENC_BIG_ENDIAN);
			suboffset += 4;
			proto_tree_add_item(filter_rule_tree, hf_filter_rule_port_range, tvb, suboffset, 4, ENC_BIG_ENDIAN);
			suboffset += 4;
			proto_tree_add_item(filter_rule_tree, hf_wassp_ipprotocol, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_wassp_netmasklength, tvb, suboffset, 1, ENC_BIG_ENDIAN);
			suboffset += 1;
			proto_tree_add_item(filter_rule_tree, hf_wassp_reserve, tvb, suboffset, 2, ENC_BIG_ENDIAN);
			suboffset += 2;
		}
	}
}


static void decode_mu_appl_stats_block(proto_tree *tree, tvbuff_t *tvb, int offset )
{
	int suboffset, count, i;
	proto_tree *tlv_tree = proto_item_add_subtree(tree, ett_wassp_mu_appl_stats);

	suboffset = offset;
	count = tvb_get_ntohl(tvb, suboffset);
	proto_tree_add_item(tlv_tree, hf_wassp_mu, tvb, suboffset, 4, ENC_BIG_ENDIAN);
	suboffset += 4;
	for (i = 1; i <= count; i++)
	{
		//proto_tree_add_debug_text(tlv_tree, "MU_%d", i);
		proto_tree_add_item(tlv_tree, hf_wassp_macaddr, tvb, suboffset, 6, ENC_NA);
		suboffset += 6;
		proto_tree_add_item(tlv_tree, hf_wassp_apprules, tvb, suboffset, 2, ENC_BIG_ENDIAN);
		suboffset += 2;
		proto_tree_add_item(tlv_tree, hf_wassp_displayid, tvb, suboffset, 2, ENC_BIG_ENDIAN);
		suboffset += 2;
		proto_tree_add_item(tlv_tree, hf_wassp_txbytes, tvb, suboffset, 4, ENC_BIG_ENDIAN);
		suboffset += 4;
		proto_tree_add_item(tlv_tree, hf_wassp_rxbytes, tvb, suboffset, 4, ENC_BIG_ENDIAN);
		suboffset += 4;
	}

}



static void decode_cos_struct(proto_tree *tree, tvbuff_t *tvb, int offset )
{
	int suboffset = offset;
	proto_tree_add_item(tree, hf_wassp_flag_1b, tvb, suboffset, 1, ENC_BIG_ENDIAN);
	suboffset += 1;
	proto_tree_add_item(tree, hf_wassp_tos, tvb, suboffset, 1, ENC_BIG_ENDIAN);
	suboffset += 1;
	proto_tree_add_item(tree, hf_wassp_tos_mask, tvb, suboffset, 1, ENC_BIG_ENDIAN);
	suboffset += 1;
	proto_tree_add_item(tree, hf_wassp_priority, tvb, suboffset, 1, ENC_BIG_ENDIAN);
	suboffset += 1;
	proto_tree_add_item(tree, hf_cos_rateid, tvb, suboffset, 1, ENC_BIG_ENDIAN);

}

static void decode_rate_limit_struct(proto_tree *tree, tvbuff_t *tvb, int offset, int length )
{
	int suboffset = offset, count = length / 4, i;

	for (i = 0; i < count; i++)
	{
		proto_tree_add_item(tree, hf_wassp_in_cir, tvb, suboffset, 2, ENC_BIG_ENDIAN);
		suboffset += 2;
		proto_tree_add_item(tree, hf_wassp_out_cir, tvb, suboffset, 2, ENC_BIG_ENDIAN);
		suboffset += 2;
	}

}

static void decode_mac_list_struct(proto_tree *tree, tvbuff_t *tvb, int offset, int length )
{
	int suboffset = offset, count = length / 6, i;

	for (i = 0; i < count; i++)
	{
		proto_tree_add_item(tree, hf_wassp_macaddr, tvb, suboffset, 6, ENC_NA);
		suboffset += 6;
	}
}


static void decode_ipv4_list_struct(proto_tree *tree, tvbuff_t *tvb, int offset, int length )
{
	int suboffset = offset, count = length / 4, i;

	for (i = 0; i < count; i++)
	{
		proto_tree_add_item(tree, hf_wassp_ipaddress, tvb, suboffset, 4, ENC_BIG_ENDIAN);
		suboffset += 4;
	}
}

static void decode_Channel_list(proto_tree *tree, tvbuff_t *tvb, int offset, int length )
{
	int suboffset = offset, count = length / 2, i;

	for (i = 0; i < count; i++)
	{
		proto_tree_add_item(tree, hf_wassp_freq, tvb, suboffset, 2, ENC_BIG_ENDIAN);
		suboffset += 2;
	}
}



static int decode_lbs_tag_header(proto_tree *tree, tvbuff_t *tvb, int offset)
{
	int suboffset = offset;
	proto_item *temp;
	proto_tree *lbs_header_tree;

	temp = proto_tree_add_item(tree, hf_aeroscout_header, tvb, suboffset, 64, ENC_NA);
	lbs_header_tree = proto_item_add_subtree(temp, ett_wassp_header);
	proto_tree_add_item(lbs_header_tree, hf_aeroscout_header_magic_number, tvb, suboffset, 2, ENC_BIG_ENDIAN);
	suboffset += 2;
	proto_tree_add_item(lbs_header_tree, hf_aeroscout_request_id, tvb, suboffset, 2, ENC_BIG_ENDIAN);
	suboffset += 2;
	proto_tree_add_item(lbs_header_tree, hf_aeroscout_code, tvb, suboffset, 1, ENC_BIG_ENDIAN);
	suboffset += 1;
	proto_tree_add_item(lbs_header_tree, hf_aeroscout_sub_code, tvb, suboffset, 1, ENC_BIG_ENDIAN);
	suboffset += 1;
	proto_tree_add_item(lbs_header_tree, hf_aeroscout_datalength, tvb, suboffset, 2, ENC_BIG_ENDIAN);
	suboffset += 2;
	proto_tree_add_item(lbs_header_tree, hf_wassp_mu_mac, tvb, suboffset, 6, ENC_NA);
	suboffset += 6;
	proto_tree_add_item(lbs_header_tree, hf_lbs_vendor_id, tvb, suboffset, 2, ENC_BIG_ENDIAN);
	suboffset += 2;
	proto_tree_add_item(lbs_header_tree, hf_lbs_rsvd1, tvb, suboffset, 2, ENC_BIG_ENDIAN);
	suboffset += 2;
	proto_tree_add_item(lbs_header_tree, hf_lbs_ap_bssid, tvb, suboffset, 6, ENC_NA);
	suboffset += 6;
	proto_tree_add_item(lbs_header_tree, hf_lbs_rsvd2, tvb, suboffset, 1, ENC_BIG_ENDIAN);
	suboffset += 1;
	proto_tree_add_item(lbs_header_tree, hf_lbs_rxchan, tvb, suboffset, 1, ENC_BIG_ENDIAN);
	suboffset += 1;
	proto_tree_add_item(lbs_header_tree, hf_lsb_tstamp, tvb, suboffset, 4, ENC_BIG_ENDIAN);
	suboffset += 4;
	proto_tree_add_item(lbs_header_tree, hf_lsb_rsvd3, tvb, suboffset, 2, ENC_BIG_ENDIAN);
	suboffset += 2;
	proto_tree_add_item(lbs_header_tree, hf_lsb_rssi, tvb, suboffset, 1, ENC_BIG_ENDIAN);
	suboffset += 1;
	proto_tree_add_item(lbs_header_tree, hf_lsb_rsvd, tvb, suboffset, 1, ENC_BIG_ENDIAN);
	suboffset += 1;
	proto_tree_add_item(lbs_header_tree, hf_lsb_noise_floor, tvb, suboffset, 1, ENC_BIG_ENDIAN);
	suboffset += 1;
	proto_tree_add_item(lbs_header_tree, hf_lsb_rsvd4, tvb, suboffset, 3, ENC_BIG_ENDIAN);
	suboffset += 3;
	proto_tree_add_item(lbs_header_tree, hf_lsb_chan_rate, tvb, suboffset, 1, ENC_BIG_ENDIAN);
	suboffset += 1;
	proto_tree_add_item(lbs_header_tree, hf_lsb_rsvd5, tvb, suboffset, 1, ENC_BIG_ENDIAN);
	suboffset += 1;
	proto_tree_add_item(lbs_header_tree, hf_lsb_wh_addr2, tvb, suboffset, 6, ENC_NA);
	suboffset += 6;
	proto_tree_add_item(lbs_header_tree, hf_lsb_wh_fc, tvb, suboffset, 2, ENC_BIG_ENDIAN);
	suboffset += 2;
	proto_tree_add_item(lbs_header_tree, hf_lsb_wh_seq, tvb, suboffset, 2, ENC_BIG_ENDIAN);
	suboffset += 2;
	proto_tree_add_item(lbs_header_tree, hf_lsb_rsvd6, tvb, suboffset, 2, ENC_BIG_ENDIAN);
	suboffset += 2;
	proto_tree_add_item(lbs_header_tree, hf_lsb_wh_addr3, tvb, suboffset, 6, ENC_NA);
	suboffset += 6;
	proto_tree_add_item(lbs_header_tree, hf_lsb_wh_addr4, tvb, suboffset, 6, ENC_NA);
	suboffset += 6;
	return suboffset;
}







// NOLINTNEXTLINE(misc-no-recursion)
int dissect_wassp_sub_tlv(proto_tree *wassp_tree, tvbuff_t *tvb, packet_info *pinfo, int offset, int in_len, int which_tab, int ru_msg_type)
{
	proto_item *tlvi;
	proto_item *ti;
	proto_tree *tmp_tree;
	const char *label;
	uint32_t value;
	uint16_t tlv_type = EID_PARSE_ERROR;
	uint16_t length = 0, org_offset = offset;
	const WASSP_SUBTLV_DECODER_INFO_t *tmp_decr = NULL;
	uint32_t i, tableNo;
	int suboffset;

	if (which_tab >= TAB_MAX)
	{
		return offset;
	}

	tmp_decr = &wassp_decr_info[which_tab];

	if (tvb_reported_length_remaining(tvb, offset) > 0)
	{
		ti = proto_tree_add_item(wassp_tree, hf_wassp_sub_tree, tvb, offset, in_len, ENC_NA);
		proto_item_append_text(ti, " : %s", tmp_decr->subtree_name);
		tmp_tree = proto_item_add_subtree(ti, *((int*)(WASSP_SUBTLV_GET_ETTNUM(tmp_decr))));

		while (((value = tvb_reported_length_remaining(tvb, offset)) >= 4) && (offset - org_offset < in_len))
		{
			tlv_type = tvb_get_ntohs(tvb, offset + TLV_TYPE);
			length = tvb_get_ntohs(tvb, offset + TLV_LENGTH);
			if (tlv_type >= WASSP_SUBTLV_GET_MAXENTRY(tmp_decr))
			{
				proto_tree_add_uint_format_value(tmp_tree, hf_wassp_tlv_unknown, tvb, offset, 4, tlv_type, "Unknown Wassp TLV (%d)", tlv_type);
				proto_tree_add_item(tmp_tree, hf_wassp_tlv_length, tvb, offset + TLV_LENGTH, 2, ENC_BIG_ENDIAN);
				proto_tree_add_item(tmp_tree, hf_wassp_tlv_value_octext, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
				offset += length;
				continue;
			}

			label = wassp_match_strval(tmp_decr, tlv_type);
			label = (label == NULL) ? "Unknown Type" : label;

			if (length > value)
			{
				proto_tree_add_item(tmp_tree, hf_wassp_tlv_invalid, tvb, offset, 4, ENC_BIG_ENDIAN);
				tlv_type = EID_PARSE_ERROR;
			}
			else if (length < 4)
			{
				proto_tree_add_item(tmp_tree, hf_wassp_tlv_invalid, tvb, offset, 4, ENC_BIG_ENDIAN);
				tlv_type = EID_PARSE_ERROR;
			}
			else if (length == 4)
			{
				if ((which_tab == TAB_RSS_DATA_ARRAY) && (tlv_type == EID_RSS_DATA_BLOCK))
				{
					proto_tree_add_item(tmp_tree, hf_wassp_tlv_value_octext, tvb, offset, length, ENC_NA);
				}
				else
				{
					tlvi = proto_tree_add_item(tmp_tree, hf_wassp_tlv_value, tvb, offset, length, ENC_NA);
					proto_item_append_text(tlvi, " : %s (%d)", label, tlv_type);
				}
				offset += length;
				continue;
			}
			else
			{
				if ((which_tab == TAB_RSS_DATA_ARRAY) && (tlv_type == EID_RSS_DATA_BLOCK))
				{
					proto_tree_add_item(tmp_tree, hf_wassp_tlv_value_octext, tvb, offset, length, ENC_NA);
				}
				else
				{
					tlvi = proto_tree_add_item(tmp_tree, hf_wassp_tlv_value, tvb, offset, length, ENC_NA);
					proto_item_append_text(tlvi, " : %s (%d)", label, tlv_type);
				}
			}

			tlvi =   proto_tree_add_item(tmp_tree, hf_wassp_tlv_type_sub, tvb, offset + TLV_TYPE, 2, ENC_NA);
			proto_item_append_text(tlvi, " : %s (%d)", label, tlv_type);
			proto_tree_add_item(tmp_tree, hf_wassp_tlv_length, tvb, offset + TLV_LENGTH, 2, ENC_BIG_ENDIAN);

			if (tlv_type == EID_PARSE_ERROR)
			{
				proto_tree_add_item(wassp_tree, hf_wassp_tlv_invalid, tvb, offset, value, ENC_BIG_ENDIAN);
				offset += length;
				break;
			}
			else
			{
				if (WASSP_SUBTLV_GET_ENTRY_IDX_TYPE(tmp_decr, tlv_type) != TLV_TYPE_BLOCK_TLV)
				{
					proto_tree_add_item(tmp_tree, wassp_type_converter(WASSP_SUBTLV_GET_ENTRY_IDX_TYPE(tmp_decr, tlv_type)), tvb, offset + TLV_VALUE, length - 4, false);
					if ((which_tab == TAB_CONFIG_SITE) && (tlv_type == EID_SITE_TOPOLOGY_BLOCK))
					{
						suboffset = offset + 4;
						for (i = 0; i < (uint32_t)(length / 4 - 1); i++)
						{
							proto_tree_add_item(tmp_tree, hf_wassp_topologykey, tvb, suboffset, 2, ENC_BIG_ENDIAN);
							suboffset += 2;
							proto_tree_add_item(tmp_tree, hf_wassp_topology_mode, tvb, suboffset, 2, ENC_BIG_ENDIAN);
							suboffset += 2;
						}
					}

					if (which_tab == VNS_CONFIG_BLOCK)
					{
						if (tlv_type == EID_V_COS)
						{
							decode_cos_struct(tmp_tree, tvb, offset + 4 );
						}
						else if (tlv_type == EID_V_RATE_LIMIT_RESOURCE_TBL)
						{
							decode_rate_limit_struct(tmp_tree,tvb,  offset + 4,length-4 );
						}
					}

					if (which_tab == TAB_CONFIG_FILTER || which_tab == TAB_FILTER_CONFIG_STRUCT_BLOCK)
					{
						if (tlv_type == EID_V_FILTER_RULES || tlv_type == EID_FILTER_RULES || tlv_type == EID_V_SITE_FILTER_RULES )
						{
							if (length < 20)
								break;
							decode_filter_rule_octext_string(tmp_tree, tvb, offset + 4, length );

						}
					}


					if (which_tab == TAB_SCAN_PROFILE_BLOCK)
					{
						if (tlv_type == EID_CHANNEL_LIST)
						{
							decode_Channel_list(tmp_tree, tvb, offset + 4,  length -4 );
						}
					}

					if (which_tab == TAB_SURVEILLANCE_DATA_BLOCK)
					{
						if (tlv_type == EID_SCAN_RSS_RSSI)
						{
							suboffset = offset + 4;
							proto_tree_add_item(tmp_tree, hf_wassp_rss, tvb, suboffset, 2, ENC_BIG_ENDIAN);
							suboffset += 2;
							proto_tree_add_item(tmp_tree, hf_wassp_rssi, tvb, suboffset, 2, ENC_BIG_ENDIAN);
						}

						if (tlv_type == EID_PARAMS)
						{
							suboffset = offset + 4;
							proto_tree_add_item(tmp_tree, hf_wassp_threatstate, tvb, suboffset, 1, ENC_BIG_ENDIAN);
							suboffset += 1;
							proto_tree_add_item(tmp_tree, hf_wassp_radioparams, tvb, suboffset, 1, ENC_BIG_ENDIAN);
							suboffset += 1;
							proto_tree_add_item(tmp_tree, hf_wassp_channelfreq, tvb, suboffset, 2, ENC_BIG_ENDIAN);
						}

					}


					if (which_tab == CONFIG_GLOBAL_BLOCK)
					{
						if (tlv_type == EID_ON_DEMAND_ARRAY || tlv_type == EID_DYN_ON_DEMAND_ARRAY)
						{
							decode_mac_list_struct(tmp_tree, tvb, offset + 4,  length -4 );
						}
					}

					if (which_tab == TAB_DETECTED_ROGUE_BLOCK)
					{
						if (tlv_type == EID_DNS_IP_ADDR)
						{
							decode_ipv4_list_struct(tmp_tree, tvb, offset + 4,  length -4 );
						}
					}

					offset += length;
				}
				else
				{

					tableNo = WASSP_SUBTLV_GET_ENTRY_IDX_TABIDX(tmp_decr, tlv_type);
					if ((tableNo == RADIO_CONFIG_BLOCK) && (ru_msg_type == WASSP_RU_Ack))
					{
						// We recurse here, but we'll run out of packet before we run out of stack.
						offset = dissect_wassp_sub_tlv(tmp_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_RU_ACK_RADIO_CONFIG, ru_msg_type);
					}
					else
						// We recurse here, but we'll run out of packet before we run out of stack.
						offset = dissect_wassp_sub_tlv(tmp_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, tableNo, ru_msg_type);
				}

			}
		}
	}
	return offset;
}


int dissect_wassp_tlv(proto_tree *wassp_tree, tvbuff_t *tvb, packet_info *pinfo, int offset, wassp_ru_msg_t rumsg_type)
{
	proto_item *tlvi = NULL;
	proto_tree *tlv_tree;
	uint16_t tlv_type = WASSP_RU_UNUSED_0;
	uint16_t length;
	uint32_t value;
	int suboffset;
	wassp_ru_msg_t ru_msg_type = rumsg_type;
	const char *label;



	SET_WASSP_TLV_VERSION(0);
	while ((value = tvb_reported_length_remaining(tvb, offset)) >= 4)
	{
		tlv_type = tvb_get_ntohs(tvb, offset + TLV_TYPE);
		length = tvb_get_ntohs(tvb, offset + TLV_LENGTH);
		label = try_val_to_str(tlv_type, wassp_tlv_types);
		label = (label == NULL) ? "Unknown Type" : label;

		if (length > value)
		{
			tlvi = proto_tree_add_item(wassp_tree, hf_wassp_tlv_invalid, tvb, offset, 4, ENC_BIG_ENDIAN);
			tlv_type = EID_UNUSED_0;
		}
		else if (length < 4)
		{
			tlvi = proto_tree_add_item(wassp_tree, hf_wassp_tlv_invalid, tvb, offset, 4, ENC_BIG_ENDIAN);
			tlv_type = EID_UNUSED_0;
		}
		else
		{
			tlvi = proto_tree_add_item(wassp_tree, hf_wassp_tlv_value, tvb, offset, length, ENC_NA);
			proto_item_append_text(tlvi, " : %s (%d)", label, tlv_type);

		}

		tlv_tree = proto_item_add_subtree(tlvi, ett_wassp_tlv);
		proto_tree_add_item(tlv_tree, hf_wassp_tlv_type_main, tvb, offset + TLV_TYPE, 2, ENC_BIG_ENDIAN);
		proto_tree_add_item(tlv_tree, hf_wassp_tlv_length, tvb, offset + TLV_LENGTH, 2, ENC_BIG_ENDIAN);

		switch (tlv_type)
		{
		case EID_UNUSED_0:                  // 0
			offset += 4;
			break;

		case EID_STATUS:                    // 1
			ru_msg_type = (wassp_ru_msg_t) tvb_get_uint8(tvb, WASSP_HDR_TYPE);

			/*this is an action TLV*/
			if (WASSP_RU_SW_Version_Validate_Rsp == ru_msg_type)
			{
				proto_item_append_text(tlvi, " (upgrade action)");
				proto_tree_add_item(tlv_tree, hf_wassp_tlv_eid_action, tvb, offset + TLV_VALUE, length - 4, ENC_BIG_ENDIAN);
			}
			else  /*assume status TLV*/
			{
				proto_item_append_text(tlvi, " (status)");
				proto_tree_add_item(tlv_tree, hf_wassp_tlv_eid_status, tvb, offset + TLV_VALUE, length - 4, ENC_BIG_ENDIAN);
			}
			offset += length;
			break;

		/* display as string */
		case EID_RU_SW_VERSION:                       // 2
		case EID_RU_SERIAL_NUMBER:                    // 3
		case EID_IMAGE_PATH:                          // 9
		case EID_RANDOM_NUMBER:                       // 14
		case EID_RU_MODEL:                            // 17
		case EID_RU_TRAP:                             // 24
		case EID_RU_SSID_NAME:                        // 37
		case EID_AC_REG_CHALLENGE:                    // 41
		case EID_AC_REG_RESPONSE:                     // 42
		case EID_STATS:                               // 43
		case EID_CERTIFICATE:                         // 44
		case EID_RADIO_INFO:                          // 51
		case EID_NETWORK_INFO:                        // 52
		case EID_PRODUCT_ID:                          // 54
		case EID_RADIO_INFO_ACK:                      // 55
		case EID_SSID:                                // 58
		case EID_MU_PMKID_LIST:                       // 72
		case EID_MU_PMK_BP:                           // 73
		case EID_MU_PMKID_BP:                         // 74
		case EID_LOG_FILE:                            // 83
		case EID_ALARM_DESCRIPTION:                   // 85
		case EID_RU_BACKUP_VERSION:                   // 93
		case EID_AC_SW_VERSION:                       // 94
		case EID_MCAST_LAMG_LIST:                     // 95
		case EID_FILTER_NAME:                         // 96
		case EID_SENSOR_IMG_VERSION:                  // 104
		case EID_RATECTRL_NAME_UL:                    // 111
		case EID_RATECTRL_NAME_DL:                    // 112
		case EID_POLICY_NAME:                         // 113
		case EID_SIAPP_AP_NAME:                       // 120
		case EID_SIAPP_USER_IDENTITY:                 // 151
		case EID_MU_FILTER_POLICY_NAME:               // 162
		case EID_MU_TOPOLOGY_POLICY_NAME:             // 163
		case EID_MU_COS_POLICY_NAME:                  // 164
		case EID_SITE_NAME:                           // 175
		case EID_SSS_SSID:                            // 191
		case EID_POLICY_ZONE_NAME:                    // 193
		case EID_MU_USER_NAME:                        // 196
		case EID_SCAN_SSID:                           // 237
		case EID_THREAT_NAME:                         // 248
		case EID_LOCATION:                            // 249
		case EID_MU_EVENT_STRING:                     // 254
		case EID_LOCATOR_FLOOR_NAME:                  // 288
		case EID_MU_RFS_NAME:                         // 296
		case EID_MU_URL:                              // 301
		case EID_MU_ACCT_SESSION_ID_STRING:           // 304
		case EID_MU_ACCT_POLICY_NAME:                 // 305
		case EID_MU_TUNNEL_PRIVATE_GROUP_ID_STRING:   // 309
		case EID_MU_USER_ID_STRING:                   // 310
		case EID_MU_LOCATION:                         // 331
		case EID_AREA_NAME:                           // 335
		case EID_CUI:                                 // 363
		case EID_WFA_HS20_URL:                        // 368
		case EID_DHCP_HOST_NAME:                      // 382
		case EID_MU_ECP_PW:                           // 385
		case EID_MU_ECP_TOKEN:                        // 386
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_value_string, tvb, offset + TLV_VALUE, length - 4, ENC_ASCII);
			offset += length;
			break;

		/* display as octext string */
		case EID_RU_REG_CHALLENGE:                      // 4
		case EID_RU_REG_RESPONSE:                       // 5
		case EID_RU_VNSID:                              // 7
		case EID_SESSION_KEY:                           // 12
		case EID_RU_PREAUTH:                            // 39
		case EID_RU_PMK:                                // 40
		case EID_SIAPP_PMKID:                           // 115
		case EID_SIAPP_PMK_REAUTH:                      // 116
		case EID_SIAPP_PMK_LIFETIME:                    // 117
		case EID_SIAPP_PMKID_FLAG:                      // 118
		case EID_SIAPP_MU_PMK:                          // 119
		case EID_SIAPP_CLUSTER_ACS_REQ:                 // 122
		case EID_SIAPP_PACKET_RETRIES:                  // 124
		case EID_SIAPP_ASSOC_IN_WLAN:                   // 125
		case EID_SIAPP_ASSOC_IN_CLUSTER:                // 126
		case EID_SIAPP_REASSOC_IN_CLUSTER:              // 127
		case EID_SIAPP_NEWAP_BSSID:                     // 129
		case EID_SIAPP_OLDAP_BSSID:                     // 130
		case EID_SIAPP_RAD_CACS_REQ:                    // 131
		case EID_SIAPP_CLIENT_COUNT:                    // 133
		case EID_SIAPP_MU_TransmittedFrameCount:        // 135
		case EID_SIAPP_MU_ReceivedFrameCount:           // 136
		case EID_SIAPP_MU_TransmittedBytes:             // 137
		case EID_SIAPP_MU_ReceivedBytes:                // 138
		case EID_SIAPP_MU_UL_DroppedRateControlPackets: // 139
		case EID_SIAPP_MU_DL_DroppedRateControlPackets: // 140
		case EID_SIAPP_MU_DL_DroppedBufferFullPackets:  // 141
		case EID_SIAPP_MU_DL_LostRetriesPackets:        // 142
		case EID_SIAPP_MU_UL_DroppedRateControlBytes:   // 143
		case EID_SIAPP_MU_DL_DroppedRateControlBytes:   // 144
		case EID_SIAPP_MU_DL_DroppedBufferFullBytes:    // 145
		case EID_SIAPP_MU_DL_LostRetriesBytes:          // 146
		case EID_SIAPP_BP_BSSID:                        // 147
		case EID_SIAPP_RADIO_ID:                        // 148
		case EID_SIAPP_PREAUTH_REQ:                     // 150
		case EID_SIAPP_LOADBAL_LOADGROUP_ID:            // 154
		case EID_MU_ACCOUNTING_CLASS:                   // 169
		case EID_SSS_TS64_MU_UPDATE:                    // 183
		case EID_SSS_TS64_AP_CURRENT:                   // 184
		case EID_SSS_AP_HOMEHASH:                       // 186
		case EID_EVENT_ARRAY:                           // 189
		case EID_INFORM_MU_PMK:                         // 199
		case EID_ARP_PROXY:                             // 201
		case EID_MCAST_FILTER_RULES:                    // 202
		case EID_AP_PARAMS:                             // 203
		case EID_THREAT_STATS_F:                        // 220
		case EID_THREAT_PATTERN:                        // 224
		case EID_LOCATOR_LOC_POINT:                     // 265
		case EID_MU_EVENT_DETAILS:                      // 266
		case EID_MU_EVENT_LOC_BLOCK:                    // 268
		case EID_AP_REDIRECT:                           // 291
		case EID_MU_CVLAN_BAP:                          // 292
		case EID_MU_SESSION_ID:                         // 295
		case EID_MU_FLAGS:                              // 297
		case EID_MU_ASSOC_TIME:                         // 298
		case EID_MU_ACTIVE_TIME:                        // 299
		case EID_REPORT_REQ:                            // 300
		case EID_MU_SESSION_LIFETIME:                   // 302
		case EID_MU_REAUTH_TIMER:                       // 303
		case EID_MU_ACCT_START_TIME:                    // 306
		case EID_MU_ACCT_CLASS:                         // 307
		case EID_MU_LOGIN_LAT_GROUP:                    // 308
		case EID_MU_DEFENDED_STATE:                     // 311
		case EID_MU_MOD_MASK:                           // 312
		case EID_LOCATOR_TRACKED:                       // 313
		case EID_PORT:                                  // 314
		case EID_RETRIES_COUNT:                         // 315
		case EID_MODULATION_TYPE:                       // 316
		case EID_ROGUE_DETECTION:                       // 319
		case EID_TTL:                                   // 324
		case EID_LOCATOR_STATE_DATA:                    // 326
		case EID_LOCATOR_POINT_SET:                     // 327
		case EID_FILTER_RULE_FIXED_APP_ID:              // 328
		case EID_MU_AREA_BLOCK:                         // 330
		case EID_IN_SERVICE_AP_LIST:                    // 334
		case EID_OUT_SERVICE_AP_LIST:                   // 335
		case EID_LAST_RD_AP:                            // 336
		case EID_ROGUE_INFO:                            // 337
		case EID_MU_PMK_R1:                             // 339
		case EID_SIAPP_R0KHID:                          // 340
		case EID_SIAPP_R1KHID:                          // 341
		case EID_SIAPP_FT_NONCE:                        // 342
		case EID_SIAPP_FT_PMKR0NAME:                    // 343
		case EID_SIAPP_FT_R1KHID:                       // 344
		case EID_SIAPP_FT_S1KHID:                       // 345
		case EID_SIAPP_FT_PMKR1:                        // 346
		case EID_SIAPP_FT_PMKR1NAME:                    // 347
		case EID_SIAPP_FT_PAIRWISE:                     // 348
		case EID_SIAPP_FT_LIFETIME:                     // 349
		case EID_MU_POWER_CAP:                          // 350
		case EID_PERIODIC_NEIGHBOUR_REPORT:             // 352
		case EID_NEIGHBOUR_ENTRY:                       // 354
		case EID_MU_PMK_R0NAME:                         // 362
		case EID_IPV6_ADDR:                             // 373
		case EID_MU_DEV_IDENTITY:                       // 376
		case EID_NEIGHBOUR_ENTRY_2:                     // 383
		case EID_CHANNEL_ENTRY:                         // 384
		case EID_PKT_F_WIRELESS:                        // 391
		case EID_PKT_F_WIREDCLIENT:                     // 392
		case EID_PKT_F_DIRECTION:                       // 393
		case EID_PKT_F_IP_ARRAY:                        // 396
		case EID_PKT_F_RADIO:                           // 394
		case EID_VSA_SSID_ID:                           // 400
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_value_octext, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
			offset += length;
			break;

		/* display as IP address format */
		case EID_AC_IPADDR:                    // 6
		case EID_TFTP_SERVER:                  // 8
		case EID_STATIC_BP_IPADDR:             // 30
		case EID_STATIC_BP_NETMASK:            // 31
		case EID_STATIC_BP_GATEWAY:            // 32
		case EID_STATIC_BM_IPADDR:             // 33
		case EID_AP_IPADDR:                    // 89
		case EID_AP_NETMASK:                   // 90
		case EID_AP_GATEWAY:                   // 91
		case EID_MU_IP_ADDR:                   // 173
		case EID_PEER_SITE_IP:                 // 176
		case EID_COLLECTOR_IP_ADDR:            // 200
		case EID_IP_ADDR_TX:                   // 322
		case EID_IP_ADDR_RX:                   // 323
		case EID_GW_IP_ADDR:                   // 325
		case EID_STATIC_VSA_IPADDR:            // 387
		case EID_STATIC_VSA_NETMASK:           // 388
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_value_ip, tvb, offset, 4, ENC_BIG_ENDIAN);
			offset += length;
			break;

		case EID_CONFIG:                       // 10
		case EID_ALARM:                        // 38
			/* Dissect SNMP encoded configuration */
			dissector_try_uint(wassp_dissector_table, WASSP_SNMP, tvb_new_subset_length(tvb, offset + TLV_VALUE, length - 4), pinfo, tlv_tree);
			offset += length;
			break;

		case EID_RU_STATE:                     // 11
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_eid_rustate, tvb, offset + TLV_VALUE, length - 4, ENC_BIG_ENDIAN);
			proto_item_append_text(tlvi, ": %s",
					       tfs_get_string(tvb_get_uint8(tvb, offset + TLV_VALUE), &wassp_eid_rustate_types));
			offset += length;
			break;

		/* display as int */
		case EID_RU_PROTOCOL:                     // 13
		case EID_STANDBY_TIMEOUT:                 // 15
		case EID_RU_CHALLENGE_ID:                 // 16
		case EID_RU_SCAN_MODE:                    // 18
		case EID_RU_SCAN_TYPE:                    // 19
		case EID_RU_SCAN_INTERVAL:                // 20
		case EID_RU_RADIO_TYPE:                   // 21
		case EID_RU_CHANNEL_DWELL_TIME:           // 22
		case EID_RU_CHANNEL_LIST:                 // 23
		case EID_RU_SCAN_TIMES:                   // 25
		case EID_RU_SCAN_DELAY:                   // 26
		case EID_RU_SCAN_REQ_ID:                  // 27
		case EID_STATIC_CONFIG:                   // 28
		case EID_LOCAL_BRIDGING:                  // 29
		case EID_RU_CAPABILITY:                   // 36
		case EID_RADIO_ID:                        // 45
		case EID_REQ_ID:                          // 46
		case EID_NETWORK_ID:                      // 47
		case EID_TIME:                            // 49
		case EID_NUM_RADIOS:                      // 50
		case EID_VENDOR_ID:                       // 53
		case EID_SECURE_TUNNEL:                   // 56
		case EID_MU_TOPOLOGY_ID:                  // 57
		case EID_SNMP_ERROR_STATUS:               // 60
		case EID_SNMP_ERROR_INDEX:                // 61
		case EID_RU_REAUTH_TIMER:                 // 62
		case EID_AP_IMG_TO_RAM:                   // 63
		case EID_AP_IMG_ROLE:                     // 64
		case EID_STATS_REQUEST_TYPE:              // 67
		case EID_STATS_LAST:                      // 68
		case EID_COUNTDOWN_TIME:                  // 75
		case EID_WASSP_VLAN_TAG:                  // 76
		case EID_SSID_ID:                         // 77
		case EID_PORT_OPEN_FLAG:                  // 80
		case EID_WASSP_TUNNEL_TYPE:               // 81
		case EID_LOG_TYPE:                        // 82
		case EID_ALARM_SEVERITY:                  // 84
		case EID_AP_DHCP_MODE:                    // 88
		case EID_AUTH_STATE:                      // 98
		case EID_MU_DISC_AFTER_AUTH:              // 99
		case EID_TRANS_ID:                        // 101
		case EID_TIMEZONE_OFFSET:                 // 102
		case EID_SENSOR_FORCE_DOWNLOAD:           // 103
		case EID_BRIDGE_MODE:                     // 105
		case EID_MU_VLAN_TAG:                     // 106
		case EID_RATECTRL_CIR_UL:                 // 107
		case EID_RATECTRL_CIR_DL:                 // 108
		case EID_RATECTRL_CBS_UL:                 // 109
		case EID_RATECTRL_CBS_DL:                 // 110
		case EID_SIAPP_LOADBAL_PKT_TYPE:          // 153
		case EID_SIAPP_LOADBAL_LOAD_VALUE:        // 155
		case EID_SIAPP_FILTER_COS:                // 157
		case EID_UCAST_FILTER_DISABLE:            // 160
		case EID_MU_INFORM_REASON:                // 161
		case EID_MU_FILTER_KEY:                   // 165
		case EID_MU_TOPOLOGY_KEY:                 // 166
		case EID_MU_COS_KEY:                      // 167
		case EID_MU_SESSION_TIMEOUT:              // 168
		case EID_MU_LOGIN_LAT_PORT:               // 170
		case EID_MU_IDLE_TIMEOUT:                 // 171
		case EID_MU_ACCT_INTERIM_INTERVAL:        // 172
		case EID_MU_TERMINATE_ACTION:             // 174
		case EID_INTERFERENCE_EVENTS_ENABLE:      // 177
		case EID_EVENT_TYPE:                      // 178
		case EID_EVENT_CHANNEL:                   // 179
		case EID_EVENT_VALUE:                     // 180
		case EID_SSS_MU_ASSOC_TIME:               // 182
		case EID_SSS_MU_AUTH_STATE:               // 185
		case EID_TIME_FIRST_DETECTED:             // 187
		case EID_TIME_LAST_REPORTED:              // 188
		case EID_SSS_DEFAULT_SESSION_TIMEOUT:     // 190
		case EID_SSS_PRIVACY_TYPE:                // 192
		case EID_RU_AC_EVENT_COMPONENT_ID:        // 194
		case EID_MU_AUTH_STATE:                   // 195
		case EID_BULK_TYPE:                       // 197
		case EID_SENT_TIME:                       // 198
		case EID_SCAN_PROFILE_ID:                 // 209
		case EID_ACTION_REQ:                      // 210
		case EID_COUNTERMEASURES_MAX_CH:          // 212
		case EID_COUNTERMEASURES_SET:             // 213
		case EID_SEQ_NUM:                         // 215
		case EID_THREAT_TYPE:                     // 218
		case EID_THREAT_ID:                       // 219
		case EID_THREAT_FR_SFR:                   // 221
		case EID_THREAT_ALERT_TH_DUR:             // 225
		case EID_THREAT_CLEAR_TH_DUR:             // 226
		case EID_THREAT_PRIORITY:                 // 227
		case EID_THREAT_MITIGATION_LIST:          // 228
		case EID_PARAMS:                          // 235
		case EID_MU_EVENT_TYPE:                   // 260
		case EID_SSS_MU_IS_PORT_CLOSED:           // 229
		case EID_FULL_UPDATE:                     // 230
		case EID_REASON:                          // 231
		case EID_SCAN_CAP:                        // 238
		case EID_THREAT_CLASSIFICATION:           // 239
		case EID_STATE:                           // 242
		case EID_DROP_FR_CNT:                     // 243
		case EID_STOP_ROAM_CNT:                   // 244
		case EID_SPOOF_CNT:                       // 245
		case EID_ENCRYPTION_TYPE:                 // 250
		case EID_COMPONENT_ID:                    // 253
		case EID_BYPASS_BMCAST:                   // 255
		case EID_GETTIMEOFDAY:                    // 256
		case EID_COUNTRY_ID:                      // 257
		case EID_LOCATOR_FLOOR_ID:                // 261
		case EID_LOCATOR_LOC_TYPE:                // 262
		case EID_MU_EVENT_FROM_AP:                // 267
		case EID_LOCATOR_LOC_AP_DISTANCE:         // 269
		case EID_LOCATOR_LOC_PRECISION:           // 270
		case EID_LOCATOR_MU_ACTION:               // 273
		case EID_EFFECTIVE_EGRESS_VLAN:           // 274
		case EID_REBOOT_ACK:                      // 275
		case EID_AUTH_FLAG:                       // 277
		case EID_ROAMED_FLAG:                     // 278
		case EID_MU_RSS:                          // 279
		case EID_FILTER_RULES_VER:                // 280
		case EID_FILTER_TYPE:                     // 281
		case EID_DEFAULT_ACTION_TYPE:             // 284
		case EID_DEFAULT_CONTAIN_TO_VLAN:         // 285
		case EID_DEFAULT_BRIDGE_MODE:             // 286
		case EID_INVALID_POLICY:                  // 287
		case EID_AP_FLAGS:                        // 289
		case EID_AP_PVID:                         // 290
		case EID_MU_LOCATION_TS:                  // 332
		case EID_MU_IS_FT:                        // 338
		case EID_TIMESTAMP:                       // 353
		case EID_MU_REQ:                          // 355
		case EID_RU_REQ:                          // 356
		case EID_NEIGHBOUR_REQ:                   // 357
		case EID_SSS_FT_ASSOC:                    // 358
		case EID_DEFAULT_MIRRORN:                 // 359
		case EID_FILTER_RULE_EXT_ACT_FLAGS:       // 360
		case EID_TOPO_GROUP_MAPPING:              // 361
		case EID_SSS_CAPINFO:                     // 364
		case EID_SSS_CAPPOWER:                    // 365
		case EID_WFA_VSA:                         // 366
		case EID_WFA_HS20_REMED_METHOD:           // 367
		case EID_WFA_HS20_DEAUTH_CODE:            // 369
		case EID_WFA_HS20_REAUTH_DELAY:           // 370
		case EID_WFA_HS20_SWT:                    // 371
		case EID_POWER_STATUS:                    // 372
		case EID_FILTER_RULES_APP_SIG_GROUP_ID:   // 374
		case EID_FILTER_RULES_APP_SIG_DISP_ID:    // 375
		case EID_APPL_STATS_REQ:                  // 377
		case EID_PKT_CAPTURE_STATUS:              // 389
		case EID_PKT_CAPTURE_FILTERS:             // 390
		case EID_PKT_F_FLAGS:                     // 395
		case EID_PKT_F_PROTOCOL:                  // 398
		case EID_PKT_F_PORT:                      // 399
		case EID_MU_AUTH_TYPE:                    // 401
		case EID_PKT_F_MAX_PKT_COUNT:             // 402
		case EID_PKT_F_FLAG_2:                    // 403
		case EID_IMAGE_PORT:                      // 404
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_value_int, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
			offset += length;
			break;
		/* display as Mac address */
		case EID_BP_BPSSID:                 // 34
		case EID_BP_WIRED_MACADDR:          // 35
		case EID_SIAPP_MACADDR:             // 149
		case EID_SIAPP_AC_MGMT_MAC:         // 156
		case EID_MAC_ADDR:                  // 208
		case EID_SCAN_BSSID:                // 233
		case EID_MU_BSSID:                  // 276
		case EID_MAC_ADDR_TX:               // 320
		case EID_MAC_ADDR_RX:               // 321
			proto_tree_add_item(tlv_tree, hf_wassp_macaddr, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
			offset += length;
			break;
		case EID_MU_MAC:                    // 48
		case EID_PKT_F_MAC:                 // 397
			proto_tree_add_item(tlv_tree, hf_wassp_mu_mac, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
			offset += length;
			break;

		/*  call sub tlv  */
		case EID_EVENT_BLOCK:                                // 59
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, EVENT_BLOCK, ru_msg_type);
			break;
		case EID_AP_STATS_BLOCK:                             // 65
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, AP_STATS_BLOCK, ru_msg_type);
			break;
		case EID_MU_RF_STATS_BLOCK:                          // 66
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, MU_RF_STATS_BLOCK, ru_msg_type);
			break;
		case EID_TLV_CONFIG:                                 // 69
		case EID_BSSID2IP_BLOCK:                             // 92
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, CONFIG_GLOBAL_BLOCK, ru_msg_type);
			break;
		case EID_CONFIG_ERROR_BLOCK:                         // 70
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, CONFIG_ERROR_BLOCK, ru_msg_type);
			break;
		case EID_CONFIG_MODIFIED_BLOCK:                      // 71
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_CONFIG_MODIFIED, ru_msg_type);
			break;
		case EID_BULK_MU_BLOCK:                              // 78
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, BULK_MU_BLOCK, ru_msg_type);
			break;
		case EID_MU_BLOCK:                                   // 79
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, MU_BLOCK, ru_msg_type);
			break;
		case EID_BULK_VNS_BLOCK:                             // 86
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, BULK_VNS_BLOCK, ru_msg_type);
			break;
		case EID_VNS_BLOCK:                                  // 87
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, VNS_BLOCK, ru_msg_type);
			break;
		case EID_SIAPP_PMK_BLOCK:                            // 114
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_SIAPP_PMK_BLOCK, ru_msg_type);
			break;
		case EID_SIAPP_RADIO_CONFIG_BLOCK:                   // 121
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_SIAPP_RADIO_CONFIG_BLOCK, ru_msg_type);
			break;
		case EID_SIAPP_SIAPP_MU_STATS_BLOCK:                 // 123
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_SIAPP_MU_STATS_BLOCK, ru_msg_type);
			break;
		case EID_SIAPP_THIN_BLOCK:                           // 128
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_SIAPP_THIN_BLOCK, ru_msg_type);
			break;
		case EID_SIAPP_RADIOBLOCK:                           // 132
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_SIAPP_MU_STATS_BLOCK, ru_msg_type);
			break;
		case EID_SIAPP_BLOCK:                                // 134
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_SIAPP_BLOCK, ru_msg_type);
			break;
		case EID_SIAPP_LOADBAL_BLOCK:                        // 152
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, VNS_BLOCK, ru_msg_type);
			break;
		case EID_SSS_MU_BLOCK:                               // 181
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_SSS_MU_BLOCK, ru_msg_type);
			break;
		case EID_ASSOC_SSID_ARRAY:                           // 204
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_ASSOC_SSID_ARRAY, ru_msg_type);
			break;
		case EID_ASSOC_SSID_BLOCK:                           // 205
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_ASSOC_SSID_BLOCK, ru_msg_type);
			break;
		case EID_AP_LIST_BLOCK:                              // 206
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_AP_LIST_BLOCK, ru_msg_type);
			break;
		case EID_AP_LIST_ARRAY:                              // 207
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_AP_LIST_ARRAY, ru_msg_type);
			break;
		case EID_SCAN_PROFILE_BLOCK:                         // 214
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_SCAN_PROFILE_BLOCK, ru_msg_type);
			break;
		case EID_THREAT_DEF_ARRAY:                           // 216
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_THREAT_DEF_ARRAY, ru_msg_type);
			break;
		case EID_THREAT_DEF_BLOCK:                           // 217
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_THREAT_DEF_BLOCK, ru_msg_type);
			break;
		case EID_THREAT_PATTERN_ARRAY:                       // 222
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_THREAT_PATTERN_ARRAY, ru_msg_type);
			break;
		case EID_THREAT_PATTERN_BLOCK:                       // 223
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_THREAT_PATTERN_BLOCK, ru_msg_type);
			break;
		case EID_SURVEILLANCE_DATA_ARRAY:                    // 231
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_SURVEILLANCE_DATA_ARRAY, ru_msg_type);
			break;
		case EID_SURVEILLANCE_DATA_BLOCK:                    // 232
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_SURVEILLANCE_DATA_BLOCK, ru_msg_type);
			break;
		case EID_THREAT_DATA_ARRAY:                          // 239
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_THREAT_DATA_ARRAY, ru_msg_type);
			break;
		case EID_THREAT_DATA_BLOCK:                          // 240
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_THREAT_DATA_BLOCK, ru_msg_type);
			break;
		case EID_THREAT_CLASSIFY_ARRAY:                      // 245
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_THREAT_CLASSIFY_ARRAY, ru_msg_type);
			break;
		case EID_THREAT_CLASSIFY_BLOCK:                      // 246
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_THREAT_CLASSIFY_BLOCK, ru_msg_type);
			break;
		case EID_MU_EVENT_ARRAY:                             // 251
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_MU_EVENT_ARRAY, ru_msg_type);
			break;
		case EID_MU_EVENT_BLOCK:                             // 252
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_MU_EVENT_BLOCK, ru_msg_type);
			break;
		case EID_COUNTRY_ARRAY:                              // 258
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_COUNTRY_ARRAY, ru_msg_type);
			break;
		case EID_COUNTRY_BLOCK:                              // 259
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_COUNTRY_BLOCK, ru_msg_type);
			break;
		case EID_LOCATOR_LOC_BLOCK:                          // 263
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_LOCATOR_LOC_BLOCK, ru_msg_type);
			break;
		case EID_LOCATOR_LOC_ARRAY:                          // 264
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_LOCATOR_LOC_ARRAY, ru_msg_type);
			break;
		case EID_RSS_DATA_ARRAY:                             // 271
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_RSS_DATA_ARRAY, ru_msg_type);
			break;
		case EID_RSS_DATA_BLOCK:                             // 272
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_RSS_DATA_BLOCK, ru_msg_type);
			break;
		case EID_MCAST_FILTER_BLOCK:                         // 282
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_MCAST_FILTER_BLOCK, ru_msg_type);
			break;
		case EID_MCAST_FILTER_BLOCK_ENTRY:                   // 283
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_MCAST_FILTER_BLOCK_ENTRY, ru_msg_type);
			break;
		case EID_MU_SESSION_ARRAY:                           // 293
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_MU_SESSION_ARRAY, ru_msg_type);
			break;
		case EID_MU_SESSION_BLOCK:                           // 294
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_MU_SESSION_BLOCK, ru_msg_type);
			break;
		case EID_DETECTED_ROGUE_ARRAY:                       // 317
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_DETECTED_ROGUE_ARRAY, ru_msg_type);
			break;
		case EID_DETECTED_ROGUE_BLOCK:                       // 318
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_DETECTED_ROGUE_BLOCK, ru_msg_type);
			break;
		case EID_FILTER_RULES_EXT_BLOCK:                     // 329
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_FILTER_RULES_EXT_BLOCK, ru_msg_type);
			break;
		case EID_TOPOLOGY_ARRAY:                             // 379
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_TOPOLOGY_ARRAY_BLOCK, ru_msg_type);
			break;
		case EID_TOPOLOGY_STRUCT:                            // 380
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_TOPOLOGY_STRUCT_BLOCK, ru_msg_type);
			break;
		case EID_FILTER_CONFIG_STRUCT:                       // 381
			offset = dissect_wassp_sub_tlv(tlv_tree, tvb, pinfo, offset + TLV_VALUE, length - TLV_VALUE, TAB_FILTER_CONFIG_STRUCT_BLOCK, ru_msg_type);
			break;

		case EID_FILTER_RULES:                              // 97
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_value_octext, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
			decode_filter_rule_octext_string(tlv_tree, tvb, offset + 4, length );
			offset += length;
			break;
		case EID_MU_MAC_LIST:                              // 100
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_value_octext, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
			decode_mac_list_struct(tlv_tree, tvb, offset + 4,  length -4 );
			offset += length;
			break;
		case EID_COS:                                      // 158
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_value_octext, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
			decode_cos_struct(tlv_tree, tvb, offset + 4 );
			offset += length;
			break;
		case EID_RATE_LIMIT_RESOURCE_TBL:                  // 159
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_value_octext, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
			decode_rate_limit_struct(tlv_tree,tvb,  offset + 4,length-4 );
			offset += length;
			break;
		case EID_CHANNEL_LIST:                             // 211
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_value_octext, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
			decode_Channel_list(tlv_tree, tvb, offset + 4,  length -4 );
			offset += length;
			break;
		case EID_DNS_IP_ADDR:                              // 333
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_value_octext, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
			decode_ipv4_list_struct(tlv_tree, tvb, offset + 4,  length -4 );
			offset += length;
			break;
		case EID_MU_APPL_STATS_BLOCK:                      // 378
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_value_octext, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
			decode_mu_appl_stats_block(tlv_tree, tvb, offset + 4 );
			offset += length;
			break;

		case EID_SCAN_RSS_RSSI:                            // 236
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_value_int, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
			suboffset = offset + 4;
			proto_tree_add_item(tlv_tree, hf_wassp_rss, tvb, suboffset, 2, ENC_BIG_ENDIAN);
			suboffset += 2;
			proto_tree_add_item(tlv_tree, hf_wassp_rssi, tvb, suboffset, 2, ENC_BIG_ENDIAN);
			offset += length;
			break;

		default:
			/* If tlv isn't in the list, then just display the raw data*/
			proto_tree_add_item(tlv_tree, hf_wassp_tlv_value_octext, tvb, offset + TLV_VALUE, length - 4, ENC_NA);
			call_dissector(data_handle, tvb_new_subset_length(tvb, offset + TLV_VALUE, length - 4), pinfo, wassp_tree);
			offset += length;
		}

		if (tlv_type == EID_UNUSED_0)
		{
			proto_tree_add_item(wassp_tree, hf_wassp_tlv_invalid, tvb, offset, value, ENC_BIG_ENDIAN);
			offset += length;
		}
	}
	return offset;
}



static void
mu_association_status(char *buf, uint8_t value)
{
	if (value == 1)
		snprintf(buf, ITEM_LABEL_LENGTH, " Success (%d)", value);
	else if (value == 2)
		snprintf(buf, ITEM_LABEL_LENGTH, " Reject (%d)", value);
	else
		snprintf(buf, ITEM_LABEL_LENGTH, " Failure (%d)", value);
}



static int dissect_mu_netflow(proto_tree *tree, tvbuff_t *tvb, int offset)
{
	proto_item *ti, *temp;
	proto_tree *wassp_mu_netflow_tree, *mu_netflow_header_tree;
	uint16_t netflowLen, totalRecord, i;

	ti = proto_tree_add_item(tree, hf_wassp_mu_netflow_tree, tvb, offset, -1, ENC_NA);
	wassp_mu_netflow_tree = proto_item_add_subtree(ti, ett_wassp_mu_data_netflow);

	temp = proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_header, tvb, MU_NETFLOW_HDR_VERSION, MU_NETFLOW_HEADER_TOTAL_LENGTH, ENC_NA);
	mu_netflow_header_tree = proto_item_add_subtree(temp, ett_wassp_mu_data_netflow_header);
	proto_tree_add_item(mu_netflow_header_tree, hf_wassp_mu_netflow_version, tvb, MU_NETFLOW_HDR_VERSION, 2, ENC_BIG_ENDIAN);
	proto_tree_add_item(mu_netflow_header_tree, hf_wassp_mu_netflow_length, tvb, MU_NETFLOW_HDR_LENGTH, 2, ENC_BIG_ENDIAN);
	proto_tree_add_item(mu_netflow_header_tree, hf_wassp_mu_netflow_flags, tvb, MU_NETFLOW_HDR_FLAG, 2, ENC_BIG_ENDIAN);
	proto_tree_add_item(mu_netflow_header_tree, hf_wassp_mu_netflow_uptime, tvb, MU_NETFLOW_HDR_UPTIME, 4, ENC_NA);
	offset += MU_NETFLOW_HEADER_TOTAL_LENGTH;

	netflowLen = tvb_get_ntohs(tvb, MU_NETFLOW_HDR_LENGTH);
	totalRecord = (netflowLen - MU_NETFLOW_HEADER_TOTAL_LENGTH) / MU_NETFLOW_RECORD_SIZE;  //netflow record size is 46 bytes
	if (totalRecord > 0)
	{
		for (i = 1; i <= totalRecord; i++)
		{
			//proto_tree_add_debug_text(wassp_mu_netflow_tree, "      WASSP MU Netflow  Record %d ", i);
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_record, tvb, offset, MU_NETFLOW_RECORD_SIZE, ENC_NA);
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_in_bytes, tvb, offset, 4, ENC_BIG_ENDIAN);
			offset += 4;
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_in_packets, tvb, offset, 4, ENC_BIG_ENDIAN);
			offset += 4;
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_ip_protocol_number, tvb, offset, 1, ENC_BIG_ENDIAN);
			offset += 1;
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_source_tos, tvb, offset, 1, ENC_BIG_ENDIAN);
			offset += 1;
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_source_port, tvb, offset, 2, ENC_BIG_ENDIAN);
			offset += 2;
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_source_ip, tvb, offset, 4, ENC_BIG_ENDIAN);
			offset += 4;
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_input_snmp, tvb, offset, 2, ENC_BIG_ENDIAN);
			offset += 2;
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_dest_port, tvb, offset, 2, ENC_BIG_ENDIAN);
			offset += 2;
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_dest_ip, tvb, offset, 4, ENC_BIG_ENDIAN);
			offset += 4;
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_output_snmp, tvb, offset, 2, ENC_BIG_ENDIAN);
			offset += 2;
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_last_time, tvb, offset, 4, ENC_BIG_ENDIAN);
			offset += 4;
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_first_time, tvb, offset, 4, ENC_BIG_ENDIAN);
			offset += 4;
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_in_source_mac, tvb, offset, 6, ENC_NA);
			offset += 6;
			proto_tree_add_item(wassp_mu_netflow_tree, hf_wassp_mu_netflow_in_dest_mac, tvb, offset, 6, ENC_NA);
			offset += 6;
		}
	}
	else
	{
		//proto_tree_add_debug_text(wassp_mu_netflow_tree, "WASSP MU Netflow  Records are incomplete ");
		offset += netflowLen;
	}

	return offset;
}




/* Dissect Wassp MU message: return offset in current tvb */
static int dissect_wassp_mu(proto_tree *wassp_tree, tvbuff_t *tvb, packet_info *pinfo, int offset, int plength)
{
	proto_item *ti, *temp;
	proto_tree *wassp_mu_tree, *mu_data_header_tree, *mu_action_field_tree;
	wassp_mu_msg_t mu_msg_type;
	char *label;
	uint16_t length = WASSP_MU_HDR_WITHOUT_ASSO_STATUS_LEN;

	if (tvb_reported_length_remaining(tvb, offset) > 0)
	{
		mu_msg_type = (wassp_mu_msg_t)tvb_get_uint8(tvb, offset + WASSP_MU_HDR_TYPE);
		ti = proto_tree_add_item(wassp_tree, hf_wassp_mu_data_tree, tvb, offset, -1, ENC_NA);
		wassp_mu_tree = proto_item_add_subtree(ti, ett_wassp_data);
		label = (char*)try_val_to_str(mu_msg_type, wassp_mu_header_types);
		label = (label == NULL) ? "Unknown Type" : label;
		proto_item_append_text(ti, ", %s", label);

		if ( mu_msg_type == WASSP_MU_Associate_Rsp )
			length = WASSP_MU_HDR_WITH_ASSO_STATUS_LEN;

		/* Dissect the WASSP MU header */
		temp = proto_tree_add_item(wassp_mu_tree, hf_wassp_mu_data_header, tvb, WASSP_MU_HDR_TYPE, length, ENC_NA);
		mu_data_header_tree = proto_item_add_subtree(temp, ett_mu_data_header);
		proto_tree_add_item(mu_data_header_tree, hf_wassp_mu_type, tvb, offset + WASSP_MU_HDR_TYPE, 1, ENC_BIG_ENDIAN);
		proto_tree_add_item(mu_data_header_tree, hf_wassp_mu_qos, tvb, offset + WASSP_MU_HDR_QOS, 1, ENC_BIG_ENDIAN);
		temp = proto_tree_add_item(mu_data_header_tree, hf_wassp_mu_action_ssid, tvb, offset + WASSP_MU_HDR_ACTION_SSID, 2, ENC_BIG_ENDIAN);
		mu_action_field_tree = proto_item_add_subtree(temp, ett_mu_action_field);
		proto_tree_add_item(mu_action_field_tree, hf_wassp_mu_action, tvb, offset + WASSP_MU_HDR_ACTION_SSID, 2, ENC_BIG_ENDIAN);
		proto_tree_add_item(mu_action_field_tree, hf_wassp_mu_action_field_value, tvb, offset + WASSP_MU_HDR_ACTION_SSID, 2, ENC_BIG_ENDIAN);
		proto_tree_add_item(mu_data_header_tree, hf_wassp_mu_mac, tvb, offset + WASSP_MU_HDR_MAC, 6, ENC_NA);
		proto_tree_add_item(mu_data_header_tree, hf_wassp_mu_resv0, tvb, offset + WASSP_MU_HDR_RESV_0, 2, ENC_BIG_ENDIAN);
		proto_tree_add_item(mu_data_header_tree, hf_wassp_mu_resv1, tvb, offset + WASSP_MU_HDR_RESV_1, 2, ENC_BIG_ENDIAN);
		if ( mu_msg_type == WASSP_MU_Associate_Rsp )
			proto_tree_add_item(mu_data_header_tree, hf_wassp_mu_assoc_status, tvb, offset + WASSP_MU_HDR_RESV_1 + 2, 1, ENC_BIG_ENDIAN);

		offset += length;
		/* WASSP MU payload length */
		plength -= length;

		/* Dissect the WASSP MU payload */
		switch (mu_msg_type)
		{
		case WASSP_MU_NETFLOW:
			offset = dissect_mu_netflow(wassp_mu_tree, tvb, offset);
			break;
		case WASSP_MU_Associate_Req:
		case WASSP_MU_Update_Req:
		case WASSP_MU_Update_Rsp:
		case WASSP_AP2AC_MU_Inform_Req:
		case WASSP_AP2AC_MU_Inform_Rsp:
		case WASSP_MU_BULK_Associate_Req:
		case WASSP_MU_BULK_Associate_Rsp:
		case WASSP_MU_Disconnect_Req:
		case WASSP_MU_Disconnect_Rsp:
		case WASSP_MU_Associate_Rsp:
			offset = dissect_wassp_tlv(wassp_mu_tree, tvb, pinfo, offset, WASSP_RU_UNUSED_0);
			break;
		case WASSP_MU_MIRRORN:
		case WASSP_MU_Data:
		case WASSP_MU_Eap_Last:
			/* Dissect the WASSP MU ethernet frame */
			call_dissector(eth_handle, tvb_new_subset_length(tvb, offset, plength), pinfo, wassp_mu_tree);
			offset += plength;
			break;
		case WASSP_MU_Roam_Notify:
		case WASSP_MU_Disconnect_Notify:
			offset += plength;
			break;
		default:
			/* Dissect the WASSP MU payload as data by default */
			call_dissector(data_handle, tvb_new_subset_length(tvb, offset, plength), pinfo, wassp_mu_tree);
			offset += plength;
			break;
		}
	}
	return offset;
}




static void dissect_unfragmented_wassp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, uint16_t plength2, wassp_ru_msg_t ru_msg_type, int offset2)
{
	proto_tree *wassp_tree;
	int offset = offset2;
	uint16_t plength = plength2;
	uint16_t lsbHeaderMagic = 0;

	if (tree)
	{
		wassp_tree = tree;
		plength -= WASSP_HDR_LEN;

		switch (ru_msg_type)
		{
		case WASSP_RU_Discov:                            // 1
		case WASSP_RU_Register_Req:                      // 2
		case WASSP_RU_Register_Rsp:                      // 3
		case WASSP_RU_Authentication_Req:                // 4
		case WASSP_RU_Authentication_Rsp:                // 5
		case WASSP_RU_SW_Version_Validate_Req:           // 6
		case WASSP_RU_SW_Version_Validate_Rsp:           // 7
		case WASSP_RU_Config_Req:                        // 8
		case WASSP_RU_Config_Rsp:                        // 9
		case WASSP_RU_Ack:                               // 10
		case WASSP_RU_Config_Status_Notify:              // 11
		case WASSP_RU_Set_State_Req:                     // 12
		case WASSP_RU_Set_State_Rsp:                     // 13
		case WASSP_RU_Poll:                              // 16
		case WASSP_RU_SNMP_Req:                          // 17
		case WASSP_RU_SNMP_Rsp:                          // 18
		case WASSP_BP_Trap_Notify:                       // 19
		case WASSP_BP_Scan_Req:                          // 20
		case WASSP_RFM_Notify:                           // 21
		case WASSP_RU_SNMP_Alarm_Notify:                 // 22
		case WASSP_RU_SNMP_Set_Alarm_Clear:              // 23
		case WASSP_RU_SNMP_Set_Log_Status:               // 24
		case WASSP_RU_SNMP_Get_Log_Req:                  // 25
		case WASSP_RU_SNMP_Get_Log_Resp:                 // 26
		case WASSP_SEC_Update_Notify:                    // 27
		case WASSP_RU_STATS_Req:                         // 28
		case WASSP_RU_STATS_Rsp:                         // 29
		case WASSP_RU_UNUSED_30:                         // 30
		case WASSP_RU_UNUSED_31:                         // 31
		case WASSP_RU_Get_Req:                           // 32
		case WASSP_RU_Get_Rsp:                           // 33
		case WASSP_RU_Alarm_Notify:                      // 34
		case WASSP_RU_Set_Alarm_Clear:                   // 35
		case WASSP_RU_Get_Log_Req:                       // 36
		case WASSP_RU_Get_Log_Rsp:                       // 37
		case WASSP_RU_UNUSED_38:                         // 38
		case WASSP_RU_UNUSED_39:                         // 39
		case WASSP_P_PEER_DOWN_NOTIFY:                   // 40
		case WASSP_P_LINK_STATE_CHANGE_REQ:              // 41
		case WASSP_P_LINK_STATE_CHANGE_RSP:              // 42
		case WASSP_RU_GetIP_Req:                         // 44
		case WASSP_RU_GetIP_Rsp:                         // 45
		case WASSP_RU_LAMG_Update_Req:                   // 46
		case WASSP_RU_LAMG_Update_Rsp:                   // 47
		case WASSP_RU_Event_Req:                         // 48
		case WASSP_RU_Event_Rsp:                         // 49
		case WASSP_RU_BULK_MU_UPDATE_REQ:                // 50
		case WASSP_RU_BULK_MU_UPDATE_RSP:                // 51
		case WASSP_ROAMED_MU_FILTER_STATS_REQ:           // 52
		case WASSP_ROAMED_MU_FILTER_STATS_RESP:          // 53
		case WASSP_RU_AC_Event_Req:                      // 56
		case WASSP_RU_AC_Event_Rsp:                      // 57
		case WASSP_RU_Event_Notify:                      // 58
		case WASSP_RU_AC_EVENT:                          // 59
		case WASSP_WIDS_WIPS_Config_Req:                 // 60
		case WASSP_WIDS_WIPS_Config_Rsp:                 // 61
		case WASSP_Scan_Data_Notify:                     // 62
		case WASSP_Scan_Data_Notify_Ack:                 // 63
		case WASSP_Loc_Data_Notify:                      // 64
		case WASSP_Loc_Data_Notify_Ack:                  // 65
		case WASSP_RU_SW_Version_Validate_Ack:           // 66
		case WASSP_NEIGHBOUR_STATS_Rsp:                  // 67
		case WASSP_APPL_STATS_RESP:                      // 68
		case WASSP_AC_Register_Req:                      // 101
		case WASSP_AC_Register_Rsp:                      // 102
		case WASSP_AC_Deregister_Req:                    // 103
		case WASSP_AC_Deregister_Rsp:                    // 104
			goto tlv_dissect;
		case WASSP_RU_Stats_Notify:                      // 14
			/* Dissect SNMP encoded RU statistics */
			dissector_try_uint(wassp_dissector_table, WASSP_SNMP, tvb_new_subset_length(tvb, offset, plength), pinfo, wassp_tree);
			offset += plength;
			goto data_dissect;
		case WASSP_LBS_TAG_REPORT:                       // 55
			lsbHeaderMagic = tvb_get_ntohs(tvb, 36);
			call_dissector(ip_handle, tvb_new_subset_length(tvb, offset, plength), pinfo, wassp_tree);
			if (lsbHeaderMagic == LBS_HDR_MAGIC)
				offset = decode_lbs_tag_header(wassp_tree, tvb, offset + 28);
			else
			{
				return;
			}
			goto data_dissect;
		case WASSP_Data:                            // 15
			offset = dissect_wassp_mu(wassp_tree, tvb, pinfo, offset, plength);
			goto data_dissect;
		default:
			offset += plength;
			goto data_dissect;
		}
tlv_dissect:
		/* Dissect all RU messages containing TLVs */
		offset = dissect_wassp_tlv(wassp_tree, tvb, pinfo, offset, ru_msg_type);
data_dissect:
		/* Call data dissector on any remaining bytes */
		call_dissector(data_handle, tvb_new_subset_length(tvb, offset, -1), pinfo, wassp_tree);
	}
}




static int dissect_wassp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
{

	proto_item *ti, *temp;
	proto_tree *wassp_tree;
	proto_tree *wassp_header_tree, *ru_discover_header_tree, *wassp_seq_flag_tree;
	wassp_ru_msg_t ru_msg_type;
	int offset = 0;
	uint16_t flag = 0, seq_number = 0;
	uint32_t fragment = false, complete = true;
	uint32_t remain_len = 0, length;
	fragment_head *wassp_frag_msg = NULL;
	bool       save_fragmented;
	tvbuff_t *next_tvb = NULL, *combined_tvb = NULL;
	const char *label;
	conversation_t  *conv = NULL;
	uint32_t reassembly_id;

	/**********************************************************************************************************************************************************
	   UDP Port = 13910 --> Wassp Protocol
	   UDP port = 13907 --> Access Point Discover

	   Wassp header format:
		 Byte 1    Byte 2   Byte 3 and Byte 4    Byte 5 and Byte 6    Byte 7 and Byte 8
	   | Version | Type   | Seq. Number & Flag |     Session ID    |  Length of Payload |

	  RU discover header format:
		Byte 1    Byte 2   Byte 3 and Byte 4    Byte 5 and Byte 6    Byte 7 and Byte 8   Byte 7 and Byte 8      Byte 9 to Byte 12 if mac, else Byte 9 to Byte 10 for operation
	  | Version | Type   |   Random Number   | Length of Payload    |  Check Sum       | Controller Operation |  Mac or Operation

	************************************************************************************************************************************************************/

	col_set_str(pinfo->cinfo, COL_PROTOCOL, PROTO_SHORT_NAME);
	remain_len = tvb_reported_length_remaining(tvb, WASSP_HDR_VERSION);
	next_tvb = tvb;
	ru_msg_type = (wassp_ru_msg_t)tvb_get_uint8(tvb, WASSP_HDR_TYPE);

	if ( ru_msg_type == WASSP_Data ) // wassp mu header
	{
		label = val_to_str_const(tvb_get_uint8(tvb, WASSP_HDR_LEN + WASSP_MU_HDR_TYPE), wassp_mu_header_types, "Unknown WASSP MU Message Type");
		col_add_str(pinfo->cinfo, COL_INFO, label);
	}
	else if (ru_msg_type == WASSP_RU_Discov) /* ap discover header*/
	{
		if (tvb_get_ntohs(tvb, RU_HDR_AC_OP) == RU_DISCOVER_OP_MODE)
			col_set_str(pinfo->cinfo, COL_INFO, "RU Discover Request");
		else
			col_set_str(pinfo->cinfo, COL_INFO, "RU Discover Response");
	}
	else
	{
		col_set_str(pinfo->cinfo, COL_INFO, val_to_str_const(tvb_get_uint8(tvb, WASSP_HDR_TYPE), wassp_header_types, "Unknown WASSP Message Type"));
	}

	save_fragmented = pinfo->fragmented;

	ti = proto_tree_add_item(tree, proto_wassp, tvb, offset, -1, ENC_NA);
	wassp_tree = proto_item_add_subtree(ti, ett_wassp);

	if (ru_msg_type == WASSP_RU_Discov)  /* UDP port = 13907, ap discover tlv, decode AP discover header */
	{
		flag = tvb_get_ntohs(tvb, RU_HDR_AC_OP);
		if ( flag == RU_HDR_CONTAIN_MAC) // ru mac or ac-mode
			length = RU_HEADER_WITH_MAC_LEN;
		else
			length = RU_HEADER_WITHOUT_MAC_LEN;

		temp = proto_tree_add_item(wassp_tree, hf_ru_discover_header, tvb, RU_HDR_VERSION, length, ENC_NA);
		ru_discover_header_tree = proto_item_add_subtree(temp, ett_ru_discover_header);
		proto_tree_add_item(ru_discover_header_tree, hf_wassp_version, tvb, RU_HDR_VERSION, 1, ENC_BIG_ENDIAN);
		proto_item_append_text(ti, ", %s", (char*)try_val_to_str(ru_msg_type, wassp_header_types)); //Update WASSP protocol with message type
		proto_tree_add_item(ru_discover_header_tree, hf_wassp_type, tvb, RU_HDR_TYPE, 1, ENC_BIG_ENDIAN);
		proto_tree_add_item(ru_discover_header_tree, hf_ru_rad_num, tvb, RU_HDR_RAD_NUM, 2, ENC_BIG_ENDIAN);
		proto_tree_add_item(ru_discover_header_tree, hf_wassp_length, tvb, RU_HDR_LENGTH, 2, ENC_BIG_ENDIAN);
		proto_tree_add_item(ru_discover_header_tree, hf_ru_checksum, tvb, RU_HDR_CHECKSUM, 2, ENC_BIG_ENDIAN);
		proto_tree_add_item(ru_discover_header_tree, hf_ru_ac_op, tvb, RU_HDR_AC_OP, 2, ENC_BIG_ENDIAN);
		if ( flag == RU_HDR_CONTAIN_MAC) // ru mac or ac-mode
			proto_tree_add_item(ru_discover_header_tree, hf_ru_mac, tvb, RU_HDR_MAC, 6, ENC_NA);
		else
			proto_tree_add_item(ru_discover_header_tree, hf_ru_ac_mode, tvb, RU_HDR_AC_MODE, 2, ENC_BIG_ENDIAN);
		offset = length;
	}
	else /* UDP port = 13910, decode Wassp protocol header */
	{
		temp = proto_tree_add_item(wassp_tree, hf_wassp_header, tvb, WASSP_HDR_VERSION, WASSP_HDR_LEN, ENC_NA);
		wassp_header_tree = proto_item_add_subtree(temp, ett_wassp_header);
		flag = tvb_get_ntohs(tvb, WASSP_HDR_SEQ_NUM);
		/* seq_number used 10 bits only */
		seq_number = flag >> 6;
		proto_tree_add_item(wassp_header_tree, hf_wassp_version, tvb, WASSP_HDR_VERSION, 1, ENC_NA);
		proto_item_append_text(ti, ", %s", (char*)try_val_to_str(ru_msg_type, wassp_header_types)); //Update WASSP protocol with message type
		proto_tree_add_item(wassp_header_tree, hf_wassp_type, tvb, WASSP_HDR_TYPE, 1, ENC_BIG_ENDIAN);
		temp = proto_tree_add_item(wassp_header_tree, hf_wassp_seq_num_flag, tvb, WASSP_HDR_SEQ_NUM, 2, ENC_BIG_ENDIAN);
		wassp_seq_flag_tree = proto_item_add_subtree(temp, ett_seq_flags);
		proto_tree_add_item(wassp_seq_flag_tree, hf_seq_num, tvb, WASSP_HDR_SEQ_NUM, 2, ENC_BIG_ENDIAN);
		proto_tree_add_item(wassp_seq_flag_tree, hf_wassp_use_frag, tvb, WASSP_HDR_SEQ_NUM, 2, ENC_BIG_ENDIAN);
		proto_tree_add_item(wassp_seq_flag_tree, hf_wassp_data_frag, tvb, WASSP_HDR_SEQ_NUM, 2, ENC_BIG_ENDIAN);
		proto_tree_add_item(wassp_seq_flag_tree, hf_wassp_more_frag, tvb, WASSP_HDR_SEQ_NUM, 2, ENC_BIG_ENDIAN);
		proto_tree_add_item(wassp_seq_flag_tree, hf_wassp_first_frag, tvb, WASSP_HDR_SEQ_NUM, 2, ENC_BIG_ENDIAN);
		proto_tree_add_item(wassp_header_tree, hf_wassp_sessionid, tvb, WASSP_HDR_SESSIONID, 2, ENC_BIG_ENDIAN);/* display session id  */
		proto_tree_add_item(wassp_header_tree, hf_wassp_length, tvb, WASSP_HDR_PLENGTH, 2, ENC_BIG_ENDIAN);

		if ( flag & RU_WASSP_FLAGS_USE_FRAGMENTATION)
		{
			fragment = true;
			complete = false;
		}
		offset = WASSP_HDR_LEN;
	}


	if (fragment)   /* fragmented */
	{
		pinfo->fragmented = true;
		offset = WASSP_HDR_LEN;
		conv = find_conversation_pinfo(pinfo, 0);
		DISSECTOR_ASSERT(conv);
		reassembly_id = (((conv->conv_index) & 0x00FFFFFF) << 8) + ru_msg_type;
		wassp_frag_msg = fragment_add_seq_next(&wassp_reassembled_table, tvb, offset, pinfo, reassembly_id, NULL, remain_len - WASSP_HDR_LEN, flag & RU_WASSP_FLAGS_MORE_FRAGMENTS_FOLLOWING);
		if ( wassp_frag_msg )
			combined_tvb = process_reassembled_data(tvb, offset, pinfo, "Reassembled Wassp", wassp_frag_msg, &wassp_frag_items, NULL, wassp_tree);

		if ( combined_tvb)
		{
			col_append_str(pinfo->cinfo, COL_INFO, " (Message Reassembled)");
			next_tvb = combined_tvb;
			complete = true;
			offset = 0;
		}
		else
		{
			col_append_fstr(pinfo->cinfo, COL_INFO, " (Message fragment %u)", seq_number);
			next_tvb = tvb_new_subset_length(tvb, WASSP_HDR_LEN, -1);
		}
	}


	if (complete)
		dissect_unfragmented_wassp(next_tvb, pinfo, wassp_tree, remain_len, ru_msg_type, offset);

	pinfo->fragmented = save_fragmented;
	return 1;
}





/* Register WASSP protocol */
void proto_register_wassp(void)
{
	static hf_register_info hf[] =
	{
		{
			&hf_aeroscout_header,
			{
				"Location Base Service Header", "wassp.aeroscout.header", FT_BYTES, BASE_NONE, NULL,
				0x0, "Aeroscout header", HFILL
			}
		},
		{
			&hf_aeroscout_header_magic_number,
			{
				"Header Magic Number", "wassp.aeroscout.header_magic", FT_UINT16, BASE_HEX, NULL,
				0x0, "Aeroscout header magic number", HFILL
			}
		},
		{
			&hf_aeroscout_request_id,
			{
				"Request ID", "wassp.aeroscout.request_id", FT_UINT16, BASE_DEC, NULL,
				0x0, "Aeroscout Request ID", HFILL
			}
		},
		{
			&hf_aeroscout_code,
			{
				"Operation Code", "wassp.aeroscout.code", FT_UINT8, BASE_DEC, NULL,
				0x0, "Aeroscout Operation Code", HFILL
			}
		},

		{
			&hf_aeroscout_sub_code,
			{
				"Operation Sub Code", "wassp.aeroscout.sub_code", FT_UINT8, BASE_DEC, NULL,
				0x0, "Aeroscout Operation Sub Code", HFILL
			}
		},
		{
			&hf_aeroscout_datalength,
			{
				"Length of Data Payload", "wassp.aeroscout.datalength", FT_UINT16, BASE_DEC, NULL,
				0x0, "Aeroscout Length of Data Payload", HFILL
			}
		},
		{
			&hf_lbs_vendor_id,
			{
				"Location Base Service Vendor ID", "wassp.lbs.vendor_id", FT_UINT16, BASE_DEC, NULL,
				0x0, "LBS TAG Vendor ID", HFILL
			}
		},
		{
			&hf_lbs_rsvd1,
			{
				"LBS Rsvd", "wassp.lbs.rsvd1", FT_UINT16, BASE_HEX, NULL,
				0x0, "LBS TAG rsvd", HFILL
			}
		},
		{
			&hf_lbs_ap_bssid,
			{
				"Location Base Service AccessPoint BSSID", "wassp.lbs.ap_bssid", FT_BYTES, BASE_NONE, NULL,
				0x0, "LBS TAG ap bssid", HFILL
			}
		},
		{
			&hf_lbs_rsvd2,
			{
				"LBS Rsvd", "wassp.lbs.rsvd2", FT_UINT8, BASE_HEX, NULL,
				0x0, "LBS TAG rsvd2", HFILL
			}
		},
		{
			&hf_lbs_rxchan,
			{
				"LBS rxchan", "wassp.lbs.rxchan", FT_UINT8, BASE_DEC, NULL,
				0x0, "LBS TAG rxchan", HFILL
			}
		},

		{
			&hf_lsb_tstamp,
			{
				"Location Base Service Time Stamp", "wassp.lbs.tstamp", FT_UINT32, BASE_DEC, NULL,
				0x0, "LBS TAG tstamp", HFILL
			}
		},
		{
			&hf_lsb_rsvd3,
			{
				"LBS Rsvd", "wassp.lbs.rsvd3", FT_UINT16, BASE_HEX, NULL,
				0x0, "LBS TAG  rsvd3", HFILL
			}
		},
		{
			&hf_lsb_rssi,
			{
				"Location Base Service RSSI", "wassp.lbs.rssi", FT_INT8, BASE_DEC, NULL,
				0x0, "LBS TAG rssi", HFILL
			}
		},
		{
			&hf_lsb_rsvd,
			{
				"LBS Rsvd", "wassp.lbs.rsvd", FT_UINT8, BASE_HEX, NULL,
				0x0, "LBS TAG rsvd4", HFILL
			}
		},
		{
			&hf_lsb_noise_floor,
			{
				"LBS Noise Floor", "wassp.lsb.noise_floor", FT_INT8, BASE_DEC, NULL,
				0x0, "LBS TAG noise floor", HFILL
			}
		},
		{
			&hf_lsb_rsvd4,
			{
				"LBS Rsvd", "wassp.lsb.rsvd4", FT_UINT24, BASE_HEX, NULL,
				0x0, "LBS TAG rsvd5", HFILL
			}
		},
		{
			&hf_lsb_chan_rate,
			{
				"LBS channel Rate", "wassp.lsb.chan_rate", FT_UINT8, BASE_DEC, NULL,
				0x0, "LBS TAG channel rate", HFILL
			}
		},
		{
			&hf_lsb_rsvd5,
			{
				"LBS Rsvd", "wassp.lsb.rsvd5", FT_UINT8, BASE_HEX, NULL,
				0x0, "LBS TAG rsvd6", HFILL
			}
		},
		{
			&hf_lsb_wh_fc,
			{
				"LBS Wireless Header Frame Control", "wassp.lsb.wh_fc", FT_UINT16, BASE_HEX, NULL,
				0x0, "LBS TAG Frame Control", HFILL
			}
		},
		{
			&hf_lsb_wh_seq,
			{
				"LBS Wireless Header Sequence Number", "wassp.hf_lsb_wh_seq", FT_UINT16, BASE_HEX, NULL,
				0x0, "LBS TAG Sequence Number", HFILL
			}
		},
		{
			&hf_lsb_rsvd6,
			{
				"LBS Rsvd", "wassp.lsb.rsvd6", FT_UINT16, BASE_HEX, NULL,
				0x0, "LBS TAG rsvd7", HFILL
			}
		},
		{
			&hf_lsb_wh_addr2,
			{
				"MAC address2", "wassp.data.mu_mac", FT_ETHER, BASE_NONE, NULL,
				0x0, "Mobile Unit Ethernet address", HFILL
			}
		},
		{
			&hf_lsb_wh_addr3,
			{
				"MAC address3", "wassp.data.mu_mac", FT_ETHER, BASE_NONE, NULL,
				0x0, "Mobile Unit Ethernet address", HFILL
			}
		},
		{
			&hf_lsb_wh_addr4,
			{
				"MAC address4", "wassp.data.mu_mac", FT_ETHER, BASE_NONE, NULL,
				0x0, "Mobile Unit Ethernet address", HFILL
			}
		},
		{
			&hf_wassp_version,
			{
				"Version", "wassp.version", FT_UINT8, BASE_DEC, NULL,
				0x0, "Wassp Protocol Version", HFILL
			}
		},
		/* ru discover header */
		{
			&hf_ru_rad_num,
			{
				"RU Random Number", "wassp.ru_xid", FT_UINT16, BASE_DEC, NULL,
				0x0, "random number for checking the session", HFILL
			}
		},
		{
			&hf_ru_checksum,
			{
				"RU Messages Checksum", "wassp.ru_checksum", FT_UINT16, BASE_DEC, NULL,
				0x0, "AccessPoint messages checksum", HFILL
			}
		},
		{
			&hf_ru_ac_op,
			{
				"Controller Operation", "wassp.ru_ac_op", FT_UINT16, BASE_DEC, NULL,
				0x0, NULL, HFILL
			}
		},
		{
			&hf_ru_ac_mode,
			{
				"Controller Operation Mode", "wassp.ru_ac_mode", FT_UINT16, BASE_DEC, NULL,
				0x0, NULL, HFILL
			}
		},
		{
			&hf_ru_mac,
			{
				"AP MAC address", "wassp.ru_mac", FT_ETHER, BASE_NONE, NULL,
				0x0, "AP Ethernet address", HFILL
			}
		},
		{
			&hf_ru_discover_header,
			{
				"RU Discover Header", "wassp.ru.header", FT_BYTES, BASE_NONE, NULL ,
				0x0, "AccessPoint Discover Header", HFILL
			}
		},
		{
			&hf_wassp_header,
			{
				"Wassp Header", "wassp.header", FT_BYTES, BASE_NONE, NULL ,
				0x0, "Wassp Message Header", HFILL
			}
		},
		{
			&hf_wassp_type,
			{
				"WASSP Type", "wassp.type", FT_UINT8, BASE_DEC,
				VALS(wassp_header_types), 0x0, "Wassp message type", HFILL
			}
		},
		{
			&hf_wassp_seq_num_flag,
			{
				"Sequence Number & Flag", "wassp.seq_num_flag", FT_UINT16, BASE_DEC,  NULL,
				0x0, "Sequence number and flag for multi-message", HFILL
			}
		},
		{
			&hf_seq_num,
			{
				"Sequence Number", "wassp.seq_num", FT_UINT16, BASE_DEC,  NULL,
				0xffc0, "Sequence number for multi-message", HFILL
			}
		},
		{
			&hf_wassp_use_frag,
			{
				"Wassp Use Fragmentation", "wassp.use_frag", FT_BOOLEAN, 6,  NULL,
				0x8, "Wassp Packet Use Fragmentation", HFILL
			}
		},
		{
			&hf_wassp_data_frag,
			{
				"Wassp Data Fragmentation", "wassp.data_frag", FT_BOOLEAN, 6,  NULL,
				0x2, NULL, HFILL
			}
		},
		{
			&hf_wassp_more_frag,
			{
				"Fragments following", "wassp.following_frag", FT_BOOLEAN, 6,  NULL,
				0x1, "Wassp Fragments following", HFILL
			}
		},
		{
			&hf_wassp_first_frag,
			{
				"Not First fragment packet", "wassp.no_first_frag", FT_BOOLEAN, 6, NULL,
				0x4, "Wassp Not First Fragment Packet", HFILL
			}
		},
		{
			&hf_wassp_sessionid,
			{
				"Session ID", "wassp.session_id", FT_UINT16, BASE_DEC, NULL,
				0x0, "Concentrator Session ID", HFILL
			}
		},
		{
			&hf_wassp_length,
			{
				"Length", "wassp.length", FT_UINT16, BASE_DEC, NULL,
				0x0, "Length of Payload", HFILL
			}
		},
		/* wassp MU data  ---  start */
		{
			&hf_wassp_mu_data_tree,
			{
				"WASSP MU Data tree", "wassp.mu.data.subtree",
				FT_NONE, BASE_NONE, NULL, 0x00,
				NULL, HFILL
			}
		},
		{
			&hf_wassp_mu_data_header,
			{
				"Wassp MU Data Header", "wassp.mu_data_header", FT_BYTES, BASE_NONE, NULL,
				0x0, NULL, HFILL
			}
		},
		{
			&hf_wassp_mu_type,
			{
				"Type", "wassp.data.mu_type", FT_UINT8, BASE_DEC, NULL,
				0x0, "Wassp MU message type", HFILL
			}
		},
		{
			&hf_wassp_mu_qos,
			{
				"QOS", "wassp.data.mu_qos", FT_UINT8, BASE_DEC, NULL,
				0x0, "Quality of Service identifier", HFILL
			}
		},
		{
			&hf_wassp_mu_action_ssid,
			{
				"Action & SSID/Vlan ID", "wassp.data.mu_action_ssid",  FT_UINT16, BASE_DEC,  NULL,
				0x0, "Action and where device is currently registered", HFILL
			}
		},
		{
			&hf_wassp_mu_action,
			{
				"Action", "wassp.data.mu_action",  FT_UINT16, BASE_HEX, VALS(mu_action_field_strings),
				0xf000, "Notify what kind of action", HFILL
			}
		},

		{
			&hf_wassp_mu_action_field_value,
			{
				"SSID/Vlan ID", "wassp.data.mu_action_field_value",  FT_UINT16, BASE_DEC,  NULL,
				0x0fff, "SSID value or VlanID value", HFILL
			}
		},
		{
			&hf_wassp_mu_resv0,
			{
				"Reserved0", "wassp.data.mu_resv0", FT_UINT16, BASE_HEX, VALS(mu_resv0_strings),
				0x0, "MU data Reserved0 or Flag", HFILL
			}
		},
		{
			&hf_wassp_mu_resv1,
			{
				"Reserved1", "wassp.data.mu_resv1", FT_UINT16, BASE_DEC, NULL,
				0x0, "MU data Reserved 1", HFILL
			}
		},
		{
			&hf_wassp_mu_assoc_status,
			{
				"Association Status", "wassp.data.mu_assoc_status", FT_UINT8, BASE_CUSTOM,  CF_FUNC(mu_association_status),
				0x0, "MU Association Status", HFILL
			}
		},
		{
			&hf_wassp_mu_mac,
			{
				"MAC address", "wassp.data.mu_mac", FT_ETHER, BASE_NONE, NULL,
				0x0, "Mobile Unit Ethernet address", HFILL
			}
		},
		/*  netflow  */
		{
			&hf_wassp_mu_netflow_tree,
			{
				"WASSP MU Data NetFlow Tree", "wassp.mu.data.netflow.subtree", FT_NONE, BASE_NONE, NULL,
				0x0, NULL, HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_header,
			{
				"Wassp MU Data NetFlow Header", "wassp.mu_data_netflow_header", FT_BYTES, BASE_NONE, NULL,
				0x0, NULL, HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_version,
			{
				"Version", "wassp.data.mu_netflow_version", FT_UINT16, BASE_DEC, NULL,
				0x0, "MU NetFlow Version", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_length,
			{
				"Length", "wassp.data.mu_netflow_length", FT_UINT16, BASE_DEC, NULL,
				0x0, "MU NetFlow Length", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_flags,
			{
				"Flag", "wassp.data.mu_netflow_flag", FT_UINT16, BASE_HEX, NULL,
				0x0, "MU NetFlow Flag", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_uptime,
			{
				"UpTime", "wassp.data.mu_netflow_uptime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL,
				0x0, "MU NetFlow Up Time", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_record,
			{
				"Record", "wassp.data.mu_netflow_record", FT_BYTES, BASE_NONE, NULL,
				0x0, "MU NetFlow Record", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_in_bytes,
			{
				"InBytes", "wassp.data.mu_netflow_inbytes", FT_UINT32, BASE_DEC, NULL,
				0x0, "MU NetFlow In Bytes", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_in_packets,
			{
				"InPackets", "wassp.data.mu_netflow_inpackets", FT_UINT32, BASE_DEC, NULL,
				0x0, "MU NetFlow In Packets", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_ip_protocol_number,
			{
				"Protocol", "wassp.data.mu_netflow_protocol", FT_UINT8, BASE_DEC, NULL,
				0x0, "MU NetFlow IP Protocol", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_source_tos,
			{
				"Source TOS", "wassp.data.mu_netflow_tos", FT_UINT8, BASE_HEX, NULL,
				0x0, "MU NetFlow Source TOS", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_source_port,
			{
				"Source Port", "wassp.data.mu_netflow_source_port", FT_INT16, BASE_DEC, NULL,
				0x0, "MU NetFlow Source Port", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_source_ip,
			{
				"IP", "wassp.data.mu_netflow_source_ip", FT_IPv4, BASE_NONE, NULL,
				0x0, "MU NetFlow Source IP", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_input_snmp,
			{
				"In SNMP", "wassp.data.mu_netflow_in_snmp", FT_UINT16, BASE_DEC, NULL,
				0x0, "MU NetFlow In Snmp", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_dest_port,
			{
				"Dest Port", "wassp.data.mu_netflow_dest_port", FT_INT16, BASE_DEC, NULL,
				0x0, "MU NetFlow Dest Port", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_dest_ip,
			{
				"Dest IP", "wassp.data.mu_netflow_dest_ip", FT_IPv4, BASE_NONE, NULL,
				0x0, "MU NetFlow Dest IP", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_output_snmp,
			{
				"Out SNMP", "wassp.data.mu_netflow_out_snmp", FT_UINT16, BASE_DEC, NULL,
				0x0, "MU NetFlow Out Snmp", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_last_time,
			{
				"Last Time", "wassp.data.mu_netflow_last_time", FT_UINT32, BASE_DEC, NULL,
				0x0, "MU NetFlow Last Time", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_first_time,
			{
				"First Time", "wassp.data.mu_netflow_first_time", FT_UINT32, BASE_DEC, NULL,
				0x0, "MU NetFlow First Time", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_in_source_mac,
			{
				"Source Mac", "wassp.data.mu_netflow_source_mac", FT_ETHER, BASE_NONE, NULL,
				0x0, "MU NetFlow Source MAC Address", HFILL
			}
		},
		{
			&hf_wassp_mu_netflow_in_dest_mac,
			{
				"Dest Mac", "wassp.data.mu_netflow_dest_mac", FT_ETHER, BASE_NONE, NULL,
				0x0, "MU NetFlow Dest MAC Address", HFILL
			}
		},
		/* wassp TLV   */
		{
			&hf_wassp_tlv_value,
			{
				"Wassp TLV", "wassp.tlv.value", FT_NONE, BASE_NONE, NULL,
				0x0, "Wassp TLV in hexadecimal", HFILL
			}
		},
		{
			&hf_wassp_tlv_type_main,
			{
				"Type", "wassp.tlv.type", FT_UINT16, BASE_DEC, VALS(wassp_tlv_types),
				0x0, "Wassp TLV type", HFILL
			}
		},
		{
			&hf_wassp_tlv_type_sub,
			{
				"Type", "wassp.tlv.type", FT_NONE, BASE_NONE, NULL,
				0x0, "Wassp TLV type", HFILL
			}
		},
		{
			&hf_wassp_tlv_length,
			{
				"Length", "wassp.tlv.length", FT_UINT16, BASE_DEC, NULL,
				0x0, "Wassp TLV length", HFILL
			}
		},
		{
			&hf_wassp_tlv_value_octext,
			{
				"value", "wassp.tlv.value_octext", FT_BYTES, BASE_NONE, NULL,
				0x0, "Wassp TLV Value in hexadecimal", HFILL
			}
		},
		{
			&hf_wassp_tlv_value_string,
			{
				"Value", "wassp.tlv.valuestr", FT_STRING, BASE_NONE, NULL,
				0x0, "Wassp TLV Value in string format", HFILL
			}
		},
		{
			&hf_wassp_tlv_value_ip,
			{
				"Value", "wassp.tlv.valueip", FT_IPv4, BASE_NONE, NULL,
				0x0, "Wassp TLV Value in IP format", HFILL
			}
		},
		{
			&hf_wassp_tlv_value_int,
			{
				"Value", "wassp.tlv.valueint", FT_UINT8, BASE_DEC, NULL,
				0x0, "Wassp TLV Value in an integer", HFILL
			}
		},
		{
			&hf_wassp_tlv_eid_status,
			{
				"Status", "wassp.tlv.eid.status", FT_UINT32, BASE_DEC, VALS(wassp_eid_status_types),
				0x0, "Explicit indication of request's status", HFILL
			}
		},
		{
			&hf_wassp_tlv_eid_action,
			{
				"action", "wassp.tlv.eid.action", FT_UINT32, BASE_DEC, VALS(wassp_eid_action_types),
				0x0, "upgrade action request", HFILL
			}
		},
		{
			&hf_wassp_tlv_eid_rustate,
			{
				"RU State", "wassp.tlv.eid.rustate", FT_BOOLEAN, BASE_NONE, TFS(&wassp_eid_rustate_types),
				0x0, "Remote Unit State", HFILL
			}
		},
		{
			&hf_wassp_ipaddress,
			{
				"IPv4 address", "wassp.ipaddress", FT_IPv4, BASE_NONE, NULL,
				0x0, "IPv4 IP address", HFILL
			}
		},
		/*  fragmentation */
		{
			&hf_wassp_fragment_overlap,
			{
				"Fragment overlap",    "wassp.fragment.overlap", FT_BOOLEAN, BASE_NONE, NULL,
				0x0, "Fragment overlaps with other fragments", HFILL
			}
		},
		{
			&hf_wassp_fragment_overlap_conflict,
			{
				"Conflicting data in fragment overlap",    "wassp.fragment.overlap.conflict", FT_BOOLEAN, BASE_NONE, NULL,
				0x0, "Overlapping fragments contained conflicting data", HFILL
			}
		},
		{
			&hf_wassp_fragment_multiple_tails,
			{
				"Multiple tail fragments found",    "wassp.fragment.multipletails", FT_BOOLEAN, BASE_NONE, NULL,
				0x0, "Several tails were found when defragmenting the packet", HFILL
			}
		},
		{
			&hf_wassp_fragment_too_long_fragment,
			{
				"Fragment too long",    "wassp.fragment.toolongfragment", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
				"Fragment contained data past end of packet", HFILL
			}
		},
		{
			&hf_wassp_fragment_error,
			{
				"Defragmentation error", "wassp.fragment.error", FT_FRAMENUM, BASE_NONE, NULL,
				0x0, "Defragmentation error due to illegal fragments", HFILL
			}
		},
		{
			&hf_wassp_fragment,
			{
				"WASSP Fragment", "wassp.fragment", FT_FRAMENUM, BASE_NONE, NULL,
				0x0, "wassp Fragmented", HFILL
			}
		},
		{
			&hf_wassp_fragments,
			{
				"WASSP Fragments", "wassp.fragments", FT_NONE, BASE_NONE, NULL,
				0x0, "wassp more Fragments", HFILL
			}
		},
		{
			&hf_wassp_fragment_count,
			{
				"WASSP Fragment count", "wassp.fragment.count", FT_UINT32, BASE_DEC, NULL,
				0x0, NULL, HFILL
			}
		},
		{
			&hf_wassp_reassembled_in,
			{
				"Reassembled WASSP in frame", "wassp.reassembled_in", FT_FRAMENUM, BASE_NONE, NULL,
				0x0, "This WASSP frame is reassembled in this frame", HFILL
			}
		},
		{
			&hf_wassp_reassembled_length,
			{
				"Reassembled WASSP length", "wassp.reassembled.length", FT_UINT32, BASE_DEC, NULL,
				0x0, "The total length of the reassembled payload", HFILL
			}
		},
		{
			&hf_wassp_sub_tree,
			{
				"WASSP Sub TLV Block", "wassp.subtree", FT_NONE, BASE_NONE, NULL,
				0x0, "WASSP sub tree", HFILL
			}
		},
		{
			&hf_wassp_tlv_unknown,
			{
				"WASSP unknown tlv", "wassp.tlv.unknown", FT_UINT32, BASE_DEC, NULL,
				0x0, NULL, HFILL
			}
		},
		{
			&hf_wassp_tlv_invalid,
			{
				"WASSP invalid tlv", "wassp.tlv.invalid", FT_UINT32, BASE_DEC, NULL,
				0x0, NULL, HFILL
			}
		},
		{
			&hf_wassp_topologykey,
			{
				"Topology Key", "wassp.topology_key", FT_UINT16, BASE_DEC, NULL,
				0x0, "Topology ID", HFILL
			}
		},
		{
			&hf_wassp_vlanid,
			{
				"Vlan ID", "wassp.vlan_id", FT_UINT16, BASE_DEC, NULL,
				0x0, "Vlan Number", HFILL
			}
		},
		{
			&hf_wassp_topology_mode,
			{
				"Topology Mode", "wassp.topology_mode", FT_UINT16,BASE_CUSTOM,  CF_FUNC(topology_moder_print),
				0x0, "Wassp Topology Mode", HFILL
			}
		},
		{
			&hf_wassp_in_cir,
			{
				"Committed Information Rate(In direction)", "wassp.in_cir", FT_UINT16, BASE_DEC, NULL,
				0x0, "Committed Information Rate", HFILL
			}
		},
		{
			&hf_wassp_out_cir,
			{
				"Committed Information Rate(out direction)", "wassp.out_cir", FT_UINT16, BASE_DEC, NULL,
				0x0, "Committed Information Rate", HFILL
			}
		},
		{
			&hf_wassp_flag_1b,
			{
				"Flag (1 byte)", "wassp.flag.1b", FT_UINT8, BASE_HEX, NULL,
				0x0, NULL, HFILL
			}
		},
		{
			&hf_wassp_tos,
			{
				"Type of Service", "wassp.tos", FT_UINT8, BASE_HEX, NULL,
				0x0, "Tos", HFILL
			}
		},
		{
			&hf_cos_tos,
			{
				"COS Tos", "wassp.cos_tos", FT_UINT8, BASE_HEX, NULL, 0x00,
				NULL, HFILL
			}
		},
		{
			&hf_wassp_tos_mask,
			{
				"Type of Service Mask", "wassp.tos.mask", FT_UINT8, BASE_HEX, NULL,
				0x0, "ToS Mask", HFILL
			}
		},
		{
			&hf_cos_tos_mask,
			{
				"Class of Service ToS Mask", "wassp.cos_tos.mask", FT_UINT8, BASE_HEX, NULL,
				0x0, "Cos Tos Mask", HFILL
			}
		},
		{
			&hf_filter_tos_maskbit_priority,
			{
				"Mask bit and Priority", "wassp.mask_bit", FT_UINT8,  BASE_CUSTOM,  CF_FUNC(maskbit_priority_print),
				0xff, NULL, HFILL
			}
		},
		{
			&hf_wassp_priority,
			{
				"Priority bit", "wassp.priority", FT_BOOLEAN, 8, NULL,
				0xff, NULL, HFILL
			}
		},
		{
			&hf_cos_priority_txq,
			{
				"COS Priority and TxQ", "wassp.cos_priority_txq", FT_UINT8,  BASE_CUSTOM,  CF_FUNC(cos_priority_txq_print),
				0x0, "Cos Priority and Transmit Queue", HFILL
			}
		},
		{
			&hf_cos_rateid,
			{
				"COS In&Out Rate Id", "wassp.rate_id", FT_UINT8,  BASE_CUSTOM,  CF_FUNC(cos_rate_id_print),
				0x0, NULL, HFILL
			}
		},
		{
			&hf_wassp_filter_rule,
			{
				"WASSP Filter Rule", "wassp.filter.rule", FT_BYTES, BASE_NONE, NULL,
				0x0, NULL, HFILL
			}
		},
		{
			&hf_wassp_filter_flag,
			{
				"WASSP Filter Flag", "wassp.filter.flag", FT_UINT32, BASE_HEX, NULL,
				0x0, NULL, HFILL
			}
		},
		{
			&hf_filter_rule_port_range,
			{
				"TCP/UDP Port range", "wassp.port", FT_UINT32, BASE_CUSTOM,  CF_FUNC(port_range_print),
				0x0, "WASSP TCP/UDP Port", HFILL
			}
		},
		{
			&hf_wassp_ipprotocol,
			{
				"IP Protocol", "wassp.ip_protocol", FT_UINT8, BASE_DEC, NULL,
				0x0, "WASSP IP Protocol", HFILL
			}
		},
		{
			&hf_wassp_netmasklength,
			{
				"Netmask Length Bit", "wassp.netmask_length", FT_UINT8, BASE_DEC, NULL,
				0x0, "WASSP Netmask Length Bit", HFILL
			}
		},
		{
			&hf_wassp_macaddr,
			{
				"MAC address", "wassp.mac_address", FT_ETHER, BASE_NONE, NULL,
				0x0, "WASSP MAC address", HFILL
			}
		},
		{
			&hf_wassp_macaddr_mask,
			{
				"MAC address mask", "wassp.mac_address.mask", FT_ETHER, BASE_NONE, NULL,
				0x0, NULL, HFILL
			}
		},
		{
			&hf_wassp_ethernet_type,
			{
				"Ethernet Type", "wassp.ethernet_type", FT_UINT16, BASE_HEX, NULL,
				0x0, "Ethernet Type Field", HFILL
			}
		},
		{
			&hf_wassp_reserve,
			{
				"Reserve", "wassp.reserve", FT_UINT16, BASE_DEC, NULL,
				0x0, "Reserve value", HFILL
			}
		},
		{
			&hf_wassp_freq,
			{
				"Freq in MHz", "wassp.freq", FT_UINT16, BASE_DEC, NULL,
				0x0, "WASSP Freq", HFILL
			}
		},
		{
			&hf_wassp_rss,
			{
				"RSS", "wassp.rss", FT_UINT16, BASE_DEC, NULL,
				0x0, "WASSP RSS", HFILL
			}
		},
		{
			&hf_wassp_rssi,
			{
				"RSSI", "wassp.rssi", FT_UINT16, BASE_DEC, NULL,
				0x0, "WASSP RSSI", HFILL
			}
		},
		{
			&hf_wassp_threatstate,
			{
				"WASSP Threat State", "wassp.threat_state", FT_UINT8, BASE_HEX, VALS(threat_state_strings),
				0x0, "WASSP Threat State (NA/Active/Inactive)", HFILL
			}
		},
		{
			&hf_wassp_radioparams,
			{
				"Radio Params QOS", "wassp.radio_params", FT_UINT8, BASE_HEX, VALS(radio_params_strings),
				0x0, "WASSP Radio Params QOS", HFILL
			}
		},
		{
			&hf_wassp_channelfreq,
			{
				"Channel Frequency", "wassp.channel_freq", FT_UINT16, BASE_DEC, NULL,
				0x0, "WASSP Channel Frequency", HFILL
			}
		},
		{
			&hf_wassp_mu,
			{
				"Total Mu", "wassp.mu", FT_UINT32, BASE_DEC, NULL,
				0x0, "WASSP Total Mu", HFILL
			}
		},
		{
			&hf_wassp_apprules,
			{
				"Number of Application Rules", "wassp.num_apprules", FT_UINT16, BASE_DEC, NULL,
				0x0, "WASSP number of app rules", HFILL
			}
		},
		{
			&hf_wassp_displayid,
			{
				"Display ID", "wassp.display_id", FT_UINT16, BASE_DEC, NULL,
				0x0, "WASSP display ID", HFILL
			}
		},
		{
			&hf_wassp_txbytes,
			{
				"Tx Bytes", "wassp.tx_bytes", FT_UINT32, BASE_DEC, NULL,
				0x0, "WASSP Tx Bytes", HFILL
			}
		},
		{
			&hf_wassp_rxbytes,
			{
				"Rx Bytes", "wassp.rx_bytes", FT_UINT32, BASE_DEC, NULL,
				0x0, "WASSP Rx Bytes", HFILL
			}
		},
	};

	static int * ett[] =
	{
		&ett_wassp,
		&ett_wassp_tlv,
		&ett_wassp_filter_rule,
		&ett_lbs_header,
		&ett_wassp_mu_appl_stats,
		&ett_wassp_header,
		&ett_ru_discover_header,
		&ett_mu_data_header,
		&ett_mu_action_field,
		&ett_wassp_data,
		&ett_wassp_mu_data_netflow,
		&ett_wassp_mu_data_netflow_header,
		&ett_seq_flags,
		&ett_wassp_tlv_missing,
		&ett_wassp_ap_stats_block,
		&ett_wassp_mu_rf_stats_block,
		&ett_wassp_config_error_block,
		&ett_wassp_config_modified_block,
		&ett_wassp_global_config_block,
		&ett_wassp_radio_config_block,
		&ett_wassp_vns_config_block,
		&ett_wassp_mu_stats_block,
		&ett_wassp_radio_stats_block,
		&ett_wassp_ether_stats_block,
		&ett_wassp_wds_stats_block,
		&ett_wassp_dot1x_stats_block,
		&ett_wassp_fragment,
		&ett_wassp_fragments,
		&ett_wassp_filter_config_block,
		&ett_wassp_filter_ext_config_block,
		&ett_wassp_site_filter_config_block,
		&ett_wassp_vns_stats_block,
		&ett_wassp_radius_server_config_block,
		&ett_wassp_site_config_block,
		&ett_wassp_policy_config_block,
		&ett_wassp_cos_config_block,
		&ett_wassp_localbase_lookup_block,
		&ett_wassp_radius_config_block,
		&ett_wassp_eid_main_tlv_block,
		&ett_wassp_app_policy_fixed_block,
		&ett_wassp_app_policy_entry_block,
		&ett_wassp_s_topo_m_filter_entry_block,
		&ett_wassp_s_topo_m_filter_ext_entry_block,
		&ett_wassp_11u_config_entry_block,
		&ett_wassp_hs2_config_entry_block,
		&ett_wassp_extapp_config_entry_block,

	};


	/* Register wassp protocol */
	proto_wassp = proto_register_protocol("Wireless Access Station Session Protocol", "WASSP", "wassp");
	/* Register wassp protocol fields */
	proto_register_field_array(proto_wassp, hf, array_length(hf));
	/* Register dissector handle */
	wassp_handle = register_dissector("wassp", dissect_wassp_static, proto_wassp);
	/* Register wassp protocol sub-trees */
	proto_register_subtree_array(ett, array_length(ett));
	wassp_dissector_table = register_dissector_table("wassp.subd", "WASSP subdissectors", proto_wassp, FT_UINT16, BASE_DEC);
	register_init_routine(&wassp_defragment_init);
}


static bool
test_wassp(tvbuff_t *tvb)
{
	/* Minimum of 8 bytes, first byte (version) has value of 3 */
	if (tvb_captured_length(tvb) < 8
			|| tvb_get_uint8(tvb, 0) != 3
			/* || tvb_get_uint8(tvb, 2) != 0
			|| tvb_get_ntohs(tvb, 6) > tvb_reported_length(tvb) */
	   )
	{
		return false;
	}
	return true;
}



static bool
dissect_wassp_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
	if (!test_wassp(tvb))
	{
		return false;
	}
	dissect_wassp(tvb, pinfo, tree);
	return true;
}

static int
dissect_wassp_static(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
	if (!test_wassp(tvb))
	{
		return 0;
	}
	return dissect_wassp(tvb, pinfo, tree);
}


/* The registration hand-off routing for WASSP */

void
proto_reg_handoff_wassp(void)
{
	dissector_add_uint_range_with_preference("udp.port", PORT_WASSP_RANGE, wassp_handle);
	heur_dissector_add("udp", dissect_wassp_heur, "WASSP over UDP", "wassp_udp", proto_wassp, HEURISTIC_DISABLE);

	snmp_handle = find_dissector_add_dependency("snmp", proto_wassp);
	ieee80211_handle = find_dissector_add_dependency("wlan_withoutfcs", proto_wassp);
	eth_handle = find_dissector("eth_withoutfcs");
	data_handle = find_dissector("data");
	ip_handle = find_dissector("ip");
}

/*
 * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
 *
 * Local variables:
 * c-basic-offset: 8
 * tab-width: 8
 * indent-tabs-mode: t
 * End:
 *
 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
 * :indentSize=8:tabSize=8:noTabs=false:
 */