Search Linux Wireless

Re: QoS frames in AP mode?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 16, 2011 at 09:27:48AM +0100, Johannes Berg wrote:
> On Fri, 2011-12-16 at 09:14 +0100, Helmut Schaa wrote:
> > On Thu, Dec 15, 2011 at 6:00 PM, Johannes Berg
> > <johannes@xxxxxxxxxxxxxxxx> wrote:
> > 
> > >>         /* skb->priority values from 256->263 are magic values to
> > >>          * directly indicate a specific 802.1d priority.  This is used
> > >>          * to allow 802.1d priority to be passed directly in from VLAN
> > >>          * tags, etc.
> > >>          */
> > >>         if (skb->priority >= 256 && skb->priority <= 263)
> > >>                 return skb->priority - 256;
> > 
> > Is this code still valid? I haven't found a reference in the 802.1q code :(
> 
> I always thought you'd use like iptables to set it to the right value,
> but I have no idea.

Yes, if my memory serves me right, this was indeed the original reason
for this code (from almost ten years ago... ;-). It was used in some
interesting combination of iptables and tc rules.

-- 
Jouni Malinen                                            PGP id EFC895FA
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux