Wireless communications in railway systems