Skip to contentSkip to conversation

d80211/bcm43xx: Modify struct ieee80211_local for wireless statistics.

PATCH In review Larry Finger 1 participant 1 message Aug 8, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/8 d80211/bcm43xx: Modify struct ieee80211_local for wireless statistics.

Part 2 of 8 to add wireless statistics to the bcm43xx-d80211 system. This patch adds new variables to struct ieee80211_local to contain the link_quality and noise. These could be u8's for bcm43xx, but have been left as int's in case other drivers need a larger range.

The patch is for the August 8 version of Linville's wireless-dev tree.

net/d80211/ieee80211_i.h +3 -0
index 7e021ec..be68ebf 100644
@@ -337,6 +337,9 @@ struct ieee80211_local {
 	struct net_device *apdev; /* wlan#ap - management frames (hostapd) */
 	int open_count;
 	int monitors;
+	int link_quality;
+	int noise;
+	struct iw_statistics wstats;
 	struct ieee80211_conf conf;
 
 	int dev_index;