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

Opened 16 years ago

Last modified 15 years ago

slow throughput

Reported by: nadir@frink.nuigalway.ie Assigned to:
Priority: major Milestone:
Component: madwifi: other Version: trunk
Keywords: throughput slow link quality Cc:
Patch is attached: 0 Pending:

Description

Im using 0.1502.20060414 on the same card on both ap and sta (have tried all 3 releases before that also). I am running gentoo 2.6.16 on the ap, and 2.6.15 on the station. Although at this stage I have also tried vanilla kernels.

both my cards are Netgear 311T 108Mbps, problem is I can't seem to get them to go over 11Mb, they seem to hang around 5 ~ 11. there's a distance of about 4 meters between them, and 2 paritioning walls in an apartment (plasterboard) no concrete or radiators or anything like that between them. I have replaced the stock ariel on the sta with a dog food can which gives a much better link quality, I get slightly worse throughput from the stock antenna.

right: onto the tech.

/usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode sta

iwconfig ath0 rate 54M auto rts 40 channel 10

iwpriv ath0 mode 3
iwpriv ath0 turbo 1
iwpriv ath0 ar 1
iwpriv ath0 burst 1
iwpriv ath0 bgscan 0

ifconfig ath0 192.168.2.2
ifconfig ath0 up
iwconfig ath0 essid grrr

I use similar settings for the ap, I have also tried adjusting the txpower and turning turbo on/off , ar on/off , bgscan, rts etc... basically everything I can think of however I can get no more than ~800 KB/s

ap

ath0      IEEE 802.11g  ESSID:"grrr"
          Mode:Master  Frequency:2.457 GHz  Access Point: 00:14:6C:2C:86:66
          Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3
          Retry:off   RTS thr=50 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=13/94  Signal level=-82 dBm  Noise level=-95 dBm
          Rx invalid nwid:2  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0 

sta

ath0      IEEE 802.11g  ESSID:"grrr"
          Mode:Managed  Frequency:2.457 GHz  Access Point: 00:14:6C:2C:86:66
          Bit Rate:11 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=27/94  Signal level=-68 dBm  Noise level=-95 dBm
          Rx invalid nwid:1827  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0 

dmesg

ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.8.4.2 (svn 1502)
ath_rate_sample: 1.2 (svn 1502)
ath_pci: 0.9.4.5 (svn 1502)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 17
GSI 22 sharing vector 0xE1 and IRQ 22
ACPI: PCI Interrupt 0000:04:07.0[A] -> Link [LNKB] -> GSI 17 (level, low) -> IRQ 22
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: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 7.9 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=0xfebf0000, irq=22
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1313 $ Ben Collins <bcollins@debian.org>
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 16
GSI 23 sharing vector 0xE9 and IRQ 23
ACPI: PCI Interrupt 0000:04:08.0[A] -> Link [LNKD] -> GSI 16 (level, low) -> IRQ 23
PCI: Via IRQ fixup for 0000:04:08.0, from 5 to 7
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[23]  MMIO=[febef800-febeffff]  Max Packet=[1024] 

I've beenlooking through the code too, trying to change some params, but no joy so far, anyway thanks in advance. Any assistance/advice at all greatly appreciated XD

Change History

04/22/06 21:19:37 changed by dyqith

Can you update, and use the latest revision first ?

If you do a iwlist ath0 scan (on the client side), it'll give you the signal quality from the AP,

on the AP side, use wlanconfig ath0 list sta will give the rate the client's at.

Because you're going through walls, I think that's a big problem in signal degradation.

06/10/06 10:44:00 changed by marcelo_c_pinto@ig.com.br

Hi, I have the same card (WG311T) on my ap.

With my previous card (which was 802.11b), I had transfer rates of 1600 kb/s at a certain conection speed test website.

With the WG311T (running release 1634), I have 380 kb/s at most. I have to use xextendchan=0 whem modprobing ath_pci - don't know if that's your case too.

I guess I have the same question than you: is there any iwpriv option that can burst speed up tp what we expect from a 54g device?

06/13/06 11:41:03 changed by nadir

On the advice of a friend I raised the box in my room, to the top of a cabinet, by positioning the ariel correctly like this I can get a connection of 36Mb/s. which can transfer maybe 1MB/s but still isn't enarly as fast as it should be, it could be the walls ok as dyqith noted. In my experience the iwpriv options dont really seem to make a difference. Im going to get a new ariel for is and see if that helps, I must try the latest drivers also.

06/08/07 23:23:50 changed by leidola@newcon.de

I got two computers (one with an atheros card (WG311T) and the other with a ralink, both running linux) and an ap (using madwifi-ng, running linux) and I get a maximum throughput of 10 MBit/s measured with iperf between the two computers and between one computer and the ap, even if I put one of the computer (a laptop) in front of the ap - no matter what options I set in iwpriv or what txpower I use. I also replaced the AP with a different one. Furthermore I get a lot of "PHY errors"

[output of athstats]
125 tx management frames
27 tx failed due to too many retries
3105 long on-chip tx retries
163 tx frames with no ack marked
77654 tx frames with short preamble
200 tx frames with an alternate rate
33056 rx failed due to bad CRC
240663 PHY errors
    14483 OFDM timing
    226180 CCK timing
56378 beacons transmitted
1943 periodic calibrations
2 rfgain value change
rssi of last ack: 53
rssi of last rcv: 52
11 switched default/rx antenna
Antenna profile:
[1] tx    72172 rx    48035
[2] tx     5624 rx       51

Any clue how this situation can be improved?

Ciao, Olaf