madwifi multiple mode issue

Bug #235369 reported by simonnewton
4
Affects Status Importance Assigned to Milestone
madwifi-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: madwifi-tools

MadWifi driver states compatibility with multiple mode interfaces (VAP's). Only one station interface may exist on the wifi0 device, but multiple AP's may exist, or AP and Station together (source: http://madwifi.org/wiki/UserDocs/MultipleInterfaces).

root@victorian:/home/xxx# uname -a
Linux victorian 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux
root@victorian:/home/xxx# cat /etc/debian_version
lenny/sid

root@victorian:/home/xxx# /etc/init.d/networking stop
 * Deconfiguring network interfaces... [ OK ]
root@victorian:/home/xxx# wlanconfig ath0 destroy
root@victorian:/home/xxx# wlanconfig ath create wlandev wifi0 wlanmode ap
ath0
root@victorian:/home/xxx# wlanconfig ath create wlandev wifi0 wlanmode sta
wlanconfig: ioctl: Input/output error

just for giggles;

root@victorian:/home/xxx# wlanconfig ath1 create wlandev wifi0 wlanmode sta
wlanconfig: ioctl: Input/output error

ath_info

root@victorian:/home/xxx/ath_info# ./ath_info $athmem
 -==Device Information==-
MAC Version: ????? (0x70)
MAC Revision: 2413 (0x78)
Device type: 3
2GHz PHY Revision: SChip (0x56)

/============== EEPROM Information =============\
| EEPROM Version: 5.2 | EEPROM Size: 16 kbit |
| EEMAP: 2 | Reg. Domain: 0x10 |
|================= Capabilities ================|
| 802.11a Support: no | Turbo-A disabled: no |
| 802.11b Support: yes | Turbo-G disabled: yes |
| 802.11g Support: yes | 2GHz XR disabled: no |
| RFKill Support: no | 5GHz XR disabled: no |
| 32kHz Crystal: no | |
\===============================================/

/=========================================================\
| Calibration data common for all modes |
|=========================================================|
| CCK/OFDM gain delta: 1 |
| CCK/OFDM power delta: 251 |
| Scaled CCK delta: 5 |
| 2GHz Antenna gain: 1 |
| 5GHz Antenna gain: 0 |
| Turbo 2W maximum dBm: 38 |
| Target power start: 0x182 |
| EAR Start: 0x1cc |
\=========================================================/

/=========================================================\
| Calibration data for 802.11b operation |
|=========================================================|
| I power: 0x00 | Q power: 0x00 |
| Use fixed bias: 0x00 | Max turbo power: 0x00 |
| Max XR power: 0x00 | Switch Settling Time: 0x23 |
| Tx/Rx attenuation: 0x1c | TX end to XLNA On: 0x00 |
| TX end to XPA Off: 0x00 | TX end to XPA On: 0x07 |
| 62db Threshold: 0x1c | XLNA gain: 0x0c |
| XPD: 0x01 | XPD gain: 0x0a |
| I gain: 0x00 | Tx/Rx margin: 0x19 |
| False detect backoff: 0x00 | Noise Floor Threshold: -1 |
| ADC desired size: -38 | PGA desired size: -80 |
|=========================================================|
| Antenna control 0: 0x00 | Antenna control 1: 0x01 |
| Antenna control 2: 0x26 | Antenna control 3: 0x26 |
| Antenna control 4: 0x22 | Antenna control 5: 0x22 |
| Antenna control 6: 0x01 | Antenna control 7: 0x26 |
| Antenna control 8: 0x26 | Antenna control 9: 0x22 |
| Antenna control 10: 0x22 | Antenna control 11: 0x00 |
|=========================================================|
| Octave Band 0: 0 | db 0: 0 |
| Octave Band 1: 3 | db 1: 5 |
| Octave Band 2: 0 | db 2: 0 |
| Octave Band 3: 0 | db 3: 0 |
\=========================================================/
/=================== Per channel power calibration ====================\
| Freq | pwr_0 | pwr_1 | pwr_2 | pwr_3 |pwrx3_0|pwrx3_1|pwrx3_2|max_pwr|
| | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac | |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 2412 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| | [0] | [0] | [0] | [0] | [20] | [35] | [63] | |
\======================================================================/

/=========================================================\
| Calibration data for 802.11g operation |
|=========================================================|
| I power: 0x00 | Q power: 0x10 |
| Use fixed bias: 0x01 | Max turbo power: 0x26 |
| Max XR power: 0x24 | Switch Settling Time: 0x31 |
| Tx/Rx attenuation: 0x1c | TX end to XLNA On: 0x00 |
| TX end to XPA Off: 0x00 | TX end to XPA On: 0x0e |
| 62db Threshold: 0x1c | XLNA gain: 0x0c |
| XPD: 0x01 | XPD gain: 0x0a |
| I gain: 0x00 | Tx/Rx margin: 0x19 |
| False detect backoff: 0x00 | Noise Floor Threshold: -1 |
| ADC desired size: -38 | PGA desired size: -80 |
|=========================================================|
| Antenna control 0: 0x00 | Antenna control 1: 0x01 |
| Antenna control 2: 0x26 | Antenna control 3: 0x26 |
| Antenna control 4: 0x22 | Antenna control 5: 0x22 |
| Antenna control 6: 0x01 | Antenna control 7: 0x26 |
| Antenna control 8: 0x26 | Antenna control 9: 0x22 |
| Antenna control 10: 0x22 | Antenna control 11: 0x02 |
|=========================================================|
| Octave Band 0: 0 | db 0: 0 |
| Octave Band 1: 3 | db 1: 5 |
| Octave Band 2: 0 | db 2: 0 |
| Octave Band 3: 0 | db 3: 0 |
\=========================================================/
/=================== Per channel power calibration ====================\
| Freq | pwr_0 | pwr_1 | pwr_2 | pwr_3 |pwrx3_0|pwrx3_1|pwrx3_2|max_pwr|
| | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac | |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 2412 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| | [0] | [0] | [0] | [0] | [20] | [35] | [63] | |
\======================================================================/

GPIO registers: CR 0x00000000, DO 0x00000000, DI 0x00000010
STA_ID0: 00:11:95:c2:fd:d8
STA_ID1: 0x1b80d8fd, AP: 0, IBSS: 0, KeyCache Disable: 0
TIMER0: 0x0000bbdc, TBTT: 48092, TU: 0x0a8fbbdc
TIMER1: 0x0005ddff, DMAb: 48063, TU: 0x0a8fbbbf (-29)
TIMER2: 0x01ffffff, SWBA: 65535, TU: 0x0abfffff (+3163171)
TIMER3: 0x0000bb8d, ATIM: 48013, TU: 0x0a8fbb8d (-79)
TSF: 0x0000002a3eede06f, TSFTU: 47992, TU: 0x0a8fbb78
BEACON: 0x00000064
LAST_TSTP: 0x3eec524f

Revision history for this message
simonnewton (simon-simonnewton) wrote :

Issue remains in 8.04

xxx@victorian:~$ cat /etc/issue
Ubuntu 8.04

xxx@victorian:~$ sudo /etc/init.d/networking stop
 * Deconfiguring network interfaces...
                                                                         [ OK ]
xxx@victorian:~$ sudo wlanconfig ath0 destroy
xxx@victorian:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wifi0 no wireless extensions.

xxx@victorian:~$ sudo wlanconfig ath create wlandev wifi0 wlanmode ap
ath0
xxx@victorian:~$ sudo wlanconfig ath create wlandev wifi0 wlanmode sta
wlanconfig: ioctl: Input/output error

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

I'm sorry that nobody has cared about your bug yet. Are you still affected by this bug? Thank you for telling us!

Changed in madwifi-tools (Ubuntu):
status: New → Incomplete
Revision history for this message
simonnewton (simon-simonnewton) wrote :

Wow thats a blast from the past. That hardware was retired years ago, so im unsure if the bug remains.

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Then I'll close this bug.

Changed in madwifi-tools (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.