[BPI-R4] BE14 mainline openwrt configuration

Mainline Snapshot with the drivers

Thanks mate, I figured as much but got a little excited it was getting close!

It is close all that’s needed is the drivers and fw

Good day. Today I was finally able to check my new adapter on mt7927 and I still did not see the frequency of 6 GHz, I tried different firmware options from users from the openwrt forum. In many builds, it was difficult for me to run even 5 GHz, since for some reason frequencies over 6 GHz are indicated after saving the configuration. As a result, I do not understand why certain people from the forum write that they see the frequency of 6 GHz. I also have an Intel be200, but in Russia there are problems with it at frequencies of 6 GHz. After all the manipulations, I installed the latest version of MTK image from the banana pi website, and I also do not see the frequency of 6 GHz there. What am I doing wrong, tell me?!

I also encountered the same problem with BE200.

Occasionally I can see the 6GHz SSID, but most of the time it doesn’t.

Until I changed to a module: Qualcomm FastConnect 7800 with the latest driver, So far so good

https://docs.banana-pi.org/en/BPI-R4/BananaPi_BPI-R4-NIC-BE14#_iperf3_test_report

Good news: mtk posted firmware for mt7996 233 (bpi be14) version

https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/

Maybe some users can help testing.

Patch for driver is here: [2/3] wifi: mt76: mt7996: add suuport for more variants - Patchwork

6 Likes

Oh finally, we can finally get openwrt mainline running properly

1 Like

Will this patch be applied in the latest snapshot? Can you briefly describe or direct how to apply this patch in the latest snapshot build? Thanks in advance.

these patches are already included on the mediatek feeds

this is what I got after getting the files from the github repo you shared … they have the same date as the ones I was using before

no immediate improvements namely throughput but this may be related with mt76… we are using @dangowrt patch to support 233 and as I said no changes

2 Likes

So this is of no use ig, it’s just re release of what already exists

let’s see what others report … I am reapplying the patches although I already have the background radar check and as I said the 233 variant also

btw - i reviewed in more detail the patches and there a few things missing on the current mt76 code. I am applying manually the patches and will test later.

1 Like

actually it has just been applied on the master openwrt/mt76

Good afternoon, so the latest snapshot includes the changes from the latest patch from MediaTek?

I tried latest OpenWRT Snapshot … still is not working

Daniel said something about state of development:

Feedback is needed:

1 Like

Did anyone manage to get wed working? I added the firmware and dts but I think mt76 needs some changes too.

Edit: I got it to load the firmware eventually with some dts changes but still getting some errors during test.

[   12.869548] mt7996e 0000:01:00.0: assign IRQ: got 118
[   12.874689] mt7996e 0000:01:00.0: enabling device (0000 -> 0002)
[   12.880758] mt7996e 0000:01:00.0: enabling bus mastering
[   12.960499] mt7996e 0000:01:00.0: attaching wed device 0 version 3
[   13.016342] platform 15010000.wed: MTK WED WO Firmware Version: ____000000, Build Time: 20230218204509
[   13.025669] platform 15010000.wed: MTK WED WO Chip ID 00 Region 2
[   13.085715] mt7996e_hif 0001:01:00.0: attaching wed device 1 version 3
[   13.490991] mt7996e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20240809122254a
[   13.490991] 
[   13.600378] mt7996e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20240809122249
[   13.645007] mt7996e 0000:01:00.0: DSP Firmware Version: ____000000, Build Time: 20240809121650
[   13.666810] mt7996e 0000:01:00.0: WA Firmware Version: ____000000, Build Time: 20240809122214

Errors:

Sat Oct  5 23:11:35 2024 kern.warn kernel: [  907.485153] platform 15012000.wed: swiotlb buffer is full (sz: 66 bytes), total 32768 (slots), used 32768 (slots)
Sat Oct  5 23:11:35 2024 kern.warn kernel: [  907.487429] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32768 (slots)
Sat Oct  5 23:11:35 2024 kern.warn kernel: [  907.495451] platform 15012000.wed: swiotlb buffer is full (sz: 66 bytes), total 32768 (slots), used 32768 (slots)
Sat Oct  5 23:11:35 2024 kern.warn kernel: [  907.505848] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32768 (slots)
Sat Oct  5 23:11:35 2024 kern.warn kernel: [  907.505855] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32768 (slots)
Sat Oct  5 23:11:35 2024 kern.warn kernel: [  907.537549] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32628 (slots)
Sat Oct  5 23:11:35 2024 kern.warn kernel: [  907.548074] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32628 (slots)
Sat Oct  5 23:11:35 2024 kern.warn kernel: [  907.558589] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32628 (slots)
Sat Oct  5 23:11:35 2024 kern.warn kernel: [  907.569100] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32628 (slots)
Sat Oct  5 23:11:35 2024 kern.warn kernel: [  907.579611] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32628 (slots)
Sat Oct  5 23:11:40 2024 kern.warn kernel: [  912.490510] swiotlb_tbl_map_single: 21553 callbacks suppressed

try Releases · danpawlik/openwrt-builder · GitHub - it’s openwrt snapshot with mediatek BE14 firmware/drivers

From what I quickly check it only includes the basic stuff, not WED. I tried to add WED support in this commit but there are some warnings/errors when running some speed tests.

Are you sure you have the right firmware for be14 (from sdk)? Can you make an extra topic for wed support for easier tracking with the errors/warnings you see?