Skip to contentSkip to conversation

Driver for Mediatek MT7630E

DISCUSSION Larry Finger 4 participants 7 messages Jun 11, 2014 – Jun 13, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

In a recent E-mail interchange (http://marc.info/?l=linux-wireless&m=140238255916367&w=2), I was made aware that this device is not currently being handled by any driver in the kernel, but that there was a GitHub repo at https://github.com/anthonywong/mt7630. That code modifies rt2800pci to operate the MT7630E, but it is quite outdated.

As a followup, I found such a device at a reasonable price on E-bay, and ordered it. It should arrive next week. I also was able to find the firmware in an RPM for SUSE SLE11, and a license allowing redistribution. Before I start modifying rt2800pci for this new device, I want to be assured that this modification is not currently being done by anyone in the rt2x00 project. There is too much to be done to duplicate effort.

For interested readers, I have modified the GitHub code to compile using the current wireless-testing kernel source. If there is sufficient interest, I could set up a new GH repo for it as an interim measure with conditional code allowing it to build on recent kernels (3.5+).

Thanks,

Larry

#1 lore raw

Hi Larry,

Quoted 7 lines · Larry Finger

In a recent E-mail interchange
(http://marc.info/?l=linux-wireless&m=140238255916367&w=2), I was made aware that this device is not currently being handled by any driver in the kernel, but that there was a GitHub repo at https://github.com/anthonywong/mt7630.
That code modifies rt2800pci to operate the MT7630E, but it is quite outdated.

Quoted 6 lines

As a followup, I found such a device at a reasonable price on E-bay, and ordered it. It should arrive next week. I also was able to find the firmware in an RPM for SUSE SLE11, and a license allowing redistribution. Before I start modifying rt2800pci for this new device, I want to be assured that this modification is not currently being done by anyone in the rt2x00 project. There is too much to be done to duplicate effort.

I'm not doing anything in this regard at the moment. So I'm really glad if you are working on that!

CC'ed Stanislaw even though I don't think he's doing anything regarding the device you've mentioned.

Quoted 4 lines

For interested readers, I have modified the GitHub code to compile using the current wireless-testing kernel source. If there is sufficient interest, I could set up a new GH repo for it as an interim measure with conditional code allowing it to build on recent kernels (3.5+).

Awesome news.

Thanks,
Helmut

#2 lore raw
Quoted 15 lines · Helmut Schaa
Quoted 7 lines · Larry Finger

In a recent E-mail interchange
(http://marc.info/?l=linux-wireless&m=140238255916367&w=2), I was made aware that this device is not currently being handled by any driver in the kernel, but that there was a GitHub repo at https://github.com/anthonywong/mt7630.
That code modifies rt2800pci to operate the MT7630E, but it is quite outdated.

Quoted 6 lines

As a followup, I found such a device at a reasonable price on E-bay, and ordered it. It should arrive next week. I also was able to find the firmware in an RPM for SUSE SLE11, and a license allowing redistribution. Before I start modifying rt2800pci for this new device, I want to be assured that this modification is not currently being done by anyone in the rt2x00 project. There is too much to be done to duplicate effort.

Quoted 5 lines

I'm not doing anything in this regard at the moment. So I'm really glad if you are working on that!

CC'ed Stanislaw even though I don't think he's doing anything regarding the device you've mentioned.

Nope, I'm not working on adding support for new chips to rt2x00 at present nor plan to work on that in the near future, though I have that on my TODO list :-)

Quoted 6 lines
Quoted 4 lines

For interested readers, I have modified the GitHub code to compile using the current wireless-testing kernel source. If there is sufficient interest, I could set up a new GH repo for it as an interim measure with conditional code allowing it to build on recent kernels (3.5+).

Awesome news.

+1

Stanislaw

#3 lore raw

If I remember correct for SLE11, that was from MediaTek-Ralink, they did it based on SLE11 kernel. The code is ouch but could work. That was a nightmare when I tried to port...can't imagine that.... :(

2014-06-12 20:44 GMT+08:00 Stanislaw Gruszka <[email protected]>:

Quoted 39 lines · Helmut Schaa
Quoted 15 lines · Larry Finger
Quoted 7 lines

In a recent E-mail interchange
(http://marc.info/?l=linux-wireless&m=140238255916367&w=2), I was made aware that this device is not currently being handled by any driver in the kernel, but that there was a GitHub repo at https://github.com/anthonywong/mt7630.
That code modifies rt2800pci to operate the MT7630E, but it is quite outdated.

Quoted 6 lines

As a followup, I found such a device at a reasonable price on E-bay, and ordered it. It should arrive next week. I also was able to find the firmware in an RPM for SUSE SLE11, and a license allowing redistribution. Before I start modifying rt2800pci for this new device, I want to be assured that this modification is not currently being done by anyone in the rt2x00 project. There is too much to be done to duplicate effort.

Quoted 5 lines

I'm not doing anything in this regard at the moment. So I'm really glad if you are working on that!

CC'ed Stanislaw even though I don't think he's doing anything regarding the device you've mentioned.

Nope, I'm not working on adding support for new chips to rt2x00 at present nor plan to work on that in the near future, though I have that on my TODO list :-)

Quoted 6 lines
Quoted 4 lines

For interested readers, I have modified the GitHub code to compile using the current wireless-testing kernel source. If there is sufficient interest, I could set up a new GH repo for it as an interim measure with conditional code allowing it to build on recent kernels (3.5+).

Awesome news.

+1

Stanislaw
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 3 lines · Matt Chen

If I remember correct for SLE11, that was from MediaTek-Ralink, they did it based on SLE11 kernel. The code is ouch but could work. That was a nightmare when I tried to port...can't imagine that.... :(

I have not tested as my hardware has not been delivered, but I have the driver building with current wireless-testing source. I also have created a proper Makefile.

Yes, merging the changes into rt2x00 will be a hassle.

Larry

#5 lore raw
Quoted 10 lines · Larry Finger
Quoted 3 lines · Matt Chen

If I remember correct for SLE11, that was from MediaTek-Ralink, they did it based on SLE11 kernel. The code is ouch but could work. That was a nightmare when I tried to port...can't imagine that.... :(

I have not tested as my hardware has not been delivered, but I have the driver building with current wireless-testing source. I also have created a proper Makefile.

Yes, merging the changes into rt2x00 will be a hassle.

We usually we look at vendor driver and write new code to rt2x00 based on that. For example, I did that for RT5592, Gabor for RT3593. In oposite to cleaning up vendor driver in staging, it require lot of more work, but also guarantee that we will have clean and maintaible code.

Stanislaw

#6 lore raw
Quoted 10 lines · Stanislaw Gruszka
Quoted 9 lines · Larry Finger
Quoted 3 lines · Matt Chen

If I remember correct for SLE11, that was from MediaTek-Ralink, they did it based on SLE11 kernel. The code is ouch but could work. That was a nightmare when I tried to port...can't imagine that.... :(

I have not tested as my hardware has not been delivered, but I have the driver building with current wireless-testing source. I also have created a proper Makefile.

Quoted 6 lines
Quoted 1 line

Yes, merging the changes into rt2x00 will be a hassle.

We usually we look at vendor driver and write new code to rt2x00 based on that. For example, I did that for RT5592, Gabor for RT3593. In oposite to cleaning up vendor driver in staging, it require lot of more work, but also guarantee that we will have clean and maintaible code.

That is what I plan on doing. This driver is already mac80211 based, thus I see no benefit in going to staging. You will have plenty of opportunities to review the code before it is submitted.

Larry