Hello,

I would like to test the EDCA (802.11e) functionality on WRT54GLv1.1 and (openwrt RC6).

I have consulted the wiki document  http://wiki.openwrt.org/WMEHowTo, and I have managed to
enable 802.11e capacity (executing #wl -i $(nvram get wl0_ifname) wme 1)

next, i have consulted #wl command:

root@OpenWrt:~# wl

.............................................

wme     Set WME (Wireless Multimedia Extensions) mode (0=off, 1=on)

wme-ac  wl wme-ac sta/ap [be, bk, vi, vo] [ecwmax, ecwmin, txop, aifsn, acm] value

................................................


and also the next command:


root@OpenWrt:~# wl wme-ac sta

AC_BE   :     RAW AC Params ACI 0x3, ECW 0xa4, TXOP 0x0
     aci 0, acm 0, aifsn 3, ecwmin 0x4, ecwmax 0xa, txop 0x0
     CWmin=15, CWmax=1023, TXop=0 usec (0 units)

AC_BK   :     RAW AC Params ACI 0x27, ECW 0xa4, TXOP 0x0
     aci 1, acm 0, aifsn 7, ecwmin 0x4, ecwmax 0xa, txop 0x0
     CWmin=15, CWmax=1023, TXop=0 usec (0 units)

AC_VI   :     RAW AC Params ACI 0x42, ECW 0x43, TXOP 0x5e
     aci 2, acm 0, aifsn 2, ecwmin 0x3, ecwmax 0x4, txop 0x5e
     CWmin=7, CWmax=15, TXop=3008 usec (94 units)

AC_VO   :     RAW AC Params ACI 0x62, ECW 0x32, TXOP 0x2f
     aci 3, acm 0, aifsn 2, ecwmin 0x2, ecwmax 0x3, txop 0x2f
     CWmin=3, CWmax=7, TXop=1504 usec (47 units)


Even I have tried to change parameters successfully:

root@OpenWrt:~# wl wme-ac sta be ecwmax 0x4
for aci 0, MODIFIED AC Params ACI 0x3, ECW 0x44, TXOP 0x0


However, I don't know how i can mark my packets in order to match them with the right
AC (Access Category).


Anybody can help or contribute to this?

Thanks.