summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc5413.txt
blob: bfc9a77ddaf680df16f43b3647c4534519799693 (plain) (blame)
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
Independent Submission                                     P. Narasimhan
Request for Comments: 5413                                    D. Harkins
Category: Historic                                         S. Ponnuswamy
ISSN: 2070-1721                                           Aruba Networks
                                                           February 2010


               SLAPP: Secure Light Access Point Protocol

Abstract

   The Control and Provisioning of Wireless Access Points (CAPWAP)
   problem statement describes a problem that needs to be addressed
   before a wireless LAN (WLAN) network designer can construct a
   solution composed of Wireless Termination Points (WTP) and Access
   Controllers (AC) from multiple, different vendors.  One of the
   primary goals is to find a solution that solves the interoperability
   between the two classes of devices (WTPs and ACs) that then enables
   an AC from one vendor to control and manage a WTP from another.

   In this document, we present a protocol that forms the common
   technology-independent framework and the ability to negotiate and
   add, on top of this framework, a control protocol that contains a
   technology-dependent component to arrive at a complete solution.  We
   have also presented two such control protocols -- an 802.11 Control
   protocol, and another, more generic image download protocol, in this
   document.

   Even though the text in this document is written to specifically
   address the problem stated in RFC 3990, the solution can be applied
   to any problem that has a controller (equivalent to the AC) managing
   one or more network elements (equivalent to the WTP).

Status of This Memo

   This document is not an Internet Standards Track specification; it is
   published for the historical record.

   This document defines a Historic Document for the Internet community.
   This is a contribution to the RFC Series, independently of any other
   RFC stream.  The RFC Editor has chosen to publish this document at
   its discretion and makes no statement about its value for
   implementation or deployment.  Documents approved for publication by
   the RFC Editor are not a candidate for any level of Internet
   Standard; see Section 2 of RFC 5741.






Narasimhan, et al.              Historic                        [Page 1]
^L
RFC 5413                          SLAPP                    February 2010


   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc5413.

IESG Note

   This RFC documents the SLAPP protocol as it was when submitted to the
   IETF as a basis for further work in the CAPWAP Working Group, and
   therefore it may resemble the CAPWAP protocol specification in RFC
   5415 as well as other IETF work.  This RFC is being published solely
   for the historical record.  The protocol described in this RFC has
   not been thoroughly reviewed and may contain errors and omissions.

   RFC 5415 documents the standards track solution for the CAPWAP
   Working Group and obsoletes any and all mechanisms defined in this
   RFC.  This RFC is not a candidate for any level of Internet Standard
   and should not be used as a basis for any sort of Internet
   deployment.

Copyright Notice

   Copyright (c) 2010 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http//:trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.





















Narasimhan, et al.              Historic                        [Page 2]
^L
RFC 5413                          SLAPP                    February 2010


Table of Contents

   1. Introduction ....................................................4
   2. Definitions .....................................................7
      2.1. Conventions Used in This Document ..........................7
   3. Topology ........................................................7
   4. Protocol ........................................................8
      4.1. Protocol Description .......................................8
           4.1.1. State Machine Explanation ...........................9
      4.2. Format of a SLAPP Header ..................................10
      4.3. Version ...................................................11
      4.4. Retransmission ............................................12
      4.5. Discovery .................................................12
           4.5.1. SLAPP Discover Request .............................13
           4.5.2. SLAPP Discover Response ............................15
      4.6. SLAPP Discovery Process ...................................17
           4.6.1. WTP ................................................17
           4.6.2. AC .................................................19
   5. Security Association ...........................................19
      5.1. Example Authentication Models (Informative) ...............20
           5.1.1. Mutual Authentication ..............................20
           5.1.2. WTP-Only Authentication ............................21
           5.1.3. Anonymous Authentication ...........................21
   6. SLAPP Control Protocols ........................................21
      6.1. 802.11 Control Protocol for SLAPP .........................21
           6.1.1. Supported CAPWAP Architectures .....................21
           6.1.2. Transport ..........................................24
           6.1.3. Provisioning and Configuration of WTP ..............26
           6.1.4. Protocol Operation .................................60
      6.2. Image Download Protocol ...................................66
           6.2.1. Image Download Packet ..............................66
           6.2.2. Image Download Request .............................67
           6.2.3. Image Download Process .............................68
           6.2.4. Image Download State Machine .......................69
   7. Security Considerations ........................................73
   8. Extensibility to Other Technologies ............................73
   9. Informative References .........................................74














Narasimhan, et al.              Historic                        [Page 3]
^L
RFC 5413                          SLAPP                    February 2010


1.  Introduction

   The need for a protocol by which wireless LAN (WLAN) Access
   Controllers (ACs) can control and manage Wireless Termination Points
   (WTPs) from a different vendor has been presented in the CAPWAP
   problem statement [3].  We believe that this problem is more general
   than as stated in [3] and can be found in any application, including
   non-wireless ones, that requires a central controller to control and
   manage one or more network elements from a different vendor.

   One way to solve the CAPWAP problem is to define a complete control
   protocol that enables an AC from one vendor to control and manage a
   WTP from a different vendor.  But a solution that is primarily
   focused towards solving the problem for one particular underlying
   technology (IEEE 802.11, in this case) may find it difficult to
   address other underlying technologies.  Different underlying
   technologies may differ on the set of configurable options, and
   different architectural choices that are specific to that underlying
   technology (similar to the Local Medium Access Control (MAC) versus
   Split MAC architectures in 802.11).  The architectural choices that
   are good for one underlying technology may not necessarily work for
   another.  Not to forget that there may be multiple architectural
   choices [2] even for the same underlying technology.  A monolithic
   control protocol that strives to solve this problem for multiple
   technologies runs the risk of adding too much complexity and not
   realizing the desired goals, or it runs the risk of being too rigid
   and hampering technological innovation.

   A different way to solve this problem is to split the solution space
   into two components -- one that is technology-agnostic or
   independent, and another that is specific to the underlying
   technology or even different approaches to the same underlying
   technology.  The technology-independent component would be a common
   framework that would be an important component of the solution to
   this class of problems without any dependency on the underlying
   technology (i.e., 802.11, 802.16, etc.) being used.  The technology-
   specific component would be a control protocol that would be
   negotiated using this common framework and can be easily defined to
   be relevant to that technology without the need for having any
   dependency on other underlying technologies.  This approach also
   lends itself easily to extend the solution as new technologies arise
   or as new innovative methods to solve the same problem for an
   existing technology present themselves in the future.

   In this document, we present secure light access point protocol
   (SLAPP), a technology-independent protocol by which network elements
   that are meant to be centrally managed by a controller can discover
   one or more controllers, perform a security association with one of



Narasimhan, et al.              Historic                        [Page 4]
^L
RFC 5413                          SLAPP                    February 2010


   them, and negotiate a control protocol that they would use to perform
   the technology-specific components of the control and provisioning
   protocol.  We have also presented two control protocols in this
   document -- an 802.11 control protocol for provisioning and managing
   a set of 802.11 WTPs, and an image download protocol that is very
   generic and can be applied to any underlying technology.

   Figure 1 shows the model by which a technology-specific control
   protocol can be negotiated using SLAPP to complete a solution for a
   certain underlying technology.  The figure shows a control protocol
   for 802.11 and 802.16 technology components, but the SLAPP model does
   not preclude multiple control protocols within a certain technology
   segment.  For example, a certain technology-specific control protocol
   may choose to support only the Local MAC architecture [2] while
   deciding not to support the Split MAC architecture [2].  While the
   image download protocol is presented in this document, a SLAPP
   implementation MUST NOT assume that this control protocol is
   supported by other SLAPP implementations.

































Narasimhan, et al.              Historic                        [Page 5]
^L
RFC 5413                          SLAPP                    February 2010


                                              Negotiated
            SLAPP                             Control
                                              Protocol

   +-------------------------+              +------------+
   |                         |              |            |
   |         SLAPP           |              |  Image     |
   | (technology-independent +-------+----->|  Download  |
   |      framework)         |       |      |  protocol  |
   |                         |       |      |            |
   |  negotiate one control  |       |      +------------+
   |  protocol here          |       |
   +-------------------------+       |
                                     |      +------------+
                                     |      |            |
                                     |      |   802.11   |
                                     +----->|  control   |
                                     |      |  protocol  |
                                     |      |            |
                                     |      +------------+
                                     |
                                     |
                                     |      +------------+
                                     |      |            |
                                     |      |   802.16   |
                                     +----->|  control   |
                                     |      |  protocol  |
                                     |      |            |
                                     |      +------------+
                                     |
                                     |         .......

                      Figure 1: SLAPP Protocol Model

   The control protocols that are negotiable using SLAPP are expected to
   be published ones that have gone through a review process in
   standards bodies such as the IETF.  The control protocols can either
   re-use the security association created during SLAPP or have the
   option of clearing all SLAPP state and restarting with whatever
   mechanisms are defined in the control protocol.

   Recently, there was a significant amount of interest in a similar
   problem in the Radio Frequency Identification (RFID) space that has
   led to the definition of a simple lightweight RFID reader protocol
   (SLRRP) [9].  It is quite possible that SLRRP could be a
   technology-specific (RFID, in this case) control protocol negotiated
   during a common technology-independent framework.




Narasimhan, et al.              Historic                        [Page 6]
^L
RFC 5413                          SLAPP                    February 2010


   All of the text in the document would seem to be written with a WLAN
   problem in mind.  Please note that while the letter of the document
   does position the solution to solve a CAPWAP-specific problem, the
   spirit of the document is to address the more general problem.

2.  Definitions

2.1.  Conventions Used in This Document

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119 [1].

3.  Topology

   The SLAPP protocol supports multiple topologies for interconnecting
   WTPs and ACs as indicated in Figure 2.

   In Figure 2, we have captured four different interconnection
   topologies:

   1.  The WTP is directly connected to the AC without any intermediate
       nodes.  Many WTPs are deployed in the plenum of buildings and are
       required to be powered over the Ethernet cable that is connecting
       it to the network.  Many ACs in the marketplace can supply power
       over Ethernet, and in the case where the AC is the one powering
       the WTP, the WTP is directly connected to the AC.

   2.  The WTP is not directly connected to the AC, but both the AC and
       the WTP are in the same Layer 2 (L2) (broadcast) domain.

   3.  The WTP is not directly connected to the AC, and they are not
       present in the same L2 (broadcast) domain.  They are on two
       different broadcast domains and have a node on the path that
       routes between two or more subnets.

   4.  The fourth case is a subset of the third one with the exception
       that the intermediate nodes on the path from the WTP to the AC
       may not necessarily be in the same administrative domain.  The
       intermediate network may also span one or more WAN links that may
       have lower capacity than if both the AC and the WTP are within
       the same building or campus.









Narasimhan, et al.              Historic                        [Page 7]
^L
RFC 5413                          SLAPP                    February 2010


               +-----------------+            +-------+
               |                 |    (1)     |       |
               |       AC        +------------+  WTP  |
               |                 |            |       |
               +--------+--------+            +-------+
                        |
                        |
                        |
                    +---+---+
               (2)  |       |
             +------+  L2   +--------+
             |      |       |        |
             |      +---+---+        |
             |                       |
             |                       |
       +-----+-----+             +---+---+    +-------+
       |           |             |       | (3)|       |
       |    WTP    |             |   L3  +----+  WTP  |
       |           |             |       |    |       |
       +-----------+             +---+---+    +-------+
                                     |
                                     |
                                     |
                                 +---+----+    +-------+
                                 |        | (4)|       |
                                 |Internet+----+  WTP  |
                                 |        |    |       |
                                 +--------+    +-------+

                           Figure 2: SLAPP Topology

4.  Protocol

4.1.  Protocol Description

   The SLAPP state machine for both the WTP and AC is shown in Figure 3.
   Both the WTP and the AC discover each other, negotiate a control
   protocol, perform a secure handshake to establish a secure channel
   between them, and then use that secure channel to protect a
   Negotiated Control Protocol.

   The WTP maintains the following variable for its state machine:

   abandon: a timer that sets the maximum amount of time the WTP will
      wait for an acquired AC to begin the Datagram Transport Layer
      Security (DTLS) handshake.





Narasimhan, et al.              Historic                        [Page 8]
^L
RFC 5413                          SLAPP                    February 2010


      /--------\  /-----------\
      |        |  |           |
      |        v  v           |
      |  +-------------+      |
      | C| discovering |<-\   |
      |  +-------------+  |   |
      |        |          |   |
      |        v          |   |
      |  +-----------+    |   |
      \--| acquiring |    |   |
         +-----------+    |   |
               |          |   |
               v          |   |
         +----------+     |   |
        C| securing |-----/   |
         +----------+         |
               |              |
               v              |
       +----------------+     |
       |  negotiated    |     |
      C|    control     |-----/
       |   protocol     |
       +----------------+

                        Figure 3: SLAPP State Machine

4.1.1.  State Machine Explanation

   Note: The symbol "C" indicates an event that results in the state
   remaining the same.

   Discovering

      AC: This is a quiescent state for the AC in which it waits for
          WTPs to request its acquisition.  When a request is received,
          the AC transitions to Acquiring.

     WTP: The WTP is actively discovering an AC.  When the WTP receives
          a response to its Discover Request, it transitions to
          Acquiring.

   Acquiring

      AC: A discover request from a WTP has been received.  If the
          request is invalid or the AC wishes to not acquire the WTP, it
          drops the packet and transitions back to Discovering.
          Otherwise, a Discover Response is sent and the AC transitions
          to Securing.



