All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Lamparter <chunkeey@web.de>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: John Linville <linville@tuxdriver.com>,
	Tomas Winkler <tomasw@gmail.com>,
	Michael Wu <flamingice@sourmilk.net>,
	Michael Buesch <mb@bu3sch.de>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH v2] mac80211: give burst time in txop rather than 0.1msec units
Date: Mon, 11 Feb 2008 19:52:30 +0100	[thread overview]
Message-ID: <200802111952.30964.chunkeey@web.de> (raw)
In-Reply-To: <1202658578.11481.4.camel@johannes.berg>

[-- Attachment #1: Type: text/plain, Size: 1348 bytes --]

On Sunday 10 February 2008 16:49:38 Johannes Berg wrote:

> Michael (Wu), the p54 driver has some values that differ from
> the 802.11 spec, is that intentional?
>

> +	/*
> +	 * FIXME: The default values in the spec (IEEE 802.11
> +	 *	  7.3.2.19 Table 37) are 47, 94, 0, 0, why use
> +	 *	  47, 94, 63, 0 here? Also, the default AIFS
> +	 *	  values (second parameter) are 2, 2, 3, 7...
> +	 */
Well, these values are the defaults of the original driver from conexant.
As far as I know it has something to do with the "proprietary" frameburst
feature (aka PRISM NITRO)... 

So on-topic: IEEE 802.11 defaults are fine. Drop the "FIXME". 

> +	P54_SET_QUEUE(vdcf->queue[0], 0x0002, 0x0003, 0x0007, 47);
> +	P54_SET_QUEUE(vdcf->queue[1], 0x0002, 0x0007, 0x000f, 94);
> +	P54_SET_QUEUE(vdcf->queue[2], 0x0003, 0x000f, 0x03ff, 0);
> +	P54_SET_QUEUE(vdcf->queue[3], 0x0007, 0x000f, 0x03ff, 0);

and off-topic: please merge another older patch. (see attachment)
>Re: [PATCH split 4/8] fix 'and' typo's in wireless/p54common
>Date: 26.10.2007 22:13
>From: Roel Kluin <12o3l@tiscali.nl>
>To: linux-wireless@vger.kernel.org
> 
>       Fix priority mistakes similar to '!x & y' in wireless/p54common
>    
>       Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
         Acked-by: Christian Lamparter <chunkeey@web.de>

[-- Attachment #2: roel-kluin-p54-negprio.patch --]
[-- Type: text/x-diff, Size: 588 bytes --]

diff --git a/drivers/net/wireless/p54common.c b/drivers/net/wireless/p54common.c
index 1437db0..8ee1453 100644
--- a/drivers/net/wireless/p54common.c
+++ b/drivers/net/wireless/p54common.c
@@ -374,7 +374,7 @@ static void p54_rx_frame_sent(struct ieee80211_hw *dev, struct sk_buff *skb)
 			if ((entry_hdr->magic1 & cpu_to_le16(0x4000)) != 0)
 				pad = entry_data->align[0];

-			if (!status.control.flags & IEEE80211_TXCTL_NO_ACK) {
+			if (!(status.control.flags & IEEE80211_TXCTL_NO_ACK)) {
 				if (!(payload->status & 0x01))
 					status.flags |= IEEE80211_TX_STATUS_ACK;
 				else


  reply	other threads:[~2008-02-11 18:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-10 15:49 [PATCH v2] mac80211: give burst time in txop rather than 0.1msec units Johannes Berg
2008-02-11 18:52 ` Christian Lamparter [this message]
2008-02-12 11:31   ` Johannes Berg
2008-02-12 13:02     ` [PATCH] p54: use IEEE 802.11e defaults for initialization Christian Lamparter
2008-02-13 12:11       ` Johannes Berg
2008-02-12 19:21     ` [PATCH v2] mac80211: give burst time in txop rather than 0.1msec units Michael Buesch
2008-02-12 19:57       ` Tomas Winkler
2008-02-12 20:42         ` Michael Buesch
2008-02-13 12:10           ` Johannes Berg
2008-02-12 16:26   ` John W. Linville

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=200802111952.30964.chunkeey@web.de \
    --to=chunkeey@web.de \
    --cc=flamingice@sourmilk.net \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mb@bu3sch.de \
    --cc=tomasw@gmail.com \
    /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.