linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vladimir Koutny <vlado@work.ksp.sk>
To: linux-wireless@vger.kernel.org
Subject: 2.6.24, mac80211 and b/g switching
Date: Fri, 07 Mar 2008 16:36:04 +0100	[thread overview]
Message-ID: <47D160E4.3040503@work.ksp.sk> (raw)

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

Hi,

I'm writing a driver using mac80211 under 2.6.24.x kernels (some custom
hw, and very small chance of using anything newer than 2.6.24.x), and it
seems that switching between 11b and 11g in mac80211 doesn't work at all.

I'm registering 2 hwmodes - MODE_IEEE80211B and MODE_IEEE80211G; only
STA mode (no ap, no ad-hoc (yet)).

Depending on the order of hwmodes registration, mac80211 sticks to
either b or g mode, with several implications:
 - unable to set all g-rates when connected to g-AP in MODE_IEEE80211B
 - able to set g-rates when connected to b-AP in MODE_IEEE80211G
 - wrong cw_min set via conf_tx (the code which sets this looks fine,
   just the phymode is not set correctly)

It doesn't matter if I set the phymode to b or g for received frames,
the behaviour is always the same.

I did some tests with iwl3945 (and rt2500usb, but that wasn't able to
associate), under 2.6.24.3 and 2.6.25-rc4; the same behaviour as for my
driver. Non-mac80211 drivers (like ipw3945 on somewhat older kernel)
behave as one would expect.

I didn't do a test with latest dev tree; based on list traffic quite a
lot is happening here, so maybe this is fixed already. However, chance
of being able to move to anything more recent than 2.6.25-rc is very
close to zero :(

Is this a known issue? (I didn't manage to find anything in ml archives
so far) Or any hints on how to solve this?

Thanks,
  Vlado


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

             reply	other threads:[~2008-03-07 16:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-07 15:36 Vladimir Koutny [this message]
2008-03-07 17:12 ` 2.6.24, mac80211 and b/g switching Johannes Berg
2008-03-07 17:43   ` Vladimir Koutny
2008-03-07 18:16     ` Michael Buesch
2008-03-07 19:34       ` John W. Linville
2008-03-07 20:38         ` Vladimir Koutny
2008-03-11 16:30           ` Vladimir Koutny
2008-03-12 14:53             ` Johannes Berg
2008-03-07 19:40       ` Luis R. Rodriguez

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=47D160E4.3040503@work.ksp.sk \
    --to=vlado@work.ksp.sk \
    --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;
as well as URLs for NNTP newsgroup(s).