|
|
| 613 |
1 AC_BK |
613 |
1 AC_BK |
| 614 |
=== =============== |
614 |
=== =============== |
| 615 |
|
615 |
|
| 616 |
Readers can refer to the doxygen documentation of the |
616 |
TOS and DSCP values map onto user priorities and access categories according |
| 617 |
:cpp:func:`ns3::WifiNetDevice::SelectQueue()` method for more information, |
617 |
to the following table. |
| 618 |
including how DSCP values map onto user priorities and access categories. |
618 |
|
|
|
619 |
============ ============ == =============== |
| 620 |
DiffServ PHB TOS (binary) UP Access Category |
| 621 |
============ ============ == =============== |
| 622 |
EF 101110xx 5 AC_VI |
| 623 |
AF11 001010xx 1 AC_BK |
| 624 |
AF21 010010xx 2 AC_BK |
| 625 |
AF31 011010xx 3 AC_BE |
| 626 |
AF41 100010xx 4 AC_VI |
| 627 |
AF12 001100xx 1 AC_BK |
| 628 |
AF22 010100xx 2 AC_BK |
| 629 |
AF32 011100xx 3 AC_BE |
| 630 |
AF42 100100xx 4 AC_VI |
| 631 |
AF13 001110xx 1 AC_BK |
| 632 |
AF23 010110xx 2 AC_BK |
| 633 |
AF33 011110xx 3 AC_BE |
| 634 |
AF43 100110xx 4 AC_VI |
| 635 |
CS0 000000xx 0 AC_BE |
| 636 |
CS1 001000xx 1 AC_BK |
| 637 |
CS2 010000xx 2 AC_BK |
| 638 |
CS3 011000xx 3 AC_BE |
| 639 |
CS4 100000xx 4 AC_VI |
| 640 |
CS5 101000xx 5 AC_VI |
| 641 |
CS6 110000xx 6 AC_VO |
| 642 |
CS7 111000xx 7 AC_VO |
| 643 |
============ ============ == =============== |
| 644 |
|
| 645 |
So, for example,:: |
| 646 |
|
| 647 |
destAddress.SetTos (0xc0); |
| 648 |
|
| 649 |
will map to CS6, User Priority 6, and Access Category AC_VO. |
| 619 |
Also, the ns3-wifi-ac-mapping test suite (defined in |
650 |
Also, the ns3-wifi-ac-mapping test suite (defined in |
| 620 |
src/test/ns3wifi/wifi-ac-mapping-test-suite.cc) can provide additional |
651 |
src/test/ns3wifi/wifi-ac-mapping-test-suite.cc) can provide additional |
| 621 |
useful information. |
652 |
useful information. |