Spatial sensor data, such as position, movement and rotation, which is provided by a sensor in a wireless communication device in a wireless communication system is used. By using the spatial sensor data it is possible to calculate predicted spatial data for use in controlling antenna beams for transmission as well as reception in the wireless communication system.