Narasimhan, et al.              Historic                        [Page 9]
^L
RFC 5413                          SLAPP                    February 2010


     WTP: A discover response from an AC has been received.  If the
          response is not valid, the WTP transitions to Discovering;
          otherwise, it sets the abandon timer to a suitable value to
          await a DTLS exchange.  If the timer fires in Acquiring, the
          WTP transitions back to Discovering.  If a DTLS "client hello"
          is received, the WTP transitions to Securing and cancels the
          abandon timer.

   Securing

      AC: The AC performs the "client end" of the DTLS exchange.  Any
          error in the DTLS exchange results in the AC transitioning to
          Discovering.  When the DTLS exchange finishes, the AC
          transitions to the Negotiated Control Protocol.

     WTP: The WTP performs the "server end" of the DTLS exchange.  Any
          error in the DTLS exchange results in the WTP transitioning to
          Discovering.  When the DTLS exchange finishes, the WTP
          transitions to the Negotiated Control Protocol.

   Negotiated Control Protocol

      AC: The AC performs its side of the protocol agreed to during the
          discovery process.  Please refer to Section 6.1 for the SLAPP
          802.11 Control Protocol.  For the Image Download Protocol
          example, see Section 6.2.

     WTP: The WTP performs its side of the protocol agreed to during the
          discovery process.  Please refer to Section 6.1 for the SLAPP
          802.11 Control Protocol.  For the Image Download Protocol
          example, see Section 6.2.

4.2.  Format of a SLAPP Header

   All SLAPP packets begin with the same header as shown in Figure 4.

     0                   1                   2                   3
     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |  Maj  |  Min  |     Type      |           Length              |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                          Figure 4: SLAPP Header

   Where:

      Maj (4 bits): the major number of the SLAPP version




Narasimhan, et al.              Historic                       [Page 10]
^L
RFC 5413                          SLAPP                    February 2010


      Min (4 bits): the minor number of the SLAPP version

      Type (1 octet): the type of SLAPP message

      Length (two octets): the length of the SLAPP message, including
      the entire SLAPP header

   The following types of SLAPP messages have been defined:

      name                     type
      -----                   ------
      discover request           1
      discover response          2
      image download control     3
      control protocol packet    4
      reserved                  5-255

4.3.  Version

   SLAPP messages include a version in the form of major.minor.  This
   document describes the 1.0 version of SLAPP, that is the major
   version is one (1) and the minor version is zero (0).

   Major versions are incremented when the format of a SLAPP message
   changes or the meaning of a SLAPP message changes such that it would
   not be properly parsed by an older, existing version of SLAPP.  Minor
   versions are incremented when some incremental additions have been
   made to SLAPP that enhance its capabilities or convey additional
   information in a way that does not change the format or meaning of
   the SLAPP message.

   Future versions of SLAPP MAY NOT mandate support for earlier major
   versions of SLAPP, so an implementation MUST NOT assume that a peer
   that supports version "n" will therefore support version "n - i"
   (where both "n" and "i" are non-zero integers and "n" is greater than
   "i").

   A SLAPP implementation that receives a SLAPP message with a higher
   major version number MUST drop that message.  A SLAPP implementation
   that receives a SLAPP message with a lower major version SHOULD drop
   down to the version of SLAPP the peer supports.  If that version of
   SLAPP is not supported, the message MUST be dropped.  However, there
   may be valid reasons for which a peer wishes to drop a SLAPP message
   with a supported major version.

   A SLAPP implementation that receives a SLAPP message with a higher
   minor version number MUST NOT drop that message.  It MUST respond
   with the minor version number that it supports and will necessarily



Narasimhan, et al.              Historic                       [Page 11]
^L
RFC 5413                          SLAPP                    February 2010


   not support whatever incremental capabilities were added that
   justified the bump in the minor version.  A SLAPP implementation that
   receives a SLAPP message with a lower minor version MUST NOT drop
   that message.  It SHOULD revert back to the minor version that the
   peer supports and not include any incremental capabilities that were
   added that justified the bump in the minor version.

4.4.  Retransmission

   SLAPP is a request response protocol.  Discovery and security
   handshake requests are made by the WTP, and responses to them are
   made by the AC.  Image Download packets are initiated by the AC and
   acknowledged by the WTP (in a negative fashion, see Section 6.2).

   Retransmissions are handled solely by the initiator of the packet.
   After each packet for which a response is required is transmitted,
   the sender MUST set a retransmission timer and resend the packet upon
   its expiry.  The receiver MUST be capable of either regenerating a
   previous response upon receipt of a retransmitted packet or caching a
   previous response and resending upon receipt of a retransmitted
   packet.

   The retransmission timer MUST be configurable and default to one (1)
   second.  No maximum or minimum for the timer is specified by this
   version of SLAPP.

   Each time a retransmission is made, a counter SHOULD be incremented,
   and the number of retransmissions attempted by a sender before giving
   up and declaring a SLAPP failure SHOULD be four (4)-- that is, the
   number of attempts made for each packet before declaring failure is
   five (5).

   The exception to this rule is Image Download packets, which are not
   individually acknowledged by the WTP (see Section 6.2).  The final
   packet is acknowledged and lost packets are indicated through Image
   Download Requests.

4.5.  Discovery

   When a WTP boots up and wants to interoperate with an Access
   Controller so that it can be configured by the AC, one of the first
   things it needs to do is to discover one or more ACs in its network
   neighborhood.  This section contains the details of this discovery
   mechanism.

   As described in Section 3, an AC and a WTP could reside in the same
   Layer 2 domain, or be separated by a Layer 3 cloud including
   intermediate clouds that are not under the same administrative domain



Narasimhan, et al.              Historic                       [Page 12]
^L
RFC 5413                          SLAPP                    February 2010


   (for example, an AC and a WTP separated by a wide-area public
   network).  So any proposed discovery mechanism should have provisions
   to enable a WTP to discover an AC across all these topologies.

   We assume that a WTP, prior to starting the discovery process, has
   already obtained an IP address on its wired segment.

4.5.1.  SLAPP Discover Request

   The SLAPP discovery process is initiated by sending a SLAPP discover
   request packet.  The packet can be addressed to the broadcast IP
   address, a well-known multicast address, or (if the IP address of an
   AC is either configured prior to the WTP booting up or is learned
   during the boot-up sequence) addressed to a unicast IP address.  Lack
   of a response to one method of discovery SHOULD result in the WTP
   trying another method of discovery.  The SLAPP discover request
   packet is a UDP packet addressed to port [TBD] designated as the
   SLAPP discovery port.  The source port can be any random port.  The
   payload of the SLAPP discover request packet is shown in Figure 5.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |    Type = 1   |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                         Transaction ID                        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                         WTP Identifier                        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |    WTP Identifier (continued) |             Flags             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                      WTP Vendor ID                            |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                      WTP HW Version                           |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                      WTP SW Version                           |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | n controltypes| control type  |  .  .  .
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                     Figure 5: SLAPP Discover Request

4.5.1.1.  Transaction ID

   The transaction ID is a randomly generated, 32-bit number that is
   maintained during one phase of the SLAPP discovery process.  It is
   generated by a WTP starting a discovery process.  When one discovery
   method fails to find an AC and the WTP attempts another discovery



Narasimhan, et al.              Historic                       [Page 13]
^L
RFC 5413                          SLAPP                    February 2010


   method it MUST NOT re-use the Transaction ID.  All ACs that intend to
   respond to a SLAPP discover request must use the same value for this
   field as in the request frame.

4.5.1.2.  WTP Identifier

   This field allows the WTP to specify a unique identifier for itself.
   This MAY be, for instance, its 48-bit MAC address or it could be any
   other string such as a serial number.

4.5.1.3.  Flags

   The Flags field is used to indicate certain things about the discover
   request.  For example, bit 0 in the Flags field indicates whether the
   discover request packet is being sent to the AC, if unicast, based on
   a configuration at the WTP or based on some other means of discovery.
   This bit should always be set to the discover mode if the SLAPP
   discover request packet is being sent to either a broadcast or
   multicast address.  Here are the valid values for various bits in the
   Flags field.

      Bit 0:
      0 - Configuration mode
      1 - Discover mode

      Bits 1-15:
      Must always be set to 0 by the transmitter
      Must be ignored by the receiver

4.5.1.4.  WTP Vendor ID

   This 32-bit field is the WTP vendor's Structure of Management
   Information (SMI) enterprise code in network octet order (these
   enterprise codes can be obtained from, and registered with, IANA).

4.5.1.5.  WTP HW Version

   This 32-bit field indicates the version of hardware present in the
   WTP.  This is a number that is totally left to the WTP vendor to
   choose.

4.5.1.6.  WTP SW Version

   This 32-bit field indicates the version of software present in the
   WTP.  This is a number that is totally left to the WTP vendor to
   choose.





Narasimhan, et al.              Historic                       [Page 14]
^L
RFC 5413                          SLAPP                    February 2010


4.5.1.7.  Number of Control Types

   This 8-bit field indicates the number of 8-bit control protocol
   indicators that follow it and therefore implicitly indicates the
   number of different control protocols the WTP is capable of
   supporting.  This number MUST be at least one (1).

4.5.1.8.  Control Types

   This 8-bit field indicates the type of control protocol the WTP
   supports and is willing to use when communicating with an AC.  There
   MAY be multiple "control type" indicators in a single SLAPP Discover
   Request.

      Valid Control Types
      -------------------
      0      - RESERVED (MUST not be used)
      1      - Image Download Control Protocol
      2      - 802.11 SLAPP Control Protocol
      3-255  - RESERVED (to IANA)

4.5.2.  SLAPP Discover Response

   An AC that receives a SLAPP discover request packet from a WTP can
   choose to respond with a SLAPP discover response packet.  The format
   of the SLAPP discover response packet is shown in Figure 6.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |    Type = 2   |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                         Transaction ID                        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                        WTP Identifier                         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |    WTP Identifier (continued) |             Flags             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                      AC HW Vendor ID                          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                       AC HW Version                           |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                       AC SW Version                           |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | control type  |
   +-+-+-+-+-+-+-+-+

                     Figure 6: SLAPP Discover Response



Narasimhan, et al.              Historic                       [Page 15]
^L
RFC 5413                          SLAPP                    February 2010


   The SLAPP discover response packet is a UDP packet.  It is always
   unicast to the WTP's IP address.  The source IP address is that of
   the AC sending the response.  The source port is the SLAPP discover
   port [TBD] and the destination port is the same as the source port
   used in the SLAPP discover request.  The WTP's MAC address and the
   transaction ID must be identical to the values contained in the SLAPP
   discover request.  The Status field indicates to the WTP whether the
   AC is either accepting the discover request and is willing to allow
   the WTP to proceed to the next stage (ACK) or whether it is denying
   the WTP's earlier request (NACK).  The AC includes its own vendor ID,
   hardware, and software versions in the response.

4.5.2.1.  Transaction ID

   The value of the Transaction ID field should be identical to its
   value in the SLAPP discover request packet sent by the WTP.

4.5.2.2.  WTP Identifier

   The WTP Identifier that was sent in the corresponding SLAPP discover
   request frame.

4.5.2.3.  Flags

   This field is unused by this version of SLAPP.  It MUST be set to
   zero (0) on transmission and ignored upon receipt.

4.5.2.4.  AC Vendor ID

   If the value of the Status field is a 1, indicating that the AC is
   sending a successful response, then the values in this field and the
   following two are valid.  The 32-bit AC Vendor ID points to the
   vendor ID of the AC.  If the value of the Status field is not 1, then
   this field should be set to 0 by the AC and ignored by the WTP.

4.5.2.5.  AC HW Version

   If the value of the Status field is 1, then this 32-bit field
   contains the value of the AC's hardware version.  This value is
   chosen by the AC vendor.  If the value of the Status field is not 1,
   then this field should be set to 0 by the AC and ignored by the WTP.

4.5.2.6.  AC SW Version

   If the value of the Status field is 1, then this 32-bit field
   contains the value of the AC's software version.  This value is
   chosen by the AC vendor.  If the value of the Status field is not 1,
   then this field should be set to 0 by the AC and ignored by the WTP.



Narasimhan, et al.              Historic                       [Page 16]
^L
RFC 5413                          SLAPP                    February 2010


4.5.2.7.  Control Type

   The control type that the AC will use to communicate with the WTP.
   This value MUST match one of the control types passed in the
   corresponding SLAPP Discover Request.

4.6.  SLAPP Discovery Process

