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 7 years ago

does it mean wds sta / ap 4 address mode works now?

yuhhaurlin commented 7 years ago

No. I create this one to track this job

GillyMoMo commented 7 years ago

What's the status on this? What part of the code do I need to look at and possibly compare it to get this working right?

yuhhaurlin commented 7 years ago

This feature won't be done quickly.

gufus commented 7 years ago

@yuhhaurlin

Maybe soon...

Please :-)

yuhhaurlin commented 7 years ago

Busy on other projects. Will implement this feature later. Sorry.

gufus commented 7 years ago

Okay.

Thanks, hopefully WDS is on top of your todo pile. :-)

ad019 commented 7 years ago

Can we expect something will be done on WDS and MU-MIMO this year? Or will Marvell keep pushing these features into the future and keep dangling a carrot that they are "committed" to this product?

yuhhaurlin commented 7 years ago

Sure.

GillyMoMo commented 7 years ago

Like with the 1900ACv1, it'll take time before this matures. I remain in no rush for this. As before we are at the whim of Marvell as usual.

tapper82 commented 7 years ago

How long do we have to wait? Is any work being dun on this driver any more?

ad019 commented 7 years ago

Not long now I think. Now that the 32X is out and being based on OpenWRT, probably has the same driver as 3200acm, Marvell will have to resolve the pending issues.

gufus commented 7 years ago

