The free-space path loss for this distance and frequency is approximately 75dB.
Including some other extra losses and assuming a -80dBm receiver sensitivity for 24Mb/s, and +18dBm transmitter output power, a 0 dB antenna gain would be fine to get the link.