<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><div dir="ltr"><div>Greetings!<br><br></div>I have been trying to configure a NETGEAR WNDR3400 device to use VLAN ID 201 on its WAN port to be able to talk to a Calix FTTH ONT. Studying the problem, I have found that the device contains a BCM5325 switch, which only supports up to 16 VLAN entries. However, each entry may have a VID that is 12 bits long, ie 0-4095.<br><br>It does not seem that the current b53 driver supports this:<br><br>From b53_common.c:<br>static int b53_port_set_pvid(struct switch_dev *dev, int port, int val)<br>{<br>...<br> if (val > 15 && is5325(priv))<br> return -EINVAL;<br>...<br><br><br><div><div>I don't think this is hardware limitation, as people seem to have gotten it to work in DD-WRT, see <a href="http://www.dd-wrt.com/phpBB2/viewtopic.php?t=86919">http://www.dd-wrt.com/phpBB2/viewtopic.php?t=86919</a>.<br><br></div><div>I am wondering if any of this work has been investigated for b53? I plan to spend a bit more time with this issue and try to patch the driver to provide a solution. However, being a newbie to the OpenWRT architecture, I may need advice regarding enforcement of 16 max VLANs while allowing VIDs from 0-4095. I think that if feasible, it would be a very useful change.<br><br>Thanks,<br>Ilya<br></div><div><br><br></div></div></div>
</div></body></html>