[Banana BPI-R4] Wifi7 status

Hi

I tried latest snapshot the WIFI 7 160mhz 320mhz are not working ,, similer to 12.5.4 is not working

any advise or guide ...

Sure, but you need to share config and logs, otherwise no chance

Thanks ,, please find these details


root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
option type 'mac80211'
option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option radio '0'
option band '5g'
option channel 'auto'
option htmode 'VHT40'
option country 'SA'
option cell_density '0'

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

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

config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt-5g'
option encryption 'sae'
option key 'q1234567'

config wifi-device 'radio2'
option type 'mac80211'
option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option radio '2'
option band '6g'
option channel 'auto'
option htmode 'EHT80'
option country '00'

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

root@OpenWrt:~# wifi status
{
"radio0": {
"up": true,
"pending": false,
"autostart": true,
"disabled": false,
"retry_setup_failed": false,
"config": {
"type": "mac80211",
"band": "5g",
"cell_density": 0,
"channel": "auto",
"country": "SA",
"htmode": "VHT40",
"path": "soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0",
"radio": 0
},
"interfaces": [
{
"section": "default_radio0",
"config": {
"network": [
"lan"
],
"device": [
"radio0"
],
"mode": "ap",
"encryption": "none",
"ssid": "OpenWrt-2g",
"radios": [
0
]
},
"ifname": "phy0.0-ap0",
"vlans": [

                            ],
                            "stations": [

                            ]
                    }
            ]
    },
    "radio1": {
            "up": true,
            "pending": false,
            "autostart": true,
            "disabled": false,
            "retry_setup_failed": false,
            "config": {
                    "type": "mac80211",
                    "band": "5g",
                    "cell_density": 0,
                    "channel": "36",
                    "country": "SA",
                    "htmode": "HE160",
                    "path": "soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0",
                    "radio": 1
            },
            "interfaces": [
                    {
                            "section": "default_radio1",
                            "config": {
                                    "network": [
                                            "lan"
                                    ],
                                    "device": [
                                            "radio1"
                                    ],
                                    "mode": "ap",
                                    "encryption": "sae",
                                    "key": "q1234567",
                                    "ssid": "OpenWrt-5g",
                                    "radios": [
                                            1
                                    ]
                            },
                            "ifname": "phy0.1-ap0",
                            "vlans": [

                            ],
                            "stations": [

                            ]
                    }
            ]
    },
    "radio2": {
            "up": true,
            "pending": false,
            "autostart": true,
            "disabled": false,
            "retry_setup_failed": false,
            "config": {
                    "type": "mac80211",
                    "band": "6g",
                    "channel": "auto",
                    "country": "00",
                    "htmode": "EHT80",
                    "path": "soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0",
                    "radio": 2
            },
            "interfaces": [

            ]
    }

}
root@OpenWrt:~# iwinfo
phy0.0-ap0 ESSID: "OpenWrt-2g"
Access Point: 96:b0:94:7c:d6:55
Mode: Master  Channel: 0 (unknown GHz)  HT Mode: VHT40
Center Channel 1: unknown 2: unknown
Tx-Power: 0 dBm  Link Quality: 70/70
Signal: 0 dBm  Noise: -100 dBm
Bit Rate: unknown
Encryption: none
Type: nl80211  HW Mode(s): 802.11be/ax/ac/n
Hardware: 0x14c3:0x7990 0x14c3:0x6639 [MediaTek MT7996E]
TX power offset: none
Channel offset: none
Supports VAPs: yes  PHY name: phy0

phy0.1-ap0 ESSID: "OpenWrt-5g"
Access Point: 96:b0:94:7c:d6:55
Mode: Master  Channel: 0 (unknown GHz)  HT Mode: HE160
Center Channel 1: unknown 2: unknown
Tx-Power: 0 dBm  Link Quality: 70/70
Signal: 0 dBm  Noise: -100 dBm
Bit Rate: unknown
Encryption: SAE / SAE-EXT-KEY (GCMP-256 CCMP)
Type: nl80211  HW Mode(s): 802.11be/ax/ac/n
Hardware: 0x14c3:0x7990 0x14c3:0x6639 [MediaTek MT7996E]
TX power offset: none
Channel offset: none
Supports VAPs: yes  PHY name: phy0

root@OpenWrt:~# logread | grep -E "hostapd|wifi"
Fri Jun 26 21:12:42 2026 kern.info kernel: [    2.334889] FIT:          flat_dt sub-image 0x00656000..0x006580ca "fdt-mt7988a-bananapi-bpi-r4-wifi-be14" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-wifi-be14)
Fri Jun 26 21:12:44 2026 daemon.notice hostapd: Set MLD config: 

