All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Addition of a wifi kernel module to the linux source tree
       [not found]       ` <20141130184615.GA3122@kroah.com>
@ 2014-11-30 18:55         ` Parth Sane
  2014-11-30 19:02           ` Parth Sane
  2014-12-04  1:24           ` Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree) Greg Kroah-Hartman
  0 siblings, 2 replies; 20+ messages in thread
From: Parth Sane @ 2014-11-30 18:55 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: driverdev-devel


[-- Attachment #1.1: Type: text/plain, Size: 736 bytes --]

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.
Thanks.
Parth

On Mon 1 Dec, 2014 12:17 am Greg Kroah-Hartman <gregkh@linuxfoundation.org>
wrote:

> On Sun, Nov 30, 2014 at 06:37:23PM +0000, Parth Sane wrote:
> > I can do the patch for the tree. Since this my first commit to the
> kernel, I
> > want to make sure that I do it right.
> > So what I'll do is,
> > 1. Add the device driver code to my local git repository in
> drivers/staging
> > 2. Send a pull request for merging it.
>
> Send me a patch, in email, and cc: the driverdev mailing list, don't
> send a pull request, I can't do anything with that, sorry.
>
> greg k-h
>

[-- Attachment #1.2: Type: text/html, Size: 1039 bytes --]

[-- Attachment #2: DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2 --]
[-- Type: application/x-bzip2, Size: 1178551 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Addition of a wifi kernel module to the linux source tree
  2014-11-30 18:55         ` Addition of a wifi kernel module to the linux source tree Parth Sane
@ 2014-11-30 19:02           ` Parth Sane
  2014-12-04  1:24           ` Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree) Greg Kroah-Hartman
  1 sibling, 0 replies; 20+ messages in thread
From: Parth Sane @ 2014-11-30 19:02 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: driverdev-devel

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

Is this OK?
Please let me know ASAP. Very eager to help out.
Thanks.
-Parth

On Mon 1 Dec, 2014 12:25 am Parth Sane <laerdevstudios@gmail.com> 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.
> Thanks.
>
>
> Parth
>
> On Mon 1 Dec, 2014 12:17 am Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> wrote:
>
>> On Sun, Nov 30, 2014 at 06:37:23PM +0000, Parth Sane wrote:
>> > I can do the patch for the tree. Since this my first commit to the
>> kernel, I
>> > want to make sure that I do it right.
>> > So what I'll do is,
>> > 1. Add the device driver code to my local git repository in
>> drivers/staging
>> > 2. Send a pull request for merging it.
>>
>> Send me a patch, in email, and cc: the driverdev mailing list, don't
>> send a pull request, I can't do anything with that, sorry.
>>
>> greg k-h
>>
>

[-- Attachment #2: Type: text/html, Size: 1439 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2014-11-30 18:55         ` Addition of a wifi kernel module to the linux source tree Parth Sane
  2014-11-30 19:02           ` Parth Sane
@ 2014-12-04  1:24           ` Greg Kroah-Hartman
  2014-12-04  1:37             ` Parth Sane
  2014-12-04  8:28             ` Luca Olivetti
  1 sibling, 2 replies; 20+ messages in thread
From: Greg Kroah-Hartman @ 2014-12-04  1:24 UTC (permalink / raw)
  To: Stanislaw Gruszka, Helmut Schaa, Parth Sane
  Cc: linux-wireless, driverdev-devel

On Sun, Nov 30, 2014 at 06:55:12PM +0000, 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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2014-12-04  1:24           ` Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree) Greg Kroah-Hartman
@ 2014-12-04  1:37             ` Parth Sane
  2014-12-04  4:39               ` Greg Kroah-Hartman
  2014-12-04  8:28             ` Luca Olivetti
  1 sibling, 1 reply; 20+ messages in thread
From: Parth Sane @ 2014-12-04  1:37 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Stanislaw Gruszka, Helmut Schaa, linux-wireless, driverdev-devel

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=82&item=231051816145&lgeo=1&vectorid=229466

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

On 04/12/2014, Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
> On Sun, Nov 30, 2014 at 06:55:12PM +0000, 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
>

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2014-12-04  1:37             ` Parth Sane
@ 2014-12-04  4:39               ` Greg Kroah-Hartman
  2014-12-04  4:44                 ` Parth Sane
  2014-12-04  4:52                 ` Julian Calaby
  0 siblings, 2 replies; 20+ messages in thread
From: Greg Kroah-Hartman @ 2014-12-04  4:39 UTC (permalink / raw)
  To: Parth Sane
  Cc: Stanislaw Gruszka, Helmut Schaa, linux-wireless, driverdev-devel

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=82&item=231051816145&lgeo=1&vectorid=229466

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

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2014-12-04  4:39               ` Greg Kroah-Hartman
@ 2014-12-04  4:44                 ` Parth Sane
  2014-12-04  4:52                 ` Julian Calaby
  1 sibling, 0 replies; 20+ messages in thread
From: Parth Sane @ 2014-12-04  4:44 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Stanislaw Gruszka, Helmut Schaa, linux-wireless, driverdev-devel

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

Hello everyone!
Its really awesome that we're doing this. Greg ,let me know when to start
and what to do! Very excited with my first kernel patch!!
-Parth

On Thu 4 Dec, 2014 10:11 am Greg Kroah-Hartman <gregkh@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.
>
> > Also here's the link to an eBay listing for the same hardware.
> > http://www.ebay.com/itm/like/231051816145?lpid=82&item=
> 231051816145&lgeo=1&vectorid=229466
>
> Thanks, I've ordered a few that look like this, hopefully some will
> actually show up.
>
> thanks,
>
> greg k-h
>

[-- Attachment #2: Type: text/html, Size: 1463 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2014-12-04  4:39               ` Greg Kroah-Hartman
  2014-12-04  4:44                 ` Parth Sane
@ 2014-12-04  4:52                 ` Julian Calaby
  2014-12-04  4:54                   ` Parth Sane
  2014-12-04  8:23                     ` Stanislaw Gruszka
  1 sibling, 2 replies; 20+ messages in thread
From: Julian Calaby @ 2014-12-04  4:52 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Parth Sane, Stanislaw Gruszka, Helmut Schaa, linux-wireless,
	driverdev-devel, Larry Finger, Oleksij Rempel

Hi Greg,

On Thu, Dec 4, 2014 at 3:39 PM, Greg Kroah-Hartman
<gregkh@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.calaby@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2014-12-04  4:52                 ` Julian Calaby
@ 2014-12-04  4:54                   ` Parth Sane
  2014-12-04  8:23                     ` Stanislaw Gruszka
  1 sibling, 0 replies; 20+ messages in thread
From: Parth Sane @ 2014-12-04  4:54 UTC (permalink / raw)
  To: Julian Calaby, Greg Kroah-Hartman
  Cc: Stanislaw Gruszka, Helmut Schaa, linux-wireless, driverdev-devel,
	Larry Finger, Oleksij Rempel

[-- Attachment #1: Type: text/plain, Size: 1376 bytes --]

Hi guys,
There's only one change that needs to be done for the driver to compile.
I've investigated it and found that the rt_linux.h has to be patched. I've
uploaded the patched file at Github as a gist. Its here 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!!
-Parth

On Thu 4 Dec, 2014 10:23 am Julian Calaby <julian.calaby@gmail.com> wrote:

> Hi Greg,
>
> On Thu, Dec 4, 2014 at 3:39 PM, Greg Kroah-Hartman
> <gregkh@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.calaby@gmail.com
> Profile: http://www.google.com/profiles/julian.calaby/
>

[-- Attachment #2: Type: text/html, Size: 2050 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2014-12-04  4:52                 ` Julian Calaby
@ 2014-12-04  8:23                     ` Stanislaw Gruszka
  2014-12-04  8:23                     ` Stanislaw Gruszka
  1 sibling, 0 replies; 20+ messages in thread
From: Stanislaw Gruszka @ 2014-12-04  8:23 UTC (permalink / raw)
  To: Julian Calaby
  Cc: Greg Kroah-Hartman, Parth Sane, Helmut Schaa, linux-wireless,
	driverdev-devel, Larry Finger, Oleksij Rempel, Felix Fietkau

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
> <gregkh@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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
@ 2014-12-04  8:23                     ` Stanislaw Gruszka
  0 siblings, 0 replies; 20+ messages in thread
From: Stanislaw Gruszka @ 2014-12-04  8:23 UTC (permalink / raw)
  To: Julian Calaby
  Cc: Felix Fietkau, Greg Kroah-Hartman, driverdev-devel,
	linux-wireless, Helmut Schaa, Oleksij Rempel, Parth Sane,
	Larry Finger

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
> <gregkh@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
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2014-12-04  1:24           ` Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree) Greg Kroah-Hartman
  2014-12-04  1:37             ` Parth Sane
@ 2014-12-04  8:28             ` Luca Olivetti
  1 sibling, 0 replies; 20+ messages in thread
From: Luca Olivetti @ 2014-12-04  8:28 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Stanislaw Gruszka, Helmut Schaa, Parth Sane
  Cc: linux-wireless, driverdev-devel

El 04/12/14 a les 02:24, Greg Kroah-Hartman ha escrit:
> On Sun, Nov 30, 2014 at 06:55:12PM +0000, 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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2014-12-04  8:23                     ` Stanislaw Gruszka
  (?)
@ 2014-12-04  8:49                     ` Oleksij Rempel
  2014-12-04  9:26                         ` Parth Sane
  2014-12-04 14:36                         ` Stanislaw Gruszka
  -1 siblings, 2 replies; 20+ messages in thread
From: Oleksij Rempel @ 2014-12-04  8:49 UTC (permalink / raw)
  To: Stanislaw Gruszka, Julian Calaby
  Cc: Greg Kroah-Hartman, Parth Sane, Helmut Schaa, linux-wireless,
	driverdev-devel, Larry Finger, Felix Fietkau

[-- Attachment #1: Type: text/plain, Size: 1214 bytes --]

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
>> <gregkh@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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2014-12-04  8:49                     ` Oleksij Rempel
@ 2014-12-04  9:26                         ` Parth Sane
  2014-12-04 14:36                         ` Stanislaw Gruszka
  1 sibling, 0 replies; 20+ messages in thread
From: Parth Sane @ 2014-12-04  9:26 UTC (permalink / raw)
  To: Oleksij Rempel
  Cc: Stanislaw Gruszka, Julian Calaby, Greg Kroah-Hartman,
	Helmut Schaa, linux-wireless, driverdev-devel, Larry Finger,
	Felix Fietkau

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
parthsane@laer.in
-Parth

On 4 December 2014 at 14:19, Oleksij Rempel <linux@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
>>> <gregkh@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
>

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
@ 2014-12-04  9:26                         ` Parth Sane
  0 siblings, 0 replies; 20+ messages in thread
From: Parth Sane @ 2014-12-04  9:26 UTC (permalink / raw)
  To: Oleksij Rempel
  Cc: Felix Fietkau, Stanislaw Gruszka, Julian Calaby, driverdev-devel,
	linux-wireless, Helmut Schaa, Greg Kroah-Hartman, Larry Finger

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
parthsane@laer.in
-Parth

On 4 December 2014 at 14:19, Oleksij Rempel <linux@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
>>> <gregkh@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
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2014-12-04  9:26                         ` Parth Sane
@ 2014-12-04 10:08                           ` Oleksij Rempel
  -1 siblings, 0 replies; 20+ messages in thread
From: Oleksij Rempel @ 2014-12-04 10:08 UTC (permalink / raw)
  To: parthsane
  Cc: Stanislaw Gruszka, Julian Calaby, Greg Kroah-Hartman,
	Helmut Schaa, linux-wireless, driverdev-devel, Larry Finger,
	Felix Fietkau

[-- Attachment #1: Type: text/plain, Size: 2405 bytes --]

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
> parthsane@laer.in
> -Parth
> 
> On 4 December 2014 at 14:19, Oleksij Rempel <linux@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
>>>> <gregkh@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 parthsane@laer.in:> Hi again,
> Please note my new email parthsane@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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
@ 2014-12-04 10:08                           ` Oleksij Rempel
  0 siblings, 0 replies; 20+ messages in thread
From: Oleksij Rempel @ 2014-12-04 10:08 UTC (permalink / raw)
  To: parthsane
  Cc: Felix Fietkau, Stanislaw Gruszka, Julian Calaby, driverdev-devel,
	linux-wireless, Helmut Schaa, Greg Kroah-Hartman, Larry Finger


[-- Attachment #1.1: Type: text/plain, Size: 2405 bytes --]

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
> parthsane@laer.in
> -Parth
> 
> On 4 December 2014 at 14:19, Oleksij Rempel <linux@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
>>>> <gregkh@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 parthsane@laer.in:> Hi again,
> Please note my new email parthsane@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


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

[-- Attachment #2: Type: text/plain, Size: 169 bytes --]

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2014-12-04  8:49                     ` Oleksij Rempel
@ 2014-12-04 14:36                         ` Stanislaw Gruszka
  2014-12-04 14:36                         ` Stanislaw Gruszka
  1 sibling, 0 replies; 20+ messages in thread
From: Stanislaw Gruszka @ 2014-12-04 14:36 UTC (permalink / raw)
  To: Oleksij Rempel
  Cc: Julian Calaby, Greg Kroah-Hartman, Parth Sane, Helmut Schaa,
	linux-wireless, driverdev-devel, Larry Finger, Felix Fietkau

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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
@ 2014-12-04 14:36                         ` Stanislaw Gruszka
  0 siblings, 0 replies; 20+ messages in thread
From: Stanislaw Gruszka @ 2014-12-04 14:36 UTC (permalink / raw)
  To: Oleksij Rempel
  Cc: Felix Fietkau, Julian Calaby, driverdev-devel, linux-wireless,
	Helmut Schaa, Parth Sane, Greg Kroah-Hartman, Larry Finger

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
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2014-12-04 14:36                         ` Stanislaw Gruszka
  (?)
@ 2015-02-10  9:27                         ` Parth Sane
  2015-02-13 15:50                           ` Jakub Kiciński
  -1 siblings, 1 reply; 20+ messages in thread
From: Parth Sane @ 2015-02-10  9:27 UTC (permalink / raw)
  To: Stanislaw Gruszka
  Cc: Oleksij Rempel, Julian Calaby, Greg Kroah-Hartman, Helmut Schaa,
	linux-wireless, driverdev-devel, Larry Finger, Felix Fietkau,
	Linus Torvalds

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 <sgruszka@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
>

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)
  2015-02-10  9:27                         ` Parth Sane
@ 2015-02-13 15:50                           ` Jakub Kiciński
  0 siblings, 0 replies; 20+ messages in thread
From: Jakub Kiciński @ 2015-02-13 15:50 UTC (permalink / raw)
  To: Parth Sane
  Cc: linux-wireless,
	driverdev-devel@linuxdriverproject.org"
	<driverdev-devel@linuxdriverproject.org>,
	Larry Finger  <larry.finger@lwfinger.net>,
	Felix Fietkau <nbd@openwrt.org>,
	Stanislaw Gruszka, Oleksij Rempel

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
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-02-13 15:50 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAD-4tLW3cvGrw3MYiLQni7OMJYGa=QJbrk_q9=9P2QuBb1EVFg@mail.gmail.com>
     [not found] ` <CA+55aFw6zo4rTsEEX5uQe+8zeNR87JzmM8T=wYW7jvrHZPjB8A@mail.gmail.com>
     [not found]   ` <20141129191601.GA1234@kroah.com>
     [not found]     ` <CAD-4tLXYVtKJMWYW6cQ9aCL6rusUx3YpWSHys4xcTRN_dJ+kOA@mail.gmail.com>
     [not found]       ` <20141130184615.GA3122@kroah.com>
2014-11-30 18:55         ` Addition of a wifi kernel module to the linux source tree Parth Sane
2014-11-30 19:02           ` Parth Sane
2014-12-04  1:24           ` Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree) Greg Kroah-Hartman
2014-12-04  1:37             ` Parth Sane
2014-12-04  4:39               ` Greg Kroah-Hartman
2014-12-04  4:44                 ` Parth Sane
2014-12-04  4:52                 ` Julian Calaby
2014-12-04  4:54                   ` Parth Sane
2014-12-04  8:23                   ` Stanislaw Gruszka
2014-12-04  8:23                     ` Stanislaw Gruszka
2014-12-04  8:49                     ` Oleksij Rempel
2014-12-04  9:26                       ` Parth Sane
2014-12-04  9:26                         ` Parth Sane
2014-12-04 10:08                         ` Oleksij Rempel
2014-12-04 10:08                           ` Oleksij Rempel
2014-12-04 14:36                       ` Stanislaw Gruszka
2014-12-04 14:36                         ` Stanislaw Gruszka
2015-02-10  9:27                         ` Parth Sane
2015-02-13 15:50                           ` Jakub Kiciński
2014-12-04  8:28             ` Luca Olivetti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.