kaloz / mwlwifi

mac80211 driver for the Marvell 88W8864 802.11ac chip
396 stars 119 forks source link

WDS support for Rango (WRT3200ACM) #182

Closed yuhhaurlin closed 6 years ago

yuhhaurlin commented 7 years ago

Support WDS via OpenWRT 4 address solution.

BrainSlayer commented 6 years ago

thx, let me prepare a test image

BrainSlayer commented 6 years ago

new dd-wrt build for wds ap support at ftp://ftp.dd-wrt.com/others/test/linksys-wrt3200acm/

aaron1959 commented 6 years ago

@BrainSlayer Will start testing with logging.

eduperez commented 6 years ago

Updated .ipk package for LEDE 17.01.4 available at https://github.com/eduperez/mwlwifi_LEDE/releases/tag/c96d1ed

05dyna commented 6 years ago

@BrainSlayer WDS AP & WDS Station are working nicely here with dd-wrt, the only mirror issue I'm seeing so far NTP is not working on WDS Station but is updating the WDS AP. I realize this is not the focos of the thread but one quick question if I could. I'm using ovpn so do you think this is just normal and the vpn tunnel is preventing the Station from connecting to the NTP?

In any case a Big Thank You, to you @yuhhaurlin and everyone else who have kept the wrt3200 alive. Off for more testing....

BrainSlayer commented 6 years ago

@05dyna missconfigured? ntp works on my wrt3200acm in station mode. router time is correct. so check if you have configured your correct gateway and dns server. otherwise it can't work for sure since the default ntp server is resolved by its name. same for custom one and for openvpn. ahm you did not include any details about your setup here. your tunnel can be anything between 2 devices and i dont know even what is connected to where here and how your routes and nat rules are. and you need a nat rule for openvpn. anway. i use it as plain wds sta. it has a gateway and dns configured. ntp. if you have something custom including openvpn, please fix your custom setup to get ntp working. the router must be able to connect to its destination. if this is not guaranteed, its not working. if your openvpn is connecting too late for instance ntp will fail on first try. then you just need to wait for next ntp update. this may take a while for sure

05dyna commented 6 years ago

@BrainSlayer -thanks for the reply back. I don’t want to hijack the thread with an issue I likely caused.
You said it should work so that’s good enough for me, I’ll default it and try it again...

update: success

spamtree commented 6 years ago

LEDE user success with WDS on WRT3200 to WRT3200 using 2.4 Ghz band and good speeds for my network. This WDS setup can max out my comcast connection (comcast speed 75 Mbits/sec). It worked fine with my netgear but the speeds were ranging between 8-10 Mbits/sec while 1 foot from the WRT3200. The netgear was even slower with relayd. The only thing I have not been able to figure out and this is probably an LEDE setup problem is how to pass ipv6 over the wds connection with WRT3200 to WRT3200. I had no problem with ipv6 using the netgear to WRT3200. Will have to check that out later. ntp works fine also.

Below are some iperf stats. Don't know if this is good or bad. Routers were about 30 feet apart with 4 walls separating the routers.

iperf -s

Server listening on TCP port 5001 TCP window size: 85.3 KByte (default)

[ 4] local 192.168.100.1 port 5001 connected with 192.168.100.193 port 50486 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.2 sec 186 MBytes 154 Mbits/sec [ 4] local 192.168.100.1 port 5001 connected with 192.168.100.193 port 50488 [ 4] 0.0-10.1 sec 88.9 MBytes 74.0 Mbits/sec [ 4] local 192.168.100.1 port 5001 connected with 192.168.100.193 port 50490 [ 4] 0.0-10.1 sec 144 MBytes 120 Mbits/sec [ 4] local 192.168.100.1 port 5001 connected with 192.168.100.193 port 50492 [ 4] 0.0-10.3 sec 104 MBytes 84.8 Mbits/sec [ 4] local 192.168.100.1 port 5001 connected with 192.168.100.193 port 50494 [ 4] 0.0-10.1 sec 97.6 MBytes 81.2 Mbits/sec [ 4] local 192.168.100.1 port 5001 connected with 192.168.100.193 port 50496 [ 4] 0.0-10.1 sec 129 MBytes 107 Mbits/sec [ 4] local 192.168.100.1 port 5001 connected with 192.168.100.193 port 50500 [ 4] 0.0-10.1 sec 157 MBytes 131 Mbits/sec

update: ipv6 is working it was a configuration problem.

gxgani commented 6 years ago

@spamtree could I know which LEDE build are you using?

yuhhaurlin commented 6 years ago

I change the version of driver to 10.3.4.0-20171214 and release this version of code to our QA for verification. This feature is done. I close this issue. If you find any problems, you can create new issue to track it.