Dear Friends,
 
I see lspci stating that radio has the capability to read 64K from the PCI line. But from the tests on PCI we are observing that radio is reading only 32 bytes at a time.
 
I am using this radio on a 64 bit MIPS architecture. Radio under observation is Ubiquiti XR2 behind PCI bridge. Driver under use is madwifi-trunk (svn r2854).
sample compilation instruction
/usr/local/Cavium_Networks/OCTEON-SDK/tools/bin/mips64-octeon-linux-gnu-gcc -Wp,-MD,/home/jlamba/workspace/complete_latest/node/candp/Internode_Comm/driver/ath/.if_ath.o.d  -nostdinc -isystem /usr/local/Cavium_Networks/OCTEON-SDK/tools-gcc-4.1/bin/../lib/gcc/mips64-octeon-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2  -mabi=64 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -ffreestanding  -march=octeon -Wa,--trap -Iinclude/asm-mips/mach-cavium-octeon -I/usr/local/Cavium_Networks/OCTEON-SDK/target/include  -DUSE_RUNTIME_MODEL_CHECKS=1 -DCVMX_ENABLE_PARAMETER_CHECKING=0 -DCVMX_ENABLE_CSR_ADDRESS_CHECKING=0 -DCVMX_ENABLE_POW_CHECKS=0 -Iinclude/asm-mips/mach-generic -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DAR_DEBUG -DIEEE80211_DEBUG  -include /home/jlamba/workspace/complete_latest/node/candp/Internode_Comm/driver/ath/../include/compat.h -I/home/jlamba/workspace/complete_latest/node/candp/Internode_Comm/driver/ath/../include -I/home/jlamba/workspace/complete_latest/node/candp/Internode_Comm/driver/ath/.. -I/home/jlamba/workspace/complete_latest/node/candp/Internode_Comm/driver/ath/../ath_hal -I/home/jlamba/workspace/complete_latest/node/candp/Internode_Comm/driver/ath/../net80211 -DATH_PCI -DDFS_DOMAIN_ETSI -DDFS_DOMAIN_FCC -Wall -Wa,-relax-branch -DCAVIUM_CRYPTO -DATH_SUPERG_FF=1 -DATH_SUPERG_DYNTURBO=1 -DATH_TURBO_SCAN=1 -DATH_CAP_TPC=1  -DMODULE -mlong-calls -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(if_ath)"  -D"KBUILD_MODNAME=KBUILD_STR(ath_pci)" -c -o /home/jlamba/workspace/complete_latest/node/candp/Internode_Comm/driver/ath/if_ath.o /home/jlamba/workspace/complete_latest/node/candp/Internode_Comm/driver/ath/if_ath.c
 
 
lspci -v
02:04.0 Ethernet controller: Atheros Communications, Inc. AR5006X 802.11abg NIC (rev 01)
        Subsystem: Unknown device 0777:3002
        Flags: bus master, medium devsel, latency 96, IRQ 44
        Memory at 11b00f0000000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
Would appreciate any help or pointers.
 
Thanks,
Jaideep