OpenWrt Forum Archive

Topic: madwifi (?) strange behaviour

The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

im getting �  quite strange behaviour with an image compiled from trunk for �  RB133 with CM9 card (madwifi)

After �  random time :

- the box doesn't transmit data anymore on wireless interface
- If i disassoc/reassoc the WPA key is asked but no way to assoc back

the syslog shows the message :

"ath_mgtstart: discard, no xmit buf"

It seems to be a quite old madwifi bug and i've tried some workarounds :

tips from http://forum.openwrt.org/viewtopic.php?id=13376 and from madwifi forum

Without success sad

The only way to put put wireless in function is to reboot or to "wifi down/up"

The strange thing is that this problem shows up for 1 or two weeks with the up-to-date trunk from svn.

Does anyone have seen such thing/have any idea ?

The last thing i haven't tried yet is to downgrade madwifi.

Thanks and have a good evening/day

system informations

board : RB133
wifi : 2 x CM9-GP
openwrt rev : r9797


/etc/config/network

config interface loopback
    option ifname   "lo"
    option proto    "static"
    option ipaddr   "127.0.0.1"
    option netmask  "255.0.0.0"

config interface lan
    option ifname   "eth0"
    option type     "bridge"
    option proto    "static"
    option ipaddr   "192.168.100.1"
    option netmask  "255.255.255.0"

config interface wlan1
        option ifname   "ath1"
        option proto    "static"
        option ipaddr   "192.168.110.1"
    option netmask  "255.255.255.0"

config interface wan
        option ifname   "ath2"
    option proto    "dhcp"

/etc/config/wireless

config wifi-device  wifi0
    option type         "atheros"
    option channel      "2"
    option disabled     "0"
    option agmode         "11bg"
#    option distance     ""
    option diversity        "0"
    option txantenna        "1"
    option rxantenna        "1"

config     "wifi-iface" ""
        option device       "wifi0"
        option network      "lan"
        option mode         "ap"
    option ssid    'ssid1'
        option encryption     "psk"
        option hidden       "0"
    option isolate      "0"
    option txpower      "16"
    option bgscan       "1"
    option key          "wpakey"

config "wifi-iface"
        option device       "wifi0"
        option network      "wlan1"
        option mode         "ap"
        option ssid         "ssid2"
        option encryption       "none"
        option hidden       "0"
        option isolate      "1"
    option txpower      "16"
        option bgscan       "1"

config wifi-device  wifi1
        option type         "atheros"
        option channel      ""
        option disabled     "0"
        option agmode         "11bg"
#        option distance     ""
        option diversity        "0"
        option txantenna        "1"
        option rxantenna        "1"

config wifi-iface
        option device       "wifi1"
        option network      "wan"
        option mode         "sta"
        option ssid         "other-AP"
        option encryption     "wep"
    option key          "hlksdjhflsqkjfhskfjhqkldfs"

below dmesg & package list

