I have been able to achieve 90-100Mps when set as AP.
But it seems to be a balancing act between allowing more clients
or higher throughput, as when I configured it allowing more throughput
generally only one client managed to remain connected.
I am using RaspAP and this is my most stable hostapd.conf
You can expect to be able to connect 2 clients where if one is at 60Mps
the other is still able to achieve 10MPs.
most stable hostapd.conf
If you only have 1 client to connect to your PI as AP, here you can exploit
a much faster connection, but concurrent downloads may be affected in my experience. I am not an expert so this has been findings with trial and error.
The config looks like this hostapd.conf
Notes that may be affecting overall speed of my configuration:
That one will allow your client to connect to the PI4 at 422Mps
with this configuration I have seen speeds of 90-95Mps on the client.
Problem seems to be that I have failed to 'keep this as a stable connection' when more then one client is connected to the PI.
in addition, if using an external interface (i occasionally use a TP Link T2U Plus AC600, had to install the driver) you may need a more solid power supply.
Things that may be impacting my setup and thus just an FYI:
I have a laptop connected to a wifi network, the machine has kali setup.
The laptop connection shows speed test results around 190-200Mbps.
Although the speed is good, since I am using 'dns over tls' sometimes this impacts page loading time. more on this later.
I share this Wifi connection, using the NetworkManager on kali, via Ethernet to the RPi4.
The RPi4 is configured with raspbian bullseye.
I am sshed into the Pi installed speedtest-cli on the Pi to see how much is arriving. I observe around 150-170Mps. so the maximum the AP must be lower then this.
On the RPi4 I have installed RaspAP as mentioned above, and nextdns.
This is important for me because I wanted to ensure that all dns traffic is
encrypted before it reaches the main network which I don't trust.
Running a speedtest on a client connected to RPi4 I see around 80-95Mps single
client, and more then one client tends to fail and disconnect.
I hope this helps. I have spent over a week around the topic
perhaps someone more versed on hostapd can better explain the configs as I am
not confident that id make a good representation of what every single option does.
Side Note. Channel 48 is not as wide, but tends to be a good fallback.