Thursday, September 20, 2007

ath_hal message for ixp425

# uname
-a
Linux meshok-x 2.4.20_mvl31-ixdp4xx #334 Wed Sep 7 02:19:42 MSD 2005
armv5teb unknown

Before DHCP connection to Meshok AP:

# iwconfig
ath0
ath0 IEEE 802.11g ESSID:"LocustWorld"
Nickname:"192.168.217.1"
Mode:Ad-Hoc Frequency:2.437 GHz Cell:
02:60:B3:C5:C4:79
Bit Rate:0 kb/s Tx-Power:18 dBm
Sensitivity=0/3
Retry:off RTS thr:off Fragment
thr:off
Encryption
key:off
Power
Management:off
Link Quality=38/94 Signal level=-57 dBm Noise level=-95
dBm
Rx invalid nwid:73 Rx invalid crypt:0 Rx invalid
frag:0
Tx excessive retries:0 Invalid misc:0 Missed
beacon:0

# ifconfig
ath0
ath0 Link encap:Ethernet HWaddr
00:60:B3:C5:C4:79
inet addr:10.2.29.217 Bcast:10.255.255.255
Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:0 errors:1 dropped:0 overruns:0
frame:1
TX packets:386 errors:0 dropped:0 overruns:0
carrier:0
collisions:0
txqueuelen:200
RX bytes:0 (0.0 B) TX bytes:23932 (23.3
KiB)
Interrupt:27 Memory:4bff0000-4c000000

After DHCP is established:

# ifconfig
ath0
ath0 Link encap:Ethernet HWaddr
00:60:B3:C5:C4:79
inet addr:10.2.29.217 Bcast:10.255.255.255
Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:5 errors:3 dropped:0 overruns:0
frame:3
TX packets:868 errors:1 dropped:0 overruns:0
carrier:0
collisions:0
txqueuelen:200
RX bytes:1326 (1.2 KiB) TX bytes:54316 (53.0
KiB)
Interrupt:27 Memory:4bff0000-4c000000

So, it seems Tx/Rx counters work properly.

---- dmesg print - madwifi version ----

ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,
REGOPS_FUNC)
wlan: 0.8.6.0
(EXPERIMENTAL)
ath_rate_sample:
1.2
ath_pci: 0.9.6.0
(EXPERIMENTAL)
divert: allocating divert_blk for
ath0
Build date: Aug 26
2005
Debugging version
(IEEE80211)
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps
11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36M
bps 48Mbps
54Mbps
ath0: turboG rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps
54Mbps
ath0: H/W encryption support: WEP AES AES_CCM
TKIP
ath0: mac 5.6 phy 4.1 radio
4.6
ath0: Use hw queue 1 for WME_AC_BE
traffic
ath0: Use hw queue 0 for WME_AC_BK
traffic
ath0: Use hw queue 2 for WME_AC_VI
traffic
ath0: Use hw queue 3 for WME_AC_VO
traffic
ath0: Use hw queue 8 for CAB
traffic
ath0: Use hw queue 9 for
beacons
Debugging version
(ATH)
ath0: Atheros 5212: mem=0x4bff0000, irq=28

--
http://forum.openwrt.org/viewtopic.php?id=11989
--

On this device 2 mini-pci a socket.
I have replaced wifi device in other socket - and it has completely worked!!!
At loading there are differences:
wlan: 0.8.4.2 (svn r2568)
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_sample: 1.2 (svn r2568)
ath_pci: 0.9.4.5 (svn r2568)
PCI: enabling device 0000:00:02.0 (0340 -> 0342) <---- instead 0000:00:01.0
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: turboA rates: 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.6 phy 4.1 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=0x48000000, irq=27 <--instead irq=28



root@OpenWrt:/# iwlist ath0 scan
ath0 Scan completed :
Cell 01 - Address: 00:60:B3:8E:40:94
ESSID:"LIFE"
Mode:Master
Frequency:2.412 GHz (Channel 1)
Quality=71/70 Signal level=-24 dBm Noise level=-95 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
YEAP!!!

No comments:

如何发掘出更多退休的钱?

如何发掘出更多退休的钱? http://bbs.wenxuecity.com/bbs/tzlc/1328415.html 按照常规的说法,退休的收入必须得有退休前的80%,或者是4% withdrawal rule,而且每年还得要加2-3%对付通胀,这是一个很大...