Subject: [PATCH 1/8] d80211/bcm43xx: Modify struct ieee80211_rx_status for wireless statistics.

From: Larry Finger <[email-masked]>
Date: Tue, 08 Aug 2006 18:58:45 -0500

Part 1 of 8 to add wireless statistics to the bcm43xx-d80211 system. This patch adds new variables
to struct ieee80211_rx_status to contain the latest values for signal, noise, and the maximum value
of the received ssi. These could be u8's, but I left them as integers in case other drivers needed
larger values.

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

Signed-Off-By: Larry Finger <[email-masked]>

diff --git a/include/net/d80211.h b/include/net/d80211.h
index ba5cb4c..8479b58 100644
--- a/include/net/d80211.h
+++ b/include/net/d80211.h
@@ -205,6 +205,9 @@ struct ieee80211_rx_status {
          int channel;
          int phymode;
          int ssi;
+	int maxssi;
+	int signal;
+	int noise;
          int antenna;
          int rate;
          int flag;