From: ad019 [mailto:notifications@github.com] Sent: Thursday, September 21, 2017 9:40 PM To: kaloz/mwlwifi Cc: gufus; Comment Subject: Re: [kaloz/mwlwifi] WDS support for Rango (WRT3200ACM) (#182)

Not long now I think.

We'll see...

You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

BrainSlayer commented 7 years ago

@ad019 the wrt32x uses openwrt but does not use mwlwifi. it still uses the good old propertiery driver which has been used in the original firmware for the wrt3200acm

yuhhaurlin commented 7 years ago

Yes. WRT32x uses proprietary driver. Mwlwifi is mac80211 driver and it can support all Marvell chips for WRT series driver. It is open source. Proprietary driver of WRT32x is dedicated driver for 88W8964. It is up to you to decide to use which driver.

yuhhaurlin commented 7 years ago

In fact, it is the same driver used by stock firmware and Marvell ports it to work with OpenWrt.

BrainSlayer commented 7 years ago

@yuhhaurlin i have seen that the firmware blob in this WRT32X for the chipset is a little bit newer and has slightly different code in it. is there anything changed in it which is usefull for mwlwifi? i'm testing this binary right now with mwlwifi on my wrt3200acm

yuhhaurlin commented 7 years ago

No. Mwlwifi is mac80211 driver, it can support more features. BTW, for previous memory shortage problem, it is fixed by mwlwifi first.

BrainSlayer commented 7 years ago

i was talking about the W8889.bin file which is slightly different in the WRT32X version.

yuhhaurlin commented 7 years ago

I have no idea about W8889.bin! If WRT32X uses this binary, then maybe I am wrong. Sorry.

BrainSlayer commented 7 years ago

nono. it uses the propertiery driver, but for sure it uses the same firmware binary format like mwlwifi, but the WRT32X has a newer version of it. but doesnt look much different from the content

yuhhaurlin commented 7 years ago

Yes. There is new version of firmware for 88W8964.

BrainSlayer commented 7 years ago

yea. sorry typo from my side. do you know if there is any change in this firmware? or lets say do you know whats has been changed?

yuhhaurlin commented 7 years ago

Our QA is pretty busy. If community wants to test new version of firmware, I can do basic test next week and push it to here for you to do test.

BrainSlayer commented 7 years ago

i already tested it. so far it works. no negative effects here in my current environment.

yuhhaurlin commented 7 years ago

What is the version number?

BrainSlayer commented 7 years ago

for the wifi firmware or what?

yuhhaurlin commented 7 years ago

Firmware.

BrainSlayer commented 7 years ago

8006.img version: B4.18.01 Jun 2 2017 04:52:13 Copyright (c) 2007, 2009-2015 by Cisco Systems, Inc

BrainSlayer commented 7 years ago

same version string has in the previous version

BrainSlayer commented 7 years ago

driver reports [ 4.031097] ieee80211 phy0: fw download start [ 4.031101] ieee80211 phy0: ddr init: download start [ 4.031479] ieee80211 phy0: ddr init: download complete [ 4.168238] ieee80211 phy0: FwSize = 447616 downloaded Size = 447616 curr_ite ration 65522 [ 7.037377] ieee80211 phy0: fw download complete [ 7.050209] ieee80211 phy0: pcmd = de62c000 [ 7.067420] ieee80211 phy0: firmware version: 0x9030008 [ 7.295385] ieee80211 phy0: firmware region code: 10 [ 7.325027] ieee80211 phy0: 2G enabled, 5G enabled [ 7.329845] ieee80211 phy0: 4 TX antennas, 4 RX antennas [ 7.335255] pci 0000:00:02.0: enabling device (0140 -> 0142) [ 7.341035] ieee80211 phy1: priv->pcmd_buf = da3fc000 priv->pphys_cmd_buf = 1a3fc000 [ 7.347674] ieee80211 phy1: fw download start [ 7.347679] ieee80211 phy1: ddr init: download start [ 7.348060] ieee80211 phy1: ddr init: download complete [ 7.487829] ieee80211 phy1: FwSize = 447616 downloaded Size = 447616 curr_ite ration 65527 [ 8.681374] ieee80211 phy1: fw download complete [ 8.694183] ieee80211 phy1: pcmd = da3fc000 [ 8.710395] ieee80211 phy1: firmware version: 0x9030008 [ 8.848381] ieee80211 phy1: firmware region code: 10 [ 8.870970] ieee80211 phy1: 2G enabled, 5G disabled [ 8.875894] ieee80211 phy1: 4 TX antennas, 4 RX antennas

yuhhaurlin commented 7 years ago

cat /sys/kernel/debug/ieee80211/phy0/mwlwifi/info.

BrainSlayer commented 7 years ago

driver name: mwlwifi chip type: 88W8964 hw version: 7 driver version: 10.3.4.0-20170810 firmware version: 0x09030008 power table loaded from dts: no firmware region code: 0x10 mac address: 14:91:82:b9:16:d4 2g: enable 5g: enable antenna: 4 4 irq number: 46 ap macid support: 0000ffff sta macid support: 00010000 macid used: 00010000 radio: enable iobase0: e0c00000 iobase1: e0e80000 tx limit: 1024 rx limit: 16384

yuhhaurlin commented 7 years ago

All right, I will push 9.3.0.8 to here next week. However, it won't be tested by our QA.

yuhhaurlin commented 7 years ago

@BrainSlayer Please help to test version 9.3.0.8 of 88W8964 firmware via https://drive.google.com/open?id=0B3qLWtcWB9EdWU9vM09QRy1Bc00.

thagabe commented 7 years ago

Wait, since the 32X will run on openwrt can we port the killer engine to lede on the 3200acm? Gamer here.

ghost commented 7 years ago

You should ask in LEDE forums, this is for the Wi-Fi driver only.

On Sep 24, 2017 10:53 PM, "Gabe Rodriguez" notifications@github.com wrote:

Wait, since the 32X will run on openwrt can we port the killer engine to lede on the 3200acm? Gamer here.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kaloz/mwlwifi/issues/182#issuecomment-331771126, or mute the thread https://github.com/notifications/unsubscribe-auth/ARIphDqVf-uDidiyz6E8xJ510bC4CC0_ks5slyPMgaJpZM4OMG1Z .

BrainSlayer commented 7 years ago

@thagabe there is no killer engine. the so called killer feature is just a set of qos rules. i checked this already

s-pimenta commented 7 years ago

@thagabe Marketing...

eduperez commented 7 years ago

@yuhhaurlin : If you push the source code for 9.3.0.8, in a branch here, or even in a fork, I could make packages for the stable version of LEDE, so more people can test the new drivers, without having to reinstall the whole system from scratch.

yuhhaurlin commented 7 years ago

9.3.0.8 is binary firmware of 88W8964. I will do basic test and push to here. LEDE is pretty stable now.

gufus commented 7 years ago

From: yuhhaurlin [mailto:notifications@github.com] Sent: Monday, September 25, 2017 3:19 PM To: kaloz/mwlwifi Cc: gufus; Comment Subject: Re: [kaloz/mwlwifi] WDS support for Rango (WRT3200ACM) (#182)

9.3.0.8 is binary firmware of 88W8964. I will do basic test and push to here. LEDE is pretty stable now.

Nice to see work being done on this issue. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

yuhhaurlin commented 7 years ago

This is not related to WDS.

tapper82 commented 7 years ago

Is any one still working on this driver? Any news any update? the people would like to no.

nitroshift commented 7 years ago

@yuhhaurlin

Been running the 9.3.0.8 firmware on LEDE for over a week now without any issues. You can commit it in the official repo.

nitroshift

yuhhaurlin commented 7 years ago

Thanks. I will check in on10/11.

spamtree commented 6 years ago

Question:

I see this is still listed as open. Was WDS implemented?

Thanks

yuhhaurlin commented 6 years ago

This feature is under development now.

ad019 commented 6 years ago

Does this development also include MU-MIMO?

yuhhaurlin commented 6 years ago

No. MU-MIMO will be done later.