Skip to content

mac80211 and drivers: Improve wireless statistics

Larry Finger linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Mac80211: Add new names for statistics variablesinclude/net/mac80211.h net/mac80211/ieee80211.c net/mac80211/ieee80211_i.h +1 more+9 -23 replies
2/4mac80211: Convert mac80211 to new statistics variable namesnet/mac80211/debugfs_sta.c net/mac80211/ieee80211.c net/mac80211/ieee80211_ioctl.c +1 more+24 -240 replies
3/4mac80211 - drivers: Convert drivers that use mac80211 to new statistics variable namesdrivers/net/wireless/mac80211/adm8211/adm8211.c drivers/net/wireless/mac80211/bcm43xx/bcm43xx.h drivers/net/wireless/mac80211/bcm43xx/bcm43xx_main.c +16 more+44 -440 replies
4/4mac80211: Remove old names for statistics variablesinclude/net/mac80211.h net/mac80211/ieee80211.c net/mac80211/ieee80211_i.h +1 more+2 -90 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/4] mac80211 and drivers: Improve wireless statistics

In wireless statistics reporting, three quantities related to the signal are reported: "qual" (linear with the signal), "level" (logarithmic), and "noise". In mac80211 and the drivers that use it, the first two have a mixture of internal names for those quantities. To reduce confusion, this series of patches make the internal names match the entity that is being kept.

So that any bisection of the source will always result in code that will compile, the patches are divided as follows:

1/4: The new names are added to the appropriate struct definitions in mac80211. 2/4: The mac80211 routines are modified to use the new names.
3/4: The drivers that use mac80211 are modified.
4/4: The old names are removed from the struct definitions.

These changes assume the prior application of patches "[PATCH] mac80211: remove redundant rssi information in scan results" by Michael Wu and "[PATCH] mac80211: Report correct wireless statistics" by Larry Finger.

---