4.6.1.  WTP

   There are multiple ways in which a WTP can discover an AC.

   1.  Static configuration: An administrator, prior to deploying a WTP,
       can configure an IP address of an AC on the WTP's non-volatile
       memory.  If this is the case, then the SLAPP discover request
       packet is addressed to the configured IP address.

   2.  DHCP options: As part of the DHCP response, the DHCP server could
       be configured to use option 43 to deliver the IP address of an AC
       to which the WTP should address the SLAPP discover request
       packet.  If the IP address of an AC is handed to the WTP as part
       of the DHCP response, then the WTP should address the SLAPP
       discover request packet to this IP address.

   3.  DNS configuration: Instead of configuring a static IP address on
       the WTP's non-volatile memory, an administrator can configure a
       Fully-Qualified Domain Name (FQDN) of an AC.  If the FQDN of an
       AC is configured, then the WTP queries its configured DNS server
       for the IP address associated with the configured FQDN of the AC.
       If the DNS query is successful and the WTP acquires the IP
       address of an AC from the DNS server, then the above discover
       request packet is addressed to the unicast address of the AC.

   4.  Broadcast: The WTP sends a discover request packet addressed to
       the broadcast IP address with the WTP's IP address as the source.
       A network administrator, if necessary, could configure the
       default router for the subnet that the WTP is on with a helper
       address and unicast it to any address on a different subnet.

   5.  IP Multicast: A WTP can send the above payload to a SLAPP IP
       multicast address [TBD].

   6.  DNS: If there is no DNS FQDN configured on the WTP, and the WTP
       is unable to discover an AC by any of the above methods, then it
       should attempt to query the DNS server for a well-known FQDN of
       an AC [TBD].  If this DNS query succeeds, then the WTP should
       address the SLAPP discover request packet to the unicast address
       of the AC.



Narasimhan, et al.              Historic                       [Page 17]
^L
RFC 5413                          SLAPP                    February 2010


   The above process is summarized in the sequence shown in Figure 7.

   SLAPP discovery start:
      Static IP address config option:
        Is a static IP address for an AC configured?
          If yes, send SLAPP discover request to that unicast IP address
            SLAPP discover response within discovery_timer?
              If yes, go to "done"
              If not, go to "Static FQDN config option"
          If not, go to "Static FQDN config option"
      Static FQDN config option:
        Is a static FQDN configured?
          If yes, send a DNS query for the IP address for the FQDN.
          Is DNS query successful?
            If yes, send SLAPP discover request to that IP address
            SLAPP discover response within discovery timer?
              If yes, go to "done"
              If not, go to "DHCP options option"
            If not, go to "DHCP options option"
       DHCP options option:
         Is the IP address of an AC present in the DHCP response?
           If yes, send SLAPP discover request to the AC's IP address
           SLAPP discover response within discovery timer?
             If yes, go to "done"
             If not, go to "Broadcast option"
           If not, go to "Broadcast option"
       Broadcast option:
         Send SLAPP discover packet to the broadcast address
         SLAPP discover response within discovery timer?
           If yes, go to "done"
           If not, go to "Multicast option"
       Multicast option:
         Send SLAPP discover packet to the SLAPP multicast address
         SLAPP discover response within discovery timer?
           If yes, go to "done"
           If not, go to "DNS discovery option"
       DNS discovery option:
         Query the DNS server for a well-known DNS name
         Is the DNS discovery successful?
           If yes, send SLAPP discover request to that IP address
           SLAPP discover response within discovery timer?
             If yes, go to "done"
             If not, go to "SLAPP discovery restart"
           If not, go to "SLAPP discovery restart"







Narasimhan, et al.              Historic                       [Page 18]
^L
RFC 5413                          SLAPP                    February 2010


       SLAPP discovery restart:
         Set timer for SLAPP discovery idle timer
         When timer expires, go to "SLAPP discovery start"
       done:
         Go to the next step

                                 Figure 7

4.6.2.  AC

   When an AC receives a SLAPP discover request, it must determine
   whether or not it wishes to acquire the WTP.  An AC MAY only agree to
   acquire those WTPs whose WTP Identifiers are statically configured in
   its configuration.  Or an AC that is willing to gratuitously acquire
   WTPs MAY accept any request pending authentication.  An AC MUST only
   choose to acquire WTPs that speak a common Negotiated Control
   Protocol, but other factors may influence its decision.  For
   instance, if the Negotiated Control Protocol is the Image Download
   protocol defined in this memo, the AC MUST NOT acquire a WTP for
   which it does not have a compatible image to download as determined
   by the WTP's HW Vendor ID, HW Version, and Software Version.
   Whatever its decision, the AC MUST respond one of two ways.

   1.  The AC sends a SLAPP discover response indicating its agreement
       to acquire the WTP.

   2.  The AC silently drops the SLAPP discover request and does not
       respond at all.

5.  Security Association

   Once an AC has been discovered by a WTP and agreed to acquire it (by
   sending a Discover Response), it will initiate a DTLS [6] [8]
   exchange with the WTP by assuming the role of the "client".  The WTP
   assumes the role of the "server".  The port used by both the WTP and
   AC for this exchange will be [TBD].

   An obvious question is "Why is the AC acting as a client?".  The
   reason is to allow for non-mutual authentication in which the WTP is
   authenticated by the AC (see Section 5.1.2).

   Informational note: DTLS is used because it provides a secure and
   connectionless channel using a widely accepted and analyzed protocol.
   In addition, the myriad of authentication options in DTLS allows for
   a wide array of options with which to secure the channel between the
   WTP and the AC -- mutual and certificate-based; asymmetric or non-
   mutual authentication; anonymous authentication, etc.  Furthermore,
   DTLS defines its own fragmentation and reassembly techniques as well



Narasimhan, et al.              Historic                       [Page 19]
^L
RFC 5413                          SLAPP                    February 2010


   as ways in which peers agree on an effective MTU.  Using DTLS
   obviates the need to redefine these aspects of a protocol and
   therefore lessens code bloat as the same problem doesn't need to be
   solved yet again in another place.

   Failure of the DTLS handshake protocol will cause both parties to
   abandon the exchange.  The AC SHOULD blacklist this WTP for a period
   of time to prevent a misconfigured WTP from repeatedly discovering
   and failing authentication.  The WTP MUST return to the discovery
   state of SLAPP to locate another suitable AC with which it will
   initiate a DTLS exchange.

   Once the DTLS handshake has succeeded, the WTP and AP transition into
   "image download state" and protect all further SLAPP messages with
   the DTLS-negotiated cipher suite.

5.1.  Example Authentication Models (Informative)

   Any valid cipher suite in [7] can be used to authenticate the WTP
   and/or the AC.  Different scenarios require different authentication
   models.  The following examples are illustrative only and not meant
   to be exhaustive.

   Since neither side typically involves a human being, a username/
   password-based authentication is not possible.

   Zero-config requirements on certain WTP deployments can predicate
   certain authentication options and eliminate others.

5.1.1.  Mutual Authentication

   When mutually authenticating, the WTP authenticates the AC, thereby
   ensuring that the AC to which it is connecting is a trusted AC, and
   the AC authenticates the WTP, thereby ensuring that the WTP that is
   connecting is a trusted WTP.

   Mutual authentication is typically achieved by using certificates on
   the WTP and AC, which ensure public keys each party owns.  These
   certificates are digitally signed by a Certification Authority, a
   trusted third party.

   Enrolling each WTP in a Certification Authority is outside the scope
   of this document, but it should be noted that a manufacturing
   Certification Authority does not necessarily provide the level of
   assurance necessary as it will only guarantee that a WTP or AC was
   manufactured by a particular company and cannot distinguish between a
   trusted WTP and a WTP that is not trusted but was purchased from the
   same manufacturer as the AC.



Narasimhan, et al.              Historic                       [Page 20]
^L
RFC 5413                          SLAPP                    February 2010


5.1.2.  WTP-Only Authentication

   Some deployments may only require the WTP to authenticate to the AC
   and not the other way around.

   In this case, the WTP has a keypair that can uniquely identify it
   (for example, using a certificate) and, that keypair is used in a
   "server-side authentication" [7] exchange.

   This authentication model does not authenticate the AC and a rogue AC
   could assert control of a valid WTP.  It should be noted, though,
   that this will only allow the WTP to provide service for networks
   made available by the rogue AC.  No unauthorized network access is
   possible.

5.1.3.  Anonymous Authentication

   In some deployments, it MAY just be necessary to foil the casual
   snooping of packets.  In this case, an unauthenticated, but
   encrypted, connection can suffice.  Typically a Diffie-Hellman
   exchange is performed between the AC and WTP and the resulting
   unauthenticated key is used to encrypt traffic between the AC and
   WTP.

6.  SLAPP Control Protocols

   In this section, we describe two extensions for SLAPP -- one that is
   specific to 802.11 WLANs and another that is a technology-neutral
   protocol by which an AC can download a bootable image to a WTP.

6.1.  802.11 Control Protocol for SLAPP

   This section describes a SLAPP extension that is targeted towards
   WTPs and ACs implementing the IEEE 802.11 WLAN standard.  This
   extension contains all the technology-specific components that will
   be used by an AC to control and manage 802.11 WTPs.

6.1.1.  Supported CAPWAP Architectures

   The CAPWAP architecture taxonomy document [2] describes multiple
   architectures that are in use today in the WLAN industry.  While
   there is a wide spectrum of variability present in these documented
   architectures, supporting every single variation or choice would lead
   to a complex protocol and negotiation phase.  In the interest of
   limiting the complexity of the 802.11 component, we have limited the
   negotiation to four different architectural choices as listed below:





Narasimhan, et al.              Historic                       [Page 21]
^L
RFC 5413                          SLAPP                    February 2010


   Local MAC, bridged mode:  This mode of operation falls under the
      Local MAC architecture.  The 802.11 MAC is terminated at the WTP.
      The WTP implements an L2 bridge that forwards packets between its
      WLAN interface and its Ethernet interface.

   Local MAC, tunneled mode:  This mode of operation also falls under
      the Local MAC architecture where the 802.11 MAC is terminated at
      the WTP.  The difference between this mode and the previous one is
      that in this mode, the WTP tunnels 802.3 frames to the AC using
      the mechanisms defined in Section 6.1.2.

   Split MAC, L2 crypto at WTP:  This mode of operation falls under the
      Split MAC architecture.  The 802.11 MAC is split between the WTP
      and the AC, the exact nature of the split is described in Section
      6.1.1.2.  The L2 crypto functions are implemented in the WTP are
      the ones used to satisfy this function irrespective of whether or
      not the AC is also capable of this function.  The WTP tunnels L2
      frames to the AC using mechanisms defined in Section 6.1.2.

   Split MAC, L2 crypto at AC:  This mode of operation also falls under
      the Split MAC architecture.  The difference between this one and
      the previous one is that the L2 crypto functions implemented in
      the AC are used to satisfy this function irrespective of whether
      or not these functions are also available at the WTP.  The WTP
      tunnels L2 frames to the AC using mechanisms defined in Section
      6.1.2.

6.1.1.1.  Local MAC

   The Local MAC architecture as documented in the CAPWAP architecture
   taxonomy document [2] performs all 802.11 frame processing at the
   WTP.  The conversion from 802.11 to 802.3 and vice versa is also
   implemented at the WTP.  This would mean that other functions like
   fragmentation/reassembly of 802.11 frames, and encryption/decryption
   of 802.11 frames is implemented at the WTP.

6.1.1.1.1.  Bridged Mode

   In this sub-mode of the Local MAC architecture, the 802.11 frames are
   converted to 802.3 frames and bridged onto the Ethernet interface of
   the WTP.  These frames may be tagged with 802.1Q VLAN tags assigned
   by the AC.









Narasimhan, et al.              Historic                       [Page 22]
^L
RFC 5413                          SLAPP                    February 2010


6.1.1.1.2.  Tunneled Mode

   In this sub-mode of the Local MAC architecture, the 802.11 frames are
   converted to 802.3 frames and are tunneled (using the tunneling
   mechanism defined in Section 6.1.2) to the AC to which the WTP is
   attached.  These frames may be tagged with 802.1Q VLAN tags assigned
   by the AC.

6.1.1.2.  Split MAC

   In the Split MAC architecture, the MAC functions of an 802.11 AP are
   split between the WTP and the AC.  The exact nature of the split is
   dependent upon the sub-modes listed in this section.  In both cases,
   frames are tunneled to the AC using the mechanism defined in Section
   6.1.2.

   Some of these Split MAC architectures convert the 802.11 frames into
   802.3 frames, which may be 802.1Q-tagged using tags assigned by the
   AC, while other of these Split MAC architectures will tunnel the
   entire 802.11 frame to the AC.  The AC and WTP agree on what type of
   frame will be tunneled during the control protocol registration in
   Section 6.1.3

6.1.1.2.1.  L2 Crypto at the WTP

   For this sub-mode of the Split MAC architecture, the 802.11 AP
   functions are split as follows:

   At the WTP:

      802.11 control frame processing

      802.11 encryption and decryption

      802.11 fragmentation and reassembly

      Rate Adaptation

      802.11 beacon generation

      Power-save buffering and Traffic Indication Map (TIM) processing

   At the AC:

      802.11 Management frame processing

      802.11 DS and portal




Narasimhan, et al.              Historic                       [Page 23]
^L
RFC 5413                          SLAPP                    February 2010


   Split MAC implementations of this kind may tunnel either 802.11 or
   802.3 frames between the AC and the WTP.

6.1.1.2.2.  L2 Crypto at the AC

   For this sub-mode of the Split MAC architecture, the 802.11 AP
   functions are split as follows:

   At the WTP:

      802.11 control frame processing

      Rate Adaptation

      802.11 beacon generation

      Power-save buffering and TIM processing

   At the AC:

      802.11 Management frame processing

      802.11 encryption and decryption

      802.11 fragmentation and reassembly

      802.11 DS and portal

   Split MAC implementations of this kind tunnel 802.11 frames between
   the AC and the WTP.

