Ticket #190 (closed defect: fixed)

Opened 6 years ago

Last modified 3 years ago

madwifi-ng wlanconfig crashes while listing frequencies and other issues

Reported by: brainslayer@braincontrol.org Assigned to:
Priority: major Milestone: version 1.0.0 - first stable release
Component: madwifi: driver Version: trunk
Keywords: Cc:
Patch is attached: 1 Pending:

Description (Last modified by mrenzmann)

iwpriv ath0 mode 1
wlanconfig ath0 list freq

Channel   0 : 0  Mhz              Channel  84 : 120  Mhz 11a Dynamic
Channel   0 : 0  Mhz              Channel  47 : 26978* Mhz Static
Channel   0 : 0  Mhz              Channel  58 : 25135* Mhz Static
Channel   0 : 0  Mhz              Channel 117 : 28265* Mhz Static
Channel   0 : 0  Mhz              Channel  58 : 25203* Mhz Static
Channel   0 : 0  Mhz              Channel  98 : 29542* Mhz Static
Channel   0 : 0  Mhz              Channel 115 : 27183* Mhz Static
Channel   0 : 0  Mhz              Channel 102 : 14958* Mhz Static
Channel   0 : 0  Mhz              Channel 115 : 29557* Mhz 11a Static
Channel   0 : 0  Mhz              Channel 102 : 12090* Mhz Static
Channel   0 : 0  Mhz              Channel 105 : 29299* Mhz Static
Channel   0 : 0  Mhz              Channel  61 : 17736  Mhz
Channel   0 : 0  Mhz              Channel   0 : 12142  Mhz Static
Channel   0 : 0  Mhz              Channel 112 : 12093  Mhz 11a Static
Channel   0 : 0  Mhz              Channel 117 : 29807* Mhz Static
Channel   0 : 0  Mhz              Channel  47 : 25203* Mhz Static
Channel   0 : 0  Mhz              Channel 102 : 25454* Mhz Static
Segmentation fault



iwlist ath0 chan
wl0       46 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 42 : 5.21 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 50 : 5.25 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 58 : 5.29 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 149 : 5.745 GHz
          Channel 152 : 5.76 GHz
          Channel 153 : 5.765 GHz
          Channel 157 : 5.785 GHz
          Channel 160 : 5.8 GHz
          Channel 161 : 5.805 GHz
          Channel 165 : 5.825 GHz
          Current Frequency:2.412 GHz (Channel 1)

which is a wrong channel list for mode 1 (802.11a only)

Attachments

madwifi-wlanconfig-list-chan_active.patch (0.8 kB) - added by svens@gmx.de on 12/07/05 10:31:30.
wlanconfig patch
madwifi-wlanconfig-chanlist.diff (1.0 kB) - added by svens@gmx.de on 12/08/05 17:06:30.
Signed Patch

Change History

11/30/05 12:28:03 changed by brainslayer@braincontrol.org

architecture is mips LE

12/05/05 08:08:45 changed by mrenzmann

  • description changed.

What revision of trunk were you using when you saw this issue?

12/05/05 11:34:26 changed by brainslayer@braincontrol.org

always the last revision. i updated again today to 1349. the previous revision wasnt working too.

12/07/05 10:31:30 changed by svens@gmx.de

  • attachment madwifi-wlanconfig-list-chan_active.patch added.

wlanconfig patch

12/07/05 10:32:26 changed by svens@gmx.de

Please try the attached patch and report the result.

12/07/05 14:21:09 changed by anonymous

works now. thank you. another thing. if i set iwpriv ath0 mode 1, why does wlanconfig or iwlist always return all channels and not just the 802.11.a ones? additionally channel selection on the first create interface wont work here, only starting from the second it shows a changed channel

12/07/05 14:22:30 changed by anonymous

forget about the channel selection thing, works here now in the last build. but iwlist ath0 chan still shows all channels, also if mode is equal 1

12/08/05 15:32:44 changed by mrenzmann

Patch will be committed as soon as it has been signed off by svens.

Regarding the "iwlist ath0 chan": please file a new ticket for that issue.

12/08/05 17:06:30 changed by svens@gmx.de

  • attachment madwifi-wlanconfig-chanlist.diff added.

Signed Patch

12/11/05 00:21:25 changed by kelmo

  • status changed from new to closed.
  • resolution set to fixed.

Patch commited to r1352

Thanks svens ; )

02/01/06 11:47:32 changed by kelmo

  • patch_attached set to 1.

Add/Change #190 (madwifi-ng wlanconfig crashes while listing frequencies and other issues)