Re: Does the driver directly map TOS/DSCP tags to User Priority into QoS Control field?
Zhu Yi <[email protected]> Thu, 19 Feb 2009 10:15:30 +0800
| Newsgroups | gmane.linux.drivers.ipw2100.devel |
|---|---|
| Message-ID | <1235009730.6354.393.camel@debian> |
On Wed, 2009-02-18 at 06:30 +0800, Alex Chpenst wrote: > > Based on what information the ipw2100 driver makes a decision to which > transmit queue to put a packet? Does the driver directly read TOS/DSCP > values of IP packets? > > For example, if I set the DSCP value of an outgoing IP packet to 0x38, > is the driver supposed to derectly read this from the IP packet and > then based on this put the packet into the AC_VO queue and write the > user priority UP = 7 into the QoS control field of the outgoing MAC > frame? Take a look for ieee80211_classify() for this. But I don't think ipw2100 support QoS. You need at least ipw2200. But the code is old and less maintained. If you are not specific with hardware, I'd suggest you to look at the mac80211 and iwlwifi implementation. Thanks, -yi ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H