Linux wireless drivers development
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: dragoran <drago01@gmail.com>,
	Larry Finger <larry.finger@lwfinger.net>,
	ipw3945-devel@lists.sourceforge.net,
	linux-wireless@vger.kernel.org
Subject: Re: iwl3945 lists supported rates backwards
Date: Mon, 29 Oct 2007 12:58:15 -0400	[thread overview]
Message-ID: <1193677095.11181.2.camel@dv> (raw)
In-Reply-To: <1193667153.5197.48.camel@johannes.berg>

On Mon, 2007-10-29 at 15:12 +0100, Johannes Berg wrote:
> > With disable_hw_scan=1, probe requests have the same problem as the
> > association requests, namely they don't have CCK rates in the supported
> > rates:
> 
> This is because mac80211 uses the order in which the rates are
> registered, and with iwlwifi that is "OFDM, CCK". See
> iwl_init_hw_rates() and iwl_init_geos().

Yes, it's working now!  Thank you!  That's the patch I actually applied:

--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -5414,10 +5414,10 @@ static int iwl_init_geos(struct iwl_priv *priv)
 	 * is supported by a mode -- and the first match is taken
 	 */
 
-	if (modes[G].num_channels)
-		ieee80211_register_hwmode(priv->hw, &modes[G]);
 	if (modes[B].num_channels)
 		ieee80211_register_hwmode(priv->hw, &modes[B]);
+	if (modes[G].num_channels)
+		ieee80211_register_hwmode(priv->hw, &modes[G]);
 	if (modes[A].num_channels)
 		ieee80211_register_hwmode(priv->hw, &modes[A]);
 

Should I submit it formally?

-- 
Regards,
Pavel Roskin


  reply	other threads:[~2007-10-29 16:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-19 22:15 iwl3945 lists supported rates backwards Pavel Roskin
2007-10-19 22:28 ` Larry Finger
2007-10-20  5:40   ` Pavel Roskin
2007-10-20  8:21     ` dragoran
2007-10-29  7:51       ` Pavel Roskin
2007-10-29 10:50         ` dragoran
2007-10-29 14:26           ` Pavel Roskin
2007-10-29 10:55         ` dragoran
2007-10-29 14:12         ` Johannes Berg
2007-10-29 16:58           ` Pavel Roskin [this message]
2007-10-29 17:09             ` Johannes Berg
2007-10-29 18:53               ` dragoran
2007-10-29 20:31                 ` [ipw3945-devel] " mabbas
2007-10-30 12:09                   ` Johannes Berg
     [not found]   ` <1ba2fa240710191714j645c8bfp87a2269b9c141c52@mail.gmail.com>
2007-10-20  6:05     ` Pavel Roskin
2007-10-29  7:54     ` Pavel Roskin

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=1193677095.11181.2.camel@dv \
    --to=proski@gnu.org \
    --cc=drago01@gmail.com \
    --cc=ipw3945-devel@lists.sourceforge.net \
    --cc=johannes@sipsolutions.net \
    --cc=larry.finger@lwfinger.net \
    --cc=linux-wireless@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