[Banana BPI-R4] Wifi7 status

glad to hear ... thank you for testing
so there a couple of pulls still waiting to be reviewed/merged to snapshot
. crypto-eip
. mtk-soc-eth jumbo frames support

other changes unlikely

. SWIOTLB_DYNAMIC (to support WO)
. mtk-soc-eth - increase dma size from 2k to 4k
. overclock to 2.2Ghz (increases cpu temp by 1-2c)
. bbr-v3 from google (this is a separate pull that I haven't seen yet committed - unlikely perhaps until is upstreamed to linux)

Thanks :slight_smile:
I'm not sure jumbo frames will be used a lot but still, with these performance figures, maybe one day we will have wifi storage networks with jumbo :slight_smile:
One confusing thing is that for each radio, we can whoose between 2,4, 5 and 6 ( and also the bandwidth), is it normal that there is no "filter" on the display ?

each radio gets the list of their capabilities via iwinfo on luci so if they are showing the device should be capable ... maybe is something related with recent iwinfo / ucode changes

1 Like

I tested with your latest build and the same wireless config and I can't connect to any wifi bellow the logs :

Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: start SAE authentication (RX commit, status=126 (SAE_HASH_TO_ELEMENT))
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: SAE authentication (RX confirm, status=0 (SUCCESS))
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx MLME: MLME-AUTHENTICATE.indication(xx:xx:xx:xx:xx:xx, unknown)
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx MLME: MLME-DELETEKEYS.request(xx:xx:xx:xx:xx:xx)
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: PMKID found from PMKSA cache eap_type=0 vlan=0
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: association OK (aid 1)
Tue Dec  3 12:40:02 2024 daemon.info hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx MLME: MLME-ASSOCIATE.indication(xx:xx:xx:xx:xx:xx)
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx MLME: MLME-DELETEKEYS.request(xx:xx:xx:xx:xx:xx)
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: binding station to interface 'phy0.2-ap0'
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: event 1 notification
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: start authentication
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.1X: unauthorizing port
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: sending 1/4 msg of 4-Way Handshake
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: received EAPOL-Key frame (2/4 Pairwise)
Tue Dec  3 12:40:02 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: invalid MIC in msg 2/4 of 4-Way Handshake
Tue Dec  3 12:40:03 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: EAPOL-Key timeout
Tue Dec  3 12:40:03 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: sending 1/4 msg of 4-Way Handshake
Tue Dec  3 12:40:03 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: received EAPOL-Key frame (2/4 Pairwise)
Tue Dec  3 12:40:03 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: invalid MIC in msg 2/4 of 4-Way Handshake
Tue Dec  3 12:40:04 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: EAPOL-Key timeout
Tue Dec  3 12:40:04 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: sending 1/4 msg of 4-Way Handshake
Tue Dec  3 12:40:04 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: received EAPOL-Key frame (2/4 Pairwise)
Tue Dec  3 12:40:04 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: invalid MIC in msg 2/4 of 4-Way Handshake
Tue Dec  3 12:40:05 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: EAPOL-Key timeout
Tue Dec  3 12:40:05 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: sending 1/4 msg of 4-Way Handshake
Tue Dec  3 12:40:05 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: received EAPOL-Key frame (2/4 Pairwise)
Tue Dec  3 12:40:05 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: invalid MIC in msg 2/4 of 4-Way Handshake
Tue Dec  3 12:40:06 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: EAPOL-Key timeout
Tue Dec  3 12:40:06 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: PTKSTART: Retry limit 4 reached
Tue Dec  3 12:40:06 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: event 3 notification
Tue Dec  3 12:40:06 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.1X: unauthorizing port
Tue Dec  3 12:40:06 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx MLME: MLME-DEAUTHENTICATE.indication(xx:xx:xx:xx:xx:xx, 15)
Tue Dec  3 12:40:06 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx MLME: MLME-DELETEKEYS.request(xx:xx:xx:xx:xx:xx)
Tue Dec  3 12:40:07 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authentication OK (open system)
Tue Dec  3 12:40:07 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: event 0 notification
Tue Dec  3 12:40:07 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx MLME: MLME-AUTHENTICATE.indication(xx:xx:xx:xx:xx:xx, OPEN_SYSTEM)
Tue Dec  3 12:40:07 2024 daemon.info hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Tue Dec  3 12:40:07 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: PMKID found from PMKSA cache eap_type=0 vlan=0
Tue Dec  3 12:40:07 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: association OK (aid 1)
Tue Dec  3 12:40:07 2024 daemon.info hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)
Tue Dec  3 12:40:07 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx MLME: MLME-ASSOCIATE.indication(xx:xx:xx:xx:xx:xx)
Tue Dec  3 12:40:07 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx MLME: MLME-DELETEKEYS.request(xx:xx:xx:xx:xx:xx)
Tue Dec  3 12:40:07 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: binding station to interface 'phy0.2-ap0'
Tue Dec  3 12:40:07 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: event 1 notification
Tue Dec  3 12:40:07 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: sending 1/4 msg of 4-Way Handshake
Tue Dec  3 12:40:07 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: received EAPOL-Key frame (2/4 Pairwise)
Tue Dec  3 12:40:07 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: invalid MIC in msg 2/4 of 4-Way Handshake
Tue Dec  3 12:40:08 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: EAPOL-Key timeout
Tue Dec  3 12:40:08 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: sending 1/4 msg of 4-Way Handshake
Tue Dec  3 12:40:08 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: received EAPOL-Key frame (2/4 Pairwise)
Tue Dec  3 12:40:08 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: invalid MIC in msg 2/4 of 4-Way Handshake
Tue Dec  3 12:40:09 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: EAPOL-Key timeout
Tue Dec  3 12:40:09 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: sending 1/4 msg of 4-Way Handshake
Tue Dec  3 12:40:09 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: received EAPOL-Key frame (2/4 Pairwise)
Tue Dec  3 12:40:09 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: invalid MIC in msg 2/4 of 4-Way Handshake
Tue Dec  3 12:40:10 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: EAPOL-Key timeout
Tue Dec  3 12:40:10 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: sending 1/4 msg of 4-Way Handshake
Tue Dec  3 12:40:10 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: received EAPOL-Key frame (2/4 Pairwise)
Tue Dec  3 12:40:10 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: invalid MIC in msg 2/4 of 4-Way Handshake
Tue Dec  3 12:40:11 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: EAPOL-Key timeout
Tue Dec  3 12:40:11 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: PTKSTART: Retry limit 4 reached
Tue Dec  3 12:40:11 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx WPA: event 3 notification
Tue Dec  3 12:40:11 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.1X: unauthorizing port
Tue Dec  3 12:40:11 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx MLME: MLME-DEAUTHENTICATE.indication(xx:xx:xx:xx:xx:xx, 15)
Tue Dec  3 12:40:11 2024 daemon.debug hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx MLME: MLME-DELETEKEYS.request(xx:xx:xx:xx:xx:xx)
Tue Dec  3 12:40:16 2024 daemon.info hostapd: phy0.2-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to local deauth request

