Hello community,
I got two Meraki MR24 I've read somewhere over at reddit, that maybe it is possible to swap out the old atheros 5GHz card with a new 802.11ac one.
I've installed a Compex WLE900VX and installed kmod-ath10k, ath10k-firmware-qca988x and ath10k-board-qca988x but lspci only shows the 2.4 GHz card. I think I've missed something, but I'm not sure how to look further.
Or is the only solution to build a custom image with ath10k integrated?
You'll have to make sure that the calibration data handling is correct, prevent the calibration data from the old ath9k card being loaded and make sure that the calibration data of your new card gets applied (depends on the card, if it's on an internal flash or needs to be extracted from the donor device). Other things might involve non-standard mini-PCIe slots (required signals missing, non-standard power requirements, too much heat, etc.). Yes, you can do most of these things at runtime, but in practice you probably do want to patch your device specifications at buildtime already (for convenience reasons).
But maybe you can guide me a bit further. I took a look at the device tree file, there's a hardcoded PCI-ID, I'm not sure if it is really necessary to change it. DTS files aren't something completely new for me, but my knowledge, if one wants to really call it like that, is about adding devices to i2c, and that's it.
I've changed the PCI-ID and recompiled it like this (incl. the ath10k stuff), but that would've been to easy. lspci still only shows the 2.4GHz ath9k card. If I'm correct, two additional devices are added besides the wifi card itself. But correct me if I'm wrong:
You no longer need irq_mode=1 ("legacy interrupts only") because MSI has been disabled on the apm821xx target, at least on snapshot.
The problem is your card. See this Bugzilla thread. The card thinks it should be off because of the state of pin 20 (floating? up? down? not even sure.). The solution is to scrape off the lead from the contact on pin 20 going out to the motherboard; verify it is cut using a continuity tester.
From what I remember @riptidewave93 tested this with his MR24 back in the day.
He found out that no, sadly you can't change the minipcie wifi cards. For some reason only the meraki ath9k pcie cards that came with the MR24 worked.
I had better luck with the Netgear WNDAP620 + 660. They both have minipcie slots.
But unlike the MR24, the QCA9880v2 minipcie I put in there showed up on boot.
I actually use an MR24 with the 5GHz card swapped for a Compex WLE900VX (or I was using it until it started negotiation only 10Mbps on eth0 due to a bad ethernet cable). It's very likely this particular Compex card was also used by @riptidewave93 (it was the most available QCA9880v2 as an individual module for a long time); the card is more distinctive for caring about the state of pin 20 than the device itself is for wiring it differently than mPCIe physical interfaces usually are wired.
Again, it's required to sever the lead for pin 20 in order for the card to work with this board. Once that's done it just works.