On Thu, May 9, 2013 at 10:09 PM, Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote: > > On 05/09/2013 09:32 AM, Sujith Manoharan wrote: >> >> Ben Greear wrote: >>> >>> I suspect we need to set up rules with 'tc' and maybe iptables. >>> >>> I'm not having any luck finding any examples out on the web, but >>> surely the info is somewhere w/out having to fully understand 'tc'. >> >> >> DSCP can be used... >> >> Something like "iptables -t mangle -A OUTPUT -p tcp --dport 5005 -j DSCP --set-dscp-class "CS6"" >> (Change the class for other priorities). > > > In my case, I'd like to match on the ToS set in the IP headers. > > Basically, just map ToS 192 to VO, for instance. Talking about rules, Are you able to see the ToS marked in the IP header in the sniffer and not in the 802.11 header? Then we can concentrate on marking the packet (or) mapping in the driver? -- 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