i have this issue sometimes after a reboot but eventually it settles haven't found out why it happens. Have you tried to connect to the other radios or/and with different clients.

I can connect to radio0 and radio1 if I set encryption to WPA2 but not to radio2 with WPA3. Some time also I can't connect to radio1 with WPA2.

are you using a new ssid ... or are the clients using an existing ssid / password ... try to forget the network and then re-connect ..

Sorry if the question is dumb, but how did you flashed it on sdcard ?

I did the same command I do with the firmware selector image

dd if=rmandrad-build-sdcard.img.gz of=/dev/sdc bs=4096 status=progress

but it doesn't boot and console shows these lines

a cfdisk of the sdcard tells that the device already contains a gpt signature, as for standard firmware selector image I can see the partition layout

Thanks for any help provided :pray:

you can use https://docs.banana-pi.org/en/BPI-R4/GettingStarted_BPI-R4#_wi_fi7_nic as a guide

otherwise just use openwrt snapshot version image and then sysupgrade

Unzipping the archive before flashing it to sdcard helped :sweat_smile:

I'm gonna test your build and report back :wink:

nice to see apk working fine btw !

1 Like

Does this config work like mlo, or is it too early to talk about it?

Good evening, tomorrow I will upload the post calmly, the image is corrupted

no MLO i am afraid

