MiCode / MiCode/Xiaomi_Kernel_OpenSource

gen4-mt79xx: missing soc7_0 chip support (MT6637) on bsp-duchamp-u-oss — present on other branches (e.g. bsp-rodin-v-oss)

Open
#41,084 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
9.9k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Summary

The bsp-duchamp-u-oss branch (Poco X6 Pro / Redmi Turbo 3, MT6897) is missing WiFi chip source
for the device's actual on-die WiFi silicon (chip ID 0x7961, "soc7_0"), which prevents building a
working wlan_drv_gen4m_6897 module from this public source alone.

Details

The device's stock firmware reports:

  • ro.hardware.wlan.chip: mt6637
  • vendor.connsys.wifi.adie.chipid: 0x6637
  • ro.vendor.wlan.gen: gen4m_6897
  • Firmware string: WIFI_RAM_CODE_soc7_0-...

This corresponds to MediaTek's "soc7_0" chip generation (chip_id 0x7961), which is a distinct,
standalone driver implementation (register base 0x830c0000, its own descriptor format, ~2700
lines in soc7_0.c) — not a variant of the existing chips/connac2x2/connac2x2.c in this branch
(which is chip_id 0x0001, an older/different part with a v1 descriptor path).

gen4-mt79xx/chips/ on bsp-duchamp-u-oss only goes up to soc5_0. No soc7_0/ directory
exists, and gen4-mt79xx/Makefile has no findstring 7_0 / SOC7_0 build block.

Confirmed present elsewhere in this same repo

chips/soc7_0/ (and the matching include/chips/coda/soc7_0/ headers) exist on other branches
of this repo, e.g. bsp-rodin-v-oss. This suggests the omission on bsp-duchamp-u-oss is likely
an incomplete/stale OSS drop rather than an intentional exclusion, since the same silicon
generation is already public elsewhere in this org.

Also checked (for completeness)

  • Independently verified against oppo-source/android_kernel_modules_and_devicetree_oppo_mt6897
    (also MT6897) — same gap, tops out at soc5_0 there too, consistent with this being a genuine
    source-completeness issue rather than something device-specific to duchamp.

Ask

Could the soc7_0 chip source (and corresponding gen4-mt79xx/Makefile build wiring) be added to
bsp-duchamp-u-oss, matching what's already public on other branches like bsp-rodin-v-oss?

Happy to provide more detail (build logs, diffs) if useful.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare chips/soc7_0/ and include/chips/coda/soc7_0/ on bsp-rodin-v-oss with the corresponding paths on bsp-duchamp-u-oss. Inspect gen4-mt79xx/Makefile for the missing SOC7_0 build wiring, then verify that the wlan_drv_gen4m_6897 module builds with the added source and headers.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.