linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.24, mac80211 and b/g switching
@ 2008-03-07 15:36 Vladimir Koutny
  2008-03-07 17:12 ` Johannes Berg
  0 siblings, 1 reply; 9+ messages in thread
From: Vladimir Koutny @ 2008-03-07 15:36 UTC (permalink / raw)
  To: linux-wireless

[-- 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 --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-03-12 14:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-07 15:36 2.6.24, mac80211 and b/g switching Vladimir Koutny
2008-03-07 17:12 ` 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

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).