What do you mean by unstable?
Does the viewer apps disconnecting randomly?
spacedesk requires at least 100Mbps network bandwidth to get a reasonable performance.
can I use a wifi AC network (wifi 5) or do I need to install an AX network (wifi 6)?
It’s up to your preference, just make sure that both your primary machine and tablet devices are connected on the same local area network.