I am not, by far, an electrical engineer/scientist, but the inverse square law applies to vacuum. All the details about Tesla using the Earth and the ionosphere as a conductor may have meant that he was trying to solve the power loss problem. Do we have any details on that angle?