Skip to contentSkip to conversation

d80211/bcm43xx: Modify struct sta_info 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 3/8 d80211/bcm43xx: Modify struct sta_info for wireless statistics.

Part 3 of 8 to add wireless statistics to the bcm43xx-d80211 system. This patch adds new variables last_signal, last_noise and max_rssi to struct sta_info.

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

net/d80211/sta_info.h +3 -0
index 70334e5..4d4169e 100644
@@ -82,6 +82,9 @@ struct sta_info {
 	unsigned long rx_dropped; /* number of dropped MPDUs from this STA */
 
 	int last_rssi; /* RSSI of last received frame from this STA */
+	int last_signal; /* signal of last received frame from this STA */
+	int last_noise; /* noise of last received frame from this STA */
+	int max_rssi; /* maximum value of RSSI for this STA */
 	int last_ack_rssi[3]; /* RSSI of last received ACKs from this STA */
 	unsigned long last_ack;
         int channel_use;