Question about ieee802_1d_to_ac

2 messages, 2 authors, 2012-10-16 · open the first message on its own page

Question about ieee802_1d_to_ac

From: David Shwatrz <hidden>
Date: 2012-10-16 08:04:41

Hello,

I see in net/mac80211/wme.c:
...
const int ieee802_1d_to_ac[8] = {
	IEEE80211_AC_BE,
	IEEE80211_AC_BK,
	IEEE80211_AC_BK,
	IEEE80211_AC_BE,
	IEEE80211_AC_VI,
	IEEE80211_AC_VI,
	IEEE80211_AC_VO,
	IEEE80211_AC_VO
};
...

As I understand, this values stand for queues for different types of traffic:
IEEE80211_AC_BE is  best-effort traffic ,
IEEE80211_AC_BK is background traffic ,
IEEE80211_AC_VI is video traffic,
IEEE80211_AC_VO is voice traffic.

We see that entries 6,7 are  voice and entries 4,5 are video.
Is it not an error that entries 2,3 differ ? and also 0,1 ?

shouldn't it be:
const int ieee802_1d_to_ac[8] = {
	IEEE80211_AC_BE,
	IEEE80211_AC_BE,
	IEEE80211_AC_BK,
	IEEE80211_AC_BK,


Regards,
D Shwartz

Re: Question about ieee802_1d_to_ac

From: Arend van Spriel <hidden>
Date: 2012-10-16 13:00:43

On 10/16/2012 10:04 AM, David Shwatrz wrote:
Hello,

I see in net/mac80211/wme.c:
...
const int ieee802_1d_to_ac[8] = {
	IEEE80211_AC_BE,
	IEEE80211_AC_BK,
	IEEE80211_AC_BK,
	IEEE80211_AC_BE,
	IEEE80211_AC_VI,
	IEEE80211_AC_VI,
	IEEE80211_AC_VO,
	IEEE80211_AC_VO
};
...
This is the correct mapping if you want to trust the IEEE802.11e 
standard (Table 20i).

Gr. AvS
As I understand, this values stand for queues for different types of traffic:
IEEE80211_AC_BE is  best-effort traffic ,
IEEE80211_AC_BK is background traffic ,
IEEE80211_AC_VI is video traffic,
IEEE80211_AC_VO is voice traffic.

We see that entries 6,7 are  voice and entries 4,5 are video.
Is it not an error that entries 2,3 differ ? and also 0,1 ?

shouldn't it be:
const int ieee802_1d_to_ac[8] = {
	IEEE80211_AC_BE,
	IEEE80211_AC_BE,
	IEEE80211_AC_BK,
	IEEE80211_AC_BK,


Regards,
D Shwartz
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help