Got missing firmware files working for SDIO wifi card, how can I upstream it?

,

Hello,
I had a friend ask me to get Linux on a Mediacom WinPad 11.6 with Win10 on it because it was too slow, so I thought I could get Fedora running on it.
The live media boots fine (tried both 34 and 35 Workstation) but I had a small issue: WiFi was not working (devices not showing up, ip link/ad not reporting any interfaces besides lo etc.) so I looked up dmesg’s output and found out it was using the brcmfmac module.
It was complaining about not finding brcm/brcmfmac43430a0-sdio.MEDIACOM-WinPad 11,6 FullHD- WPU11.txt and brcm/brcmfmac43430a0-sdio.txt which usually means missing firmware-related files, so I looked up solutions online and saw that someone with a similar card fixed the issue by copying that .txt file (under a different name; 43430r0nvram.txt in my case) over to /usr/lib/firmware/brcm/brcmfmac43430a0-sdio.txt, so I did just that, reloaded the module et voila! WiFi was working as intended.
Now I’d like to upstream this if possible, so users with similar cards can have this sorted out out-of-the-box but I’ve never done anything like this before.
How should I go about this? Can I legally safely do this?

Thank you very much.

1 Like

I would link the source where you found that fix here so someone else who finds this post can also see the fix. Then make sure the tags and title contain enough info so other users searching for solutions to a similar problem may find your solution.