d80211/bcm43xx: Modify struct sta_info for wireless statistics.
Subsystems (2)
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.
Signed-off-by Larry Finger <[email protected]>
net/d80211/sta_info.h +3 -0
@@ -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;