Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread Xiongfei(Alex) GUO
hi, Roman, simply try these commands in OpenWrt, then the ethernet will start to work. uci set network.@switch_vlan[0].vid=1 uci set network.@switch_vlan[1].vid=2 uci commit /etc/init.d/network restart BTW, I'm not sure my test is right, that I can see the wireless driver start,

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread Kazuki Shimada
Hi, Roman. Do your patches have any chance to make wireless on mt7620a device to work? If so, I'll try it on my buffalo whr-300hp2. Thanks in advance. Kazuki Shimada (2014/07/01 2:36), Roman Yeryomin wrote: On 30 June 2014 20:30, John Crispin j...@phrozen.org wrote: i think this is the

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread John Crispin
Hi, i have the whr-300hp2 on my desk now and will fix the switch and merge the wifi fixes now. John On 01/07/2014 09:41, Kazuki Shimada wrote: Hi, Roman. Do your patches have any chance to make wireless on mt7620a device to work? If so, I'll try it on my buffalo whr-300hp2.

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread John Crispin
Hi, please make a patch that will default vid == vlan nr. this way we have a sane default hat user can override with higher vid if needed. Thanks John On 01/07/2014 08:57, Xiongfei(Alex) GUO wrote: hi, Roman, simply try these commands in OpenWrt, then the ethernet will start to

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread Roman Yeryomin
On 1 July 2014 09:57, Xiongfei(Alex) GUO xf...@credosemi.com wrote: hi, Roman, simply try these commands in OpenWrt, then the ethernet will start to work. uci set network.@switch_vlan[0].vid=1 uci set network.@switch_vlan[1].vid=2 uci commit /etc/init.d/network restart

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread Xiongfei(Alex) GUO
On Tue, Jul 1, 2014 at 9:51 PM, Roman Yeryomin leroi.li...@gmail.com wrote: On 1 July 2014 09:57, Xiongfei(Alex) GUO xf...@credosemi.com wrote: hi, Roman, simply try these commands in OpenWrt, then the ethernet will start to work. uci set network.@switch_vlan[0].vid=1 uci set

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread Roman Yeryomin
On 1 July 2014 17:49, Xiongfei(Alex) GUO xf...@credosemi.com wrote: On Tue, Jul 1, 2014 at 9:51 PM, Roman Yeryomin leroi.li...@gmail.com wrote: On 1 July 2014 09:57, Xiongfei(Alex) GUO xf...@credosemi.com wrote: hi, Roman, simply try these commands in OpenWrt, then the ethernet will start to

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-30 Thread Сергей Василюгин
  29.06.2014, 20:34, "Сергей Василюгин" vasilu...@yandex.ru:  29.06.2014, 18:33, "Roman Yeryomin" leroi.li...@gmail.com:On 28 June 2014 19:17, Сергей Василюгин vasilu...@yandex.ru wrote: 26.06.2014, 06:03, "Daniel" dan...@makrotopia.org: Hi Roman, On 04/04/2014 04:39 PM, Roman Yeryomin wrote:  I

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-30 Thread John Crispin
On 30/06/2014 18:50, Roman Yeryomin wrote: So... I've tried the old tree with suggested fix and ended up rebasing my patches to trunk, adding all the fixes and cleaning them up. Attaching the patches for now. John, Helmut, what do you think, can we apply them to the trunk (I will send them

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-30 Thread Roman Yeryomin
On 30 June 2014 19:50, Roman Yeryomin leroi.li...@gmail.com wrote: So... I've tried the old tree with suggested fix and ended up rebasing my patches to trunk, adding all the fixes and cleaning them up. Attaching the patches for now. John, Helmut, what do you think, can we apply them to the

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-30 Thread Roman Yeryomin
On 30 June 2014 19:52, John Crispin j...@phrozen.org wrote: On 30/06/2014 18:50, Roman Yeryomin wrote: So... I've tried the old tree with suggested fix and ended up rebasing my patches to trunk, adding all the fixes and cleaning them up. Attaching the patches for now. John, Helmut, what do

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-30 Thread John Crispin
i think this is the same is inside the 5390 pci chip ? i have one of those, will verify tomorrow. Would be good! we will figure it out, otherwise we ask the rt2x00 people for help please tell me which patches to test/merge .. this is really good news, thanks a lot to everyone

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-30 Thread Roman Yeryomin
On 30 June 2014 20:30, John Crispin j...@phrozen.org wrote: i think this is the same is inside the 5390 pci chip ? i have one of those, will verify tomorrow. Would be good! we will figure it out, otherwise we ask the rt2x00 people for help please tell me which patches to test/merge ..

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-30 Thread xf...@credosemi.com
can you just show the output of swconfig dev switch0 show ? Alex Roman Yeryomin leroi.li...@gmail.com编写: On 29 June 2014 20:11, Roman Yeryomin leroi.li...@gmail.com wrote: On 29 June 2014 16:33, Сергей Василюгин vasilu...@yandex.ru wrote: 29.06.2014, 18:33, Roman Yeryomin

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-30 Thread Roman Yeryomin
On 1 July 2014 01:54, xf...@credosemi.com xf...@credosemi.com wrote: can you just show the output of swconfig dev switch0 show ? Also it appeared that ethernet is broken for mt7620n (didn't test other ramips targets) on trunk. Apparently after this (not sure how it's possible):

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-29 Thread Roman Yeryomin
On 28 June 2014 19:17, Сергей Василюгин vasilu...@yandex.ru wrote: 26.06.2014, 06:03, Daniel dan...@makrotopia.org: Hi Roman, On 04/04/2014 04:39 PM, Roman Yeryomin wrote: I worked on other things lately but plan to return to rt2x00 soon and maybe try ralink driver on trunk again. I

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-29 Thread Сергей Василюгин
  29.06.2014, 18:33, "Roman Yeryomin" leroi.li...@gmail.com:On 28 June 2014 19:17, Сергей Василюгин vasilu...@yandex.ru wrote: 26.06.2014, 06:03, "Daniel" dan...@makrotopia.org: Hi Roman, On 04/04/2014 04:39 PM, Roman Yeryomin wrote:  I worked on other things lately but plan to return to rt2x00

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-29 Thread Roman Yeryomin
On 29 June 2014 16:33, Сергей Василюгин vasilu...@yandex.ru wrote: 29.06.2014, 18:33, Roman Yeryomin leroi.li...@gmail.com: On 28 June 2014 19:17, Сергей Василюгин vasilu...@yandex.ru wrote: 26.06.2014, 06:03, Daniel dan...@makrotopia.org: Hi Roman, On 04/04/2014 04:39 PM, Roman

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-29 Thread xf...@credosemi.com
hi, as I know, wrt get MAC address from some mtd partition, if it got all 0xff,the ethernet will not boot up. for more details just check the dts file for rt-n14u. Alex Guo Roman Yeryomin leroi.li...@gmail.com编写: On 29 June 2014 16:33, Сергей Василюгин vasilu...@yandex.ru wrote:

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-29 Thread Сергей Василюгин
  30.06.2014, 08:28, "xf...@credosemi.com" xf...@credosemi.com:hi,as I know, wrt get MAC address from some mtd partition, if it got all 0xff,the ethernet will not boot up. for more details just check the dts file for rt-n14u.Alex Guo Roman Yeryomin leroi.li...@gmail.com编写:On 29 June 2014 16:33,

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-28 Thread Сергей Василюгин
  26.06.2014, 06:03, "Daniel" dan...@makrotopia.org:Hi Roman,On 04/04/2014 04:39 PM, Roman Yeryomin wrote: I worked on other things lately but plan to return to rt2x00 soon and maybe try ralink driver on trunk again.I started looking into your patches and started to see things moving as far asyou

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-06-25 Thread Daniel
Hi Roman, On 04/04/2014 04:39 PM, Roman Yeryomin wrote: I worked on other things lately but plan to return to rt2x00 soon and maybe try ralink driver on trunk again. I started looking into your patches and started to see things moving as far as you got. I suggest to define RT6352 and set

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-04-04 Thread Roman Yeryomin
On 4 April 2014 00:06, Michel Stempin michel.stem...@wanadoo.fr wrote: Le 03/04/2014 22:52, John Crispin a écrit : On 03/04/2014 22:04, Michel Stempin wrote: Does anybody can explain what is the official mt7620 support status in OpenWrt? working fully apart of wifi and i2s John

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-04-03 Thread Michel Stempin
Le 19/03/2014 23:22, Michel Stempin a écrit : Le 15/02/2014 12:02, Roman Yeryomin a écrit : On 14 February 2014 20:43, Mikko Hissa mikko.hi...@werzek.com wrote: On 14 Feb 2014, at 01:04, Roman Yeryomin leroi.li...@gmail.com wrote: On 14 February 2014 00:34, Mikko Hissa

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-04-03 Thread John Crispin
On 03/04/2014 22:04, Michel Stempin wrote: Does anybody can explain what is the official mt7620 support status in OpenWrt? working fully apart of wifi and i2s John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-04-03 Thread Michel Stempin
Le 03/04/2014 22:52, John Crispin a écrit : On 03/04/2014 22:04, Michel Stempin wrote: Does anybody can explain what is the official mt7620 support status in OpenWrt? working fully apart of wifi and i2s John Ok, thanks John for this clarification! But where does this Chinese

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-03-19 Thread Michel Stempin
Le 15/02/2014 12:02, Roman Yeryomin a écrit : On 14 February 2014 20:43, Mikko Hissa mikko.hi...@werzek.com wrote: On 14 Feb 2014, at 01:04, Roman Yeryomin leroi.li...@gmail.com wrote: On 14 February 2014 00:34, Mikko Hissa mikko.hi...@werzek.com wrote: In rt2800lib.c function

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-15 Thread Roman Yeryomin
On 14 February 2014 20:43, Mikko Hissa mikko.hi...@werzek.com wrote: On 14 Feb 2014, at 01:04, Roman Yeryomin leroi.li...@gmail.com wrote: On 14 February 2014 00:34, Mikko Hissa mikko.hi...@werzek.com wrote: In rt2800lib.c function rt2800_get_txwi_rxwi_size() Add case MT7620 with RT5592.

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-14 Thread Roman Yeryomin
On 14 February 2014 01:30, Mikko Hissa mikko.hi...@werzek.com wrote: On 14 Feb 2014, at 01:04, Roman Yeryomin leroi.li...@gmail.com wrote: On 14 February 2014 00:34, Mikko Hissa mikko.hi...@werzek.com wrote: In rt2800lib.c function rt2800_get_txwi_rxwi_size() Add case MT7620 with RT5592.

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-14 Thread Mikko Hissa
On 14 Feb 2014, at 01:04, Roman Yeryomin leroi.li...@gmail.com wrote: On 14 February 2014 00:34, Mikko Hissa mikko.hi...@werzek.com wrote: In rt2800lib.c function rt2800_get_txwi_rxwi_size() Add case MT7620 with RT5592. *txwi_size = TXWI_DESC_SIZE_5WORDS;

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-13 Thread Roman Yeryomin
On 13 February 2014 16:37, Roman Yeryomin leroi.li...@gmail.com wrote: On 11 February 2014 20:32, Mikko Hissa mikko.hi...@werzek.com wrote: Hello again! On 11 Feb 2014, at 19:12, Mikko Hissa mikko.hi...@werzek.com wrote: Hello! On 01 Feb 2014, at 02:08, Roman Yeryomin leroi.li...@gmail.com

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-13 Thread Mikko Hissa
Hi! On 13 Feb 2014, at 18:56, Roman Yeryomin leroi.li...@gmail.com wrote: On 13 February 2014 16:37, Roman Yeryomin leroi.li...@gmail.com wrote: On 11 February 2014 20:32, Mikko Hissa mikko.hi...@werzek.com wrote: Hello again! On 11 Feb 2014, at 19:12, Mikko Hissa mikko.hi...@werzek.com

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-13 Thread Roman Yeryomin
On 13 February 2014 21:32, Mikko Hissa mikko.hi...@werzek.com wrote: On 01 Feb 2014, at 02:08, Roman Yeryomin leroi.li...@gmail.com wrote: Hello everybody! I'm trying to get mt7620 (ramips target, rt-n14u board) wifi working but no luck. I have ported init functions and channel setup from the

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-13 Thread Roman Yeryomin
On 13 February 2014 22:45, Roman Yeryomin leroi.li...@gmail.com wrote: On 13 February 2014 21:32, Mikko Hissa mikko.hi...@werzek.com wrote: On 01 Feb 2014, at 02:08, Roman Yeryomin leroi.li...@gmail.com wrote: Hello everybody! I'm trying to get mt7620 (ramips target, rt-n14u board) wifi

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-13 Thread Mikko Hissa
On 13 Feb 2014, at 23:44, Roman Yeryomin leroi.li...@gmail.com wrote: On 13 February 2014 22:45, Roman Yeryomin leroi.li...@gmail.com wrote: On 13 February 2014 21:32, Mikko Hissa mikko.hi...@werzek.com wrote: On 01 Feb 2014, at 02:08, Roman Yeryomin leroi.li...@gmail.com wrote: Hello

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-13 Thread Roman Yeryomin
On 14 February 2014 00:14, Mikko Hissa mikko.hi...@werzek.com wrote: On 13 Feb 2014, at 23:44, Roman Yeryomin leroi.li...@gmail.com wrote: On 13 February 2014 22:45, Roman Yeryomin leroi.li...@gmail.com wrote: On 13 February 2014 21:32, Mikko Hissa mikko.hi...@werzek.com wrote: On 01 Feb 2014,

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-13 Thread Mikko Hissa
On 04 Feb 2014, at 17:56, Helmut Schaa helmut.sc...@googlemail.com wrote: On Tue, Feb 4, 2014 at 4:40 PM, Roman Yeryomin leroi.li...@gmail.com wrote: Thanks for answer, Helmut! On 3 February 2014 18:01, Helmut Schaa helmut.sc...@googlemail.com wrote: On Sat, Feb 1, 2014 at 1:08 AM, Roman

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-13 Thread Roman Yeryomin
On 14 February 2014 00:34, Mikko Hissa mikko.hi...@werzek.com wrote: In rt2800lib.c function rt2800_get_txwi_rxwi_size() Add case MT7620 with RT5592. *txwi_size = TXWI_DESC_SIZE_5WORDS; *rxwi_size = RXWI_DESC_SIZE_6WORDS; break; I suppose you

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-13 Thread Mikko Hissa
On 14 Feb 2014, at 01:04, Roman Yeryomin leroi.li...@gmail.com wrote: On 14 February 2014 00:34, Mikko Hissa mikko.hi...@werzek.com wrote: In rt2800lib.c function rt2800_get_txwi_rxwi_size() Add case MT7620 with RT5592. *txwi_size = TXWI_DESC_SIZE_5WORDS;

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-11 Thread Mikko Hissa
Hello! On 01 Feb 2014, at 02:08, Roman Yeryomin leroi.li...@gmail.com wrote: Hello everybody! I'm trying to get mt7620 (ramips target, rt-n14u board) wifi working but no luck. I have ported init functions and channel setup from the original (known to be working) driver. The original driver

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-11 Thread Mikko Hissa
Hello again! On 11 Feb 2014, at 19:12, Mikko Hissa mikko.hi...@werzek.com wrote: Hello! On 01 Feb 2014, at 02:08, Roman Yeryomin leroi.li...@gmail.com wrote: Hello everybody! I'm trying to get mt7620 (ramips target, rt-n14u board) wifi working but no luck. I have ported init functions

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-06 Thread Roman Yeryomin
On 5 February 2014 09:21, Helmut Schaa helmut.sc...@googlemail.com wrote: So, you ported the code from the ralink rt2860 driver, right? I haven't looked into newer ralink chips at all. Did you check if any MAC layer changes regarding RX and TX rings exist? Yes, from rt2860v2 2.7.1.6 to be

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-06 Thread Helmut Schaa
On Thu, Feb 6, 2014 at 11:40 AM, Roman Yeryomin leroi.li...@gmail.com wrote: On 5 February 2014 09:21, Helmut Schaa helmut.sc...@googlemail.com wrote: So, you ported the code from the ralink rt2860 driver, right? I haven't looked into newer ralink chips at all. Did you check if any MAC layer

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-06 Thread Roman Yeryomin
On 6 February 2014 13:01, Helmut Schaa helmut.sc...@googlemail.com wrote: On Thu, Feb 6, 2014 at 11:40 AM, Roman Yeryomin leroi.li...@gmail.com wrote: On 5 February 2014 09:21, Helmut Schaa helmut.sc...@googlemail.com wrote: So, you ported the code from the ralink rt2860 driver, right? I

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-06 Thread Roman Yeryomin
On 6 February 2014 13:27, Roman Yeryomin leroi.li...@gmail.com wrote: On 6 February 2014 13:01, Helmut Schaa helmut.sc...@googlemail.com wrote: On Thu, Feb 6, 2014 at 11:40 AM, Roman Yeryomin leroi.li...@gmail.com wrote: On 5 February 2014 09:21, Helmut Schaa helmut.sc...@googlemail.com

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-04 Thread Roman Yeryomin
Thanks for answer, Helmut! On 3 February 2014 18:01, Helmut Schaa helmut.sc...@googlemail.com wrote: On Sat, Feb 1, 2014 at 1:08 AM, Roman Yeryomin leroi.li...@gmail.com wrote: Unfortunately I have no experience in wifi drivers and this is my first one. Even worse I don't know what those

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-04 Thread Helmut Schaa
On Tue, Feb 4, 2014 at 4:40 PM, Roman Yeryomin leroi.li...@gmail.com wrote: Thanks for answer, Helmut! On 3 February 2014 18:01, Helmut Schaa helmut.sc...@googlemail.com wrote: On Sat, Feb 1, 2014 at 1:08 AM, Roman Yeryomin leroi.li...@gmail.com wrote: Unfortunately I have no experience in

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-04 Thread Roman Yeryomin
On 4 February 2014 17:56, Helmut Schaa helmut.sc...@googlemail.com wrote: Currently wifi interface appears in the system and can be enabled but `iw dev wlan0 scan' gives no result and wlan0 transmits one packet roughly in 10 minutes as per ifconfig (ssid doesn't appear in the air). `iw phy'

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-04 Thread Helmut Schaa
On Tue, Feb 4, 2014 at 5:19 PM, Roman Yeryomin leroi.li...@gmail.com wrote: On 4 February 2014 17:56, Helmut Schaa helmut.sc...@googlemail.com wrote: Currently wifi interface appears in the system and can be enabled but `iw dev wlan0 scan' gives no result and wlan0 transmits one packet roughly

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-04 Thread Roman Yeryomin
On 4 February 2014 19:58, Helmut Schaa helmut.sc...@googlemail.com wrote: On Tue, Feb 4, 2014 at 5:19 PM, Roman Yeryomin leroi.li...@gmail.com wrote: On 4 February 2014 17:56, Helmut Schaa helmut.sc...@googlemail.com wrote: Currently wifi interface appears in the system and can be enabled but

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-04 Thread Helmut Schaa
On Tue, Feb 4, 2014 at 8:24 PM, Roman Yeryomin leroi.li...@gmail.com wrote: On 4 February 2014 19:58, Helmut Schaa helmut.sc...@googlemail.com wrote: On Tue, Feb 4, 2014 at 5:19 PM, Roman Yeryomin leroi.li...@gmail.com wrote: On 4 February 2014 17:56, Helmut Schaa helmut.sc...@googlemail.com

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-02-03 Thread Helmut Schaa
Hi, On Sat, Feb 1, 2014 at 1:08 AM, Roman Yeryomin leroi.li...@gmail.com wrote: Hello everybody! I'm trying to get mt7620 (ramips target, rt-n14u board) wifi working but no luck. I have ported init functions and channel setup from the original (known to be working) driver. The original driver