2009/1/21 Pavel Roskin <proski@gnu.org>
On Wed, 2009-01-21 at 20:57 +0200, ̦ wrote:

> So, I have two problems now that I can't handle:
> 1) 0.9.4 release hangs on 2.6.27 (may be I should've built it from
> scratch?)

Maybe you have this problem?
https://madwifi-project.org/ticket/1903

If you are trying to set channel in AP mode, please do so when the
interface is down.

Nope, I am using it in regular mode - connecting to same brand (TP-Link) and features (TurboG) WIFI router.


> 2) MadWifi Trunk / ath5k works slowly (rates are jumping from 1Mb to
> 34Mb, a lot of packet lost).
> The one thing that is strange for me is that trunk dmesg output is
> much different from 0.9.4 - so that I could think I am building ath5k,
> but SVN url seems to be correct and I can see 0.9.4 in tags nearby.

Please try this command:

readlink /sys/class/net/wlan0/device/driver

Replace "wlan0" with the name of the interface you are using.  That
should give you the actual driver name.
I am sure it is the driver I've just built.
I am checking by module names, using modprobe ath_pci to load. Also they use leds in different way: MadWifi uses both, ath5k uses only one led.
For everyone to understand me, here is 0.9.4 output:
---
Jan 21 20:34:29 thinkpad kernel: ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
Jan 21 20:34:29 thinkpad kernel: wlan: 0.9.4
Jan 21 20:34:29 thinkpad kernel: ath_pci: 0.9.4
Jan 21 20:34:29 thinkpad kernel: ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
Jan 21 20:34:29 thinkpad kernel: ath_rate_sample: 1.2 (0.9.4)
Jan 21 20:34:29 thinkpad kernel: wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Jan 21 20:34:29 thinkpad kernel: wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Jan 21 20:34:29 thinkpad kernel: wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Jan 21 20:34:29 thinkpad kernel: wifi0: H/W encryption support: WEP AES AES_CCM TKIP
Jan 21 20:34:29 thinkpad kernel: wifi0: mac 7.9 phy 4.5 radio 5.6
Jan 21 20:34:29 thinkpad kernel: wifi0: Use hw queue 1 for WME_AC_BE traffic
Jan 21 20:34:29 thinkpad kernel: wifi0: Use hw queue 0 for WME_AC_BK traffic
Jan 21 20:34:29 thinkpad kernel: wifi0: Use hw queue 2 for WME_AC_VI traffic
Jan 21 20:34:29 thinkpad kernel: wifi0: Use hw queue 3 for WME_AC_VO traffic
Jan 21 20:34:29 thinkpad kernel: wifi0: Use hw queue 8 for CAB traffic
Jan 21 20:34:29 thinkpad kernel: wifi0: Use hw queue 9 for beacons
Jan 21 20:34:29 thinkpad kernel: wifi0: Atheros 5212: mem=0x34000000, irq=11
---
Here is trunk output:
---
Jan 21 20:27:38 thinkpad kernel: AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133)
Jan 21 20:27:38 thinkpad kernel: ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
Jan 21 20:27:39 thinkpad kernel: MadWifi: ath_attach: Switching rfkill capability off.
Jan 21 20:27:39 thinkpad kernel: wifi0: Atheros AR2414 chip found (MAC 7.9, PHY 2112A 4.5, Radio 5.6)
Jan 21 20:27:39 thinkpad kernel: ath_pci: wifi0: Atheros 5212: mem=0x34000000, irq=11
---
Here is ath5k output:
---
Jan 14 20:40:37 thinkpad kernel: ath5k_pci 0000:02:00.0: enabling device (0000 -> 0002)
Jan 14 20:40:37 thinkpad kernel: ath5k_pci 0000:02:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
Jan 14 20:40:37 thinkpad kernel: ath5k_pci 0000:02:00.0: registered as 'phy0'
Jan 14 20:40:37 thinkpad kernel: phy0: Selected rate control algorithm 'pid'
Jan 14 20:40:37 thinkpad kernel: ath5k phy0: Atheros AR2414 chip found (MAC: 0x79, PHY: 0x45)
---
It looks like trunk & ath5k are using same HAL or something like that.