OpenWrt Forum Archive

Topic: wl-500w 802.11n support: any update?

The content of this topic has been archived between 1 Jan 2018 and 8 Feb 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I guess 130 Mbps is the maximum speed on this device (no HT40?)

seems to work but quite slow (3 MiB/s) even if reported speed is 130 Mbps

(Last edited by zorxd on 3 Mar 2012, 22:22)

zorxd wrote:

I guess 130 Mbps is the maximum speed on this device (no HT40?)

seems to work but quite slow (3 MiB/s) even if reported speed is 130 Mbps

Apparently chanspec has to be set via the ‹wl› tool. But with the kind of feedback it gives this is not really easy to sort out.

chanspecs
    Get all the valid chanspecs (default: all within current locale):
    -b band (5(a) or 2(b/g))
    -w bandwidth, 10,20 or 40
    [-c country_abbrev]


chanspec
    Set <channel>[a,b][n][u,l]
    channel number (0-224)
    band a=5G, b=2G, default to 2G if channel <= 14
    bandwidth, n=10, none for 20 & 40
    ctl sideband, l=lower, u=upper
OR Set channel with legacy format:
    -c channel number (0-224)
    -b band (5(a) or 2(b/g))
    -w bandwidth, 10,20 or 40
    -s ctl sideband, -1=lower, 0=none, 1=upper

So, I gave it « wl chanspec -b 2 -c 4 -w 40 -s -1 »

Not sure what the effect is, I’m too far from that box, atm.

not sure if the command works

first, it fails with channel 10 or 11 for some reasons

Also, if I try your exact command, it doesn't change the current channel (which was 11 in my case)

(Last edited by zorxd on 4 Mar 2012, 00:23)

Ah, it seems that we must do it while the interface is down to take effect

wl rate now reports 270 Mbps instead of 130. However, I don't know how to start the AP while keeping that rate

(Last edited by zorxd on 4 Mar 2012, 00:26)

the following works:

ifconfig wl0 down
wl chanspec -b 2 -c 4 -w 40 -s -1
ifconfig wl0 up
nas (insert nas settings here)

wl rate reports 270 Mbps
windows associated client reports 300 Mbps

still slow 3 MiB/s real world performance

I think it would be a good idea to finally hook this up with uci wireless hwmode and htmode.

3MB sounds suspiciously like what the thing can pump out from an attached USB drive. The WL500 is just too CPU limited. Did you try a PC-toPC transfer?

EDIT: just tested it here myself, running a PC-to-PC UDP benchmark it saturates the 100MBit/s Ethernet that the box has. With TCP the net rate is slightly lower

TCP connection established.
Packet size  1k bytes:  6687.14 KByte/s Tx,  8653.30 KByte/s Rx.
Packet size  2k bytes:  6703.00 KByte/s Tx,  8511.47 KByte/s Rx.
Packet size  4k bytes:  6376.67 KByte/s Tx,  8645.49 KByte/s Rx.
Packet size  8k bytes:  6946.67 KByte/s Tx,  8132.19 KByte/s Rx.
Packet size 16k bytes:  5867.23 KByte/s Tx,  8202.63 KByte/s Rx.
Packet size 32k bytes:  6553.40 KByte/s Tx,  8741.76 KByte/s Rx.
Done.

(Last edited by towolf on 4 Mar 2012, 12:26)

Helo, i have a asus wl-500w and want to make openwrt on it.
can someone please tell me what I must do?
someone can give me a short instruction?
What ist the right path, trunk or backfire?

Configure:  make menuconfig
  - Target System:  ?
  - Subtarget:  ?
  - Target Profile:  ?
  - Target Images: ?
  - ....

darkwin wrote:

Helo, i have a asus wl-500w and want to make openwrt on it.
can someone please tell me what I must do?
someone can give me a short instruction?
What ist the right path, trunk or backfire?

Configure:  make menuconfig
  - Target System:  ?
  - Subtarget:  ?
  - Target Profile:  ?
  - Target Images: ?
  - ....

Target System (Broadcom BCM947xx/953xx)  --->                         
    Target Profile (Broadcom BCM43xx WiFi (wl, proprietary))  --->       

Then go to Kernel modules and check that in Wireless Drivers nothing is checked and in Proprietary BCM43xx WiFi driver everything besides -mini has an asterisk. Other than that it depends on what you need. Personally, I’m using this box only as a wireless repeater, hence I disabled basically everything a router needs (ppp, dnsmasq, iptables).

General build instructions are on the wiki. Trunk should be alright, if not for the fact that the WMM needed for N-mode has been enabled four weesk ago.

towolf wrote:

3MB sounds suspiciously like what the thing can pump out from an attached USB drive. The WL500 is just too CPU limited. Did you try a PC-toPC transfer?

Well of course I was doing a PC to PC transfer. Only, I was using wireless on one of them.

Helo, I have done a wiki entry with pictures of the Mainboard and Serial port.
Please help to fill the missing dots.

towolf wrote:

I think it would be a good idea to finally hook this up with uci wireless hwmode and htmode.

It would be a good idea however current scripts are based on wlc instead of wl and I don't think wlc supports the chanspecs command.

Nonetheless, I inserted a wl chanspecs command in /lib/wifi/broadcom.sh and it works just fine.

So perhaps a temporary solution could be to check if wl is installed and if so check for htmode and hwmode

I'm sure we can extend wlc with the required operations to enable 40MHz etc.

jow wrote:

I'm sure we can extend wlc with the required operations to enable 40MHz etc.

That sounds really cool and would be much appreciated. BCM4329 has been treated like a stepchild everywhere.

I was wondering what the difference between wlc and wl is, also since wlc is installed but wl isn’t by default. So, wlc was written by Felix to suit OpenWrt and wl comes from Broadcom? But the functionality is all accessible by some sort of API?

And why had WMM/WME been disabled all this time?

Yes, the wl/wlc operations are available through a broadcom-proprietary ioctl api. The disabling of wmm had no specific reason, when the option for it got implemented it was made to default to off and nobody objected, so it remained this way.

jow, towolf, zorxd, can you give complete config /etc/config/wireless for wl500w? I cant set n-mode.

(Last edited by 0x1u1z on 18 Nov 2012, 14:06)

The discussion might have continued from here.