Lines Matching +full:2 +full:mhz
8 * retain the above copyright notice and this paragraph in its entirety, (2)
40 #define IEEE802_11_FC_LEN 2
41 #define IEEE802_11_DUR_LEN 2
48 #define IEEE802_11_SEQ_LEN 2
49 #define IEEE802_11_CTL_LEN 2
50 #define IEEE802_11_CARRIED_FC_LEN 2
60 #define IEEE802_11_BCNINT_LEN 2
61 #define IEEE802_11_CAPINFO_LEN 2
62 #define IEEE802_11_LISTENINT_LEN 2
64 #define IEEE802_11_AID_LEN 2
65 #define IEEE802_11_STATUS_LEN 2
66 #define IEEE802_11_REASON_LEN 2
163 #define FC_TYPE(fc) (((fc) >> 2) & 0x3)
239 #define E_FH 2
430 * 0 for 20 MHz, 1 for 40 MHz;
434 static const float ieee80211_float_htrates[MAX_MCS_INDEX+1][2][2] = {
436 { /* 20 Mhz */ { 6.5f, /* SGI */ 7.2f, },
437 /* 40 Mhz */ { 13.5f, /* SGI */ 15.0f, },
441 { /* 20 Mhz */ { 13.0f, /* SGI */ 14.4f, },
442 /* 40 Mhz */ { 27.0f, /* SGI */ 30.0f, },
445 /* MCS 2 */
446 { /* 20 Mhz */ { 19.5f, /* SGI */ 21.7f, },
447 /* 40 Mhz */ { 40.5f, /* SGI */ 45.0f, },
451 { /* 20 Mhz */ { 26.0f, /* SGI */ 28.9f, },
452 /* 40 Mhz */ { 54.0f, /* SGI */ 60.0f, },
456 { /* 20 Mhz */ { 39.0f, /* SGI */ 43.3f, },
457 /* 40 Mhz */ { 81.0f, /* SGI */ 90.0f, },
461 { /* 20 Mhz */ { 52.0f, /* SGI */ 57.8f, },
462 /* 40 Mhz */ { 108.0f, /* SGI */ 120.0f, },
466 { /* 20 Mhz */ { 58.5f, /* SGI */ 65.0f, },
467 /* 40 Mhz */ { 121.5f, /* SGI */ 135.0f, },
471 { /* 20 Mhz */ { 65.0f, /* SGI */ 72.2f, },
472 /* 40 Mhz */ { 135.0f, /* SGI */ 150.0f, },
476 { /* 20 Mhz */ { 13.0f, /* SGI */ 14.4f, },
477 /* 40 Mhz */ { 27.0f, /* SGI */ 30.0f, },
481 { /* 20 Mhz */ { 26.0f, /* SGI */ 28.9f, },
482 /* 40 Mhz */ { 54.0f, /* SGI */ 60.0f, },
486 { /* 20 Mhz */ { 39.0f, /* SGI */ 43.3f, },
487 /* 40 Mhz */ { 81.0f, /* SGI */ 90.0f, },
491 { /* 20 Mhz */ { 52.0f, /* SGI */ 57.8f, },
492 /* 40 Mhz */ { 108.0f, /* SGI */ 120.0f, },
496 { /* 20 Mhz */ { 78.0f, /* SGI */ 86.7f, },
497 /* 40 Mhz */ { 162.0f, /* SGI */ 180.0f, },
501 { /* 20 Mhz */ { 104.0f, /* SGI */ 115.6f, },
502 /* 40 Mhz */ { 216.0f, /* SGI */ 240.0f, },
506 { /* 20 Mhz */ { 117.0f, /* SGI */ 130.0f, },
507 /* 40 Mhz */ { 243.0f, /* SGI */ 270.0f, },
511 { /* 20 Mhz */ { 130.0f, /* SGI */ 144.4f, },
512 /* 40 Mhz */ { 270.0f, /* SGI */ 300.0f, },
516 { /* 20 Mhz */ { 19.5f, /* SGI */ 21.7f, },
517 /* 40 Mhz */ { 40.5f, /* SGI */ 45.0f, },
521 { /* 20 Mhz */ { 39.0f, /* SGI */ 43.3f, },
522 /* 40 Mhz */ { 81.0f, /* SGI */ 90.0f, },
526 { /* 20 Mhz */ { 58.5f, /* SGI */ 65.0f, },
527 /* 40 Mhz */ { 121.5f, /* SGI */ 135.0f, },
531 { /* 20 Mhz */ { 78.0f, /* SGI */ 86.7f, },
532 /* 40 Mhz */ { 162.0f, /* SGI */ 180.0f, },
536 { /* 20 Mhz */ { 117.0f, /* SGI */ 130.0f, },
537 /* 40 Mhz */ { 243.0f, /* SGI */ 270.0f, },
541 { /* 20 Mhz */ { 156.0f, /* SGI */ 173.3f, },
542 /* 40 Mhz */ { 324.0f, /* SGI */ 360.0f, },
546 { /* 20 Mhz */ { 175.5f, /* SGI */ 195.0f, },
547 /* 40 Mhz */ { 364.5f, /* SGI */ 405.0f, },
551 { /* 20 Mhz */ { 195.0f, /* SGI */ 216.7f, },
552 /* 40 Mhz */ { 405.0f, /* SGI */ 450.0f, },
556 { /* 20 Mhz */ { 26.0f, /* SGI */ 28.9f, },
557 /* 40 Mhz */ { 54.0f, /* SGI */ 60.0f, },
561 { /* 20 Mhz */ { 52.0f, /* SGI */ 57.8f, },
562 /* 40 Mhz */ { 108.0f, /* SGI */ 120.0f, },
566 { /* 20 Mhz */ { 78.0f, /* SGI */ 86.7f, },
567 /* 40 Mhz */ { 162.0f, /* SGI */ 180.0f, },
571 { /* 20 Mhz */ { 104.0f, /* SGI */ 115.6f, },
572 /* 40 Mhz */ { 216.0f, /* SGI */ 240.0f, },
576 { /* 20 Mhz */ { 156.0f, /* SGI */ 173.3f, },
577 /* 40 Mhz */ { 324.0f, /* SGI */ 360.0f, },
581 { /* 20 Mhz */ { 208.0f, /* SGI */ 231.1f, },
582 /* 40 Mhz */ { 432.0f, /* SGI */ 480.0f, },
586 { /* 20 Mhz */ { 234.0f, /* SGI */ 260.0f, },
587 /* 40 Mhz */ { 486.0f, /* SGI */ 540.0f, },
591 { /* 20 Mhz */ { 260.0f, /* SGI */ 288.9f, },
592 /* 40 Mhz */ { 540.0f, /* SGI */ 600.0f, },
596 { /* 20 Mhz */ { 0.0f, /* SGI */ 0.0f, }, /* not valid */
597 /* 40 Mhz */ { 6.0f, /* SGI */ 6.7f, },
601 { /* 20 Mhz */ { 39.0f, /* SGI */ 43.3f, },
602 /* 40 Mhz */ { 81.0f, /* SGI */ 90.0f, },
606 { /* 20 Mhz */ { 52.0f, /* SGI */ 57.8f, },
607 /* 40 Mhz */ { 108.0f, /* SGI */ 120.0f, },
611 { /* 20 Mhz */ { 65.0f, /* SGI */ 72.2f, },
612 /* 40 Mhz */ { 135.0f, /* SGI */ 150.0f, },
616 { /* 20 Mhz */ { 58.5f, /* SGI */ 65.0f, },
617 /* 40 Mhz */ { 121.5f, /* SGI */ 135.0f, },
621 { /* 20 Mhz */ { 78.0f, /* SGI */ 86.7f, },
622 /* 40 Mhz */ { 162.0f, /* SGI */ 180.0f, },
626 { /* 20 Mhz */ { 97.5f, /* SGI */ 108.3f, },
627 /* 40 Mhz */ { 202.5f, /* SGI */ 225.0f, },
631 { /* 20 Mhz */ { 52.0f, /* SGI */ 57.8f, },
632 /* 40 Mhz */ { 108.0f, /* SGI */ 120.0f, },
636 { /* 20 Mhz */ { 65.0f, /* SGI */ 72.2f, },
637 /* 40 Mhz */ { 135.0f, /* SGI */ 150.0f, },
641 { /* 20 Mhz */ { 65.0f, /* SGI */ 72.2f, },
642 /* 40 Mhz */ { 135.0f, /* SGI */ 150.0f, },
646 { /* 20 Mhz */ { 78.0f, /* SGI */ 86.7f, },
647 /* 40 Mhz */ { 162.0f, /* SGI */ 180.0f, },
651 { /* 20 Mhz */ { 91.0f, /* SGI */ 101.1f, },
652 /* 40 Mhz */ { 189.0f, /* SGI */ 210.0f, },
656 { /* 20 Mhz */ { 91.0f, /* SGI */ 101.1f, },
657 /* 40 Mhz */ { 189.0f, /* SGI */ 210.0f, },
661 { /* 20 Mhz */ { 104.0f, /* SGI */ 115.6f, },
662 /* 40 Mhz */ { 216.0f, /* SGI */ 240.0f, },
666 { /* 20 Mhz */ { 78.0f, /* SGI */ 86.7f, },
667 /* 40 Mhz */ { 162.0f, /* SGI */ 180.0f, },
671 { /* 20 Mhz */ { 97.5f, /* SGI */ 108.3f, },
672 /* 40 Mhz */ { 202.5f, /* SGI */ 225.0f, },
676 { /* 20 Mhz */ { 97.5f, /* SGI */ 108.3f, },
677 /* 40 Mhz */ { 202.5f, /* SGI */ 225.0f, },
681 { /* 20 Mhz */ { 117.0f, /* SGI */ 130.0f, },
682 /* 40 Mhz */ { 243.0f, /* SGI */ 270.0f, },
686 { /* 20 Mhz */ { 136.5f, /* SGI */ 151.7f, },
687 /* 40 Mhz */ { 283.5f, /* SGI */ 315.0f, },
691 { /* 20 Mhz */ { 136.5f, /* SGI */ 151.7f, },
692 /* 40 Mhz */ { 283.5f, /* SGI */ 315.0f, },
696 { /* 20 Mhz */ { 156.0f, /* SGI */ 173.3f, },
697 /* 40 Mhz */ { 324.0f, /* SGI */ 360.0f, },
701 { /* 20 Mhz */ { 65.0f, /* SGI */ 72.2f, },
702 /* 40 Mhz */ { 135.0f, /* SGI */ 150.0f, },
706 { /* 20 Mhz */ { 78.0f, /* SGI */ 86.7f, },
707 /* 40 Mhz */ { 162.0f, /* SGI */ 180.0f, },
711 { /* 20 Mhz */ { 91.0f, /* SGI */ 101.1f, },
712 /* 40 Mhz */ { 189.0f, /* SGI */ 210.0f, },
716 { /* 20 Mhz */ { 78.0f, /* SGI */ 86.7f, },
717 /* 40 Mhz */ { 162.0f, /* SGI */ 180.0f, },
721 { /* 20 Mhz */ { 91.0f, /* SGI */ 101.1f, },
722 /* 40 Mhz */ { 189.0f, /* SGI */ 210.0f, },
726 { /* 20 Mhz */ { 104.0f, /* SGI */ 115.6f, },
727 /* 40 Mhz */ { 216.0f, /* SGI */ 240.0f, },
731 { /* 20 Mhz */ { 117.0f, /* SGI */ 130.0f, },
732 /* 40 Mhz */ { 243.0f, /* SGI */ 270.0f, },
736 { /* 20 Mhz */ { 104.0f, /* SGI */ 115.6f, },
737 /* 40 Mhz */ { 216.0f, /* SGI */ 240.0f, },
741 { /* 20 Mhz */ { 117.0f, /* SGI */ 130.0f, },
742 /* 40 Mhz */ { 243.0f, /* SGI */ 270.0f, },
746 { /* 20 Mhz */ { 130.0f, /* SGI */ 144.4f, },
747 /* 40 Mhz */ { 270.0f, /* SGI */ 300.0f, },
751 { /* 20 Mhz */ { 130.0f, /* SGI */ 144.4f, },
752 /* 40 Mhz */ { 270.0f, /* SGI */ 300.0f, },
756 { /* 20 Mhz */ { 143.0f, /* SGI */ 158.9f, },
757 /* 40 Mhz */ { 297.0f, /* SGI */ 330.0f, },
761 { /* 20 Mhz */ { 97.5f, /* SGI */ 108.3f, },
762 /* 40 Mhz */ { 202.5f, /* SGI */ 225.0f, },
766 { /* 20 Mhz */ { 117.0f, /* SGI */ 130.0f, },
767 /* 40 Mhz */ { 243.0f, /* SGI */ 270.0f, },
771 { /* 20 Mhz */ { 136.5f, /* SGI */ 151.7f, },
772 /* 40 Mhz */ { 283.5f, /* SGI */ 315.0f, },
776 { /* 20 Mhz */ { 117.0f, /* SGI */ 130.0f, },
777 /* 40 Mhz */ { 243.0f, /* SGI */ 270.0f, },
781 { /* 20 Mhz */ { 136.5f, /* SGI */ 151.7f, },
782 /* 40 Mhz */ { 283.5f, /* SGI */ 315.0f, },
786 { /* 20 Mhz */ { 156.0f, /* SGI */ 173.3f, },
787 /* 40 Mhz */ { 324.0f, /* SGI */ 360.0f, },
791 { /* 20 Mhz */ { 175.5f, /* SGI */ 195.0f, },
792 /* 40 Mhz */ { 364.5f, /* SGI */ 405.0f, },
796 { /* 20 Mhz */ { 156.0f, /* SGI */ 173.3f, },
797 /* 40 Mhz */ { 324.0f, /* SGI */ 360.0f, },
801 { /* 20 Mhz */ { 175.5f, /* SGI */ 195.0f, },
802 /* 40 Mhz */ { 364.5f, /* SGI */ 405.0f, },
806 { /* 20 Mhz */ { 195.0f, /* SGI */ 216.7f, },
807 /* 40 Mhz */ { 405.0f, /* SGI */ 450.0f, },
811 { /* 20 Mhz */ { 195.0f, /* SGI */ 216.7f, },
812 /* 40 Mhz */ { 405.0f, /* SGI */ 450.0f, },
816 { /* 20 Mhz */ { 214.5f, /* SGI */ 238.3f, },
817 /* 40 Mhz */ { 445.5f, /* SGI */ 495.0f, },
828 "provided", /* 2 */
1003 "Previous authentication no longer valid", /* 2 */
1009 "Class 2 frame received from nonauthenticated STA", /* 6 */
1045 "operational mode (e.g. an HT BSS change from 40 MHz channel "
1046 "to 20 MHz channel)", /* 31 */
1155 if (length < 2) in parse_elements()
1160 ND_TCHECK_LEN(p + offset + 2, elementlen); in parse_elements()
1161 if (length < elementlen + 2) in parse_elements()
1167 offset += 2; in parse_elements()
1168 length -= 2; in parse_elements()
1191 offset += 2; in parse_elements()
1192 length -= 2; in parse_elements()
1217 offset += 2; in parse_elements()
1218 length -= 2; in parse_elements()
1249 offset += 2; in parse_elements()
1250 length -= 2; in parse_elements()
1273 offset += 2; in parse_elements()
1274 length -= 2; in parse_elements()
1287 offset += 2; in parse_elements()
1288 length -= 2; in parse_elements()
1290 offset += 2; in parse_elements()
1291 length -= 2; in parse_elements()
1306 offset += 2; in parse_elements()
1307 length -= 2; in parse_elements()
1344 offset += 2 + elementlen; in parse_elements()
1345 length -= 2 + elementlen; in parse_elements()
1454 ND_PRINT(" AID(%x) :%s: %s", ((uint16_t)(pbody.aid << 2 )) >> 2 , in handle_assoc_response()
1606 offset += 2; in handle_auth()
1607 length -= 2; in handle_auth()
1609 offset += 2; in handle_auth()
1610 length -= 2; in handle_auth()
1612 offset += 2; in handle_auth()
1613 length -= 2; in handle_auth()
1618 ((pbody.auth_trans_seq_num == 2) || in handle_auth()
1625 ((pbody.auth_trans_seq_num % 2) in handle_auth()
1636 (pbody.auth_trans_seq_num % 2) in handle_auth()
1682 (v) == 2 ? ND_PRINT("DELBA"): \
1691 (v) == 2 ? ND_PRINT("Close"): \
1696 (v) == 2 ? ND_PRINT("Error"): \
1703 (v) == 2 ? ND_PRINT("Gate Announcement"): \
1719 (v) == 2 ? ND_PRINT("Peering Confirm"): \
1730 if (length < 2) in handle_action()
1740 case 2: ND_PRINT("DLS Act#%u", GET_U_1(p + 1)); break; in handle_action()
1878 * To Ds | From DS | Addr 1 | Addr 2 | Addr 3 | Addr 4
2087 len += 2; in extract_header_length()
2137 if (ae > 2) in ieee_802_11_hdr_print()
2296 * 2. Redistributions in binary form must reproduce the above copyright
2367 * IEEE80211_RADIOTAP_CHANNEL 2 x uint16_t MHz, bitmap
2369 * Tx/Rx frequency in MHz, followed by flags (see below).
2447 * uint16_t MHz
2452 * frequency in MHz, the corresponding IEEE channel number, and
2488 IEEE80211_RADIOTAP_RATE = 2,
2515 #define IEEE80211_CHAN_2GHZ 0x00080 /* 2 GHz spectrum channel. */
2520 #define IEEE80211_CHAN_GSM 0x01000 /* 900 MHz spectrum channel */
2580 #define IEEE80211_RADIOTAP_MCS_BANDWIDTH_20L 2
2587 #define IEEE80211_RADIOTAP_MCS_STBC_2 2
2655 ND_PRINT("%u MHz", freq); in print_chaninfo()
2667 ND_PRINT(" 11a/10Mhz"); in print_chaninfo()
2669 ND_PRINT(" 11a/5Mhz"); in print_chaninfo()
2675 ND_PRINT(" 11g/10Mhz"); in print_chaninfo()
2677 ND_PRINT(" 11g/5Mhz"); in print_chaninfo()
2762 * MCS 7 at 20 MHz with a long guard interval. in print_radiotap_field()
2948 "20 MHz", in print_radiotap_field()
2949 "40 MHz", in print_radiotap_field()
2950 "20 MHz (L)", in print_radiotap_field()
2951 "20 MHz (U)" in print_radiotap_field()
3068 "20 MHz", in print_radiotap_field()
3069 "40 MHz", in print_radiotap_field()
3070 "20 MHz (L)", in print_radiotap_field()
3071 "20 MHz (U)", in print_radiotap_field()
3072 "80 MHz", in print_radiotap_field()
3073 "80 MHz (L)", in print_radiotap_field()
3074 "80 MHz (U)", in print_radiotap_field()
3075 "80 MHz (LL)", in print_radiotap_field()
3076 "80 MHz (LU)", in print_radiotap_field()
3077 "80 MHz (UL)", in print_radiotap_field()
3078 "80 MHz (UU)", in print_radiotap_field()
3079 "160 MHz", in print_radiotap_field()
3080 "160 MHz (L)", in print_radiotap_field()
3081 "160 MHz (U)", in print_radiotap_field()
3082 "160 MHz (LL)", in print_radiotap_field()
3083 "160 MHz (LU)", in print_radiotap_field()
3084 "160 MHz (UL)", in print_radiotap_field()
3085 "160 MHz (UU)", in print_radiotap_field()
3086 "160 MHz (LLL)", in print_radiotap_field()
3087 "160 MHz (LLU)", in print_radiotap_field()
3088 "160 MHz (LUL)", in print_radiotap_field()
3089 "160 MHz (UUU)", in print_radiotap_field()
3090 "160 MHz (ULL)", in print_radiotap_field()
3091 "160 MHz (ULU)", in print_radiotap_field()
3092 "160 MHz (UUL)", in print_radiotap_field()
3093 "160 MHz (UUU)", in print_radiotap_field()
3175 #define BITNO_4(x) (((x) >> 2) ? 2 + BITNO_2((x) >> 2) : BITNO_2((x))) in print_in_radiotap_namespace()
3176 #define BITNO_2(x) (((x) & 2) ? 1 : 0) in print_in_radiotap_namespace()
3368 if ((nd_cpack_align_and_reserve(&cpacker, 2)) == NULL) { in ieee802_11_radio_print()
3380 if (nd_cpack_uint8(ndo, &cpacker, &vendor_oui[2]) != 0) { in ieee802_11_radio_print()