I made a clone of your openwrt project to rebuild the project with the packages I need. But your project does not compile. How to build your project correctly?

From my testing of your build from 3 December morning, adding these lines to the 5Ghz network make it available, and I could verify that it is not solving yet the range issue some of us on this thread are encountering

It is very frustrating to see that my ISP router works great behind the outside wall of my house but not the BPI-R4 :sweat_smile:

I've got no way right now to test 6GHZ band

Anyway thanks for your work @rmandrad let's hope new mediatek firmwares will solve this range issue in the future

1 Like

what is the error you are getting ? i personally suggest you don't built it yourself unless you know what you are doing (no offense here :wink: ) ...

I will push the kernel config to my repo shortly just in case it is related... but I am very sorry I will not be able to help on the basics of compiling openwrt as I don't have bandwidth nor I think is the topic of this thread.

Just compiled the latest git from rmandrad bananapi4 branch as of right now and can confirm that wifi connects at correct speeds! This is the first time that I have had wifi connect faster than 60 Mbps on wifi 6. I can't test wifi 7. I was getting over 1200Mbps on wifi... My ISP gives me 2000 up and down. Huge improvement, Thanks

Good evening, here I leave you this version LuCI Master (24.337.27339~b1968d9) / mda-bananapi4-main-openwrt 6.6.63-12 (r28268-d4d161b8f3)

openwrt-mediatek-filogic-bananapi_bpi-r4-sdcard.IMG.gz

Kernel version 6.6.58, the only thing I have done is the update to version 6.6.63 (r28268-d4d161b8f3), to be able to use the new way of installing apk packages, I have used the rmandrad version, since it seems to me a good version graphically and packages that it already has installed.

The image is to record on sd, it is enabled to download apk, all the antennas are functional as they should work, 320 mhz -160 mhz in the countries that use wifi 7 in all the countries that use it and the speeds are what we all expect.

As you can see, the version where the antennas are configured is the old version, it is not the one you had in your version.

I also leave a backup, so that in case you do a factory reset, you can reload the configuration so that the image is as if you had just recorded it again. Once the backup is inserted, if it does not restart directly, wait about 15 seconds and do it via the web with the reboot, when it starts again it will be as you put it the first time.

apk-backup-OpenWrt-2024-12-04.tar.gz

save the image to sd as it is made to be used on sd.

192.168.1.1 has no password, put the one you use.

All antennas are active as OpenWrt-6g, OpenWrt-5g, OpenWrt-2g, password for all antennas 12345678.

6G band activated at 320 mhz, 5g band at 160 mhz, 2g band at 20 mhz, all work perfectly, default country Singapore, but put the one you want to use.

The speeds are what they should be, no problem. This image is not mine, I have just adapted it so that we can enjoy WiFi 7, and be able to enjoy the WiFi speeds that we all expect.

The Mlo function is not implemented

I hope you enjoy it.

3 Likes

Thank you - a really helpful contribution. Downloaded, flashed and running perfectly on my BPI-R4. Able to connect on WiFi6 from iPhone 15Pro.
Very much appreciated.

It was a general error that the compiler reported at the end of compilation. I don't see any point in posting the entire sheet of compiler output. And I didn't save it. But what confused me more, your assembly complained about the absence of wayland. Are you using it on banana?