Skip to contentSkip to conversation

Mediatek MT7601U big endian fixes

DISCUSSION Luca Olivetti 2 participants 3 messages Sep 24, 2014

lore
Share & tools
lore
#0 lore raw

Hello,

apart from the general brokenness of the vendor supplied driver (see
http://www.spinics.net/lists/linux-wireless/msg126291.html and
http://www.arnelborja.com/compiling-rt2870-wifi-driver-in-fedora/), it doesn't work in big endian mode.

Without this patch:

https://code.google.com/p/mt7601-openwrt/source/browse/patches/007-big-endian-fix.patch

it doesn't even compile, and this one

https://code.google.com/p/mt7601-openwrt/source/browse/patches/008-more-big-endiand-fixes.patch

makes it functional.

Before finding the fix myself I contacted mediatek support with no reply so far.

Do you know if is there somebody (at ralink/mediatek or elsewhere) working on integrating this chipset in the in-kernel driver?

Bye

Signature · 1 line
Luca
#1 lore raw
Quoted 17 lines · Luca Olivetti

Hello,

apart from the general brokenness of the vendor supplied driver (see
http://www.spinics.net/lists/linux-wireless/msg126291.html and
http://www.arnelborja.com/compiling-rt2870-wifi-driver-in-fedora/), it doesn't work in big endian mode.

Without this patch:

https://code.google.com/p/mt7601-openwrt/source/browse/patches/007-big-endian-fix.patch

it doesn't even compile, and this one

https://code.google.com/p/mt7601-openwrt/source/browse/patches/008-more-big-endiand-fixes.patch

makes it functional.

Quoted 9 lines

Before finding the fix myself I contacted mediatek support with no reply so far.

Do you know if is there somebody (at ralink/mediatek or elsewhere) working on integrating this chipset in the in-kernel driver?

Bye

Signature · 1 line
Luca

I don't know of anyone from Ralink/MediaTek or otherwise working on that. I sent some emails to MediaTek on this issue recently, but I made the mistake of including someone from the community who actively undermind my attempts to reach-out to MediaTek...

If you (or anyone else) want to work on integrating device support from that driver with the in-kernel drivers then I encourage you to do so. If you happen to have better contacts with MediaTek than I have, then please feel free to reach out to them and/or to put them in contact with me.

John

Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.
#2 lore raw

El 24/09/14 19:51, John W. Linville ha escrit:

Quoted 11 lines
Quoted 6 lines

Do you know if is there somebody (at ralink/mediatek or elsewhere) working on integrating this chipset in the in-kernel driver?

Bye

Signature · 1 line
Luca

I don't know of anyone from Ralink/MediaTek or otherwise working on that. I sent some emails to MediaTek on this issue recently, but I made the mistake of including someone from the community who actively undermind my attempts to reach-out to MediaTek...

Oh, that's bad. It's not that the driver doesn't work (it does, once patched), but it doesn't integrate nicely (i.e. no mac80211 support).

Quoted 3 lines

If you (or anyone else) want to work on integrating device support from that driver with the in-kernel drivers then I encourage you to do so.

Unfortunately, I'm not the right person for the job :-( That's why I asked.

Quoted 3 lines

If you happen to have better contacts with MediaTek than I have, then please feel free to reach out to them and/or to put them in contact with me.

I don't know anybody at Mediatek, I just contacted them about the issue through their web form. I didn't think I could fix it by myself. In fact, I still don't understand why it's necessary to byte swap structures that are already defined differently for big endian/little endian, see the point above about me not being the right person for the job ;-)

Bye

Signature · 1 line
Luca