Fri Jun 26 21:12:44 2026 daemon.notice hostapd: Set new config for phy phy0.0:
Fri Jun 26 21:12:47 2026 daemon.notice netifd: radio0 (4402): wifi-scripts: Starting
Fri Jun 26 21:12:57 2026 daemon.notice hostapd: Set new config for phy phy0.0: /var/run/hostapd-phy0.0.conf
Fri Jun 26 21:12:57 2026 daemon.notice hostapd: Restart interface for phy phy0.0
Fri Jun 26 21:12:57 2026 daemon.notice hostapd: Configuration file:  (phy phy0.0) --> new PHY
Fri Jun 26 21:12:57 2026 daemon.notice hostapd: Configuration file: Reading configuration file ''
Fri Jun 26 21:12:57 2026 daemon.err hostapd: Line 7: Invalid country_code '00'
Fri Jun 26 21:12:57 2026 daemon.err hostapd: Cannot enable IEEE 802.11d without setting the country_code
Fri Jun 26 21:12:57 2026 daemon.err hostapd: 2 errors found in configuration file ''
Fri Jun 26 21:12:57 2026 daemon.notice hostapd: hostapd.add_iface failed for phy phy0.0 ifname=phy0.0-ap0
Fri Jun 26 21:12:57 2026 daemon.notice netifd: radio0 (4402): wifi-scripts: Configuring 'phy0' txantenna: 4294967295, rxantenna: 4294967295 distance: 0
Fri Jun 26 21:12:57 2026 daemon.notice netifd: radio0 (4402): wifi-scripts: Preparing interface: phy0.0-ap0 with MAC: 96:b0:94:7c:d6:55
Fri Jun 26 21:12:57 2026 daemon.notice netifd: radio1 (6921): wifi-scripts: Starting
Fri Jun 26 21:12:57 2026 daemon.notice hostapd: Set new config for phy phy0.1:
Fri Jun 26 21:12:57 2026 daemon.notice hostapd: Set new config for phy phy0.1: /var/run/hostapd-phy0.1.conf
Fri Jun 26 21:12:57 2026 daemon.notice hostapd: Restart interface for phy phy0.1
Fri Jun 26 21:12:57 2026 daemon.notice hostapd: Configuration file:  (phy phy0.1) --> new PHY
Fri Jun 26 21:12:57 2026 daemon.notice hostapd: Configuration file: Reading configuration file ''
Fri Jun 26 21:12:57 2026 daemon.err hostapd: Line 7: Invalid country_code '00'
Fri Jun 26 21:12:57 2026 daemon.err hostapd: Cannot enable IEEE 802.11d without setting the country_code
Fri Jun 26 21:12:57 2026 daemon.err hostapd: 2 errors found in configuration file ''
Fri Jun 26 21:12:57 2026 daemon.notice hostapd: hostapd.add_iface failed for phy phy0.1 ifname=phy0.1-ap0
Fri Jun 26 21:12:57 2026 daemon.notice netifd: radio1 (6921): wifi-scripts: Configuring 'phy0' txantenna: 4294967295, rxantenna: 4294967295 distance: 0
Fri Jun 26 21:12:57 2026 daemon.notice netifd: radio1 (6921): wifi-scripts: Preparing interface: phy0.1-ap0 with MAC: 96:b0:94:7c:d6:65
Fri Jun 26 21:12:57 2026 daemon.notice netifd: radio2 (6960): wifi-scripts: Starting
Fri Jun 26 21:12:57 2026 daemon.notice hostapd: Set new config for phy phy0.2:
Fri Jun 26 21:12:57 2026 daemon.notice hostapd: Set new config for phy phy0.2:
Fri Jun 26 21:12:57 2026 daemon.notice netifd: radio2 (6960): wifi-scripts: Configuring 'phy0' txantenna: 4294967295, rxantenna: 4294967295 distance: 0
Fri Jun 26 21:14:39 2026 daemon.notice hostapd: Set MLD config: 

root@OpenWrt:~# dmesg | grep -E "mt76|wlan|wifi|firmware"
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    2.334889] FIT:          flat_dt sub-image 0x00656000..0x006580ca "fdt-mt7988a-bananapi-bpi-r4-wifi-be14" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-wifi-be14)
root@OpenWrt:~# ps | grep hostapd
3741 root      2360 S    {hostapd} /sbin/ujail -t 5 -n hostapd -U network -G network -C /etc/capabilities/wpad.json -c -- /usr/sbin/hostapd -s -g /var/run/hos
3764 network   3968 S    /usr/sbin/hostapd -s -g /var/run/hostapd/global
9553 root      1340 S    grep hostapd

Also I tried this ,
For Fix WiFi BPI-R4 issue but still not work

vi script.sh

overlay="mt7988a-bananapi-bpi-r4-wifi-be14"
current="$(fw_printenv -n bootconf_extra 2>/dev/null)"
if [ -n "${current}" ]; then
fw_setenv bootconf_extra "${current}#${overlay}"
else
fw_setenv bootconf_extra "${overlay}"
fi

chmod +x script.sh
./script.sh
reboot

=====================================================================

Even when 6ghz is disabled, you can not have undefined country. Set SA county, optionally enable 6ghz network and would be fine.

More, each band need to have same county, can not be different.

First of all, I am not a developer, but I was wondering something:

Since we now use a dts overlay for the BE14 module to fix the tx power settings, is it possible to create a similar overlay (or maybe even the same, since it is also for the BE14 card) to enable and use the 2G, 5G and 6G LEDs on the BE14 module?

neu Wifi 7 Mini PCI-E board announcement from Banana PI:

I did not believe what I see ... :slight_smile:

BPI-R4-NIC-BE14 V2.1 ... :partying_face: :exploding_head: