* Wireless statistics for bcm43xx-d80211
@ 2006-07-19 4:24 Larry Finger
2006-07-19 11:13 ` Dan Williams
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Larry Finger @ 2006-07-19 4:24 UTC (permalink / raw)
To: Bcm43xx-dev-0fE9KPoRgkgATYTw5x5z8w, netdev-u79uwXL29TY76Z2rM5mHXA
I have gotten most things working to produce wireless statistics through /proc/net/wireless for
bcm43xx-d80211; however, I have one problem that I have not yet been able to solve. When I do a 'cat
/proc/net/wireless', the following is printed:
Inter-| sta-| Quality | Discarded packets | Missed | WE
face | tus | link level noise | nwid crypt frag retry misc | beacon | 20
wmaster0: 0000 100. 0. 0. 0 0 0 0 0 0
wlan1: 0000 100. -26. -67. 0 0 0 0 0 0
Based on the numbers obtained using bcm43xx-softmac for my interface, the numbers for level and
noise for wlan1 are what I expected (in dBm). The link value has not yet been finished. The main
problem is that the wireless kicker applet for KDE, which I use for a display, is only looking at
the first line, and never sees the wlan1 data - only the wmaster0 results.
Is there some way to detect that the master interface is being interrogated, and return data for the
attached STA instead?
Thanks, Larry
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Wireless statistics for bcm43xx-d80211
2006-07-19 4:24 Wireless statistics for bcm43xx-d80211 Larry Finger
@ 2006-07-19 11:13 ` Dan Williams
[not found] ` <44BDB400.40408-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
2006-07-19 13:56 ` Dan Williams
2 siblings, 0 replies; 5+ messages in thread
From: Dan Williams @ 2006-07-19 11:13 UTC (permalink / raw)
To: Larry Finger; +Cc: Bcm43xx-dev, netdev
On Tue, 2006-07-18 at 23:24 -0500, Larry Finger wrote:
> I have gotten most things working to produce wireless statistics through /proc/net/wireless for
> bcm43xx-d80211; however, I have one problem that I have not yet been able to solve. When I do a 'cat
> /proc/net/wireless', the following is printed:
>
> Inter-| sta-| Quality | Discarded packets | Missed | WE
> face | tus | link level noise | nwid crypt frag retry misc | beacon | 20
> wmaster0: 0000 100. 0. 0. 0 0 0 0 0 0
> wlan1: 0000 100. -26. -67. 0 0 0 0 0 0
>
> Based on the numbers obtained using bcm43xx-softmac for my interface, the numbers for level and
> noise for wlan1 are what I expected (in dBm). The link value has not yet been finished. The main
> problem is that the wireless kicker applet for KDE, which I use for a display, is only looking at
> the first line, and never sees the wlan1 data - only the wmaster0 results.
>
> Is there some way to detect that the master interface is being interrogated, and return data for the
> attached STA instead?
I'm not entirely sure how you configure d80211-based drivers [1], but I
think this is Kicker's problem? Doesn't it know which device you are
actually connecting with, i.e. wlan1? Kicker should know this, but we
may need to update userland applications like Kicker and NetworkManager
for the new device model that d80211 presents. wlanmaster0 shouldn't
have any quality, because it's not connected to anything, and nothing
connects to it. It's not exposed over the air in any way, AFAIUI.
Let's fix this the right way, in userspace apps, not working around this
stuff in the drivers.
Dan
[1] i.e., can you have more than one STA attached to a master? I
thought so, but could be wrong.
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <44BDB400.40408-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>]
* Re: Wireless statistics for bcm43xx-d80211
[not found] ` <44BDB400.40408-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
@ 2006-07-19 12:59 ` Michael Buesch
0 siblings, 0 replies; 5+ messages in thread
From: Michael Buesch @ 2006-07-19 12:59 UTC (permalink / raw)
To: Larry Finger
Cc: netdev-u79uwXL29TY76Z2rM5mHXA, bcm43xx-dev-0fE9KPoRgkgATYTw5x5z8w
On Wednesday 19 July 2006 06:24, Larry Finger wrote:
> I have gotten most things working to produce wireless statistics through /proc/net/wireless for
> bcm43xx-d80211; however, I have one problem that I have not yet been able to solve. When I do a 'cat
> /proc/net/wireless', the following is printed:
>
> Inter-| sta-| Quality | Discarded packets | Missed | WE
> face | tus | link level noise | nwid crypt frag retry misc | beacon | 20
> wmaster0: 0000 100. 0. 0. 0 0 0 0 0 0
> wlan1: 0000 100. -26. -67. 0 0 0 0 0 0
>
> Based on the numbers obtained using bcm43xx-softmac for my interface, the numbers for level and
> noise for wlan1 are what I expected (in dBm). The link value has not yet been finished. The main
> problem is that the wireless kicker applet for KDE, which I use for a display, is only looking at
> the first line,
So it is broken. Fullstop.
Bug KDE for this.
--
Greetings Michael.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Wireless statistics for bcm43xx-d80211
2006-07-19 4:24 Wireless statistics for bcm43xx-d80211 Larry Finger
2006-07-19 11:13 ` Dan Williams
[not found] ` <44BDB400.40408-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
@ 2006-07-19 13:56 ` Dan Williams
[not found] ` <1153317379.2537.2.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2 siblings, 1 reply; 5+ messages in thread
From: Dan Williams @ 2006-07-19 13:56 UTC (permalink / raw)
To: Larry Finger; +Cc: Bcm43xx-dev, netdev
On Tue, 2006-07-18 at 23:24 -0500, Larry Finger wrote:
> I have gotten most things working to produce wireless statistics through /proc/net/wireless for
> bcm43xx-d80211; however, I have one problem that I have not yet been able to solve. When I do a 'cat
> /proc/net/wireless', the following is printed:
>
> Inter-| sta-| Quality | Discarded packets | Missed | WE
> face | tus | link level noise | nwid crypt frag retry misc | beacon | 20
> wmaster0: 0000 100. 0. 0. 0 0 0 0 0 0
> wlan1: 0000 100. -26. -67. 0 0 0 0 0 0
>
> Based on the numbers obtained using bcm43xx-softmac for my interface, the numbers for level and
> noise for wlan1 are what I expected (in dBm). The link value has not yet been finished. The main
> problem is that the wireless kicker applet for KDE, which I use for a display, is only looking at
> the first line, and never sees the wlan1 data - only the wmaster0 results.
>
> Is there some way to detect that the master interface is being interrogated, and return data for the
> attached STA instead?
Actually, now that I think about it, why are _any_ applets
screen-scraping /proc/net/wireless anymore? If they profess to be a
wireless applet, yet screenscrape /proc/net/wireless, that's suspect
right there. The ioctls for status are quite well-defined and haven't
changed in a very long time (ie, SIOCGIWRANGE).
On the flip side, /proc/net/wireless has been supported since the dawn
of time (ok, not really) and is the textual interface for reporting
wireless statistic, but maybe that shouldn't be the case anymore.
Dan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-07-19 19:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-19 4:24 Wireless statistics for bcm43xx-d80211 Larry Finger
2006-07-19 11:13 ` Dan Williams
[not found] ` <44BDB400.40408-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
2006-07-19 12:59 ` Michael Buesch
2006-07-19 13:56 ` Dan Williams
[not found] ` <1153317379.2537.2.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2006-07-19 19:42 ` Larry Finger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).