6.1.2.  Transport

   The 802.11 Control Protocol has two components, one for transporting
   the specific control and provisioning messages and another to tunnel
   data traffic from the WTP to the AC.

   The SLAPP 802.11 Control Protocol uses the Generic Routing
   Encapsulation (GRE) [4] to encapsulate L2 frames.  Depending on
   whether and how an architecture splits its MAC, some architectures
   may tunnel 802.11 frames directly to the AC while others may tunnel
   802.3 frames, which may be optionally 802.1Q-tagged using tags
   assigned by the AC.








Narasimhan, et al.              Historic                       [Page 24]
^L
RFC 5413                          SLAPP                    February 2010


   The delivery mechanism of these GRE packets is IP.  Therefore, the IP
   protocol of the outer packet is 47, indicating a GRE header follows.
   When GRE encapsulates 802.11 frames, the ether type in the GRE header
   is TBD; when GRE encapsulates 802.3 frames, the ether type in the GRE
   header is TBD2.

   Since IP is the delivery mechanism, all issues governing
   fragmentation and reassembly are handled by [5].

6.1.2.1.  SLAPP 802.11 Control Protocol Header

   When using the 802.11 Control Protocol, the type of SLAPP message is
   four (4), "control protocol packet".  In this case, a two (2) octet
   field is appended to the SLAPP header to indicate the control
   protocol type as shown in Figure 8.  The SLAPP 802.11 Control
   Protocol takes place in the "Negotiated Control Protocol" phase of
   Section 4.1, and all SLAPP 802.11 Control Protocol messages are
   therefore secured by the security association created immediately
   prior to entering that phase.

       0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  802.11 Control Protocol Type |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                  Figure 8: SLAPP Control Protocol Header

   Where valid 802.11 Control Protocol Types are:

      1 : Registration Request - sent from WTP to AC

      2 : Registration Response - sent from AC to WTP

      3 : De-Registration Request - sent by either WTP or AC

      4 : De-Registration Response - sent by the recipient of the
          corresponding request

      5 : Configuration Request - sent by WTP to AC

      6 : Configuration Response - sent by AC to WTP

      7 : Configuration Update - sent by AC to WTP

      8 : Configuration Acknowledgment - sent by the WTP to AC



Narasimhan, et al.              Historic                       [Page 25]
^L
RFC 5413                          SLAPP                    February 2010


      9 : Status Request - sent by the AC to the WTP

      10 : Status Response - sent by the WTP to the AC

      11 : Statistics Request - sent by the AC to the WTP

      12 : Statistics Response - sent by the WTP to the AC

      13 : Event - sent by the WTP to the AC

      14 : Keepalive - sent either way

      15 : Key Config Request - sent by the AC to the WTP

      16 : Key Config Response - sent by the WTP to the AC

6.1.3.  Provisioning and Configuration of WTP

   All basic configuration functions are applicable per-Extended Service
   Set Identifier (ESSID) per-radio in a WTP.  Some WTPs MAY support
   more than one ESSID per-radio, while all WTPs MUST support at least
   one ESSID per-radio, which may be considered the primary ESSID in
   case of multiple ESSID support.  All per-WTP configurations and
   capabilities (e.g., number of radios) are handled as part of the
   discovery and initialization process.

   The provisioning of the regulatory domain of a WTP is beyond the
   scope of this document.  A WTP, once provisioned for a specific
   regulatory domain, MUST restrict the operational modes, channel,
   transmit power, and any other necessary limits based on the knowledge
   contained within its software image and hardware capabilities.  The
   WTP MUST communicate its capabilities limited by the regulatory
   domain as well as by the WTP hardware, if any, to the AC during the
   capability exchange.

   The allocation and assignment of Basic Service Set Identifiers
   (BSSIDs) to the primary interface and to the virtual access point
   (AP) interfaces, if supported, are outside the scope of this
   document.

6.1.3.1.  Information Elements

   Information elements (IEs) are used to communicate capability,
   configuration, status, and statistics information between the AC and
   the WTP.






Narasimhan, et al.              Historic                       [Page 26]
^L
RFC 5413                          SLAPP                    February 2010


6.1.3.1.1.  Structure of an Information Element

   The structure of an information element is show below.  The element
   ID starts with an element ID octet, followed by a 1-octet length, and
   the value of the element ID whose length is indicated in the Length
   field.  The maximum length of an element is 255 octets.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   Element ID  |     Length    |   Value ....                  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

6.1.3.1.2.  CAPWAP Mode

   This element defines the MAC architecture modes (Section 6.1.1).

      Element ID : 1

      Length : 1

      Value : The following values are defined.

      Bit 0 : CAPWAP mode 1 - Local MAC, bridged mode

      Bit 1 : CAPWAP mode 2 - Local MAC, tunneled mode

      Bit 2 : CAPWAP mode 3 - Split MAC, WTP encryption, 802.3 tunneling

      Bit 3 : CAPWAP mode 4 - Split MAC, WTP encryption, 802.11
              tunneling

      Bit 4 : CAPWAP mode 5 - Split MAC, AC encryption, 802.11 tunneling

      Bits 5-7 : Set to 0

   When this element is included in the capabilities message, then the
   setting of a bit indicates the support for this CAPWAP mode at the
   WTP.  When this element is used in configuration and status messages,
   then exactly one of bits 0-4 MUST be set.

6.1.3.1.3.  Number of WLAN Interfaces

   This element refers to the number of 802.11 WLANs present in the WTP.

      Element ID : 2

      Length : 1



Narasimhan, et al.              Historic                       [Page 27]
^L
RFC 5413                          SLAPP                    February 2010


      Value : 0-255

6.1.3.1.4.  WLAN Interface Index

   This element is used to refer to a particular instance of a WLAN
   interface when used in configuration and status messages.  When used
   within a recursion element, the elements within the recursion element
   correspond to the WLAN interface specified in this element.

      Element ID : 3

      Length : 1

      Value : 0 - (Number of WLAN interfaces - 1)

6.1.3.1.5.  WLAN Interface Hardware Vendor ID

   This element is the WLAN Interface hardware vendor's SMI enterprise
   code in network octet order (these enterprise codes can be obtained
   from, and registered with, IANA).  This field appears once for each
   instance of WLAN interface present in the WTP.

      Element ID : 4

      Length : 4

      Value : 32-bit value

6.1.3.1.6.  WLAN Interface Type ID

   This element is an ID assigned by the WLAN Interface hardware vendor
   to indicate the type of the WLAN interface.  It is controlled by the
   hardware vendor and the range of possible values is beyond the scope
   of this document.  This field appears once for each instance of a
   WLAN interface present in the WTP.

      Element ID : 5

      Length : 4

6.1.3.1.7.  Regulatory Domain

   If a regulatory domain is provisioned in the WTP, then the WTP
   indicates this by including this element in the capabilities list.
   If this information is not available at the WTP, then this element
   SHOULD not be included in the capabilities list.  The process by
   which this information is provisioned into the WTP is beyond the
   scope of this document.



Narasimhan, et al.              Historic                       [Page 28]
^L
RFC 5413                          SLAPP                    February 2010


      Element ID : 6

      Length : 4

      Value : ISO code assigned to the regulatory domain

6.1.3.1.8.  802.11 PHY Mode and Channel Information

   This element indicates the list of 802.11 Physical Layer (PHY) modes
   supported by the WTP along with a list of channels and maximum power
   level supported for this mode.  This element appears once for each
   instance of WLAN interface at the WTP.  There could be multiple
   instances of this element if the WLAN interface supports multiple PHY
   types.

      Element ID : 7

      Length : Variable

      Valid : This field consists of

      PHY mode : With a length of 1 octet with values as follows:

         0 : Radio Disabled/Inactive

         1 : IEEE 802.11b

         2 : IEEE 802.11g

         3 : IEEE 802.11a

         4-255 : Reserved

      Power Level : In the capabilities messages, this indicates the
         maximum power level supported in this mode by the WTP; while in
         the configuration and status messages, this field indicates the
         desired power level or the current power level that the WTP is
         operating at.  The field has a length of 1 octet and the power
         level is indicated in dBm.

      Channel Information : A variable number of 2-octet values that
         indicate the center frequencies (in KHz) of all supported
         channels in this PHY mode.

   When this element is used in configuration and status messages, the
   Power Level field indicates the desired or current operating power
   level.  The Channel field has exactly one 2-octet value indicating
   the desired or current operating frequency.



Narasimhan, et al.              Historic                       [Page 29]
^L
RFC 5413                          SLAPP                    February 2010


6.1.3.1.9.  Cryptographic Capability

   In the capabilities message, this element contains the list of
   cryptographic algorithms that are supported by the WTP.  This appears
   once for each instance of the WLAN interface present in the WTP.  In
   configuration and status messages, this element is used to indicate
   the configured cryptographic capabilities at the WTP.

      Element ID : 8

      Length : 1

      Value : The following bits are defined:

         Bit 0 : WEP

         Bit 1 : TKIP

         Bit 2 : AES-CCMP

         Bits 3-7 : Reserved

6.1.3.1.10.  Other IEEE 802.11 Standards Support

   This element contains a bitmap indicating support at the WTP for
   various IEEE 802.11 standards.

      Element ID : 9

      Length : 4

      Value : A bitmap as follows:

         Bit 0 : WPA

         Bit 1 : 802.11i

         Bit 2 : WMM

         Bit 3 : WMM-SA

         Bit 4 : U-APSD

         Bits 5-32 : Reserved







Narasimhan, et al.              Historic                       [Page 30]
^L
RFC 5413                          SLAPP                    February 2010


6.1.3.1.11.  Antenna Information Element

   In the capabilities message, this element is formatted as follows

      Element ID : 10

      Length : 4

      Value : Formatted as follows:

         Bits 0-7 : Number of Antennae

         Bit 8 : Individually Configurable, 0 = No, 1 = Yes

         Bit 9 : Diversity support, 0 = No, 1 = Yes

         Bit 10 : 0 = Internal, 1 = External

         Bits 11-31 : Reserved

   In configuration and status messages, this element is formatted as
   follows:

      Element ID : 10

      Length : 4

      Value : Formatted as follows:

         Bits 0-7 : Antenna Number - is a number between 0 and the
         number of antennae indicated by the WTP.  The value is valid
         only if Bit 8 is set; otherwise, it MUST be ignored.

         Bit 8 : Antenna Select - if this bit is reset, then the antenna
         selection is left to the algorithm on the WTP.  If this bit is
         set, then the Antenna Number field indicates the antenna that
         should be used for transmit and receive.

         Bits 9-31 : Reserved

6.1.3.1.12.  Number of BSSIDs

   This element indicates the number of BSSIDs supported by the WLAN
   interface.  This element is optional in the capabilities part of the
   registration request message, and if it is absent, then the number of
   BSSIDs is set to 1.  This element appears once for each instance of a
   WLAN interface present in the WTP.




Narasimhan, et al.              Historic                       [Page 31]
^L
RFC 5413                          SLAPP                    February 2010


      Element ID : 11

      Length : 1

      Value : The number of BSSIDs that the WLAN interface is capable of
      supporting.

6.1.3.1.13.  BSSID Index

   This element is used when sending configuration or status specific to
   a certain BSSID in the WTP.

      Element ID : 12

      Length : 1

      Valid values are from 0 to (Number of BSSIDs -1)

6.1.3.1.14.  ESSID

   This element is used in configuration and status messages to either
   configure the ESSID on a certain BSSID or report the current
   operating value.

      Element ID : 13

      Length : Variable, between 0 and 32 both inclusive.

      Value : Variable, contains ASCII characters.

   There is no default value for this parameter.

6.1.3.1.15.  ESSID Announcement Policy

   This element is used in configuration and status messages to control
   the announcement of the ESSID in 802.11 beacons.  For the Local MAC
   modes of operation, this field is also used to control whether the
   WTP should respond to Probe Requests that have a NULL ESSID in them.

      Element ID : 14

      Length : 1

      Value : Defined as follows:

      Bit 0 : ESSID announcement, 0 = Hide ESSID, 1 = Display ESSID in
              802.11 beacons.  The default value for this bit is 1.




Narasimhan, et al.              Historic                       [Page 32]
^L
RFC 5413                          SLAPP                    February 2010


      Bit 1 : Probe Response policy, 0 = Respond to Probe Requests that
              contain a NULL ESSID, 1 = Respond only to Probe Requests
              that match the configured ESSID.  The default value for
              this bit is 0.

      Bit 2-7 : Reserved

6.1.3.1.16.  Beacon Interval

   This element is used to configure the beacon interval on a BSSID on
   the WTP.

      Element ID : 15

      Length : 2

      Value : Valid values for the beacon interval as allowed by IEEE
      802.11

   The default value for this parameter is 100.

6.1.3.1.17.  DTIM period

   This element is used to configure the DTIM period on a BSSID present
   on the WTP.

      Element ID : 16

      Length : 2

      Value : Valid values for the DTIM period as allowed by IEEE
      802.11.

   The default value for this parameter is 1.

6.1.3.1.18.  Basic Rates

   Configure or report the configured set of basic rates.

      Element ID : 17

      Length : 4

      Value : Each of the bits in the following list is interpreted as
      follows.  If the bit is set, then that particular rate is to be
      configured as a basic rate.  If the bit is reset, then the rate is
      not to be configured as a basic rate.




Narasimhan, et al.              Historic                       [Page 33]
^L
RFC 5413                          SLAPP                    February 2010


         Bit 0 : 1 Mbps

         Bit 1 : 2 Mbps

         Bit 2 : 5.5 Mbps

         Bit 3 : 11 Mbps

         Bit 4 : 6 Mbps

         Bit 5 : 9 Mbps

         Bit 6 : 12 Mbps

         Bit 7 : 18 Mbps

         Bit 8 : 24 Mbps

         Bit 9 : 36 Mbps

         Bit 10 : 48 Mbps

         Bit 11 : 54 Mbps

         Bits 12-31 : Reserved

