Thread (3 messages) flat view 3 messages, 2 authors, 2011-09-09

Re: mac80211 driver for RT3070 wifi card does not work on big-endian platform

From: Larry Finger <hidden>
Date: 2011-09-08 15:12:46

On 09/08/2011 12:34 AM, Semigod King wrote:
Greetings,

I would like to report a bug to you. The same problem was reported to
OpenWRT developers. But, they suggest me report it to linux wireless.

Problem:
The wireless card can not be recognized. But, an iface with wrong MAC
is created.

wlan1 Link encap:Ethernet HWaddr 00:06:4E:E8:00:00<== Wrong MAC, the
correct MAC is E8:4E:06:00:74:61. Looks like byte-swapped.
UP BROADCAST MULTICAST MTU:1500 Metric:1<=== Not running
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

After making changes according to
https://forum.openwrt.org/viewtopic.php?id=30132,
the card can now be recognized with correct MAC and can be operated.
But, it does not work yet.
No RX in AP mode. No TX&  RX in STA mode. I guess the TX in AP mode is
meaningless.


Wifi Card: Unknown brand, RT3070 chipset, USB
Platform: Openwrt (MIPS, BCM6358, big-endian)
Kernel:
root@OpenWrt:~# uname -a
Linux OpenWrt 2.6.39.4 #1 Mon Aug 22 04:57:19 MST 2011 mips GNU/Linux
driver: mac80211 compat-wireless driver.
kmod-rt2800-lib - 2.6.39.4+2011-08-10-2
kmod-rt2800-usb - 2.6.39.4+2011-08-10-2
kmod-rt2x00-lib - 2.6.39.4+2011-08-10-2
kmod-rt2x00-usb - 2.6.39.4+2011-08-10-2
Obviously, that driver fails to work on a big-endian platform. For tracking 
purposes, please open a bug report at bugzilla.kernel.org. That will also be a 
location for exchanging trial patches.

I have an RT3090 USB device and a MacBook G4 that uses the PPC processor, thus I 
have a test bed for investigating this problem.

Larry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help