A control device (100, 200), comprising: a hypervisor unit configured to transmit a hypervisor to a wireless device, if the wireless device is to be used in a designated location, said hypervisor being arranged to create and run a virtual machine; a receiving unit configured to receive profile data of the wireless device from the hypervisor at the wireless device, the profile data relating to at least one of transmission and collision of data at the wireless device; an algorithm unit configured to determine a schedule for access to a shared wireless medium by the wireless device based on the received profile data and a Medium Access Control, MAC, algorithm to increase a bandwidth utilization of the shared wireless medium, wherein determining the schedule comprises: calculating a contention rate of the wireless device based on the received profile data; setting the schedule of the wireless device for sharing access to the shared wireless medium according to a contention-based algorithm if the contention rate is less than a first threshold; setting the schedule of the wireless device for sharing access to the shared wireless medium according to a first contention-based and token-based algorithm if the contention rate is greater than a second threshold; and setting the schedule of the wireless device for sharing access to the shared wireless medium according to a second contention-based and token-based algorithm if the contention rate is between the first threshold and the second threshold; wherein the first threshold is a lower contention rate threshold than the second threshold; and an output unit configured to output the schedule to the hypervisor at the wireless device, wherein the hypervisor at the wireless device is to configure a MAC policy of the wireless device based on the schedule. a hypervisor unit configured to transmit a hypervisor to a wireless device, if the wireless device is to be used in a designated location, said hypervisor being arranged to create and run a virtual machine; a receiving unit configured to receive profile data of the wireless device from the hypervisor at the wireless device, the profile data relating to at least one of transmission and collision of data at the wireless device; an algorithm unit configured to determine a schedule for access to a shared wireless medium by the wireless device based on the received profile data and a Medium Access Control, MAC, algorithm to increase a bandwidth utilization of the shared wireless medium, wherein determining the schedule comprises: calculating a contention rate of the wireless device based on the received profile data; setting the schedule of the wireless device for sharing access to the shared wireless medium according to a contention-based algorithm if the contention rate is less than a first threshold; setting the schedule of the wireless device for sharing access to the shared wireless medium according to a first contention-based and token-based algorithm if the contention rate is greater than a second threshold; and setting the schedule of the wireless device for sharing access to the shared wireless medium according to a second contention-based and token-based algorithm if the contention rate is between the first threshold and the second threshold; calculating a contention rate of the wireless device based on the received profile data; setting the schedule of the wireless device for sharing access to the shared wireless medium according to a contention-based algorithm if the contention rate is less than a first threshold; setting the schedule of the wireless device for sharing access to the shared wireless medium according to a first contention-based and token-based algorithm if the contention rate is greater than a second threshold; and setting the schedule of the wireless device for sharing access to the shared wireless medium according to a second contention-based and token-based algorithm if the contention rate is between the first threshold and the second threshold; wherein the first threshold is a lower contention rate threshold than the second threshold; and an output unit configured to output the schedule to the hypervisor at the wireless device, wherein the hypervisor at the wireless device is to configure a MAC policy of the wireless device based on the schedule.