Re: [ath9k-devel] modifying priority of UDP packets

2013-05-24 Thread abhinav narain
I went through code in compat/net/mac80211, and seems I could not find code
which does the the change in the Access Class of the frames (Apart from one
function which is called for Linux v<2.6.27).

I suppose the change directly happens in the driver then (I have to look
through it though).
IP QoS might be one thing that may help.

This is layer 3 QoS, not sure what is layer 2 QoS done (I read these terms
somewhere),
but hopefully IP TOS field can be useful enough to change the priority of
certain kind of UDP frame ?

-
Abhinav

On Fri, May 24, 2013 at 2:43 AM, Holger Schurig wrote:

> Have you tried the normal QoS stuff that IP supports?  The document
> http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/
> is antique by IT standards, but most (if not all) still holds true.
>
> Basically, you mark your important packets using firewall rules. Later
> those markings are used in the QoS part of the networking stack to
> prioritize those packets.
>
> A driver is the very wrong destination for such a solution: would you
> hack 1000 different ethernet-, WLAN- and Bluetooth drivers if you want
> to prioritize packets?  Nope!
>
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] modifying priority of UDP packets

2013-05-24 Thread Holger Schurig
Have you tried the normal QoS stuff that IP supports?  The document
http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/
is antique by IT standards, but most (if not all) still holds true.

Basically, you mark your important packets using firewall rules. Later
those markings are used in the QoS part of the networking stack to
prioritize those packets.

A driver is the very wrong destination for such a solution: would you
hack 1000 different ethernet-, WLAN- and Bluetooth drivers if you want
to prioritize packets?  Nope!
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] modifying priority of UDP packets

2013-05-23 Thread abhinav narain
Well, I don't want to do it in the driver, if possible in mac80211 itself.
I looked into net/mac80211/, but I did not find any specific hint where the
TOS field is checked and subsequent allocation
takes place. Any hint will be greatly appreciated !

-
Abhinav

On Thu, May 23, 2013 at 7:07 PM, abhinav narain
wrote:

> Hi all,
> I wanted to modify the priority of one of specific UDP frames generated by
> my specific application,
> to be send on VI queue.
> Can someone please tell, which files should I look into in compat-wireless
> folder ?
> -
> Abhinav
>
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


[ath9k-devel] modifying priority of UDP packets

2013-05-23 Thread abhinav narain
Hi all,
I wanted to modify the priority of one of specific UDP frames generated by
my specific application,
to be send on VI queue.
Can someone please tell, which files should I look into in compat-wireless
folder ?
-
Abhinav
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel