openwrt/target/linux/mediatek
Daniel Pawlik eb82cd3c6d mediatek: device tree overlay for BPI-R4 with BE14 module
Some Banana Pi BPI-R4 BE14 WiFi modules are shipped with zeroed
tx_power fields in EEPROM (2G/5G/6G). This leads to low transmit power
on affected bands.
This overlay provides known-good EEPROM data (including correct tx_power
values for 2G/5G/6G bands) dumped from a working BE14 module.

To enable BE14 overlay, add into u-boot bootconf_extra
parameter: 'mt7988a-bananapi-bpi-r4-wifi-be14'.
You can use example script:

    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

Earlier proposal proposed in [1] was fallback to default values if
invalid EEPROM content is detected.

[1] https://github.com/openwrt/openwrt/pull/19503/

Fixes: https://github.com/openwrt/openwrt/issues/17489
Signed-off-by: Daniel Pawlik <pawlik.dan@gmail.com>
(cherry picked from commit 561e3cf678)
Link: https://github.com/openwrt/openwrt/pull/22842
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-12 22:19:48 +02:00
..
base-files mediatek: add support for Zyxel WX5600-T0 2026-03-30 12:54:40 +02:00
dts mediatek: add Huasifei WH3000 Pro NAND support 2026-04-12 22:14:58 +02:00
files/drivers treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
files-6.12 treewide: dts: remove {#address,#size}-cells from "spi-nand" compatible node 2025-11-27 12:37:49 +01:00
filogic mediatek: add Huasifei WH3000 Pro NAND support 2026-04-12 22:14:58 +02:00
image mediatek: device tree overlay for BPI-R4 with BE14 module 2026-04-12 22:19:48 +02:00
mt7622 mediatek: add basic support for the MT7987 SoC 2025-11-05 14:19:39 +00:00
mt7623 mediatek: add basic support for the MT7987 SoC 2025-11-05 14:19:39 +00:00
mt7629 treewide: linksys: use nvmem MAC for hw_mac_addr 2026-03-06 12:07:42 +01:00
patches-6.12 mediatek: device tree overlay for BPI-R4 with BE14 module 2026-04-12 22:19:48 +02:00
Makefile mediatek: switch to Linux 6.12 by default 2025-07-18 12:26:40 +01:00
modules.mk mediatek: build rtl8367s_gsw as a kernel module 2025-11-30 22:59:28 +01:00