* [PATCH 7/8] d80211/bcm43xx: Modify struct ieee80211_rx_status for wireless statistics.
@ 2006-08-08 23:59 Larry Finger
0 siblings, 0 replies; only message in thread
From: Larry Finger @ 2006-08-08 23:59 UTC (permalink / raw)
To: John Linville, netdev
Part 7 of 8 to add wireless statistics to the bcm43xx-d80211 system.
This patch modifies ieee80211_rx_h_sta_process to transfer the new
status variables into struct sta_info.
The patch is for the August 8 version of Linville's wireless-dev tree.
Signed-Off-By: Larry Finger <Larry.Finger@lwfinger.net>
diff --git a/net/d80211/ieee80211.c b/net/d80211/ieee80211.c
index 60eca90..9cfbec1 100644
--- a/net/d80211/ieee80211.c
+++ b/net/d80211/ieee80211.c
@@ -3173,6 +3173,9 @@ ieee80211_rx_h_sta_process(struct ieee80
sta->rx_fragments++;
sta->rx_bytes += rx->skb->len;
sta->last_rssi = rx->u.rx.status->ssi;
+ sta->last_signal = rx->u.rx.status->signal;
+ sta->last_noise = rx->u.rx.status->noise;
+ sta->max_rssi = rx->u.rx.status->maxssi;
if (!(rx->fc & IEEE80211_FCTL_MOREFRAGS)) {
/* Change STA power saving mode only in the end of a frame
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-09 0:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-08 23:59 [PATCH 7/8] d80211/bcm43xx: Modify struct ieee80211_rx_status for wireless statistics Larry Finger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).