Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #2439 (new defect)

Opened 11 years ago

Why change channel using iwconfig will also change the mode?

Reported by: anonymous Assigned to:
Priority: minor Milestone:
Component: madwifi: driver Version:
Keywords: change channel Cc:
Patch is attached: 0 Pending: 0

Description

iwpriv ath0 mode 11b;
ifconfig ath0 down;
ifconfig wifi0 down;
wlanconfig ath0 destroy;
wlanconfig ath0 create wlandev wifi0 wlanmode monitor;
echo '804' > /proc/sys/net/ath0/dev_type;
ifconfig wifi0 up txqueuelen 1;
ifconfig ath0 up txqueuelen 1 mtu 1600;
iwconfig ath0 channel 4;

before I run "iwconfig ath0 channel 4",the mode of ath0 is 11b,after I run "iwconfig ath0 channel 4" the mode changed to 11g ! Why it happend? Why I can not change the mode(example 11g to 11b) in monitor mode? My madwifi version is madwifi-hal-0.10.5.6-r4126-20100324