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 #1178 (new defect)

Opened 15 years ago

Last modified 15 years ago

Can't connect at 54Mb/s

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



I have an Acer 2312 laptop that has an Atheros wifi controller:

00:0b.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)

I connect it to my access point at 54Mb/s using XP. I've installed Fedora Core 6 and I'm able to connect at 18Mb/s or 36Mb/s using Turbo mode.The problem is exactly that, I'm unable to connect at 54Mb/s and don't know why. My startup script follows:

/sbin/ifdown ath0
/sbin/ifdown wifi0
/usr/bin/wlanconfig ath0 destroy
/usr/bin/wlanconfig ath0 create wlandev wifi0 wlanmode sta
/sbin/ifup wifi0
/sbin/ifconfig ath0 up
/sbin/iwpriv ath0 mode 3
/sbin/iwpriv ath0 authmode 2
/sbin/iwconfig ath0 key "s:xipok"
/sbin/iwconfig ath0 ap 00:02:72:4a:f8:02
/sbin/iwconfig ath0 channel 4
/sbin/iwconfig ath0 essid "dreamer"
/sbin/iwconfig ath0 rate 54MB

and then I issue dhclient ath0.

From iwlist ath0 scan I see that ap supports the following rates:

Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
	9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
        48 Mb/s; 54 Mb/s

From iwconfig I got this info:

ath0      IEEE 802.11g  ESSID:"dreamer"  Nickname:""
          Mode:Managed  Frequency:2.427 GHz  Access Point: 00:02:72:4A:F8:02   
          Bit Rate:54 Mb/s   Tx-Power:9 dBm   Sensitivity=0/3  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:7869-706F-6B   Security mode:restricted
          Power Management:off
          Link Quality=56/94  Signal level=-39 dBm  Noise level=-95 dBm
          Rx invalid nwid:101  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

which is not true because I see in my ap that the connection rate is 18Mb/s. Besides, if I set the ap to 54Mb only, I'm unable to connect with Fedora but I connect using XP with no problem.

Information from dmesg:

wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 7.8 phy 4.5 radio 5.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0xe2010000, irq=22
ath0: no IPv6 routers present

So, can you help me ? Why I'm unable to connect at 54Mb/s ?

Thanks in advance for any help.


Change History

03/04/07 12:27:01 changed by mrenzmann

What Access Point are you using? Most APs show the current transmission rate, which might be lower that the maximum possible rate that could (and will be) used if needs be.

03/05/07 03:30:35 changed by

My ap is based on XP with a Micronet SP907GK V2 adapter. It has 4 basic rates options:

1, 2 Mbps
1, 2, 5.5, 11 Mbps
1, 2, 5.5, 11, 6, 12, 24 Mbps
6, 12, 24 Mbps (802.11g only)

I can only connect using first and second options. I see the current rate in the XP network connection and it shows 18Mbps if laptop runs on Fedora and 54Mbps if it runs XP. Thanks for your help.

03/05/07 07:06:44 changed by mrenzmann

In the list of rates provided by your AP, I don't see 18, 36, 48 and 54 MBit/s.

Try to transfer a large file over the WLAN connection, and while this transfer is running check the rate you see in your "AP".

Which rate module do you use with MadWifi? What MadWifi version?