6.1.3.1.19.  Supported Rates

   Configure or report the configured set of basic rates.

      Element ID : 18

      Length : 4

      Value : Each of the bits in the following list is interpreted as
      follows.  If the bit is set, then that particular rate is to be
      configured as a supported rate.  If the bit is reset, then the
      rate is not to be configured as a supported rate.

         Bit 0 : 1 Mbps

         Bit 1 : 2 Mbps

         Bit 2 : 5.5 Mbps

         Bit 3 : 11 Mbps

         Bit 4 : 6 Mbps



Narasimhan, et al.              Historic                       [Page 34]
^L
RFC 5413                          SLAPP                    February 2010


         Bit 5 : 9 Mbps

         Bit 6 : 12 Mbps

         Bit 7 : 18 Mbps

         Bit 8 : 24 Mbps

         Bit 9 : 36 Mbps

         Bit 10 : 48 Mbps

         Bit 11 : 54 Mbps

         Bits 12-31 : Reserved

6.1.3.1.20.  802.11 Retry Count

   This element is used to configure long and short retries for each
   BSSID present on the WTP.

      Element ID : 19

      Length : 2

      Value : as follows:

         Bits 0-7 : Short retry count, default value is 3.

         Bits 8-15 : Long retry count, default value is 3.

6.1.3.1.21.  Fragmentation Threshold

   This element is used to configure the fragmentation threshold on a
   BSSID present on the WTP.

      Element ID : 20

      Length : 2

      Value : Valid values for the fragmentation threshold as allowed by
      IEEE 802.11.

   The default value for this parameter is 2346.







Narasimhan, et al.              Historic                       [Page 35]
^L
RFC 5413                          SLAPP                    February 2010


6.1.3.1.22.  RTS Threshold

   This element is used to configure the Request to Send (RTS) threshold
   on a BSSID present on the WTP.

      Element ID : 21

      Length : 2

      Value : Valid values for RTS threshold as allowed by IEEE 802.11.

   The default value for this parameter is 2346.

6.1.3.1.23.  Short/Long Preamble

   This element is used to configure the preamble type used for
   transmission in 802.11b mode.

      Element ID : 22

      Length : 1

      Value : Defined as follows:

         0 : Disable Short preamble

         1 : Enable Short preamble

         2-255 : Reserved

   The default value for this parameter is 0.

6.1.3.1.24.  802.1Q Tag

   This element is used to configure the tagging of packets belonging to
   a particular SSID when transferred between the AC and the WTP in
   CAPWAP modes 2-3, or before the WTP bridges the 802.3 frame to its
   wired interface when operating in CAPWAP mode 1.

      Element ID : 23

      Length : 2

      Value : 802.1Q tag

   If this element is absent in the configuration, then the WTP MUST
   assume that no tagging is required and should expect to receive
   untagged frames on frames destined towards the wireless interface.



Narasimhan, et al.              Historic                       [Page 36]
^L
RFC 5413                          SLAPP                    February 2010


6.1.3.1.25.  SLAPP Registration ID

   A successful registration response from an AC to a WTP MUST contain
   this element.  It is used in messages between the WTP and the AC on
   all other messages during the duration for which the registration is
   active.

      Element ID : 24

      Length : 4

      Value : A 32-bit unsigned number allocated by the AC

6.1.3.1.26.  WTP Name

   The AC uses this element to assign a string of ASCII characters to
   the WTP.

      Element ID : 25

      Length : Variable, between 0 and 64 both inclusive

      Value : A variable length string of ASCII characters

6.1.3.1.27.  Event Filter

   The AC uses this element to assign importance to events, enable or
   disable notification, and to configure the global event notification
   policy.  When the Event Identifier is 0, this element serves as a
   global notification policy message.  The bitmap indicates the types
   of events that require the WTP to generate a notification.  When the
   Event Identifier is non-zero, this element is used to configure a
   specific event for notification and its importance level.  The
   importance level is specified by setting exactly one bit in the
   bitmap.  If none of the bits are set in the bitmap, the element
   should be interpreted as a cancellation request.  The WTP should stop
   sending notifications for the corresponding event specified in the
   Element Identifier.

      Element ID : 26

      Length : 4

      Value : Defined as follows:

         Bits 0 - 15: Event Identifier

         Bit 16: Fatal - The system is not usable.



Narasimhan, et al.              Historic                       [Page 37]
^L
RFC 5413                          SLAPP                    February 2010


         Bit 17: Alert - Immediate action is required.

         Bit 18: Critical

         Bit 19: Error

         Bit 20: Warning

         Bit 21: Notification

         Bit 22: Informational

         Bit 23: Debug

         Bits 24 - 31: Reserved

6.1.3.1.28.  Radio Mode

   The AC uses this element to indicate the mode of operation for the
   radio for each WLAN interface.

      Element ID : 27

      Length : 1

      Value : The following are valid values:

         0 : Radio is disabled

         1 : Radio is enabled

         2-255 : Reserved

6.1.3.1.29.  IEEE 802.11e Element

   The AC uses this element to configure 802.11e functions at the WTP.

      Element ID : 28

      Length : 4

      Value : A bitmap as follows:

         Bit 0 : WMM

         Bit 1 : WMM-SA

         Bit 2 : U-APSD



Narasimhan, et al.              Historic                       [Page 38]
^L
RFC 5413                          SLAPP                    February 2010


         Bits 3-32 : Reserved

6.1.3.1.30.  Configuration Statistics

   This element defines the statistics relating to configuration and
   registration events as seen by the WTP.

      Element ID : 29

      Length : 32

      Value : The value is as follows:

      *  Configuration Requests : 4 octets - Number of Configuration
         Request messages sent by the WTP since the last reboot or reset
         of the counters.

      *  Configuration Responses : 4 octets

      *  Configuration Updates : 4 octets

      *  Configuration ACKs : 4 octets

      *  Registration Requests : 4 octets

      *  Registration Responses : 4 octets

      *  De-Registration Requests : 4 octets

      *  De-Registration Responses : 4 octets

6.1.3.1.31.  Transmit Frame Counters

   This information element contains a set of counters relating to the
   transmit side of the wireless link at the WTP.  These counters apply
   to either a BSS or an Access Category (if Wireless Multimedia (WMM)
   is enabled).

      Element ID : 30

      Length : 112 octets

      Value : The value of this element is defined as follows:

      *  Total received from the network : 4 octets

      *  Successfully transmitted frames (total) : 4 octets




Narasimhan, et al.              Historic                       [Page 39]
^L
RFC 5413                          SLAPP                    February 2010


      *  Successfully transmitted 802.11 Mgmt frames : 4 octets

      *  Successfully transmitted 802.11 Data frames : 4 octets

      *  Transmitted 802.11 Control frames : 4 octets

      *  Frames that reached max-retry limit : 4 octets

      *  Transmitted frames with 1 retry attempt : 4 octets

      *  Transmitted frames with 2 retry attempts : 4 octets

      *  Transmitted frames with more than 2 retry attempts : 4 octets

      *  Frames transmitted at each 802.11 PHY rate : 12*4 octets - The
         counters indicate the number of frames at each of the following
         rates, respectively: 1, 2, 5.5, 11, 6, 9, 12, 18, 24, 36, 48,
         54 Mbps.

      *  Total frame dropped : 4 octets

      *  Frames dropped due to insufficient resources : 4 octets

      *  Frames dropped due to power-save timeouts : 4 octets

      *  Frames dropped due to other reasons : 4 octets

      *  Fragments transmitted : 4 octets

      *  Fragments dropped : 4 octets

      *  Power-save multicast frames : 4 octets

      *  Power-save unicast frames : 4 octets

6.1.3.1.32.  Received Frame Counters

   This information element includes all statistics related to the
   reception of the frames by WTP.  These counters apply to either a BSS
   or an Access Category (if WMM is enabled).

      Element ID : 31

      Length : 108 octets

      Value : The value of this element is defined as follows:

      *  Total Frames received : 4 octets



Narasimhan, et al.              Historic                       [Page 40]
^L
RFC 5413                          SLAPP                    February 2010


      *  Frames with the retry bit set : 4 octets

      *  802.11 Data frames received : 4 octets

      *  802.11 Mgmt frames received : 4 octets

      *  802.11 Control frames received : 4 octets

      *  Cyclic Redundancy Check (CRC) errors : 4 octets

      *  PHY errors : 4 octets

      *  Total Fragments received : 4 octets

      *  Reassembled frames : 4 octets

      *  Reassembly failures : 4 octets

      *  Successful Decryption : 4 octets

      *  Decryption failures : 4 octets

      *  Rate statistics : 48 octets - The number of frames received at
         each of the 802.11 PHY rates, respectively - 1, 2, 5.5, 11, 6,
         9, 12, 18, 24, 36, 49, 54 Mbps.

      *  Total frames dropped : 4 octets

      *  Frames dropped due to insufficient resources : 4 octets

      *  Frames dropped due to other reasons : 4 octets

6.1.3.1.33.  Association Statistics

   This element includes information about the current stations
   associated with the BSS.

      Element ID : 32

      Length : Variable

      Value : The value is defined as follows:

      *  Total association requests : 4 octets

      *  Total associations accepted : 4 octets

      *  Total associations rejected : 4 octets



Narasimhan, et al.              Historic                       [Page 41]
^L
RFC 5413                          SLAPP                    February 2010


      *  Current associations : 4 octets

      *  For each associated station,

         +  Station MAC address : 6 octets

         +  Power save state : 1 octet

         +  Current Tx rate : 1 octet

         +  Rate of last packet : 1 octet

         +  Preamble type : 1 octet

         +  WMM/U-APSD state : 1 octet

6.1.3.1.34.  Status Element

   The status IE is included in the status response message sent by the
   WTP to the AC.  It contains a set of fields that are used to indicate
   the status of various states at the WTP or each BSS configured in the
   WTP.

      Element ID : 33

      Length : 2 octets

      Value : The value is defined as follows:

         Enterprise Resource Planning (ERP) element, if applicable.  If
         not applicable, then this field MUST be set to 0.

         Noise Floor : 1 octet

6.1.3.1.35.  Event Configuration

   This element is used by the AC to configure the set of events that it
   wants to be notified by the WTP.

      Element ID : 34

      Length : 4 octets

      Value : The value is defined as follows:

      *  Radar Detection - 1 octet





Narasimhan, et al.              Historic                       [Page 42]
^L
RFC 5413                          SLAPP                    February 2010


         +  Bit 0 : 1 = notify on detecting radar interference, 0
            otherwise.

         +  Bit 1 : 1 = notify of channel change due to radar
            interference, 0 otherwise.

         +  All other bits are reserved.

      *  Excessive Retry Event - 1 octet.  Number of successive frames
         that have not been acknowledged by a client.  A value of 0
         disables notification.

      *  Noise Floor Threshold - 1 octet.  Defines the threshold above
         which an event would be generated by the WTP.

      *  802.11 Management and Action Frame Notification - 1 octet.

         +  Bit 0 : If set, notify the AC of Probe Requests from
            stations (please use with caution).  If reset, then no Probe
            Response notification is needed.

         +  Bit 1 : If set, the WTP should notify the AC of all other
            management frames from stations.

         +  All other bits are reserved.

6.1.3.1.36.  Radar Detection Event

   This element is used by the WTP to notify the AC of the detection of
   radar interference and any channel changes as a result of this
   detection.

      Element ID : 35

      Length : 10 octets

      Value : Defined as follows:

         BSSID : 6 octets.  The BSSID of the WLAN interface that
         detected the radar interference.

         Channel : 2 octets.  The channel on which radar interference
         was detected.

         New Channel : 2 octets.  The new channel to which the WTP moved
         as a result of the detection of radar interference.





Narasimhan, et al.              Historic                       [Page 43]
^L
RFC 5413                          SLAPP                    February 2010


6.1.3.1.37.  Excessive Retry Event

   This element is used by the WTP to indicate excessive retry events on
   transmission to an associated station.

      Element ID : 36

      Length : 14 octets

      Value : Defined as follows:

         Station MAC : 6 octets

         Associated BSSID : 6 octets

         Length of last burst of excessive retries : 2 octets.

6.1.3.1.38.  Noise Floor Event

   This element is used by the WTP to notify the AC of the current noise
   floor at one of the WLAN interfaces exceeding the configured noise
   floor threshold.

      Element ID : 37

      Length : 10 octets

      Value : Defined as follows:

         BSSID : 6 octets

         Current Channel : 2 octets

         Current Noise Floor : 2 octets

6.1.3.1.39.  Raw 802.11 Frame

   This element provides a generic capability for either a WTP or an AC
   to send a raw 802.11 frame to the other party.  For example, it can
   be used to notify the AC of station association/disassociation events
   in the case of Local MAC architectures.

      Element ID : 252

      Length : Variable

      Value : A raw 802.11 frame




Narasimhan, et al.              Historic                       [Page 44]
^L
RFC 5413                          SLAPP                    February 2010


6.1.3.1.40.  Vendor-Specific Element

   This element is used to transfer vendor-specific information between
   the WTP and the AC.

      Element ID : 253

      Length : Variable, > 3

      Value : This variable-length element starts with a 3-octet
      Organizationally Unique Identifier (OUI), followed by a series of
      octets that are specific to the vendor represented by the OUI.

