Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2015-02-13 Thread Jakub KiciƄski
On Tue, 10 Feb 2015 14:57:53 +0530, Parth Sane wrote:
 A few months earlier I had requested addition of the MT7601 WiFi
 dongle module into the kernel. I was told that the needful would be
 done in the rt2x00 driver. Could you guys update me with the status?

There is a new mac80211-based driver for MT7601U:

https://github.com/kuba-moo/mt7601u/graphs/traffic

I'm still working on it but I hope to have it mainlined for 3.21.


kuba
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2015-02-10 Thread Parth Sane
Hello everone!
A few months earlier I had requested addition of the MT7601 WiFi
dongle module into the kernel. I was told that the needful would be
done in the rt2x00 driver. Could you guys update me with the status?
Thanks a lot!
-Parth Sane

On 4 December 2014 at 20:06, Stanislaw Gruszka sgrus...@redhat.com wrote:

 On Thu, Dec 04, 2014 at 09:49:53AM +0100, Oleksij Rempel wrote:
  So far i know, Felix is working on abgn+ac (MT7662 and MT7612) devices.
  MT7601STA is (a)bgn. Are there similar regs?

 All Mediatek/Ralink devices I know have the same MAC registers, but
 different BBP and RF registers.

  In mt7601 code i see parts like if (IS_RT3290(pAd) || IS_RT65XX(pAd) ||
  IS_MT7601(pAd)).  RT3290 is supported by rt2x00.

 Hence looks that support for this devices should be added to rt2x00.

 Stanislaw

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-04 Thread Stanislaw Gruszka
On Thu, Dec 04, 2014 at 03:52:52PM +1100, Julian Calaby wrote:
 On Thu, Dec 4, 2014 at 3:39 PM, Greg Kroah-Hartman
 gre...@linuxfoundation.org wrote:
  On Thu, Dec 04, 2014 at 07:07:58AM +0530, Parth Sane wrote:
  Hi,
  I'd say I'm midway through with c programming(part of my computer
  engineering degree course) and know a decent amount of git. So yes I'm
  comfortable writing code.
 
  Ok great, let's see if it's just a matter of some changes to the
  existing kernel driver before we decide to add the whole huge tarball
  to the staging tree as fixing it up will be a lot of work.
 
 I believe some people (CC'd) may have been working on / had an
 interest in writing such a driver. I'm not sure what the status of
 that effort is though.

Right. Felix is working on new linux friendly driver for new Mediatek
chips.

Stanislaw
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-04 Thread Luca Olivetti
El 04/12/14 a les 02:24, Greg Kroah-Hartman ha escrit:
 On Sun, Nov 30, 2014 at 06:55:12PM +, Parth Sane wrote:
 Hi Greg,
 You can find the source code attached as a tarball. It works and I have 
 tested
 it myself. You only need to use make and make install for this.
 
 This really looks like a variant of some existing devices, the rt2x00,
 Ralink driver.

FWIW, if this is the mediatek supplied driver (was this
http://www.spinics.net/lists/linux-driver-devel/msg57929.html the
original message?), it has been discussed here before. It works (when
patched[*]) but (IMHO) it's not suitable for kernel inclusion.

[*] I collected those patches plus a couple I made to make it work with
big endian architecture here:

https://code.google.com/p/mt7601-openwrt/source/browse/#hg%2Fpatches

Bye
-- 
Luca
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-04 Thread Oleksij Rempel
Am 04.12.2014 um 09:23 schrieb Stanislaw Gruszka:
 On Thu, Dec 04, 2014 at 03:52:52PM +1100, Julian Calaby wrote:
 On Thu, Dec 4, 2014 at 3:39 PM, Greg Kroah-Hartman
 gre...@linuxfoundation.org wrote:
 On Thu, Dec 04, 2014 at 07:07:58AM +0530, Parth Sane wrote:
 Hi,
 I'd say I'm midway through with c programming(part of my computer
 engineering degree course) and know a decent amount of git. So yes I'm
 comfortable writing code.

 Ok great, let's see if it's just a matter of some changes to the
 existing kernel driver before we decide to add the whole huge tarball
 to the staging tree as fixing it up will be a lot of work.

 I believe some people (CC'd) may have been working on / had an
 interest in writing such a driver. I'm not sure what the status of
 that effort is though.
 
 Right. Felix is working on new linux friendly driver for new Mediatek
 chips.

So far i know, Felix is working on abgn+ac (MT7662 and MT7612) devices.
MT7601STA is (a)bgn. Are there similar regs?

In mt7601 code i see parts like if (IS_RT3290(pAd) || IS_RT65XX(pAd) ||
IS_MT7601(pAd)).  RT3290 is supported by rt2x00.

-- 
Regards,
Oleksij



signature.asc
Description: OpenPGP digital signature
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-04 Thread Parth Sane
Hi,
Guys I'll be using my other account on my private domain laer.in now
onwards. Be sure to add me in your contacts. My new email is
parths...@laer.in
-Parth

On 4 December 2014 at 14:19, Oleksij Rempel li...@rempel-privat.de wrote:
 Am 04.12.2014 um 09:23 schrieb Stanislaw Gruszka:
 On Thu, Dec 04, 2014 at 03:52:52PM +1100, Julian Calaby wrote:
 On Thu, Dec 4, 2014 at 3:39 PM, Greg Kroah-Hartman
 gre...@linuxfoundation.org wrote:
 On Thu, Dec 04, 2014 at 07:07:58AM +0530, Parth Sane wrote:
 Hi,
 I'd say I'm midway through with c programming(part of my computer
 engineering degree course) and know a decent amount of git. So yes I'm
 comfortable writing code.

 Ok great, let's see if it's just a matter of some changes to the
 existing kernel driver before we decide to add the whole huge tarball
 to the staging tree as fixing it up will be a lot of work.

 I believe some people (CC'd) may have been working on / had an
 interest in writing such a driver. I'm not sure what the status of
 that effort is though.

 Right. Felix is working on new linux friendly driver for new Mediatek
 chips.

 So far i know, Felix is working on abgn+ac (MT7662 and MT7612) devices.
 MT7601STA is (a)bgn. Are there similar regs?

 In mt7601 code i see parts like if (IS_RT3290(pAd) || IS_RT65XX(pAd) ||
 IS_MT7601(pAd)).  RT3290 is supported by rt2x00.

 --
 Regards,
 Oleksij

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-04 Thread Oleksij Rempel
Am 04.12.2014 um 10:26 schrieb Parth Sane:
 Hi,
 Guys I'll be using my other account on my private domain laer.in now
 onwards. Be sure to add me in your contacts. My new email is
 parths...@laer.in
 -Parth
 
 On 4 December 2014 at 14:19, Oleksij Rempel li...@rempel-privat.de wrote:
 Am 04.12.2014 um 09:23 schrieb Stanislaw Gruszka:
 On Thu, Dec 04, 2014 at 03:52:52PM +1100, Julian Calaby wrote:
 On Thu, Dec 4, 2014 at 3:39 PM, Greg Kroah-Hartman
 gre...@linuxfoundation.org wrote:
 On Thu, Dec 04, 2014 at 07:07:58AM +0530, Parth Sane wrote:
 Hi,
 I'd say I'm midway through with c programming(part of my computer
 engineering degree course) and know a decent amount of git. So yes I'm
 comfortable writing code.

 Ok great, let's see if it's just a matter of some changes to the
 existing kernel driver before we decide to add the whole huge tarball
 to the staging tree as fixing it up will be a lot of work.

 I believe some people (CC'd) may have been working on / had an
 interest in writing such a driver. I'm not sure what the status of
 that effort is though.

 Right. Felix is working on new linux friendly driver for new Mediatek
 chips.

 So far i know, Felix is working on abgn+ac (MT7662 and MT7612) devices.
 MT7601STA is (a)bgn. Are there similar regs?

 In mt7601 code i see parts like if (IS_RT3290(pAd) || IS_RT65XX(pAd) ||
 IS_MT7601(pAd)).  RT3290 is supported by rt2x00.

Am 04.12.2014 um 10:54 schrieb parths...@laer.in: Hi again,
 Please note my new email parths...@laer.in . Also If you guys don't know
 there's a working source supplied by mediatek for mt7601. Please find
 the attached tarball. Also please apply this patch I mentioned about
 earlier. It's at https://gist.github.com/Boggartfly/b18bd86b8eb60fabe160

 rt_linux.h has the following path in the driver directory.

 /include/os/rt_linux.h

 After you replace the patched file everything works and compiles
 successfully!! Any pointers on what should be done to make it kernel
 compatible?

Well, there is no kernel compatible part in this driver. With other
words it should be completely rewritten or cleaned up. As match as
possible of existing kernel code should be reused.

PS. please keep the topic.

-- 
Regards,
Oleksij



signature.asc
Description: OpenPGP digital signature
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-04 Thread Stanislaw Gruszka
On Thu, Dec 04, 2014 at 09:49:53AM +0100, Oleksij Rempel wrote:
 So far i know, Felix is working on abgn+ac (MT7662 and MT7612) devices.
 MT7601STA is (a)bgn. Are there similar regs?

All Mediatek/Ralink devices I know have the same MAC registers, but
different BBP and RF registers.

 In mt7601 code i see parts like if (IS_RT3290(pAd) || IS_RT65XX(pAd) ||
 IS_MT7601(pAd)).  RT3290 is supported by rt2x00.

Hence looks that support for this devices should be added to rt2x00.

Stanislaw

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-03 Thread Greg Kroah-Hartman
On Sun, Nov 30, 2014 at 06:55:12PM +, Parth Sane wrote:
 Hi Greg,
 You can find the source code attached as a tarball. It works and I have tested
 it myself. You only need to use make and make install for this.

This really looks like a variant of some existing devices, the rt2x00,
Ralink driver.

I've copied the maintainers of that driver here.

Is anyone working on support for the following devices in the existing
rt2x00 USB driver:

{USB_DEVICE(0x148f, 0x6570)}, /* Ralink 6570 */
{USB_DEVICE(0x148f, 0x7650)}, /* MT7650 */
{USB_DEVICE(0x148f, 0x6370)}, /* Ralink 6370 */
{USB_DEVICE(0x148f, 0x7601)}, /* MT 6370 */

thanks,

greg k-h
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-03 Thread Parth Sane
Hi,
I'd say I'm midway through with c programming(part of my computer
engineering degree course) and know a decent amount of git. So yes I'm
comfortable writing code.
Also here's the link to an eBay listing for the same hardware.
http://www.ebay.com/itm/like/231051816145?lpid=82item=231051816145lgeo=1vectorid=229466

I think that should do the trick.
Cheers,
-Parth

On 04/12/2014, Greg Kroah-Hartman gre...@linuxfoundation.org wrote:
 On Sun, Nov 30, 2014 at 06:55:12PM +, Parth Sane wrote:
 Hi Greg,
 You can find the source code attached as a tarball. It works and I have
 tested
 it myself. You only need to use make and make install for this.

 This really looks like a variant of some existing devices, the rt2x00,
 Ralink driver.

 I've copied the maintainers of that driver here.

 Is anyone working on support for the following devices in the existing
 rt2x00 USB driver:

 {USB_DEVICE(0x148f, 0x6570)}, /* Ralink 6570 */
 {USB_DEVICE(0x148f, 0x7650)}, /* MT7650 */
 {USB_DEVICE(0x148f, 0x6370)}, /* Ralink 6370 */
 {USB_DEVICE(0x148f, 0x7601)}, /* MT 6370 */

 thanks,

 greg k-h

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-03 Thread Greg Kroah-Hartman
On Thu, Dec 04, 2014 at 07:07:58AM +0530, Parth Sane wrote:
 Hi,
 I'd say I'm midway through with c programming(part of my computer
 engineering degree course) and know a decent amount of git. So yes I'm
 comfortable writing code.

Ok great, let's see if it's just a matter of some changes to the
existing kernel driver before we decide to add the whole huge tarball
to the staging tree as fixing it up will be a lot of work.

 Also here's the link to an eBay listing for the same hardware.
 http://www.ebay.com/itm/like/231051816145?lpid=82item=231051816145lgeo=1vectorid=229466

Thanks, I've ordered a few that look like this, hopefully some will
actually show up.

thanks,

greg k-h
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-03 Thread Julian Calaby
Hi Greg,

On Thu, Dec 4, 2014 at 3:39 PM, Greg Kroah-Hartman
gre...@linuxfoundation.org wrote:
 On Thu, Dec 04, 2014 at 07:07:58AM +0530, Parth Sane wrote:
 Hi,
 I'd say I'm midway through with c programming(part of my computer
 engineering degree course) and know a decent amount of git. So yes I'm
 comfortable writing code.

 Ok great, let's see if it's just a matter of some changes to the
 existing kernel driver before we decide to add the whole huge tarball
 to the staging tree as fixing it up will be a lot of work.

I believe some people (CC'd) may have been working on / had an
interest in writing such a driver. I'm not sure what the status of
that effort is though.

Thanks,

-- 
Julian Calaby

Email: julian.cal...@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel