[Banana BPI-R4] Wifi7 status

i have done it via rc.local instead of directly via the module load

I can't find any wed dts definitions though... however the 5.4 kernel has!

echo "Y" > /sys/module/mt7996e/parameters/wed_enable
/sbin/smp-mt76.sh

been investigating the be200 / intel not been able to find the banana radio2 wifi7 and noticed if I scan the network I get

Country: US     Environment: bogus

this is very odd ... as I would be expecting Environment: Indoor/Outdoor

I forced the mac80211.sh script to pass country3=0x20 and still shows bogus!

the radio1 (5g) shows environment indoor/outdoor as it should

1 Like

Idk if it helps, but here are my findings.

I noticed low speeds and disconnects on my earlier configuration tries. Changed 5 & 6 ghz to WPA3 (now sae, was mixed sae before). And after that at least wifi 6 is working, and get up to my max internet speed via wifi (900mbps up&down).

My current issue is: I do see a 6ghz band in the wifi scanner op my phone, but the wifi connection is not marked as 5G/6G in Android. Also when connected on my phone and laptop (which should both support at least 6E) they both show only 5Ghz band and just Wifi 6.

When I separate SSID on the different radio's i noticed my laptop doesnt see the 6ghz one (i guess it must be BE200). And Android still doesnt show me 6 ghz or 6E.

It looks to me something is off with 6ghz. I am on the mda-bananapi4-openwrt 6.6.50 10 / LuCI Master 24.258.18373~e592652 build right now.

Ps: ipv6 also doesnt work right now (worked before using snapshot), could also be my lack of knowledge with ipv6. Would love also to get some suggestions here

I usually run script:

if ! grep -q wed_enable /etc/modules.conf ; then echo "options mt7996e wed_enable=Y" >> /etc/modules.conf; fi

after reboot I have Y in /sys/module/mt7996e/parameters/wed_enable , but the wireless network does not work.
If it works on your side, it means that I need to check it once again :smiley:

@gvisser5 why don't you include /etc/config/wireless config file here? It is hard to say what can be an issue.
It was mentioned here already: it is better right now to put HE160 instead of EHT320, because EHT320 requires to change the country to e.g. JP and the speeds for HE got better results

I did notice that changing the country code to JP and back didn't change a thing.

I am not sure if this is correct, I am looking for WiFi 6E / WiFi 7 support. The 'be' option is available on all radio's,but it only seems to work on radio4. I have configured:

  • radio0 as 'n'
  • radio1 as 'ax'
  • radio4 as 'be'

I tried to follow your post and tried to copy the configuration from it. However I reverted back to just 802.11r Fast Transition for all WiFi interfaces because I was using that already for everything at home. See [Banana BPI-R4] Wifi7 status - #142 by danpawlik

My current config is:

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option country 'NL'
        option cell_density '0'
        option htmode 'HT40'
        option band '2g'
        option channel '8'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0+1'
        option htmode 'HE160'
        option country 'NL'
        option cell_density '0'
        option band '5g'
        option channel '120'

config wifi-device 'radio4'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0+2'
        option htmode 'EHT160'
        option country 'NL'
        option cell_density '0'
        option band '6g'
        option channel '1'

config wifi-iface 'wifinet0'
        option device 'radio0'
        option mode 'ap'
        option ssid 'Michiel de Router'
        option encryption 'sae-mixed'
        option key 'mysecretpassword'
        option ocv '0'
        option network 'lan'
        option ieee80211r '1'
        option ft_over_ds '0'

config wifi-iface 'wifinet1'
        option device 'radio1'
        option mode 'ap'
        option ssid 'Michiel de Router'
        option encryption 'sae'
        option key 'mysecretpassword'
        option ieee80211r '1'
        option ft_over_ds '0'
        option ocv '0'
        option network 'lan'

config wifi-iface 'wifinet2'
        option device 'radio4'
        option mode 'ap'
        option ssid 'Michiel de Router'
        option encryption 'sae'
        option key 'mysecretpassword'
        option ocv '0'
        option network 'lan'
        option ieee80211r '1'
        option ft_over_ds '0'

Edit: my laptop adapter is not Intel be200, its MediaTek Wi-Fi 6E MT7922 (RZ616) 160MHz PCIe Adapter

You are onto something, that's probably what prevents the BE200 from connecting to the 6Ghz access point. I wonder where the environment setting is defined.

1 Like

i will need to check "iw" as maybe hasn't been upgraded to support 11be but yes it is weird

1 Like

The 6Ghz band isn't visible on the BE200 using AX mode either unfortunately.

Snapshots from OpenWRT now contains updated Hostapd (2024-09-15), as of right now the Banana pi R4 has not been updated to the latest snapshot but that will probably happen in a day or 2.

1 Like

I spotted an issue, but for 6GHz, when 320MHz was set, that if something has been connected to 5GHz network, I was not able to connect to 6GHz (but I was able to see that network).
Could you set (base on that):

uci set wireless.default_radio1.log_level=1
uci set wireless.default_radio2.log_level=1
uci commit wireless
wifi up 
# or reboot router after commit

and paste the logs here.

That's what I already reported here

Created a build that includes @rmandrad patch (special thanks to @rmandrad for doing that!) for Luci (and related projects to that).
Build with my main_router packages is here

I triggered version with modemmanager,fail2ban etc. Should be available soon.

@rmandrad so far, I can say you have done good job. There are few things missing, but I think here is not a place for such discussion - it should be done directly in the PR

5 Likes

thx @danpawlik

I opened a separate pull https://github.com/openwrt/luci/pull/7279 for luci noting the dependencies on rpcd and iwinfo. Also, found the pull you mentioned had a few more bugs/issues.

I can't see anyone looking after rpcd ...

2 Likes

so been hunting this "bogus" environment reported by iw dev scan on radio2 and can see is set by iw to "bogus" when country_env_str(data[2]) hasn't been set.

Even if I set the country3 third octet to 0x20 (indoor/outdoor) on hostpad (dot11CountryString) it still shows "bogus".

So it needs to be something on the mt76 / mt7996 code.

this maybe a red herring @nbd would you know ? the radio2 for the mt7996 when set to 6ghz / 11be shows bogus when doing a iw dev scan ... would this be a reason for intel be200 not finding radio2 ? I can connect if using mt7925

2 Likes

Is BE320 still limitting bandwith ? Seem like maximum I can get is below 200Mbit, AX is using whole available.

yes about the same here .. with 320mhz width

2 Likes

I think u need to add kmod usb serial to let ur system detect modems for modem manager
its interesting looking to hear the news :+1:

Will you release a new PR?

Added CONFIG_PACKAGE_kmod-usb-serial-wwan=y + triggered build.
Should be available soon.

Edit. build is available now

BTW, if someone want to check the wireless network speed, it is better to use iperf3 or librespeed-go (I also put screen from nperf, which was not showing current results). The last one gives nice output via web browser.
Example result - 5GHz, 160MHz, 1 wall, AX:

6 Likes