rt2x00 mac80211 rate_lowest_index warning

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4777

tharvey

06-05-2008 22:54:41

Platform
[list2pzlqslj]rt2x00 version v2.1.5 from compat-wireless-2008-05-05
Kernel linux 2.6.22.6
ARCH i.MX31 (ARM)
[/listu2pzlqslj]

Configuration
[code2pzlqslj]
iwconfig wlan0 mode ad-hoc
iwconfig wlan0 essid TEST
iwconfig wlan0 ch 8
ifconfig wlan0 192.168.2.5 up
[/code2pzlqslj]

While this works, I get the following kernel messages. Not sure if this is an rt2x00 issue or a mac80211 issue - perhaps the rate is not defaulted correctly? Note that I can't get/set the rate with wireless-tools either (cause/effect of the issue?)
[code2pzlqslj]
root@phyCORE-iMX31:~ iwlist wlan0 rate
wlan0 unknown bit-rate information.

root@phyCORE-iMX31:~ iwconfig wlan0
wlan0 IEEE 802.11 ESSID:"TEST"
Mode:Ad-Hoc Frequency:2.447 GHz Cell: EA:80:A6:D0:F7:78
Tx-Power=5 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[/code2pzlqslj]

Warning
[code2pzlqslj]
WARNING: at /home/tharvey/phytec/compat-wireless-2008-05-05/net/mac80211/rate.h:153 rate_lowest_index()
[<c003ad50>] (dump_stack+0x0/0x14) from [<bf042134>] (rate_control_pid_rate_init+0x84/0xac [mac80211])
[<bf0420b0>] (rate_control_pid_rate_init+0x0/0xac [mac80211]) from [<bf02c444>] (ieee80211_ibss_add_sta+0xf8/0x120 [mac80211])
r4:00000000
[<bf02c34c>] (ieee80211_ibss_add_sta+0x0/0x120 [mac80211]) from [<bf03729c>] (__ieee80211_rx_handle_packet+0x4d4/0x770 [mac80211])
r7:c74113a0 r6:c7b20040 r5:00000001 r4:c7b20050
[<bf036dc8>] (__ieee80211_rx_handle_packet+0x0/0x770 [mac80211]) from [<bf038ea0>] (__ieee80211_rx+0x58c/0x638 [mac80211])
[<bf038914>] (__ieee80211_rx+0x0/0x638 [mac80211]) from [<bf026c78>] (ieee80211_tasklet_handler+0x84/0x124 [mac80211])
[<bf026bf4>] (ieee80211_tasklet_handler+0x0/0x124 [mac80211]) from [<c005b534>] (tasklet_action+0x68/0xac)
r6:0000000a r5:c03673e4 r4:00000000
[<c005b4cc>] (tasklet_action+0x0/0xac) from [<c005b40c>] (__do_softirq+0x58/0xc4)
r4:00000001
[<c005b3b4>] (__do_softirq+0x0/0xc4) from [<c005b840>] (irq_exit+0x48/0x64)
r6:00000000 r5:c0348edc r4:00000024
[<c005b7f8>] (irq_exit+0x0/0x64) from [<c003604c>] (asm_do_IRQ+0x4c/0x64)
[<c0036000>] (asm_do_IRQ+0x0/0x64) from [<c0036aa4>] (__irq_svc+0x44/0x80)
Exception stack(0xc033ff40 to 0xc033ff88)
ff40: 00000001 c033e000 c0360290 c0360294 c033e000 c003805c c0020df8 c0382858
ff60: 8001eae8 4107b364 8001eab4 c033ff94 c033ff70 c033ff88 c003f918 c003809c
ff80: 20000013 ffffffff
r6:00000001 r5:0000ffff r4:ffffffff
[<c003805c>] (default_idle+0x0/0x48) from [<c0037ea0>] (cpu_idle+0x30/0x64)
[<c0037e70>] (cpu_idle+0x0/0x64) from [<c029a1ec>] (rest_init+0x70/0x80)
r5:c035fc04 r4:c033e000
[<c029a17c>] (rest_init+0x0/0x80) from [<c0008b98>] (start_kernel+0x22c/0x288)
r4:c036a418
[<c000896c>] (start_kernel+0x0/0x288) from [<80008030>] (0x80008030)
r6:c0341d64 r5:c036010c r4:00e5387d
WARNING: at /home/tharvey/phytec/compat-wireless-2008-05-05/net/mac80211/rate.h:153 rate_lowest_index()
[<c003ad50>] (dump_stack+0x0/0x14) from [<bf042134>] (rate_control_pid_rate_init+0x84/0xac [mac80211])
[<bf0420b0>] (rate_control_pid_rate_init+0x0/0xac [mac80211]) from [<bf02c444>] (ieee80211_ibss_add_sta+0xf8/0x120 [mac80211])
r4:00000000
[<bf02c34c>] (ieee80211_ibss_add_sta+0x0/0x120 [mac80211]) from [<bf03729c>] (__ieee80211_rx_handle_packet+0x4d4/0x770 [mac80211])
r7:c74113a0 r6:c7b9e040 r5:00000001 r4:c7b9e050
[<bf036dc8>] (__ieee80211_rx_handle_packet+0x0/0x770 [mac80211]) from [<bf038ea0>] (__ieee80211_rx+0x58c/0x638 [mac80211])
[<bf038914>] (__ieee80211_rx+0x0/0x638 [mac80211]) from [<bf026c78>] (ieee80211_tasklet_handler+0x84/0x124 [mac80211])
[<bf026bf4>] (ieee80211_tasklet_handler+0x0/0x124 [mac80211]) from [<c005b534>] (tasklet_action+0x68/0xac)
r6:0000000a r5:c03673e4 r4:00000000
[<c005b4cc>] (tasklet_action+0x0/0xac) from [<c005b40c>] (__do_softirq+0x58/0xc4)
r4:00000001
[<c005b3b4>] (__do_softirq+0x0/0xc4) from [<c005b840>] (irq_exit+0x48/0x64)
r6:00000000 r5:c0348edc r4:00000024
[<c005b7f8>] (irq_exit+0x0/0x64) from [<c003604c>] (asm_do_IRQ+0x4c/0x64)
[<c0036000>] (asm_do_IRQ+0x0/0x64) from [<c0036aa4>] (__irq_svc+0x44/0x80)
Exception stack(0xc033ff40 to 0xc033ff88)
ff40: 00000001 c033e000 c0360290 c0360294 c033e000 c003805c c0020df8 c0382858
ff60: 8001eae8 4107b364 8001eab4 c033ff94 c033ff70 c033ff88 c003f918 c003809c
ff80: 20000013 ffffffff
r6:00000001 r5:0000ffff r4:ffffffff
[<c003805c>] (default_idle+0x0/0x48) from [<c0037ea0>] (cpu_idle+0x30/0x64)
[<c0037e70>] (cpu_idle+0x0/0x64) from [<c029a1ec>] (rest_init+0x70/0x80)
r5:c035fc04 r4:c033e000
[<c029a17c>] (rest_init+0x0/0x80) from [<c0008b98>] (start_kernel+0x22c/0x288)
r4:c036a418
[<c000896c>] (start_kernel+0x0/0x288) from [<80008030>] (0x80008030)
r6:c0341d64 r5:c036010c r4:00e5387d
[/code2pzlqslj]