6.1.3.1.41.  Recursion Element

   This element type can be used to recursively define a variable-length
   element that should be interpreted as a series of other elements
   defined in this section.  It can be used to bound a set of elements
   as a unit.

      Element ID : 254

      Length : Variable

      Value : A variable length element that contains a set of one or
      more elements defined in this section.

6.1.3.1.42.  Pad Element

   This is a generic element type that can be used to pad the packets,
   if necessary.

      Element ID : 255

      Length : Variable

      Value : A variable-length element that MUST be filled with all 0s
      at the source and MUST be ignored at the destination.













Narasimhan, et al.              Historic                       [Page 45]
^L
RFC 5413                          SLAPP                    February 2010


6.1.3.2.  SLAPP 802.11 Control Protocol Messages

6.1.3.2.1.  Registration Request

   At the start of the SLAPP 802.11 Control Protocol, the WTP sends a
   registration request to the AC that it authenticated with.  The
   registration request carries a list of information elements
   indicating the WTP's capabilities to the AC.  The message starts with
   the SLAPP 802.11 Control Protocol header (Figure 8) with a SLAPP
   Control Protocol message type of 1.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |               1               |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                       Transaction ID                          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                    Information Elements                       ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                Figure 9: SLAPP 802.11 Registration Request

      Flags : Reserved

      Transaction ID : A 32-bit random number chosen by the WTP at the
      start of a new registration phase.  This number is used in the
      registration response by the AC to match the response to the
      corresponding request.

   The following information elements are mandatory in the capabilities
   exchange:

      1 : CAPWAP mode

      2 : Number of WLAN interfaces

      For each WLAN interface:

         7 : 802.11 PHY mode and Channel Information

         8 : Cryptographic Capability

         9 : Other 802.11 standards support





Narasimhan, et al.              Historic                       [Page 46]
^L
RFC 5413                          SLAPP                    February 2010


   The following information elements may be optionally included in the
   registration request:

      For each WLAN interface:

         4 : WLAN Interface HW Vendor ID

         5 : WLAN Interface Type ID

         6 : Regulatory Domain

         10 : Antenna Information Element

         11 : Number of BSSIDs

         253 : Vendor-Specific Element

6.1.3.2.2.  Registration Response

   Upon receiving a registration request, the AC may either chose to
   accept the WTP or reject its registration request.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |               2               |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                       Transaction ID                          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                    Information Elements                       ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

               Figure 10: SLAPP 802.11 Registration Response

      Flags :

         Bit 0 : Indicates the status of the transaction, 0 = successful
         response from the AC, 1 = the registration request is being
         rejected by the AC.

         Bits 1-7 : Reserved

         Bits 8-15 : If bit 0 = 1 (i.e., the registration request is
         being rejected by the AC), then this field contains a reason
         code.  Otherwise, these bits are currently set to 0.  The
         following reason codes are currently defined:



Narasimhan, et al.              Historic                       [Page 47]
^L
RFC 5413                          SLAPP                    February 2010


            0 : Reserved

            1 : Unspecified reason

            2 : Unable to handle more WTPs

            3 : Incompatible capabilities

            4-255 : Reserved

      Transaction ID : A 32-bit random number chosen by the WTP at the
      start of a new registration phase.  This number is used in the
      registration response by the AC to match the response to the
      corresponding request.

   The following information elements are mandatory if the transaction
   is successful:

      1 : CAPWAP mode - the mode that the AC chooses from among the list
      of supported modes sent by the WTP in the registration request.

      24 : SLAPP registration ID

6.1.3.2.3.  De-Registration Request

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |               3               |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                        Reason Code                            |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

              Figure 11: SLAPP 802.11 De-Registration Request

      Flags : Reserved

      SLAPP Registration ID : The registration ID assigned by the AC
      upon successful registration.

      Reason Code : The following are valid values:

         0 : Unspecified reason




Narasimhan, et al.              Historic                       [Page 48]
^L
RFC 5413                          SLAPP                    February 2010


         1 : The device that is the source of the frame is going down.

         All other values are reserved.

6.1.3.2.4.  De-Registration Response

   The De-Registration Response is a simple ACK from the recipient of
   the corresponding De-Registration Request.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |               4               |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                        Reason Code                            |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

             Figure 12: SLAPP 802.11 De-Registration Response

      Flags : Reserved

      SLAPP Registration ID : The registration ID assigned by the AC
      upon successful registration.

      Reason Code : The same reason code used in the corresponding
      request.





















Narasimhan, et al.              Historic                       [Page 49]
^L
RFC 5413                          SLAPP                    February 2010


6.1.3.2.5.  Configuration Request

   The Configuration Request message is used by the WTP to request a set
   of configurations for each BSS that the AC wishes to configure at the
   WTP.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |               5               |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                 Information Element ID list                   ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

               Figure 13: SLAPP 802.11 Configuration Request

   The Information Element ID list field contains the list of IEs that
   the WTP is interested in obtaining configuration information for.

6.1.3.2.6.  Configuration Response

   The Configuration Response message is used by the AC to respond to a
   Configuration Request by the WTP.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |               6               |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                 Information Element list                      ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

              Figure 14: SLAPP 802.11 Configuration Response

   The following information elements are mandatory in the Configuration
   Response:

      01: CAPWAP mode

      For each WLAN interface:



Narasimhan, et al.              Historic                       [Page 50]
^L
RFC 5413                          SLAPP                    February 2010


         03: WLAN Interface Index

         27: Radio Mode

         07: 802.11 PHY mode and Channel Selection

         For each BSSID:

            12: BSSID Index

            13: ESSID

            08: Cryptographic Selection

   The following information elements may be optionally included in the
   Configuration Response:

      10: Antenna Information Element

      25: WTP Name

      For each WLAN interface:

         For each BSSID:

            14: ESSID Announcement Policy

            15: Beacon Interval

            16: DTIM Period

            17: Basic Rates

            18: Supported Rates

            19: Retry Count

            20: Fragmentation Threshold

            21: RTS Threshold

            22: Short/Long Preamble

            23: 802.1Q Tag

            253: Vendor-Specific Element





Narasimhan, et al.              Historic                       [Page 51]
^L
RFC 5413                          SLAPP                    February 2010


   If any of the optional IEs is absent in the Configuration Response
   message, then their default values are applied by the WTP.

6.1.3.2.7.  Configuration Update

   The Configuration Update message is initiated by the AC to push
   modified or updated configuration to the WTP.  It has a format
   similar to that of the Configuration Response message defined above.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |               7               |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                 Information Element list                      ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

               Figure 15: SLAPP 802.11 Configuration Update

   The list of mandatory and optional IEs for the Configuration Update
   message is the same as that for the Configuration Response message.

6.1.3.2.8.  Configuration Acknowledgment

   The Configuration Acknowledgment message is used by the WTP to inform
   the AC whether it has accepted the prior Configuration Update or
   Configuration Response message.  The WTP can reject the configuration
   sent by the AC, in which case it MUST return to the discovery state.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |               8               |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                        Status Code                            |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                 Figure 16: SLAPP 802.11 Configuration ACK

   The Status Code field contains one of the following values:



Narasimhan, et al.              Historic                       [Page 52]
^L
RFC 5413                          SLAPP                    February 2010


      0 : Success - The WTP accepts that the configuration pushed by the
      AC and has applied it.

      1 : Failure - The WTP did not accept the configuration pushed by
      the AC and MUST be de-registered at the AC.

6.1.3.2.9.  Status Request

   The status request message is used by the AC to request the
   configuration and operational status from the WTP.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |               9               |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                  Information Element ID list                  ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                  Figure 17: SLAPP 802.11 Status Request

   The Information Element ID list contains the list of IEs for which
   the AC requests status.

6.1.3.2.10.  Status Response

   The status response message is used by the WTP to respond to a status
   request from the AC.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |              10               |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                   Information Element list                    ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                  Figure 18: SLAPP 802.11 Status Response

   The Flags field contains one of the following values:



Narasimhan, et al.              Historic                       [Page 53]
^L
RFC 5413                          SLAPP                    February 2010


      Bit 0 : If set, Unknown AC or SLAPP registration ID.  If this bit
      is reset, then this indicates a successful response.

      Bit 1 : If set, the WTP indicates that it has not been configured
      yet; otherwise, the WTP is in a configured state.

      All other values are reserved.

   The status IE is mandatory in a status response message.

6.1.3.2.11.  Statistics Request

   The Statistics request message is used by the AC to request
   statistics information from the WTP.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |              11               |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                   Information Element list                    ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                Figure 19: SLAPP 802.11 Statistics Request

   The Flags field contains the following bits:

      Bit 0 : If set to 1, then the WTP should reset the counters after
      sending the statistics response message.

      All other bits are reserved and MUST be set to 0 by the source and
      ignored by the destination.















Narasimhan, et al.              Historic                       [Page 54]
^L
RFC 5413                          SLAPP                    February 2010


6.1.3.2.12.  Statistics Response

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |              12               |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                   Information Element list                    ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                Figure 20: SLAPP 802.11 Statistics Response

   The Flags field contains the following bits:

      Bit 0 : If set, then the counters have been reset as requested by
      the AC.

      Bit 1 : If set, then the WTP has encountered a statistics request
      from either an unknown AC or with an unknown SLAPP registration
      ID.

      Bit 2 : If set, WTP indicates that it has not been configured yet;
      otherwise, the WTP is in a configured state.

      All other bits are reserved.

6.1.3.2.13.  Keepalive

   The keepalive messages can be initiated by either the WTP or the AC.
   It is used to probe the availability of the other party and the path
   between them.  The initial message is termed the keepalive request,
   while the response to that message is termed the keepalive response.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |              13               |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                     Figure 21: SLAPP Keepalive Packet



Narasimhan, et al.              Historic                       [Page 55]
^L
RFC 5413                          SLAPP                    February 2010


   The Flags field has the following values:

      Bit 0 : Set to 0 in a keepalive request message, set to 1 in a
      keepalive response message.

      Bit 1 : Set to 0 in a keepalive request message, set to 1 in a
      keepalive response message if the initiator of the keepalive
      request is unknown or the SLAPP registration ID is incorrect, and
      set to 0 otherwise.

      All other bits are reserved and must be set to 0 by the source and
      ignored at the destination.

6.1.3.2.14.  Key Configuration

   In CAPWAP mode 5, the 802.11 crypto functions are performed at the
   AC.  So there is no need for the AC to send PTKs/GTKs to the WTP.
   When one of the CAPWAP Modes 1-4 has been negotiated between the AC
   and WTP, it is necessary for the AC to send both unicast and
   broadcast/multicast keys to the WTP.  This is accomplished after the
   802.1x authenticator (which resides on the AC) has successfully
   authenticated the supplicant.  Key Configuration Requests are
   differentiated -- unicast or broadcast -- by setting or clearing the
   high-order bit of the "Flags" field.  The setting of this bit
   determines the contents of the Key Configuration Request following
   the SLAPP Registration ID.

























Narasimhan, et al.              Historic                       [Page 56]
^L
RFC 5413                          SLAPP                    February 2010


6.1.3.2.14.1.  Unicast Key Configuration Request

   The Unicast Key Configuration Request is used by the AC to inform the
   WTP of the key to use when protecting unicast frames to and from a
   specified supplicant.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |              15               |0|          Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                     supplicant MAC address                    ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | supplicant mac address (cont) |  Supp 802.1Q tag      | RSVD  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     unicast key length        |         unicast key           ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

               Figure 22: Unicast Key Configuration Request

   Note the high-order bit of the "Flags" field is cleared to indicate a
   unicast key is being sent.  The 802.1Q tag field is used to indicate
   to the WTP which VLAN this supplicant is in and which broadcast/
   multicast key to use when communicating to it with broadcast/
   multicast frames.

6.1.3.2.14.2.  Broadcast/Multicast Key Configuration Request

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |              15               |1|          Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |    801.1q tag         | RSVD  | broadcast/multicast key length|
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                  broadcast/multicast key                      ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                Figure 23: Group Key Configuration Request




Narasimhan, et al.              Historic                       [Page 57]
^L
RFC 5413                          SLAPP                    February 2010


   Note the high-order bit of the "Flags" field is set, indicating a
   broadcast/multicast key is being sent.  The bits marked "RSVD" are
   reserved and MUST be set to zero by the AC and ignored by the WTP.

6.1.3.2.14.3.  Unicast Key Configuration Response

   The WTP acknowledges receipt of a Unicast Key Configuration Request
   by sending a Unicast Key Configuration Response.  This response
   mirrors the request but does not send back the key length or the key
   itself.  (The RSVD bits are returned for alignment purposes and MUST
   be set to zero by the WTP and ignored by the AC.)

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |              16               |0|          Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                     supplicant MAC address                    ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | supplicant mac address (cont) |  Supp 802.1Q tag      | RSVD  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

               Figure 24: Unicast Key Configuration Response
























Narasimhan, et al.              Historic                       [Page 58]
^L
RFC 5413                          SLAPP                    February 2010


6.1.3.2.14.4.  Multicast Key Configuration Response

   The WTP acknowledges receipt of a Multicast Key Configuration Request
   by sending a Multicast Key Configuration Response.  This response
   mirrors the request, but it does not send back the key length or the
   key itself.  (The RSVD bits are returned for alignment purposes and
   MUST be set to zero by the WTP and ignored by the AC.)

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |      4        |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |              16               |0|          Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    SLAPP Registration ID                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |    801.1q tag         | RSVD  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                Figure 25: Group Key Configuration Response

