@@ -250,7 +250,7 @@ static const char *p_mlme_short_names[] = {
250250 "TVWS PHY Operating Mode Description IE" , /* 0x2b */
251251 "TVWS Device Capabilities IE" , /* 0x2c */
252252 "TVWS Device Category IE" , /* 0x2d */
253- "TVWS Device Identiication IE" , /* 0x2e */
253+ "TVWS Device Identification IE" , /* 0x2e */
254254 "TVWS Device Location IE" , /* 0x2f */
255255 "TVWS Channel Information Query IE" , /* 0x30 */
256256 "TVWS Channel Information Source IE" , /* 0x31 */
@@ -418,7 +418,7 @@ static const char *mac_c_names[] = {
418418#define FC_ADDRESSING_MODE_LONG 0x03
419419
420420/*
421- * IEEE 802.15.4 CRC 16 function. This is using CCITT polynomical of 0x1021,
421+ * IEEE 802.15.4 CRC 16 function. This is using the CCITT polynomial of 0x1021,
422422 * but the initial value is 0, and the bits are reversed for both in and out.
423423 * See section 7.2.10 of 802.15.4-2015 for more information.
424424 */
@@ -470,7 +470,7 @@ ieee802_15_4_reverse32(uint32_t x)
470470}
471471
472472/*
473- * IEEE 802.15.4 CRC 32 function. This is using ANSI X3.66-1979 polynomical of
473+ * IEEE 802.15.4 CRC 32 function. This is using the ANSI X3.66-1979 polynomial of
474474 * 0x04C11DB7, but the initial value is 0, and the bits are reversed for both
475475 * in and out. See section 7.2.10 of 802.15.4-2015 for more information.
476476 */
@@ -1303,7 +1303,7 @@ ieee802_15_4_print_mlme_ie_list(netdissect_options *ndo,
13031303}
13041304
13051305/*
1306- * Multiplexd IE (802.15.9) parsing and printing.
1306+ * Multiplexed IE (802.15.9) parsing and printing.
13071307 *
13081308 * Returns number of bytes consumed from packet or -1 in case of error.
13091309 */
@@ -1664,7 +1664,7 @@ ieee802_15_4_print_command_data(netdissect_options *ndo,
16641664 return caplen ;
16651665 }
16661666 break ;
1667- case 0x03 : /* Diassociation Notification command */
1667+ case 0x03 : /* Disassociation Notification command */
16681668 if (caplen != 1 ) {
16691669 ND_PRINT ("Invalid Disassociation Notification command length" );
16701670 return -1 ;
@@ -2038,19 +2038,19 @@ ieee802_15_4_std_frames(netdissect_options *ndo,
20382038 }
20392039
20402040 switch (security_level ) {
2041- case 0 : /*FALLTHOUGH */
2041+ case 0 : /*FALLTHROUGH */
20422042 case 4 :
20432043 miclen = 0 ;
20442044 break ;
2045- case 1 : /*FALLTHOUGH */
2045+ case 1 : /*FALLTHROUGH */
20462046 case 5 :
20472047 miclen = 4 ;
20482048 break ;
2049- case 2 : /*FALLTHOUGH */
2049+ case 2 : /*FALLTHROUGH */
20502050 case 6 :
20512051 miclen = 8 ;
20522052 break ;
2053- case 3 : /*FALLTHOUGH */
2053+ case 3 : /*FALLTHROUGH */
20542054 case 7 :
20552055 miclen = 16 ;
20562056 break ;
@@ -2360,19 +2360,19 @@ ieee802_15_4_mp_frame(netdissect_options *ndo,
23602360 }
23612361
23622362 switch (security_level ) {
2363- case 0 : /*FALLTHOUGH */
2363+ case 0 : /*FALLTHROUGH */
23642364 case 4 :
23652365 miclen = 0 ;
23662366 break ;
2367- case 1 : /*FALLTHOUGH */
2367+ case 1 : /*FALLTHROUGH */
23682368 case 5 :
23692369 miclen = 4 ;
23702370 break ;
2371- case 2 : /*FALLTHOUGH */
2371+ case 2 : /*FALLTHROUGH */
23722372 case 6 :
23732373 miclen = 8 ;
23742374 break ;
2375- case 3 : /*FALLTHOUGH */
2375+ case 3 : /*FALLTHROUGH */
23762376 case 7 :
23772377 miclen = 16 ;
23782378 break ;
0 commit comments