From: "John W. Linville" <linville@tuxdriver.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, jgarzik@pobox.com, sfr@canb.auug.org.au
Subject: Re: net-2.6 merged into net-next-2.6
Date: Tue, 10 Jun 2008 13:47:13 -0400 [thread overview]
Message-ID: <20080610174713.GA24763@tuxdriver.com> (raw)
In-Reply-To: <20080610160212.GA16834@tuxdriver.com>
On Tue, Jun 10, 2008 at 12:02:12PM -0400, John W. Linville wrote:
> On Tue, Jun 10, 2008 at 02:50:59AM -0700, David Miller wrote:
> >
> > There were a few small wireless conflicts but I think
> > I handled them correctly.
> >
> > Please send me any fixup patches which might be necessary.
>
> Just one, which was easy to miss:
Oops, found another one...
The following changes since commit 65b53e4cc90e59936733b3b95b9451d2ca47528d:
David S. Miller (1):
Merge branch 'master' of master.kernel.org:/.../davem/net-2.6
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6.git master
John W. Linville (2):
rt2x00dev.c: fix-up merge damage
net/mac80211/ieee80211_i.h: fix-up merge damage
drivers/net/wireless/rt2x00/rt2x00dev.c | 2 +-
net/mac80211/ieee80211_i.h | 21 ---------------------
2 files changed, 1 insertions(+), 22 deletions(-)
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c
index f7a4417..dc5ab90 100644
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
@@ -507,7 +507,7 @@ void rt2x00lib_txdone(struct queue_entry *entry,
rt2x00dev->link.qual.tx_success +=
test_bit(TXDONE_SUCCESS, &txdesc->flags);
rt2x00dev->link.qual.tx_failed +=
- txdesc->retry + !!test_bit(TXDONE_FAILURE, &txdesc->flags);
+ test_bit(TXDONE_FAILURE, &txdesc->flags);
/*
* Initialize TX status
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 884be4d..b19bd16 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -853,27 +853,6 @@ u32 ieee80211_handle_ht(struct ieee80211_local *local, int enable_ht,
/* ieee80211_ioctl.c */
extern const struct iw_handler_def ieee80211_iw_handler_def;
-
-/* Least common multiple of the used rates (in 100 kbps). This is used to
- * calculate rate_inv values for each rate so that only integers are needed. */
-#define CHAN_UTIL_RATE_LCM 95040
-/* 1 usec is 1/8 * (95040/10) = 1188 */
-#define CHAN_UTIL_PER_USEC 1188
-/* Amount of bits to shift the result right to scale the total utilization
- * to values that will not wrap around 32-bit integers. */
-#define CHAN_UTIL_SHIFT 9
-/* Theoretical maximum of channel utilization counter in 10 ms (stat_time=1):
- * (CHAN_UTIL_PER_USEC * 10000) >> CHAN_UTIL_SHIFT = 23203. So dividing the
- * raw value with about 23 should give utilization in 10th of a percentage
- * (1/1000). However, utilization is only estimated and not all intervals
- * between frames etc. are calculated. 18 seems to give numbers that are closer
- * to the real maximum. */
-#define CHAN_UTIL_PER_10MS 18
-#define CHAN_UTIL_HDR_LONG (202 * CHAN_UTIL_PER_USEC)
-#define CHAN_UTIL_HDR_SHORT (40 * CHAN_UTIL_PER_USEC)
-
-
-/* ieee80211_ioctl.c */
int ieee80211_set_freq(struct net_device *dev, int freq);
/* ieee80211_sta.c */
--
John W. Linville
linville@tuxdriver.com
next prev parent reply other threads:[~2008-06-10 18:29 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-10 9:50 net-2.6 merged into net-next-2.6 David Miller
2008-06-10 16:02 ` John W. Linville
2008-06-10 17:47 ` John W. Linville [this message]
2008-06-10 19:24 ` David Miller
-- strict thread matches above, loose matches on Subject: below --
2011-07-06 6:38 David Miller
2010-12-17 21:03 David Miller
2010-09-27 8:14 David Miller
2009-07-17 4:04 David Miller
2008-07-06 6:21 David Miller
2008-06-19 23:06 David Miller
2008-06-19 23:18 ` Stephen Rothwell
2008-06-17 2:31 David Miller
2008-05-26 6:39 David Miller
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=20080610174713.GA24763@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=davem@davemloft.net \
--cc=jgarzik@pobox.com \
--cc=netdev@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.