While everything psherman has raised is correct, I'll expand a bit on this.
A client centric WLAN M.2 PCIe card (e.g. mt7921) costs around ~25 EUR +/- (yes, there is cheaper, and more expensive if you look towards 6 GHz or wifi7, but this is a rule of thumb). They come as 2x2, often with a passive heatsink (so heat dissipation is already a topic) and can do either 2.4 GHz XOR
5 GHz (XOR
6 GHz for mt7921k or better). While these can be used for AP mode, they are not made with that in mind and come with additional limitations (max number of connected clients, range, etc.).
AP centric cards (e.g. mt7915, QCN5024/ QCN5054/ QCN9074) are a different beast
- physically larger (often beyond M.2 sizes, you sometimes still see mini-PCIe here)
- 4x4
- much higher power consumption (3.3V/ 3A ~= 10 watts and more, sometimes with aux power)
- accordingly higher heat dissipation, passive heatsink required - airflow necessary (good thermal design --> convection or active cooling)
- usually not available locally, you generally do have to import them yourself (the market for these is too small)
- pricing around >60 EUR plus shipping (mt7915), up to 200-250 EUR plus shipping (qcn5024/ qcn5054/ qcn9074)
- you will need to buy pigtails (4* per card) and antennas separately (4* per card), quality varies a lot (especially for 5/ 6 GHz), so expect to buy from multiple sources to get the best ones
- you do depend on the vendor having done their homework and programmed the EFUSEs (wireless features and restrictions) and EEPROM (wireless calibration data) correctly, or the card won't work properly (this a recurring probem, so you need to buy from reputable sources, who will 'fix it' (~replace the card))
- multiply this by two (2.4+5 GHz) or three (2.4+5+6 GHz), after all if you go this route, you surely do want 4x4 and concurrent tri-band and not replicate the feature set of a 15 buck AP.
Since 802.11ac, (Mu-)MIMO and beamforming are relevant, so you do need proper spatial distribution of your antennas (correct distance, polarization), see the black magic psherman laid out (high frequency antenna design is a higher art). Attaching these to the PCIe brackets of your ATX mainboard will not give you great results, they're:
- too close to each other for beamforming/ Mu-MIMO to work
- create interference with themselves and the other bands
- the huge metal case they're attached to (PC case) isn't exactly great either (shielding a ~150°-210° angle from good reception)
- as mentioned, power delivery (beyond spec) and heat dissipation is a problem
So from an antenna design point of view, you do want a 'small' case, preferably with little metal - but at the same time, you're hard pressed to find small x86_64 mainboards (<< µATX) with enough := three PCIe/ M.2 slots for your three WLAN cards. Again, heat dissipation is a problem, these cards will cook themselves to death/ crash if there isn't enough airflow, as is power delivery - the cards alone will eat up 30 watts (on top of the power consumption of the rest of your system, so ~50-60 watts idle at best, more if you want to dabble into 10 GBe as well), even in idle mode (there is no real idle in AP mode).
Can you do it, sure - if you have deep pockets.
Does it make sense if you're a wireless developer, yes (but in that case a single good wireless card might be sufficient, tri-band -but not concurrent tri-band), then you don't have much of a choice anyways (it does help massively if you can compile/ bisect locally on the host) - and maybe a client-centric mt7621k card already suffices here (you're experimenting, not serving 30+ stations with your AP).
So if you want to go this route, you need:
- at least a µATX board with >= 3 PCIe slots (respectively a SFF system with a proprietary board), mITX and smaller boards with sufficient PCIe ports exist, but are really expensive (Xeon D and similar), look at >=600 EUR
- hope/ test that it can deliver enough power (may go up in smoke, literally)
- buy 3* AP mode centric WLAN cards (concurrent 2.4+5+6 GHz), at 60-250 EUR a pop (so you've spent between 180-650 EUR on wireless cards alone)
- buy 3*4 pigtails, for around a fiver each (~60 EUR) - quality of the feedlines is important, especially for >=5 GHz, so don't skimp on prices here, be prepared that your first choice is
$NOT_GOOD
and that you have to get a better set
- buy 3*4 antennas, for around a fiver each (~60 EUR) - quality of the antennas is important, especially for >=5 GHz, so don't skimp on prices here, be prepared that your first choice is
$NOT_GOOD
and that you have to get a better set
- experiment -a lot- to get decent reception results with the placement of your twelve antennas
Ignoring the cost of the actual PC here, you are looking at an investment -for the wireless cards, pigtails, antennas only- for somewhere between 300-770 EUR here, ignoring shipping costs, customs fun and having to replace some of your purchases becase they may not be good enough. As well as an idle power consumption of >50-60 watts, 24/7 (which adds up as well). Sure, you can do that - or you can buy e.g. an Acer Predator W6 (AXE7800) and flash OpenWrt for ~180 EUR delivered.
- yes, these tri-band plastic routers are expensive as well (300-400 EUR is easily possible)
- yes, they do eat electricity for breakfast as well (~20-30 watts idle is common)
- yes, you can only choose between less than a handful of supported alternatives (with varying regional availability)
- yes, some of them come with active cooling/ fans
- but they are 'small' (at least in comparison) and 'neat' (at least if you're into spaceship design or upside down spiders…)
- and you can expect that the vendor has done a decent hf design, they went through the certification process and didn't just stick the antennas where the PCIe bracket told them to
meaning you can expect Mu-MIMO and beamforming to work
- and you can expect it to work, even under OpenWrt (for supported devices)
- afaik there are still problems if you want to operate multiple QCA/ ath11k PCIe cards in one system, so another thing you'd have to sort out yourself for your self-build system
For an AP, the wireless performance matters most -CPU performance only to a much lesser extent- small and neat are advantages (being able to place it when it makes most sense or even screwing it to a wall). It is hard and expensive to beat even a 20 buck mt7621a+mt7615DBDC device in this regard (and if you get multiple of those for your home, to place in the various storeys or into the wings of your castle, you will easily beat any single highest-end AP in practice).
It's very hard to compete with a mass produced AP in terms of cost and actual performance - and if you want to try, you really do need to have deeeep pockets, lost of time and patience for experimenting to get best results and love talking to companies in Singapore or China and your local customs agents. Can it be done, also with OpenWrt, yes.
Times have changed since 802.11n and before, back then the distinction between client- and AP centric WLAN cards didn't exist (APs were equipped with bog standard PCMCIA or mini-PCI cards, literally), you only had to deal with 2.4 GHz (if you added 5 GHz to the mix, you already faced similar issues as the ones described above, albeit to a much lesser degree, simpler technology) and maybe half a dozen of clients to cater for.
Nowadays, beyond the 'simple' WLAN world, you also have to deal with interference from bluetooth, zigbee, z-wave, proprietary wireless streaming technologies (headphones, wireless HDMI transceivers, proprietary wireless surveillance cameras) and even in small homes you may easily see >>25 WLAN devices on the air at all time (more than triple that for smarthome enthusiasts). And be aware that wifi 7 is already peaking at us, with wifi 8 being already entering press coverage. If you are an enthuasiast (and if you want to build your own AP, you are), you might get 4-5 years of service from your self-built system, before you have to start all over again with the next iteration of the standards.
Looking back, 802.11b, 802.11g and 802.11n only brought you small improvements in practice (also because early draft-n devices were bad™, buggy and didn't achieve good performance). 802.11ac and newer are a real game changer.
- good wifi 4 may give you ~120 MBit/s (2x2 client, 5 GHz, HT40) in practice - maybe 60-70 MBit/s over 2.4 GHz
- wifi 5 will give you 250-350 MBit/s (2x2 client, 5 GHz, VHT80)
- wifi 6 will give you 700-800 MBit/s (2x2 client, 5 GHz, HE80)
- wifi 7 can give you well over 2 GBit/s in practice (2x2 client, 5+6 GHz MLO, EHT160)