* Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree) [not found] ` <CAD-4tLU-3otYOTO98s359z80SSbTJbiSstAYijiU__ekOPJkOA@mail.gmail.com> @ 2014-12-04 1:24 ` Greg Kroah-Hartman 2014-12-04 1:37 ` Parth Sane 2014-12-04 8:28 ` Luca Olivetti 0 siblings, 2 replies; 11+ 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] 11+ 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; 11+ 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] 11+ 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:52 ` Julian Calaby 0 siblings, 1 reply; 11+ 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] 11+ 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:52 ` Julian Calaby 2014-12-04 8:23 ` Stanislaw Gruszka 0 siblings, 1 reply; 11+ 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] 11+ 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:49 ` Oleksij Rempel 0 siblings, 1 reply; 11+ 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] 11+ 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 0 siblings, 2 replies; 11+ 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] 11+ 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 10:08 ` Oleksij Rempel 2014-12-04 14:36 ` Stanislaw Gruszka 1 sibling, 1 reply; 11+ 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@linuxdriverproject.org, 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] 11+ 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 0 siblings, 0 replies; 11+ 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@linuxdriverproject.org, 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] 11+ 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 2015-02-10 9:27 ` Parth Sane 1 sibling, 1 reply; 11+ 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] 11+ 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 0 siblings, 0 replies; 11+ 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@linuxdriverproject.org, 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] 11+ 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; 11+ 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] 11+ messages in thread
end of thread, other threads:[~2015-02-10 9:27 UTC | newest]
Thread overview: 11+ 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>
[not found] ` <CAD-4tLU-3otYOTO98s359z80SSbTJbiSstAYijiU__ekOPJkOA@mail.gmail.com>
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:52 ` Julian Calaby
2014-12-04 8:23 ` Stanislaw Gruszka
2014-12-04 8:49 ` Oleksij Rempel
2014-12-04 9:26 ` Parth Sane
2014-12-04 10:08 ` Oleksij Rempel
2014-12-04 14:36 ` Stanislaw Gruszka
2015-02-10 9:27 ` Parth Sane
2014-12-04 8:28 ` Luca Olivetti
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).