wifi cable is consider microwave cable because of the frequencies it runs at.
This is a extremely complex topic that I can't even begin to explain on a forum.
So RG6 has less signal loss per foot than RG58 but it is 75 ohm cable and not 50 ohm cable. There is very little information about how much signal loss you get on cables when you connect them to equipment they are not designed to support. Generally the transmitters are designed to only function with a particular resistance level they work very poorly when matched to the wrong antenna/cables
RG58 cable is garbage for longer distances. At wifi frequencies 100ft of cable will have twice the signal loss than even the largest antenna can add. Most times people use actual microwave rated antenna cables. These start with LMR. LMR400 is common. LMR400 has about 25% of the loss per foot of RG58.
Microwave rated cable is expensive and the ends need to be soldered on to not have more loss at each connector.