Skip to content

d80211/bcm43xx: Add wireless statistics.

Larry Finger netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8d80211/bcm43xx: Modify struct ieee80211_rx_status for wireless statistics.include/net/d80211.h+3 -03 replies
2/8d80211/bcm43xx: Modify struct ieee80211_local for wireless statistics.net/d80211/ieee80211_i.h+3 -00 replies
3/8d80211/bcm43xx: Modify struct sta_info for wireless statistics.net/d80211/sta_info.h+3 -00 replies
4/8d80211/bcm43xx: Modify struct bcm43xx_stats for wireless statistics.drivers/net/wireless/d80211/bcm43xx/bcm43xx.h+3 -10 replies
5/8d80211/bcm43xx: Modify bcm43xx_main.c for wireless statistics.drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c+1 -90 replies
6/8d80211/bcm43xx: Modify bcm43xx_xmit.c for wireless statistics.drivers/net/wireless/d80211/bcm43xx/bcm43xx_xmit.c+4 -10 replies
7/8d80211/bcm43xx: Modify struct ieee80211_rx_status for wireless statistics.net/d80211/ieee80211.c+3 -00 replies
8/8d80211/bcm43xx: Modify ieee80211_ioctl.c for wireless statistics.net/d80211/ieee80211_ioctl.c+44 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] d80211/bcm43xx: Add wireless statistics.

This set of 8 patches implement wireless statistics for bcm43xx using the d80211 stack.They also set the framework for the implementation in other drivers that use the d80211 code. The specific parts are as follows:

1. Add new variables to struct ieee80211_rx_status to contain the latest values for signal, noise, and the maximum value of the received ssi. These could be u8's, but I left them as integers in case other drivers needed larger values.

2. Add new variables to struct ieee80211_local to contain the link_quality and noise.Again these could be u8's for bcm43xx.

3. Add last_signal, last_noise and max_rssi to struct sta_info.

4. Remove link_quality and add link_noise to struct bcm43xx_stats.

5. Remove the bogus calculation of link_quality and save the value of link_noise in the new variable bcm->stats.link_noise.

6. In bcm43xx_xmit.c, store the new variables in status for transmission to ieee80211.

7. In ieee80211_rx_h_sta_process, transfer the new status variables into struct sta_info.

8. Add the appropriate range parameters and routine ieee80211_get_wireless_stats to ieee80211_ioctl.c.

Signed-off-by Larry Finger <Larry.Finger.lwfinger.net>