Ticket #411 (closed defect: worksforme)

Opened 6 years ago

Last modified 4 years ago

iwpriv mode not working

Reported by: jromo@networkguardian.net Assigned to: dyqith
Priority: major Milestone: version 0.9.x - progressive release candidate phase
Component: madwifi: driver Version: trunk
Keywords: iwpriv mode Cc: lists@daniels.id.au
Patch is attached: 0 Pending:

Description

I can't change the mode with iwpriv anymore. I am using 1453 build with wireless-tools version 27. I am can change to mode 0 or 3 but I can't set 2 or 3.

Don't work: iwpriv ath0 mode 1 iwprive ath0 mode 2

Error: Interface doesn't accept private ioctl... mode (8BE2): Invalid argument

Work: iwpriv ath0 mode 0 iwprive ath0 mode 3

This did work at one point I can't remember what build it was, but when I upgraded to 1452 or later I couldn't use iwpriv. I am using ath0 in AP/Master mode.

Attachments

Change History

02/20/06 06:21:43 changed by mrenzmann

  • status changed from new to assigned.
  • owner set to mrenzmann.
  • milestone set to version 0.9.0 - move to new codebase.

It would be nice if someone could try to determine which build introduced this problem.

02/20/06 06:21:53 changed by mrenzmann

  • status changed from assigned to new.
  • owner deleted.

02/25/06 23:49:48 changed by jromo@networkguardian.net

How can I pull all of the old builds with svn to test? I would test to find out which build caused this issue, but I don't know whow to pull old builds with svn.

02/27/06 04:04:29 changed by dyqith@gmail.com

use

svn checkout http://svn.madwifi.org/trunk <madwifi-ng-dir> -r<revision#>

eXample:

svn checkout http://svn.madwifi.org/trunk madwifi-ng-r1410 -r1410

hope this helps.

02/27/06 04:18:55 changed by anonymous

03/07/06 12:53:19 changed by p.cristiani@aethra.com

I get same problem using a Z-COM XG623 minPCI card (AR2413 11b&g modes) in AP mode. The failure is due to ieee80211_check_mode_consistency() that doesn't validate 11b (2) mode because current channel (vap->iv_des_channel) is an 11g-dyn (CCK+OFDM) channel. A possible workaround is set current channel to 0 (any channel), select the requested mode (iwpriv athx mode 11b) and then configure again the rigth operating channel. This not fix the problem but allows 11b mode operations.

04/06/06 13:41:03 changed by guillaume.schreiner@gmail.com

Bug confirmed on r1496. With a netgear WG311T or a 3COM 3CRPAG175. I can't switched from b to g or from g to b when an operating channel is set. Switching mode only works with channel any.

With the madwifi-old drivers, mode switching worked flawlessly.

04/20/06 15:06:03 changed by kelmo

  • milestone changed from version 0.9.0 - move to new codebase to version 0.9.x - progressive release candidate phase.

04/28/06 05:20:04 changed by lists@daniels.id.au

  • cc set to lists@daniels.id.au.

Issue confirmed in r1512 as well.

More Details: It appears that one is able to set the mode initially, but once its set the device needs to be destroyed and re-created before the channel can be changed again.

Aaron

04/28/06 05:39:02 changed by dyqith

  • status changed from new to assigned.
  • owner set to dyqith.

07/17/07 13:35:09 changed by mtaylor

  • status changed from assigned to closed.
  • resolution set to worksforme.

This ticket has not been updated in over twelve months and is being marked as "works for me" automatically.

If the ticket is still applies to the head revision of trunk, please re-open the ticket and provide any additional details needed and progress on the problem to date. Thanks.

08/22/08 03:55:05 changed by srags104

I had the same issue. It works if you run it using root privileges.

sudo iwpriv ath0 mode 2


Add/Change #411 (iwpriv mode not working)