00000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x220000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x240000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x260000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x280000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x2a0000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x2c0000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x2e0000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x300000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x320000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x340000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x360000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x380000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x3a0000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x3c0000
adm5120-flash.0: Found different chip or no chip at all (mfr 0xff, id 0xff) at 0x3e0000
number of JEDEC chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
adm5120-flash.0: reducing map size to 128KiB
adm5120-flash.0: found at 0x1FC00000, size:128KiB, width:8 bits
adm5120-flash.0: adding static partitions
Creating 2 MTD partitions on "adm5120-flash.0":
0x00000000-0x00010000 : "booter"
0x00010000-0x00020000 : "firmware"
NAND device: Manufacturer ID: 0xad, Chip ID: 0x76 (Hynix NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00400000 : "kernel"
0x00400000-0x04000000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
split_squashfs: no squashfs found in "NAND 64MiB 3,3V 8-bit"
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
trxsplit: searching TRX header in 'booter'
trxsplit: searching TRX header in 'firmware'
trxsplit: 'kernel' is not a NOR flash, skipped
trxsplit: 'rootfs' is not a NOR flash, skipped
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
yaffs: auto selecting yaffs1
VFS: Mounted root (yaffs2 filesystem) readonly.
Freeing unused kernel memory: 124k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
br-lan: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
IPP2P v0.8.1_rc1 loading
IMQ starting with 2 devices...
IMQ driver loaded successfully.
    Hooking IMQ before NAT on PREROUTING.
    Hooking IMQ after NAT on POSTROUTING.
ipt_time loading
nf_nat_amanda: Unknown symbol nf_nat_amanda_hook
nf_conntrack_rtsp v0.6.21 loading
nf_nat_rtsp v0.6.21 loading
ip_queue: failed to register queue handler
wlan: 0.8.4.2 (0.9.4)
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, REGOPS_FUNC)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (0.9.4)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_pci: 0.9.4.5 (0.9.4)
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
HAL returned 46 channels.
Channel   1 (2412 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   1 (2412 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   2 (2417 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   2 (2417 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   3 (2422 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   3 (2422 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   4 (2427 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   4 (2427 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   5 (2432 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   5 (2432 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   6 (2437 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   6 (2437 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   6 (2437 MHz) Max Tx Power 15 dBm (hw limited) [15 hw 20 reg] Flags CF_TURBO CF_OFDM CF_2GHZ
Channel   7 (2442 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   7 (2442 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   8 (2447 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   8 (2447 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   9 (2452 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   9 (2452 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel  10 (2457 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel  10 (2457 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel  11 (2462 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel  11 (2462 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel  12 (2467 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel  12 (2467 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel  13 (2472 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel  13 (2472 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel  36 (5180 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 30 reg] Flags CF_OFDM CF_5GHZ
Channel  40 (5200 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 30 reg] Flags CF_OFDM CF_5GHZ
Channel  44 (5220 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 30 reg] Flags CF_OFDM CF_5GHZ
Channel  48 (5240 MHz) Max Tx Power 19 dBm (hw limited) [19 hw 30 reg] Flags CF_OFDM CF_5GHZ
Channel  52 (5260 MHz) Max Tx Power 19 dBm (hw limited) [19 hw 20 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel  56 (5280 MHz) Max Tx Power 19 dBm (hw limited) [19 hw 20 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel  60 (5300 MHz) Max Tx Power 19 dBm (hw limited) [19 hw 20 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel  64 (5320 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 20 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 100 (5500 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 104 (5520 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 108 (5540 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 112 (5560 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 116 (5580 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 120 (5600 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 124 (5620 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 128 (5640 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 132 (5660 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 136 (5680 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 140 (5700 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
ath_pci: switching rfkill capability off
ath_pci: switching per-packet transmit power control off
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
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 5.9 phy 4.3 radio 3.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=0x11400000, irq=14
PCI: Enabling device 0000:00:02.0 (0000 -> 0002)
HAL returned 46 channels.
Channel   1 (2412 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   1 (2412 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   2 (2417 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   2 (2417 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   3 (2422 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   3 (2422 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   4 (2427 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   4 (2427 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   5 (2432 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   5 (2432 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   6 (2437 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   6 (2437 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   6 (2437 MHz) Max Tx Power 15 dBm (hw limited) [15 hw 20 reg] Flags CF_TURBO CF_OFDM CF_2GHZ
Channel   7 (2442 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   7 (2442 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   8 (2447 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   8 (2447 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel   9 (2452 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel   9 (2452 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel  10 (2457 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel  10 (2457 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel  11 (2462 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel  11 (2462 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel  12 (2467 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel  12 (2467 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel  13 (2472 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_CCK CF_2GHZ
Channel  13 (2472 MHz) Max Tx Power 16 dBm (hw limited) [16 hw 20 reg] Flags CF_OFDM CF_2GHZ
Channel  36 (5180 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 30 reg] Flags CF_OFDM CF_5GHZ
Channel  40 (5200 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 30 reg] Flags CF_OFDM CF_5GHZ
Channel  44 (5220 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 30 reg] Flags CF_OFDM CF_5GHZ
Channel  48 (5240 MHz) Max Tx Power 19 dBm (hw limited) [19 hw 30 reg] Flags CF_OFDM CF_5GHZ
Channel  52 (5260 MHz) Max Tx Power 19 dBm (hw limited) [19 hw 20 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel  56 (5280 MHz) Max Tx Power 19 dBm (hw limited) [19 hw 20 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel  60 (5300 MHz) Max Tx Power 19 dBm (hw limited) [19 hw 20 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel  64 (5320 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 20 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 100 (5500 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 104 (5520 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 108 (5540 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 112 (5560 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 116 (5580 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 120 (5600 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 124 (5620 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 128 (5640 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 132 (5660 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 136 (5680 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
Channel 140 (5700 MHz) Max Tx Power 18 dBm (hw limited) [18 hw 27 reg] Flags CF_OFDM CF_5GHZ CF_PASSIVE_SCAN_ONLY PF_DFS_REQUIRED
ath_pci: switching rfkill capability off
ath_pci: switching per-packet transmit power control off
wifi1: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi1: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi1: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi1: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi1: H/W encryption support: WEP AES AES_CCM TKIP
wifi1: mac 5.9 phy 4.3 radio 3.6
wifi1: Use hw queue 1 for WME_AC_BE traffic
wifi1: Use hw queue 0 for WME_AC_BK traffic
wifi1: Use hw queue 2 for WME_AC_VI traffic
wifi1: Use hw queue 3 for WME_AC_VO traffic
wifi1: Use hw queue 8 for CAB traffic
wifi1: Use hw queue 9 for beacons
wifi1: Atheros 5212: mem=0x11410000, irq=15
Registered led device: power
Registered led device: user
device ath0 entered promiscuous mode
br-lan: port 2(ath0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state
br-lan: port 2(ath0) entering disabled state
br-lan: port 2(ath0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state

admswconfig - 0.1-1 -
arpwatch - 2.1a11-1 -
base-files-adm5120 - 12-r9797 -
bmon - 2.1.0-1 -
bridge - 1.0.6-1 -
busybox - 1.8.2-1 -
cmdftp - 0.9.6-1 -
dnsmasq - 2.40-1 -
dropbear - 0.50-3 -
gnupg - 1.4.7-1 -
hostapd - 20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576-1 -
hostapd-utils - 20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576-1 -
hotplug2 - 0.9+r102-2 -
ip - 2.6.20-070313-1 -
iperf - 2.0.2-2 -
iptables - 1.3.8-2 -
iptables-mod-conntrack - 1.3.8-2 -
iptables-mod-extra - 1.3.8-2 -
iptables-mod-filter - 1.3.8-2 -
iptables-mod-imq - 1.3.8-2 -
iptables-mod-ipopt - 1.3.8-2 -
iptables-mod-iprange - 1.3.8-2 -
iptables-mod-nat - 1.3.8-2 -
iptables-utils - 1.3.8-2 -
kernel - 2.6.23.9-adm5120-1 -
kmod-crypto-core - 2.6.23.9-adm5120-1 -
kmod-ipt-conntrack - 2.6.23.9-adm5120-1 -
kmod-ipt-extra - 2.6.23.9-adm5120-1 -
kmod-ipt-filter - 2.6.23.9-adm5120-1 -
kmod-ipt-imq - 2.6.23.9-adm5120-1 -
kmod-ipt-ipopt - 2.6.23.9-adm5120-1 -
kmod-ipt-iprange - 2.6.23.9-adm5120-1 -
kmod-ipt-nat - 2.6.23.9-adm5120-1 -
kmod-ipt-nathelper - 2.6.23.9-adm5120-1 -
kmod-ipt-nathelper-extra - 2.6.23.9-adm5120-1 -
kmod-ipt-queue - 2.6.23.9-adm5120-1 -
kmod-leds-adm5120 - 2.6.23.9-adm5120-1 -
kmod-leds-gpio - 2.6.23.9-adm5120-1 -
kmod-ledtrig-adm5120-switch - 2.6.23.9-adm5120-1 -
kmod-ledtrig-morse - 2.6.23.9-adm5120-1 -
kmod-madwifi - 2.6.23.9+r3053-adm5120-1 -
kmod-sched - 2.6.23.9-adm5120-1 -
kmod-tun - 2.6.23.9-adm5120-1 -
l7-protocols - 2007-11-22-1 -
l7-protocols-testing - 2007-11-22-1 -
libelf - 0.8.8-1 -
libgcc - 4.1.2-12 -
liblzo - 2.02-1 -
libmcrypt - 2.5.7-1 -
libncurses - 5.6-1 -
libopenssl - 0.9.8e-3 -
libpcap - 0.9.4-1 -
libpopt - 1.7-4 -
libpthread - 0.9.28.2-12 -
libreadline - 5.1-1 -
microperl - 5.8.6-1 -
miniupnpd - 1.0-RC8-1 -
mtd - 6 -
mtr - 0.69-1 -
netstat-nat - 1.4.6-1 -
ntpclient - 2003_194-5 -
openssl-util - 0.9.8e-3 -
openvpn - 2.0.9-2 -
openvpn-easy-rsa - 2.0.9-2 -
pure-ftpd - 1.0.21-1 -
qos-scripts - 1.2.1-1 -
reaim - 0.8-1 -
tc - 2.6.20-070313-1 -
tcpdump - 3.9.8-1 -
uclibc - 0.9.28.2-12 -
uclibcxx - 0.2.2-1 -
udevtrigger - 106-1 -
wireless-tools - 29-1 -
wpa-cli - 0.5.9-1 -
wpa-supplicant - 0.5.9-1 -
zlib - 1.2.3-5 -

Yes, I noticed some error messages too with "trunk"
I have older versions of Kamikaze, works fine....

finally it seems that the solution is to modify the file :

trunk/build_dir/linux-adm5120_router_le/madwifi-dfs-r3053/ath/if_athvar.h

at line 232 change the ATH_TXBUF value from 200 to 400

(cf : http://madwifi.org/ticket/717)

currently i'm 4hours uptime without problem.


Could this setting be integrated by default ?

(Last edited by grizz on 20 Dec 2007, 15:26)

The discussion might have continued from here.