6.1.3.3.  Monitoring and Statistics

   An AC may want to periodically monitor the health of a WTP, collect
   the necessary information for diagnostics, and get notifications on
   pre-defined events at the WTP that may be of interest.  This section
   defines a set of WTP statistics and events and describes the process
   of collecting statistics from WTPs and configuring the event
   notification mechanism at the WTP.  It is beyond the scope of this
   document to describe what should/could be done with the collected
   information.

6.1.3.3.1.  Statistics Collection Procedure

   The simple statistics collection procedure defined here does not
   require the WTP to maintain any timers or any similar mechanisms.  A
   WTP is responsible only for maintaining the statistics defined in
   Information Elements 29, 30, 31, and 32.  The WTP must also respond
   to a statistics request message from the AC by delivering the
   appropriate statistics to the AC using a statistics response message.
   For example, if an AC is interested in gathering periodic statistics
   about some specific statistics, it is the responsibility of the AC to
   poll the WTP at the appropriate intervals.







Narasimhan, et al.              Historic                       [Page 59]
^L
RFC 5413                          SLAPP                    February 2010


6.1.3.3.2.  Events Procedure

   The event notification process includes the following: 1) Event
   Registration: the registration of events of interest at the WTP by
   the AC and 2) Notification: The communication of event-related
   information by the WTP to the AC whenever the conditions for a
   specific registered event has occurred.  The set of events supported
   by a WTP and the event-specific parameters that may be configured as
   part of a event registration are given in Section 6.1.3.3.3.

6.1.3.3.3.  WTP Events

   This section defines a set of WTP events along with the event-
   specific parameters that may be configured by ACs and the event-
   related information that should be delivered to the ACs by WTPs when
   the conditions for a particular configured event have occurred.

      Radar Detection Event: Configure whether the AC is interested in
      receiving a notification whenever a radar event is detected.  The
      WTP may notify the AC about the type of radar interference and the
      new channel that the WTP has moved to as a result, if any, using
      the Radar Detection Event Element (element ID: 35).

      Excessive Retry Event: Configure the number of consecutive
      transmission failures before a notification is generated.  The WTP
      may notify the MAC address of the station (STA) and the number of
      consecutive unacknowledged frames so far using the Excessive Retry
      Event Element (element ID : 36).

      Noise Floor Event: Configure the noise floor threshold above which
      an event notification would be generated by the WTP.  The WTP may
      notify the AC with the most recent measured noise floor that
      exceeded the configured threshold using the Noise Floor Event
      Element (element ID : 37).

      De-Authentication Event: Configure whether the AC is interested in
      receiving a notification whenever a station has been de-
      authenticated by the WTP.  The WTP may notify the AC with the MAC
      address of the STA along with a reason code (inactivity, etc.).

      Association Event: Needed in Local MAC architecture.

      Disassociation Event: Needed in Local MAC architecture.

6.1.4.  Protocol Operation

   The SLAPP 802.11 Control Protocol operation is described in this
   section.



Narasimhan, et al.              Historic                       [Page 60]
^L
RFC 5413                          SLAPP                    February 2010


6.1.4.1.  SLAPP 802.11 Control Protocol State Machine

6.1.4.1.1.  At the WTP

       +-------------+
       | discovering |<-------------------------------+<----+
       +-------------+                                |     |
         ^  ^                                         |     |
         |  |          +-----------+                  |     |
         |  |          | securing  |                  |     |
         |  |          +----+------+                  |     |
         |  |               |                         |     |
         |  |               v                         |     |
         |  |        +--------------+                 |     |
         |  |   +--->| Unregistered |                 |     |
         |  |   |    +------+-------+                 |     |
         |  |   |           |                         |     |
         |  |   |           |Registration             |     |
         |  |   |Timeout    |Request                  |     |
         |  |   |           |                         |     |
         |  |   |           v                         |     |
         |  |   |    +--------------+                 |     |
         |  |   +----+ Registration |                 |     |
         |  |        |              |                 |     |
         |  | Reject |              |                 |     |
         |  +--------+   Pending    |                 |     |
         | nTimeout>3|              |                 |     |
         |           |              |                 |     |
         |           +------+-------+                 |     |
         |                  |                         |     |
         |                  |Accept                   |     |
         |                  |                         |     |
         |                  |                         |     |
         |                  v                         |     |
         |           +------+-------+                 |     |
         |           |  Registered  |                 |     |
         |      +--->|              |                 |     |
         |      |    +------+-------+                 |     |
         |      |           |                         |     |
         |      |Timeout    |Config                   |     |
         |      |           |Request                  |     |
         |      |           |                         |     |
         |      |           v                         |     |
         |      |    +------+-------+                 |     |
         |      +----+              |           Reject|     |
         |           |Configuration |                 |     |
         |   Reject  | Pending      |                 |     |
         +-----------+              |                 |     |



Narasimhan, et al.              Historic                       [Page 61]
^L
RFC 5413                          SLAPP                    February 2010


         ^ nTimeout>3+------+-------+                 |     |
         |                  |                         |     |
         |                  |                         |     |
   De-reg|                  |    +----------------+   |     |
    resp |                  |    v     Accept     |   |     |
    +----+---+       +------+----+--+           +-+---+--+  |
    |        | De-reg|              |           | Update |  |
    |  De    +<------+ Configured   +-----------+        |  |
    |Register| req   |              |           | Pending|  |
    |        |       |              |           +----+---+  |
    +--------+       +------+-------+                       |
                            |                               |
                            |                               |
                            |                               |
                        Too |Many                           |
                        Keepalive                           |
                        Failures                            |
                            |                               |
                            |                               |
                            |   De-Register                 |
                            +-------------------------------+

   In Configured and/or Registered states, respond to
   Status Requests, Statistics Requests, Keepalives, Key Config

            Figure 26: SLAPP 802.11 Control Protocol at the WTP

6.1.4.1.1.1.  State Machine Explanation

   Unregistered: The transition into this state is from the securing
      state (Figure 3).  Send registration request message to move to
      Registration Pending state, set timer for registration response.

   Registration Pending: On a registration response from the AC, cancel
      registration timer.  If the response is successful, move to
      Registered state.  If not, move to discovering state (Figure 3).
      If timer expires, if nTimeout >3, then move to discovering state.
      If not, return to Unregistered state.

   Registered: Send Configuration Request message to AC to move to
      Configuration Pending state, and set timer for Configuration
      Response.  In this state, respond to status request, statistics
      request, and keepalive messages from the AC.

   Configuration Pending: If a Configuration Response is received from
      the AC, cancel the Configuration Response timer.  If the response
      is successful and the configuration is acceptable, then send the
      Configuration ACK message to AC, and move to Configured state.  If



Narasimhan, et al.              Historic                       [Page 62]
^L
RFC 5413                          SLAPP                    February 2010


      the Configuration Request is rejected or the configuration is not
      acceptable, then send a de-register request to the AC and move to
      discovering.  If the Configuration Response timer expires, move to
      Registered state unless nTimeout >3, in which case move to
      discovering state.

   Configured: In the Configured state, the WTP responds to the status
      request, statistics request, and keepalive messages from the AC.
      If it receives a de-register request message from the AC, then it
      sends a de-register response to the AC and moves to the
      discovering state.  If the WTP receives a Configuration Update
      message, then it moves to the Update Pending state.  If it
      receives too many consecutive keepalive failures (no responses
      from the AC to keepalive requests), then it sends a de-register
      message to the AC and moves to the discovering state.

   Update Pending: In the Update Pending state, the WTP analyzes the
      configuration information received in the Configuration Update
      message.  If the configuration is found to be acceptable, then it
      applies the configuration and returns to the Configured state.  If
      the WTP chooses to reject the configuration update, then it sends
      a de-register request to the AC and moves to the discovering
      state.

   De-register: From the Configured state, the WTP moves to the
      De-register state when it receives a de-register request message
      from the AC.  It sends a de-register response to the AC and moves
      to the discovering state.























Narasimhan, et al.              Historic                       [Page 63]
^L
RFC 5413                          SLAPP                    February 2010


6.1.4.1.2.  At the AC

            +----------+
            | securing |
            +----+-----+
                 |
                 |
                 |
                 v
            +--------------+
   +--------| Unregistered |
   |        +----+---------+
   |             |
   |Timeout      |Register
   |             |request
   |             v                   +-------------+
   |         +----------+   Accept   | Registration|
   |     +---+Register  +----------->|  Pending    |
   |     |   |Processing|            +-+-----+-----+
   |     |   +----------+              |     |
   |     |                             |     |
   |     |Reject                    Timeout  |
   |     |                             |     |Config
   |     |                             |     |Request
   |     |      +--------------+       |     |
   |     +----->|              |<------+     |
   |            |  discovering |             v
   +----------->|              |        +------------+
                +--------------+        | Registered |
                    ^     ^  ^          +----+-------+
                    |     |  |               |
                    |     |  |               |Config
                    |     |  |               |Response
                    |     |  |               v
                    |     |  | Timeout  +------------+
                    |     |  +----------| Config     |
                    |     |   or Reject | Pending    |
                    |     |             +----+-------+
                    |     |                  |
                    |     |                  |Config ACK
                    |     |                  v
                    |     |De-Register  +------------+
                    |     +-------------|            |
                    |     or Keepalive  | Configured |<--+
                    |        failures   |            |   |
                    |                   +----+-------+   |





Narasimhan, et al.              Historic                       [Page 64]
^L
RFC 5413                          SLAPP                    February 2010


              Reject|                        |           |
                  or|                        |           |
              Timeout     +-----------+      |Config     |
                    |     | Update    |      |Update     |
                    +-----| Pending   |<-----+           |
                          +----+------+                  |
                               |           Accept        |
                               +-------------------------+

            Figure 27: SLAPP 802.11 Control Protocol at the AC

6.1.4.1.2.1.  State Machine Explanation

   The states "securing" and "discovering" are described in Figure 3.

   Unregistered: This state is entered from the securing state described
      in Figure 3.  In this state, the AC is waiting for a registration
      request message from the WTP.  Upon receiving the registration
      request message, it moves into the Registration Processing state.

   Registration Processing: In this state, the AC must determine whether
      or not it can accept the new WTP.  If the AC decides to accept the
      WTP, it must pick a CAPWAP mode to operate in and send a
      registration response message with a success code and moves to the
      Registration Pending state.  If the AC chooses to reject the
      current registration request from the WTP, it must send a
      registration response with a failure code and move to the
      discovering state.

   Registration Pending: If the timer expires before a response from the
      WTP is received, then the AC destroys the registration state and
      moves to the discovering state.  If a Configuration Request
      message is received from the WTP, then the AC moves into the
      Registered state and processes the Configuration Request message.
      It sends a Configuration Response message to the WTP with the
      appropriate IEs and moves into the Configuration Pending state.

   Configuration Pending: If the timer expires before a response is
      received from the WTP, then the AC destroys the current
      registration and moves into the discovering state.  If a
      Configuration ACK is received from the WTP, but contains a failure
      code, then the AC again destroys the registration state and moves
      into the discovering state.  If the Configuration ACK from the WTP
      is successful, then the AC moves to the Configured state.

   Configured: In the Configured state, the AC can send a status
      request, statistics request, keepalive, and Key Configuration
      messages to the WTP.  Any response to these messages from the WTP



Narasimhan, et al.              Historic                       [Page 65]
^L
RFC 5413                          SLAPP                    February 2010


      that indicates an unknown SLAPP registration ID or an unknown AC
      causes the AC to destroy any registration or configuration state
      and move to the discovering state.  From the configured state, the
      AC can send a Configuration Update message and move into the
      Update Pending state.  If it receives a de-register request from
      the WTP, then it destroys all current registration and
      configuration state and moves into the discovering state.  If a
      number of successive keepalive messages go unacknowledged by the
      WTP, then the AC moves into the discovering state.

   Update Pending: When the AC receives a Configuration ACK message with
      a success code, then it returns to the Configured state.  If the
      status code is a failure or if the timer expires before the
      Configuration ACK is received from the WTP, the AC destroys all
      registration and configuration state for the WTP and moves into
      the discovering state.

6.2.  Image Download Protocol

   The Image Download protocol is a control protocol defined in this
   document that is generic enough to be agnostic to the underlying
   technology.

   In the Image Download protocol, the WTP obtains a bootable image from
   the AC by receiving a series of image transfer packets.  Missed image
   data packets are re-requested by the WTP by sending image data
   request packets indicating the missing packets.

   The image to download is divided into slices of equal size (except
   for the last slice, which can be less than the slice size provided,
   it is also greater than zero).  The size of each slice depends on the
   MTU determined by the DTLS exchange and SHOULD be the realized MTU
   minus the size of an Image Download Request (Figure 29).

   Note that the Image Download packet and Image Download Request is
   encapsulated in a DTLS header that secures the image download.

6.2.1  Image Download Packet

   The format of an Image Download packet is shown in Figure 28.











