[OpenWrt-Devel] [RFC] mt7620 wifi
xfguo at credosemi.com
Tue Jul 1 02:57:23 EDT 2014
simply try these commands in OpenWrt, then the ethernet will start to work.
uci set network. at switch_vlan.vid=1
uci set network. at switch_vlan.vid=2
BTW, I'm not sure my test is right, that I can see the wireless driver
start, but I cannot find any WIFI with SSID==OpenWrt.
the problem here is,
in old driver for mt7530, vid is always equal to vlan number. but in
new driver vid must be set explicitly.
in most applications, user don't need to care about the difference
between vid and vlan.
my solution for mt7530 driver is, when swconfig apply, if vid == 0,
then let vid = vlan (so vid==0 is valid). if you think it is ok, i can
send a patch about this.
Xiongfei (Alex) Guo
On Tue, Jul 1, 2014 at 7:37 AM, Roman Yeryomin <leroi.lists at gmail.com> wrote:
> On 1 July 2014 01:54, xfguo at credosemi.com <xfguo at 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): https://dev.openwrt.org/changeset/41331
>>>As `swconfig list' tells: Found: switch0 - mt7530
> I don't have the board in hands right now but the other thing I've
> noticed that VID for both 1 and 2 vlans was 0. And setting it to
> correct values didn't have any effect.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel