Page 1 of 2

Suggestion: Wireless clients signal quality etc.

Posted: Tue Jan 18, 2011 5:13 am
by kurjak
As certain memeber previously mentioned it would be nice to a wireless device status page with rssi, wireless signal quality, tx/rx rate, etc info. Any chance it could be added in future versions? Is there a shell command which can show this data?
Thanks!

Re: Suggestion: Wireless clients signal quality etc.

Posted: Tue Jan 18, 2011 7:52 am
by pbix
I agree that this would be cool but unless you take up the challenge I do not see it happening anytime soon.

I think the information you seek can be obtained on the command line using the 'iw', 'iwconfig', "wl" and/or 'wlanconfig' depending on your hardware.

Re: Suggestion: Wireless clients signal quality etc.

Posted: Sat Jan 22, 2011 1:11 pm
by Cezary
Proposal solution (for mac80211, need code for atheros and broadcom)

http://eko.one.pl/openwrt/sources/signal.diff

Re: Suggestion: Wireless clients signal quality etc.

Posted: Sat Jan 22, 2011 7:22 pm
by pbix
Looks nice I encourage you to keep going on this.

Anybody with a Broadcom or Atheros router want to assist Cezary with this? We need a complete solution that covers all supported routers.

Re: Suggestion: Wireless clients signal quality etc.

Posted: Sun Jan 23, 2011 11:02 am
by kurjak
Looks great!
Another propositions:
Color coding of signal label
eg.
< -80 = red
-80 < -75 = orange
-75 < -70 = blue
>-70 = green

Re: Suggestion: Wireless clients signal quality etc.

Posted: Mon Jan 24, 2011 12:21 pm
by Eric
pbix: Actually, we just need madwifi (for older Atheros routers). Right now I'm working on migrating from brcm-2.4 to brcm47xx which runs on the same routers and uses the newer open-source b43 driver. This makes use of the mac80211 subsystem, for which we already have support since ath9k uses this too.

There have been some reports complaining about WPA wireless encryption with brcm-2.4 and the old proprietary driver in 1.3.x, not to mention flash read/write errors I suspect (but can't prove) are related to ancient 2.4 code. I think the 2.4 code isn't being maintained very well by the openwrt devs (this target is completely gone in the OpenWrt trunk) and it's officially time to dump it in favor of brcm47xx.

Re: Suggestion: Wireless clients signal quality etc.

Posted: Tue Jan 25, 2011 12:31 pm
by Cezary
OK, patch for atheros and mac80211.

http://eko.one.pl/openwrt/sources/signal1.patch

Tested on La Fonera.

Re: Suggestion: Wireless clients signal quality etc.

Posted: Tue Jan 25, 2011 4:31 pm
by pbix
Great,
I am on vacation for the next week but if Eric doesn't get a chance to test and integrate this before I get back I will do it then.

Re: Suggestion: Wireless clients signal quality etc.

Posted: Tue Jan 25, 2011 4:50 pm
by Eric
Now committed in git repository, with adjustments to display in color as suggested by kurjak, above.

Color code for signal strength (slightly adjusted from kurjak's suggestion):
<=-80:red
>=-80,<-60: gradient from red->orange->yellow->green
>=-60: green

Re: Suggestion: Wireless clients signal quality etc.

Posted: Tue Jan 25, 2011 5:29 pm
by kurjak
I have another suggestion, is there a way to see wireless packet success/error number. I have seen that mikrotik calculates ccq that way...