Narasimhan, et al.              Historic                       [Page 66]
^L
RFC 5413                          SLAPP                    February 2010


    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |    Type = 3   |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  RESERVED |M|R|            packet sequence number             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                     image data slice                          ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                  Figure 28: SLAPP Image Download Packet

   where:

   length: variable

   RESERVED: Unused in this version of SLAPP, MUST be zero (0) on
      transmission and ignored upon receipt.

   M: The "More" bit indicating that the current packet is not the final
      one.

   R: The "Request" bit.  This bit MUST be set to one (1) when the
      packet is the response to a request and zero (0) otherwise.

   packet sequence number: A monotonically increasing counter that
      assigns a unique number to each slice of the image.

   image data slice: A portion of the bootable image.

6.2.2.  Image Download Request

   The format of an Image Download Request is shown in Figure 29.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Maj  |  Min  |    Type = 3   |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  RESERVED |M|R|            packet sequence number             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

              Figure 29: SLAPP Image Download Request Packet

   where:

   length: eight (8) octets




Narasimhan, et al.              Historic                       [Page 67]
^L
RFC 5413                          SLAPP                    February 2010


   RESERVED: Unused in this version of SLAPP, MUST be zero on
      transmission and ignored upon receipt.

   M: The "More" bit.  This MUST be equal to the one (1) when negatively
      acknowledging a missed packet and set to zero (0) when indicating
      the end of the Image Download protocol.

   R: the "Request" bit.  This MUST be one in an Image Download Request.

   packet sequence number: The packet sequence number of the missing
      image data slice.

6.2.3.  Image Download Process

   The AC will divide the bootable image into a series of slices and
   send each slice as an Image Download packet.  The size of each image
   data slice (and therefore the size of each Image Download packet)
   depends on the MTU of the connection determined during the DTLS
   handshake.  With the transmission of each slice, the AC MUST
   increment the packet sequence number.

   Image Download packets are negatively ACK'd.  An AC MUST NOT assume
   anything about the reception of packets; it sends based upon negative
   ACKs.  One could naively assume that since the packets are sent
   sequentially, that all packets with a sequence number of "n - 1" are
   implicitly ack'd by the receipt of a request for the packet with
   sequence number "n" to be retransmitted.  Such an assumption would be
   incorrect since previous requests could, themselves, have been
   dropped.

   The Image Download process is initiated by the WTP requesting a
   packet with the packet sequence number of zero (0).  The AC sets the
   packet sequence counter for this WTP to one (1) and sends the first
   slice.  The "Request" bit for the first slice sent by the AC MUST be
   set to zero (0) since the first slice was technically not requested.

   The WTP sets a periodic timer that, when it fires, causes the WTP to
   send Image Download Requests for slices that have been missed since
   the last periodic timer had fired.  Since individual Image Download
   packets are not ack'd, the AC MUST NOT set a timer when each one is
   sent.

   If a WTP notices missed image transfer packets -- when the difference
   between the packet sequence number of a received image transfer
   packet and the packet sequence number of the last image transfer
   packet previously received is greater than one -- it will note that
   fact in a bitmask.  When the periodic timer fires, the WTP will
   request the slices that are absent from that bitmask.  Each slice



Narasimhan, et al.              Historic                       [Page 68]
^L
RFC 5413                          SLAPP                    February 2010


   will be requested by sending a Download Request with a length of
   eight (8) and indicating the sequence number of the packet requested.
   The AC MUST interleave these retransmissions with packets in the
   sequence.

   Since both sides implicitly agree upon the MTU of the link, the WTP
   will know the slice size that the AC will use during the Image
   Download process.  A dropped packet will therefore result in an
   internal buffer pointer on the WTP being incremented by the slice
   size and the lost packet requested.  When the lost packet is
   received, it can be inserted into the buffer in the space provided by
   the pointer increment when its loss was first detected.  That is,
   loss of packet <n> will result in packet <n> being re-requested and
   when received inserted into the buffer at an offset of <n-1> *
   <slicesize> from the start of the buffer.

   The final packet sent by the AC will not have the "more" bit set, and
   this indicates to the WTP that the end of the image has been
   received.  This final packet is acknowledged by the WTP indicating
   the end of the Image Download process.

   A lost final packet will result in the AC resending the final packet
   again (see Section 4.4).

6.2.4.  Image Download State Machine

   The Image Download protocol is a Negotiated Control Protocol defined
   for SLAPP.  Transitions to it come from the "secure" state and
   transitions out of it go to the "acquire" state.  See Figure 3.

6.2.4.1.  AC

   The AC's state machine for the Image Download protocol is shown in
   Figure 30.  The AC maintains the following variables for its state
   machine:

   seq_num: The current slice that is being sent.

   nslices: The total number of slices in the image.

   req_num: The number of the slice that was requested.

   more: Whether the "More bit" in the packet should be set.

   starved: A timer that sets the maximum amount of time in which an AC
      will attempt to download an image.





Narasimhan, et al.              Historic                       [Page 69]
^L
RFC 5413                          SLAPP                    February 2010


   Note: The symbol "C" indicates an event in a state that results in
   the state remaining the same.

                              |
                              v
                         +----------+
                         |  waiting |
                         +----------+
                              |
                              |   seq_num = 1, more = 1,
                              |   nslices = x, starved = t
                M bit         v
   +----------+  is 0  +-------------+
   | finished |<-------|  received   |<------\
   +----------+        |             |<----\ |
                       +-------------+     | |
    req_num = requested       |            | |
                 packet       | M bit is 1 | |
                              V            | |
                         +----------+      | |
             seq_num++, C|  sending |------/ |
             req_num=0   +----------+        |
                              |              |
                           |  |              |
       +-------------+     |  |              |
       | discovering |<----/  |              |
       |             |<----\  |              |
       +-------------+     |  |              |
                           |  v              v
                          +--------+         |
                          | idle   |---------/
                          +--------+

     Figure 30: SLAPP Image Download Protocol State Machine at the AC

   The following states are defined:

   Waiting: When the AC leaves the SLAPP state of "Secure", it enters
      the "Waiting" state of the Image Download protocol.  seq_num is
      set to one (1), more is set to one (1), nslices is set to the
      number of slices in the particular image to download, and starved
      is set to the maximum amount of time the AC will devote to
      downloading a particular image.








Narasimhan, et al.              Historic                       [Page 70]
^L
RFC 5413                          SLAPP                    February 2010


   Received: The AC enters this state when it has received an Image
      Download Request.  If the sequence number of the packet is zero
      (0), it sets seq_num to one (1) and transitions to Sending; else,
      if the M bit is set, it sets req_num to the sequence number of the
      request and transitions to Sending; else, (if the M bit is clear)
      it transitions to Finished.

   Sending: The AC is sending a slice to the WTP.  If req_num is equal
      to zero (0), it sends the slice indicated by seq_num and
      increments seq_num.  If req_num is greater than zero (0), it sends
      the slice indicated by req_num and sets req_num to zero (0).  The
      "More" bit in either case is set depending on the value of more.
      As long as no request packets are received Sending transitions to
      Sending.  When seq_num equals nslices "More" is set to zero (0)
      and the state transitions to Idle.  If the starved timer expires,
      the AC transitions to the SLAPP state of Discovering.

   Idle: The AC has sent all the slices in the image and is just waiting
      for requests.  If the starved timer expires the AC transitions to
      the SLAPP state of Discovering.

   Finished: The Image Download protocol has terminated.  The starved
      timer is canceled.

6.2.4.2.  WTP

   The WTP's state machine for the Image Download protocol is shown in
   Figure 31.  The WTP maintains the following variables for its state
   machine:

   recv_num: The sequence number of the last received slice.

   req: A bitmask whose length equals the number of slices in the image.

   retry: A timer.

   giveup: A timer.

   final: The sequence number of the last slice.

   Note: The symbol "C" indicates an event in a state that results in
   the state remaining the same.









Narasimhan, et al.              Historic                       [Page 71]
^L
RFC 5413                          SLAPP                    February 2010


                               |
                               v
                          +----------+
                          |   init   |    recv_num = 0,
                          +----------+    final = 0, req = 0,
                               |          giveup = t
                               v
    +----------+         +-----------+
    | finished |<------- |  sending  |<-------\
    +----------+         +-----------+        |
                               |              | retry fires
                               v              |
                        +--------------+      |
      bit in req =     C|  receiving   |------/
   seq_num in packet    +--------------+
        is set                 |
                               | giveup fires
                               v
                        +-------------+
                        | discovering |
                        +-------------+

     Figure 31: SLAPP Image Download Protocol State Machine at the WTP

   The following states are defined:

   Init:

      When the WTP leaves the SLAPP state of "Secure", it enters the
      "Init" state of the Image Download protocol.  recv_num, final, and
      the req bitmask are set to zero (0), and the giveup timer is set
      to a suitably large number.  The WTP transitions directly to
      Sending.

   Sending:

      If recv_num is zero (0) the WTP sends a request for a packet with
      sequence number of zero (0) and the "More" bit set to one (1).
      Otherwise, for every unset bit in req between one (1) and
      recv_num, a request packet is sent with the sequence number
      corresponding to the unset bit in req and the "More" bit set to
      more.

      If there are no unset bits in req and final is non-zero, a request
      packet is sent for the sequence number represented by final with
      the "More" bit cleared, giveup is cleared and the state machine
      transitions to Finished.  Otherwise, retry is set to a suitable
      value and the WTP transitions to Receiving.



Narasimhan, et al.              Historic                       [Page 72]
^L
RFC 5413                          SLAPP                    February 2010


   Receiving:

      In this state, the WTP receives Image Download packets.  The bit
      in req corresponding to the sequence number in the received packet
      is set, indicating this packet has been received.  If the sequence
      number of the received packet has already been received, the
      packet is silently dropped; otherwise, the data in the packet is
      stored as the indicated slice in a file that represents the
      downloaded image.  If the received packet has the "More" bit
      cleared, final is set to the sequence number in that packet.  When
      the retry timer fires, the WTP transitions to Sending.  If the
      giveup timer fires, the WTP transitions to the SLAPP state of
      Discovering.

   Finished:

      The Image Download protocol has finished.

7.  Security Considerations

   This document describes a protocol, SLAPP, which uses a different
   protocol, DTLS, to provide for authentication, key exchange, and bulk
   data encryption of a Negotiated Control Protocol.  Its security
   considerations are therefore those of DTLS.

   The AC creates state upon receipt of an acceptable Discover Request.
   AC implementations of SLAPP SHOULD therefore take measures to protect
   themselves from denial-of-service attacks that attempt to exhaust
   resources on target machines.  These measures could take the form of
   randomly dropping connections when the number of open connections
   reaches a certain threshold.

   The WTP exposes information about itself during the discovery phase.
   Some of this information could not be gleaned by other means.

8.  Extensibility to Other Technologies

   The SLAPP protocol can be considered to be a technology-independent
   protocol that can be extended with technology-specific components to
   solve an interoperability problem where a central controller from one
   vendor is expected to control and manage network elements from a
   different vendor.

   While the description of the SLAPP protocol in this document assumes
   that it is meant to solve the multi-vendor interoperability problem,
   as defined in the CAPWAP problem statement [3], splitting the





Narasimhan, et al.              Historic                       [Page 73]
^L
RFC 5413                          SLAPP                    February 2010


   solution to two components where technology-dependent control
   protocols are negotiated using a technology-independent framework
   enables the use of SLAPP as the common framework for multiple
   underlying technologies that are vastly different from one another.

9.  Informative References

   [1]   Bradner, S., "Key words for use in RFCs to Indicate Requirement
         Levels", BCP 14, RFC 2119, March 1997.

   [2]   Yang, L., Zerfos, P., and E. Sadot, "Architecture Taxonomy for
         Control and Provisioning of Wireless Access Points (CAPWAP)",
         RFC 4118, June 2005.

   [3]   O'Hara, B., Calhoun, P., and J. Kempf, "Configuration and
         Provisioning for Wireless Access Points (CAPWAP) Problem
         Statement", RFC 3990, February 2005.

   [4]   Farinacci, D., Li, T., Hanks, S., Meyer, D., and P. Traina,
         "Generic Routing Encapsulation (GRE)", RFC 2784, March 2000.

   [5]   Braden, R., Ed., "Requirements for Internet Hosts -
         Communication Layers", STD 3, RFC 1122, October 1989.

   [6]   Rescorla, E. and N. Modadugu, "Datagram Transport Layer
         Security", RFC 4347, April 2006.

   [7]   Dierks, T. and E. Rescorla, "The Transport Layer Security (TLS)
         Protocol Version 1.2", RFC 5246, August 2008.

   [8]   Modadugu, N. and E. Rescorla, "The Design and Implementation of
         Datagram TLS",
         <http://crypto.stanford.edu/~nagendra/papers/dtls.pdf>.

   [9]   Krishna, P. and D. Husak, "Simple Lightweight RFID Reader
         Protocol", Work in Progress, August 2005.















Narasimhan, et al.              Historic                       [Page 74]
^L
RFC 5413                          SLAPP                    February 2010


Authors' Addresses

   Partha Narasimhan
   Aruba Networks
   1322 Crossman Ave
   Sunnyvale, CA  94089

   Phone: +1 408-480-4716
   EMail: partha@arubanetworks.com


   Dan Harkins
   Aruba Networks
   1322 Crossman Ave
   Sunnyvale, CA  94089

   EMail: dharkins@arubanetworks.com


   Subbu Ponnuswamy
   Aruba Networks
   1322 Crossman Ave
   Sunnyvale, CA  94089

   Phone: +1 408-754-1213
   EMail: subbu@arubanetworks.com

























Narasimhan, et al.              Historic                       [Page 75]
^L