OpenWrt Forum Archive

Topic: Ar9132 Phy1 & Usb...

The content of this topic has been archived on 5 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi, all. I made usb mods for my DIR-615C2/TL-941ND and found that this impacts AR9132 PHY1 stability and perfomance. (PHY1 interface real speed became 16-25Mbit, sometimes even 10-20Kbit). PHY0 interfaces real speed = 100Mbit  (vlan1 as wan <--> vlan2 as lan, torrent as traffic generator, iptables/nat, cpu ~80%).

I examined board of DIR-615 and found that all 5 ports (1 wan + 4 lan) connected to AR8216 6 port switch. I tried to make two vlans: vlan2="0t 5", vlan1="0t 1 2 3 4" but vlan2 doesn't work sad

I just can't understand how this board works... AR8216 is 6 port switch: 0 - PHY0, 1-4 - lan, 5 - wan.
What about PHY1 ??

This is a photo of the board:
http://wiki.openwrt.org/_detail/toh/d-l … os%3Astart

(Last edited by regressor on 7 Feb 2011, 15:03)

Well, nice photo. Do you happen to have something about the circuitry of the AR9132? Haven't I read somewhere, I don't know where, that the USB and PHY are intertwined somehow. I haven't even known, the AR9132 has a second PHY! And why did you test FastEthernet, is has GBitEthernet! Oh, the Switch is FE only.

I think you need the layout of the circuitry.

Well. I solved these problems. For dir-615 i moved ar71xx_add_device_usb() call before _add_device_eth() calls and problem gone (I don't know why smile). For TPlink WR941ND I posted a ticket #8911 (RTL8306S phy driver fixup code writes to switch register).

Looks like AR8216 can work as switch on first phy and export port0 on second phy (DIR-615C2), but I don't know if this is a program option. TPLink wr941nd  use only  phy0 to connect to Marvell 88e6060 switch.

The discussion might have continued from here.