You are thinking about this backwards.
Its not how far the device can go to "read" the signal, although it does have a small significance, this is not your major concern.
Its all about how far the access point can broadcast the signal outwards.
6 kilometers is a ridiculously huge, huge distance to expect WIFI to reach, when the average WIFI signal is only good for 50-150 feet max through walls, and around 300 feet outside with no obstructions.
You can buy WIFI repeaters/extenders to extend the range, but you would need a whole bunch of them, and each one will lose up to 50% of the original signal strength, so thats not going to do you any good either at that range.