OPTIMIZED CHANNEL SCANNING FOR AN ACCESS POINT DEVICE
Methods and systems for optimized channel scanning for an access point device. The disclosed method includes, among other things, initializing, by a station device, an access point (AP) in a wireless network, selecting, by the station device, a preferred scanning channel (PSC) of a plurality of PSCs in a high frequency band of the wireless network, scanning, by the station device, the PSC of the plurality of PSCs, determining whether the PSC is free of wireless activity, and responsive to determining that the PSC is free of wireless activity, selecting the PSC for the AP to operate on.
1 . A method comprising:
initializing, by a station device, an access point (AP) in a wireless network;
selecting, by the station device, a preferred scanning channel (PSC) of a plurality of PSCs in a high frequency band of the wireless network
scanning, by the station device, the PSC of the plurality of PSCs;
determining whether the PSC is free of wireless activity; and
responsive to determining that the PSC is free of wireless activity, selecting the PSC for the AP to operate on.
2 . The method of claim 1 , wherein determining that the PSC is free of wireless activity includes determining that there are no ongoing wireless transmissions by neighboring APs or any other wireless devices.
3 . The method of claim 1 , further comprising:
responsive to determining that each PSC of the plurality of PSCs is not free of wireless activity, scanning, by the station device, all channels in a lower frequency band of the wireless network;
identifying, based on the scanning, an unoccupied non-PSC of a plurality of non-PSCs; and
selecting the unoccupied non-PSC for the AP to operate on.
4 . The method of claim 3 , wherein identifying, based on the scanning, the unoccupied non-PSC of the plurality of non-PSCs comprises:
identifying one or more beaconing frames broadcasted in the lower frequency band, wherein each non-PSC identified in the one or more beaconing frames broadcasted in the lower frequency band is included in a occupied non-PSCs;
removing, from the plurality of non-PSCs, the occupied non-PSCs to generate a unoccupied non-PSCs; and
selecting, from the unoccupied non-PSCs, the unoccupied non-PSC.
5 . The method of claim 4 , wherein the unoccupied non-PSC is randomly selected from the unoccupied non-PSCs.
6 . The method of claim 3 , wherein the high frequency band of the wireless network is a 6 GHz frequency band, and the lower frequency band of the wireless network is one of a 2.4 GHz or 5 GHz frequency band.
7 . The method of claim 1 , further comprising:
responsive to determining that all non-PSCs of the non-PSCs are occupied, identifying, from the plurality of PSCs, a least congested PSC; and
selecting the least congested PSC for the AP to operate on.
8 . The method of claim 7 , wherein identifying, from the plurality of PSCs, the least congested PSC comprises:
obtaining, from information associated with the scanning of the plurality of PSCs, channel utilization for each PSC of the plurality of PSCs; and
comparing the channel utilization of the plurality of PSCs with one another to identify the PSC having a lowest channel utilization as the least congested PSC.
9 . A station device, comprising:
a processor, wherein the processor is to perform operations comprising:
responsive to initializing, by the station device, an access point (AP) in a wireless network;
selecting, by the station device, a preferred scanning channel (PSC) of a plurality of PSCs in a high frequency band of the wireless network
scanning, by the station device, the PSC of the plurality of PSCs;
determining whether the PSC is free of wireless activity; and
responsive to determining that the PSC is free of wireless activity, selecting the PSC for the AP to operate on.
10 . The station device of claim 9 , wherein determining that the PSC is free of wireless activity includes determining that there are no ongoing wireless transmissions by neighboring APs or any other wireless devices.
11 . The station device of claim 9 , wherein the processor is to perform operations further comprising:
responsive to determining that each PSC of the plurality of PSCs is not free of wireless activity, scanning, by the station device, all channels in a lower frequency band of the wireless network;
identifying, based on the scanning, an unoccupied non-PSC of a plurality of non-PSCs; and
selecting the unoccupied non-PSC for the AP to operate on.
12 . The station device of claim 11 , wherein identifying, based on the scanning, the unoccupied non-PSC of the plurality of non-PSCs comprises:
identifying one or more beaconing frames broadcasted in the lower frequency band, wherein each non-PSC identified in the one or more beaconing frames broadcasted in the lower frequency band is included in a occupied non-PSCs;
removing, from the plurality of non-PSCs, the occupied non-PSCs to generate a unoccupied non-PSCs; and
selecting, from the unoccupied non-PSCs, the unoccupied non-PSC.
13 . The station device of claim 12 , wherein the unoccupied non-PSC is randomly selected from the unoccupied non-PSCs.
14 . The station device of claim 11 , wherein the high frequency band of the wireless network is a 6 GHz frequency band, and the lower frequency band of the wireless network is one of a 2.4 GHz or 5 GHz frequency band.
15 . The station device of claim 9 , wherein the processor is to perform operations further comprising:
responsive to determining that all non-PSCs of the non-PSCs are occupied, identifying, from the plurality of PSCs, a least congested PSC; and
selecting the least congested PSC for the AP to operate on.
16 . The station device of claim 15 , wherein identifying, from the plurality of PSCs, the least congested PSC comprises:
obtaining, from information associated with the scanning of the plurality of PSCs, channel utilization for each PSC of the plurality of PSCs; and
comparing the channel utilization of the plurality of PSCs with one another to identify the PSC having a lowest channel utilization as the least congested PSC.
17 . A wireless network comprising:
a plurality of wireless devices, wherein a wireless device of the plurality of wireless device is configured to operate as an access point (AP), and wherein a processor of the wireless device configured to operate as the AP is to perform operations comprising:
initializing the AP in the wireless network;
scanning, by the AP, a plurality of preferred scanning channels (PSCs) in a high frequency band of the wireless network for a PSC free of wireless activity;
responsive to determining that the plurality of PSCs is not free of wireless activity, scanning a lower frequency band of the wireless network for an unoccupied non-PSC;
responsive to determining that a plurality of non-PSCs are occupied, identifying a least congested PSC of the plurality of PSCs; and
selecting at least one of: the PSC free of wireless activity, the unoccupied non-PSC, or the least congested PSC for the AP to operate on.
18 . The wireless network of claim 17 , wherein scanning the plurality of PSCs in the high frequency band of the wireless network for the PSC free of wireless activity comprises:
sequentially scanning each PSC of the plurality of PSCs;
determining, during scanning of a respective PSC, whether the respective PSC is free of wireless activity, wherein the respective PSC is free of wireless activity when there are no ongoing transmissions by neighboring APs or any other wireless devices; and
responsive to determining that the respective PSC is free of wireless activity, selecting the respective PSC as the PSC free of wireless activity.
19 . The wireless network of claim 17 , wherein scanning the lower frequency band for the unoccupied non-PSC comprises:
identifying one or more beaconing frames broadcasted in channels in the lower frequency band, wherein each non-PSC identified in the one or more beaconing frames broadcasted in the lower frequency band is included in a occupied non-PSCs;
removing, from the plurality of non-PSCs, the occupied non-PSCs to generate a unoccupied non-PSCs; and
randomly selecting, from the unoccupied non-PSCs, an unoccupied non-PSC as the unoccupied non-PSC.
20 . The wireless network of claim 17 , wherein identifying the least congested PSC of the plurality of PSCs comprises:
obtaining, from information associated with the scanning of the plurality of PSCs, channel utilization for each PSC of the plurality of PSCs;
comparing the channel utilization of the plurality of PSCs with one another to identify the PSC having a lowest channel utilization; and
selecting the PSC having a lowest channel utilization as the least congested PSC.