I've been tryng to find the patches needed to replicate this backport, but for the love of Gods, I can't understand how it compiles in openwrt and not in my kernel.
To summarise, the latest mediatek mt76 / mt7921 driver needs:
- this file: include/linux/soc/mediatek/mtk_wed.h (in tree, found patch here)
- cfg80211_sar_specs in cfg80211.h (found in an old commit here)
... but THEN, this commit bumps kernel kernel backports to 5.11.22 even in branch 22.03 and removes the two patches that are not found in mainline kernel 5.10:
- package/kernel/mac80211/patches/subsys/385-mac80211-add-ieee80211_set_sar_specs.patch
- package/kernel/mac80211/patches/subsys/384-nl80211-add-common-API-to-configure-SAR-power-limita.patch
openwrt % git branch -a --contains e185080c871a712a41ef02f6b20f1d07d2f1ab87
main
* openwrt-22.03
openwrt-23.05
remotes/origin/HEAD -> origin/main
remotes/origin/main
remotes/origin/master
remotes/origin/openwrt-22.03
remotes/origin/openwrt-23.05
openwrt %
I can't understand how openwrt 22.03 still compiles on 5.10 without those patches.... what am I missing?
Thank you for reading this!
R
LE: OK, I think I got it, those patches are already present in: https://backports.wiki.kernel.org/index.php/Main_Page
I'll now check how can I use that too