For QoS/WMM (EDCA) mac80211 needs driver to have at least four queues. It will then program the queues according to the advertised access parameters.
mac80211 will use the queues as follows:
AC |
queue number |
BK |
3 |
BE |
2 |
VI |
1 |
VO |
0 |
802.11 uses the following number scheme (cf. Table 7-36)
AC |
ACI [binary] (AC index [decimal]) |
BK |
01 (1) |
BE |
00 (0) |
VI |
10 (2) |
VO |
11 (3) |
Therefore, we have:
AC |
ACI |
queue number |
BK |
01 |
3 |
BE |
00 |
2 |
VI |
10 |
1 |
VO |
11 |
0 |