Ticket #1392 (new defect)

Opened 5 years ago

Last modified 4 years ago

ar6000: switching wifi modes does not work

Reported by: thebohemian@… Owned by: openmoko-kernel
Priority: high Milestone:
Component: kernel Version: unspecified
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

Hi,
first off: Wifi in ad-hoc and client mode works. However switching the modes
does not work correctly. I got these problems with the kernel from package
1:2.6.24+git20080511-r0 .

To reproduce the problem try out the following:

  • set up an ad-hoc station with another computer
  • bring the neo's wifi card into a sane default state:

ifconfig eth0 down
iwconfig eth0 essid off mode managed

  • set the essid of your ad-hoc station, e.g.

iwconfig eth0 essid olsr.freifunk.net

(on occassion, running 'iwconfig eth0' at this point will hang. ctrl-c helps.)

  • switch to ad-hoc mode: iwconfig eth0 mode ad-hoc
  • run iwconfig eth0 and realize that the card has not associated with the

existing station (no BSSID)

To fix the issue at this point one currently needs to run:
iwconfig eth0 essid off
iwconfig eth0 essid olsr.freifunk.net

Change History

comment:1 Changed 5 years ago by roh

  • Owner changed from openmoko-kernel@… to openmoko-kernel

comment:2 Changed 4 years ago by werner

  • HasPatchForReview unset

Only found this report recently, sorry. The "essid off" was the clue I needed.
Patch ar6k-disconnect-more-often.patch should solve this problem:
http://lists.openmoko.org/pipermail/openmoko-kernel/2008-November/006847.html

comment:3 Changed 4 years ago by andy

Has anyone tried this with a recent 2.6.29 kernel to verify it's solved?

Note: See TracTickets for help on using tickets.