Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1607 - [R8000] No Wifi at all (5G and 2G) #6647

Closed
openwrt-bot opened this issue Jun 23, 2018 · 14 comments
Closed

FS#1607 - [R8000] No Wifi at all (5G and 2G) #6647

openwrt-bot opened this issue Jun 23, 2018 · 14 comments
Labels

Comments

@openwrt-bot
Copy link

manusfreedom:

No Wifi (5G and 2G) on Netgear R8000.
My previous compiled version has no problem (2018-06-07).

Maybe last changes on brcmfmac have some problems.

When I do "iw phy phy0 channels" and "iw phy phy2 channels", I get only 2G channel instead of 5G for both.

@openwrt-bot
Copy link
Author

rfr:

Same here with a build from openwrt-18.06 wrt 5GHz radios, but the 2.4GHz radio somewhat works, very very slowly. I can't switch the 5GHz radios to AC mode no matter what I try (I previously opened FS#535, same router, I'm using US country code).

@openwrt-bot
Copy link
Author

adityaxavier:

Can you check this configuration, this is working perfectly for me.

config wifi-device 'radio0' option type 'mac80211' option hwmode '11a' option path '18000000.axi/bcma0:7/pci0000:00/0000:00:00.0/0000:01:00.0' option txpower '20' option htmode 'VHT80' option country 'US' option legacy_rates '1' option channel '149'

config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'Wifi5G2'
option key 'password'
option encryption 'psk2'

config wifi-device 'radio1'
option type 'mac80211'
option hwmode '11g'
option path '18000000.axi/bcma0:8/pci0001:00/0001:00:00.0/0001:01:00.0/0001:02:01.0/0001:03:00.0'
option htmode 'HT40'
option txpower '20'
option country '00'
option channel '6'
option legacy_rates '0'

config wifi-iface
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'Wifi24G'
option key 'password'
option encryption 'psk2'

config wifi-device 'radio2'
option type 'mac80211'
option hwmode '11a'
option path '18000000.axi/bcma0:8/pci0001:00/0001:00:00.0/0001:01:00.0/0001:02:02.0/0001:04:00.0'
option legacy_rates '1'
option txpower '20'
option channel '40'
option htmode 'VHT80'
option country 'US'

config wifi-iface
option device 'radio2'
option network 'lan'
option mode 'ap'
option ssid 'Wifi5G1'
option key 'password'
option encryption 'psk2'

@openwrt-bot
Copy link
Author

manusfreedom:

Not better.
I reset the wifi config using:
rm -f /etc/config/wireless
wifi config

What I got in config
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path '18000000.axi/bcma0:7/pci0000:00/0000:00:00.0/0000:01:00.0'
option htmode 'HT20'
option disabled '1'

config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'

config wifi-device 'radio1'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path '18000000.axi/bcma0:8/pci0001:00/0001:00:00.0/0001:01:00.0/0001:02:01.0/0001:03:00.0'
option htmode 'HT20'
option disabled '1'

config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'

config wifi-device 'radio2'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path '18000000.axi/bcma0:8/pci0001:00/0001:00:00.0/0001:01:00.0/0001:02:02.0/0001:04:00.0'
option htmode 'HT20'
option disabled '1'

config wifi-iface 'default_radio2'
option device 'radio2'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'

So, unable to detect correctly wifi 5G (11a not 11g)

@openwrt-bot
Copy link
Author

manusfreedom:

And below with the previous update (2018-06-07):

config wifi-device 'radio0'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path '18000000.axi/bcma0:7/pci0000:00/0000:00:00.0/0000:01:00.0'
option htmode 'VHT80'
option disabled '1'

config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'

config wifi-device 'radio1'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path '18000000.axi/bcma0:8/pci0001:00/0001:00:00.0/0001:01:00.0/0001:02:01.0/0001:03:00.0'
option htmode 'HT20'
option disabled '1'

config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'

config wifi-device 'radio2'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path '18000000.axi/bcma0:8/pci0001:00/0001:00:00.0/0001:01:00.0/0001:02:02.0/0001:04:00.0'
option htmode 'VHT80'
option disabled '1'

config wifi-iface 'default_radio2'
option device 'radio2'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'

@openwrt-bot
Copy link
Author

adityaxavier:

Can you try doing a firstboot and copy paste my configuration ? Because there are few issues with your configuration...

  1. Radio0 is supposed to be a higher band 5G network, i.e 147+
  2. From some time in trunk releases, recreating the wifi config puts the Channel as Auto.. so am not sure whats happening.

Please try the RC1 release as thats what am running right now.

@openwrt-bot
Copy link
Author

manusfreedom:

I confirm no problem with RC1.

I am compiling last trunk to test.

@openwrt-bot
Copy link
Author

rfr:

Yes, same here, going back to v18.06.0-rc1 fixes it.

Probably something wrong with the round of v4.17/v4.18 brcmfmac backports that went in just after RC1?

@openwrt-bot
Copy link
Author

adityaxavier:

I agree.. 18.06.0-rc2 has problems with Wifi 5G.

18.06.0-rc1 has all three (2G + 5G) wifi working.

18.06.0-rc2 only has 2G wifi working. 5G is listed as only capable of Legacy / N in luci. Using the same configuration as 18.06.0-rc1 doesn't have 5G wifi working.

@openwrt-bot
Copy link
Author

andy-vdg:

Can confirm the same with 18.06.0-rc2. Tried to flash my Nighthawk X6 R8000 last night and could only select Legacy / N in luci. Downgraded to 18.06.0-rc1 which had the same problem. Not sure how others here seem to have gotten RC1 working. I flashed with erasing configuration.
Downgraded further to 17.01.4 which works fine.
Could be related to task_id=1665

@openwrt-bot
Copy link
Author

rmilecki:

This is a regression caused by the commit 2811c97 ("mac80211: backport brcmfmac firmware & clm_blob loading rework").

@openwrt-bot
Copy link
Author

rmilecki:

Fix sent for the wireless-drivers-next git tree:
[[https://patchwork.kernel.org/patch/10539435/|[PATCH] brcmfmac: fix regression in parsing NVRAM for multiple devices]]

@openwrt-bot
Copy link
Author

manusfreedom:

I am compiling trunk with this change:
package/kernel/mac80211/patches/327-v4.17-0008-brcmfmac-introduce-brcmf_fw_alloc_request-function.patch
########################## Line 133 (add the + 1)
fwreq->domain_nr = pci_domain_nr(devinfo->pdev->bus) + 1;
##########################

To confirm or not.

@openwrt-bot
Copy link
Author

manusfreedom:

I confirm it works with last trunk version and the "+ 1".

@openwrt-bot
Copy link
Author

rmilecki:

Fixed by:

  • [master] b26214a ("mac80211: backport brcmfmac fixes & debugging helpers from 4.18")
  • [openwrt-18.06] 29aab93 ("mac80211: backport brcmfmac fixes & debugging helpers from 4.18")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant