i am using a PRONET PN-108WPCI wifi pci card on ubuntu 9.04 desktop 32bit.

i install the latest madwifi from the following

svn checkout http://svn.madwifi-project.org/madwifi/trunk madwifi

i using the following configuration

iwconfig ath0 essid ubuntu
iwconfig ath0 channel 11
iwconfig ath0 key ----------
ifconfig ath0 netmask up
/usr/local/bin/wlanconfig ath1 create wlandev wifi0 wlanmode ap
iwconfig ath1 essid Guest
iwconfig ath1 channel 11
ifconfig ath1 up

both the essid's run in master mode

when i connect any device i get a very high latency and packet drop, i am not able identify the problem.

64 bytes from icmp_seq=13 ttl=64 time=1690 ms
64 bytes from icmp_seq=14 ttl=64 time=2589 ms
64 bytes from icmp_seq=15 ttl=64 time=3400 ms
64 bytes from icmp_seq=16 ttl=64 time=4325 ms
64 bytes from icmp_seq=17 ttl=64 time=5270 ms
64 bytes from icmp_seq=18 ttl=64 time=6294 ms
64 bytes from icmp_seq=19 ttl=64 time=7252 ms
64 bytes from icmp_seq=20 ttl=64 time=7851 ms
64 bytes from icmp_seq=21 ttl=64 time=7985 ms
64 bytes from icmp_seq=22 ttl=64 time=8149 ms
64 bytes from icmp_seq=23 ttl=64 time=8357 ms
64 bytes from icmp_seq=28 ttl=64 time=7329 ms
64 bytes from icmp_seq=29 ttl=64 time=7263 ms
64 bytes from icmp_seq=30 ttl=64 time=7020 ms
64 bytes from icmp_seq=31 ttl=64 time=6851 ms
64 bytes from icmp_seq=33 ttl=64 time=5917 ms
64 bytes from icmp_seq=34 ttl=64 time=5642 ms
64 bytes from icmp_seq=36 ttl=64 time=4257 ms
64 bytes from icmp_seq=37 ttl=64 time=3370 ms
64 bytes from icmp_seq=38 ttl=64 time=2430 ms
64 bytes from icmp_seq=39 ttl=64 time=1934 ms

01:05.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)

[ 1153.859801] ath_pci 0000:01:05.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[ 1154.465909] MadWifi: ath_attach: Switching rfkill capability off.
[ 1154.469326] wifi0: Atheros AR2414 chip found (MAC 7.9, PHY 2112A 4.5, Radio 5.6)
[ 1154.470424] ath_pci: wifi0: Atheros 5212: mem=0xfdce0000, irq=21

uname -a

Linux ubuntu 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686 GNU/Linux

Kindly help,