Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #944 (new defect)

Opened 13 years ago

Last modified 12 years ago

ToS bits are incorrectly mapped to IEEE 802.11e QoS in v0.9.2

Reported by: prohodsj@monitoring.welchallyn.com Assigned to:
Priority: minor Milestone: version 0.9.x - progressive release candidate phase
Component: madwifi: other Version: v0.9.2
Keywords: Cc:
Patch is attached: 1 Pending:

Description (Last modified by mrenzmann)

ieee80211_output.c incorrectly maps ToS bits to IEEE 802.11e QoS. The "switch ((ip->tos) & 0xFC)" statement does the mapping. It looks at the DSCP bits in the ToS byte to assign the correct QoS.

The ToS bits which map to 802.iie access class voice (AC_VO) are 0xc0, 0xc8, and 0xe0.

The ToS bits which map to 802.iie access class video (AC_VI) are 0x28 and 0x80.

The ToS bits which map to 802.iie access class best effort (AC_BE) are 0x00 and 0x60.

The ToS bits which map to 802.iie access class background (AC_BK) are 0x08 and 0x40.

The patch below implements the correct ToS to QoS mapping.

Attachments

ieee80211_output.patch (283 bytes) - added by prohodsj@monitoring.welchallyn.com on 10/10/06 17:37:22.
patchfile for 80211_output.c

Change History

10/10/06 17:37:22 changed by prohodsj@monitoring.welchallyn.com

  • attachment ieee80211_output.patch added.

patchfile for 80211_output.c

10/10/06 18:49:47 changed by mrenzmann

  • priority changed from major to minor.
  • version set to v0.9.2.
  • milestone set to version 0.9.x - progressive release candidate phase.

Please rediff as unified diff (makes it easier to review the changes) and sign your patch off. Thanks.

10/10/06 18:50:18 changed by mrenzmann

  • description changed.

07/17/07 15:40:57 changed by mtaylor

  • patch_attached set to 1.