From: Larry Finger <Larry.Finger@lwfinger.net>
To: Semigod King <semigodking@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: mac80211 driver for RT3070 wifi card does not work on big-endian platform
Date: Thu, 08 Sep 2011 10:12:42 -0500 [thread overview]
Message-ID: <4E68DB6A.60006@lwfinger.net> (raw)
In-Reply-To: <CA+TXxM3EgGZmo1F9GS+-QNWfTTgWFD4XHvG31JH=kabrr=ES=A@mail.gmail.com>
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
next prev parent reply other threads:[~2011-09-08 15:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-08 5:34 mac80211 driver for RT3070 wifi card does not work on big-endian platform Semigod King
2011-09-08 15:12 ` Larry Finger [this message]
2011-09-08 19:04 ` Larry Finger
[not found] ` <CA+TXxM0EOBs2x+6jh=0uwDTMTUD+9ZXQ8W-ZR+=TjSARV3kAeQ@mail.gmail.com>
2011-09-09 13:55 ` Larry Finger
2011-09-09 17:30 ` Semigod King
2011-09-14 21:22 ` Larry Finger
2011-09-16 7:12 ` Semigod King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E68DB6A.60006@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=linux-wireless@vger.kernel.org \
--cc=semigodking@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).