netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: John Linville <linville@tuxdriver.com>, netdev@vger.kernel.org
Subject: [PATCH 4/8] d80211/bcm43xx: Modify struct bcm43xx_stats for wireless statistics.
Date: Tue, 08 Aug 2006 18:59:17 -0500	[thread overview]
Message-ID: <44D92555.7030907@lwfinger.net> (raw)

Part 4 of 8 to add wireless statistics to the bcm43xx-d80211 system.
This patch removes link_quality and adds link_noise to struct
bcm43xx_stats and defines BCM43xx_RX_MAX_SSI, which is the maximum value for
rssi.

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/drivers/net/wireless/d80211/bcm43xx/bcm43xx.h
b/drivers/net/wireless/d80211/bcm43xx/bcm43xx.h
index a0faeca..75174f9 100644
--- a/drivers/net/wireless/d80211/bcm43xx/bcm43xx.h
+++ b/drivers/net/wireless/d80211/bcm43xx/bcm43xx.h
@@ -27,6 +27,8 @@ #define BCM43xx_IRQWAIT_MAX_RETRIES	50

  #define BCM43xx_IO_SIZE			8192

+#define BCM43xx_RX_MAX_SSI		60
+
  /* Active Core PCI Configuration Register. */
  #define BCM43xx_PCICFG_ACTIVE_CORE	0x80
  /* SPROM control register. */
@@ -623,7 +625,7 @@ struct bcm43xx_noise_calculation {
  };

  struct bcm43xx_stats {
-	u8 link_quality;
+	u8 link_noise;
  	/* Store the last TX/RX times here for updating the leds. */
  	unsigned long last_tx;
  	unsigned long last_rx;



                 reply	other threads:[~2006-08-08 23:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44D92555.7030907@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=linville@tuxdriver.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).