On 05/09/2013 10:00 AM, Krishna Chaitanya wrote:
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?
Ahh, in my case, I introduced the bug in my code trying to fix a kernel
splat when using pktgen to drive packets against wifi interfaces.
When I remove that, then the AP uses queues as expected. I'm going to
have to make the pktgen hack a bit better it seems.
With this in mind, other folks that want QoS working on their APs
probably just needs to somehow mangle the ToS on their packets
to get it automatically working. Hopefully no 'tc' or similar commands
would be needed.
Thanks,
Ben
--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com
--
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