Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DYNAMIC CHANNEL SELECTION AND DFS RE-ENTRY
Document Type and Number:
WIPO Patent Application WO/2017/108918
Kind Code:
A1
Abstract:
A wireless network device, for operation within a wireless network, the wireless network device comprising: a wireless interface operable on one or more wireless channels; a memory; and a processor configured to: scan at least one channel for a predetermined time duration; and make a channel quality assessment measurement during the predetermined time duration, wherein the processor is adapted to synchronize the predetermined time duration with other wireless network devices that are operable in the wireless network and that scan the at least one channel and make channel quality assessment measurements during substantially the same predetermined time duration, wherein the channel quality assessment measurement is compared with other channel quality assessment measurements from other network devices that are operable in the wireless network thereby to enable determination of an optimal channel for communication between the network devices and wherein the wireless network device is configured to operate on the optimal channel.

Inventors:
GOKTURK MUHARREM SARPER (TR)
FRICKE MAXIMILIAN (TR)
TASKIN METIN (TR)
Application Number:
PCT/EP2016/082126
Publication Date:
June 29, 2017
Filing Date:
December 21, 2016
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
AIRTIES KABLOSUZ ILETISM SANAYI VE DISTICARET AS (TR)
International Classes:
H04W72/08
Domestic Patent References:
WO2011056670A22011-05-12
WO2014127068A22014-08-21
WO2014189912A12014-11-27
Foreign References:
IL67379A1985-11-29
US20060239225A12006-10-26
CN104640147A2015-05-20
Attorney, Agent or Firm:
WITHERS & ROGERS LLP (GB)
Download PDF:
Claims:
Claims

1. A wireless network device, for operation within a wireless network, the wireless network device comprising:

a wireless interface operable on one or more wireless channels;

a memory; and

a processor configured to:

scan at least one channel for a predetermined time duration; and make a channel quality assessment measurement during the predetermined time duration,

wherein the processor is adapted to synchronize the predetermined time duration with other wireless network devices that are operable in the wireless network and that scan the at least one channel and make channel quality assessment measurements during substantially the same predetermined time duration,

wherein the channel quality assessment measurement is compared with other channel quality assessment measurements from other network devices that are operable in the wireless network thereby to enable determination of an optimal channel for communication between the network devices and

wherein the wireless network device is configured to operate on the optimal channel.

2. The wireless network device according to claim 1 , wherein the wireless network device is adapted to receive and store data, from other wireless network devices that are operable in the wireless network, in the memory.

3. The wireless network device according to claim 2, wherein the data comprises channel quality assessment measurements and/or Clear Channel Assessment (CCA) statistics. 4. The wireless network device according to claim 2 or 3, wherein the wireless network device disseminates the data stored in the memory to the wireless network, wherein preferably the wireless network device disseminates the data by unicasting the data to other wireless network devices operable in the wireless network or by broadcasting the data to other wireless network devices operable in the wireless network and more preferably, wherein the wireless network device disseminates the data at constant intervals.

5. The wireless network device according to any preceding claim, wherein the processor is adapted to synchronize the predetermined time duration with other wireless network devices that are operable in the wireless network by commencing the predetermined time duration at the same Timing Synchronization Function (TSF) value.

6. The wireless network device according to claim 5, wherein the Timing Synchronization Function value is the highest Timing Synchronization Function value in the wireless network, wherein, the Timing Synchronization value is optionally received in a beacon signal from an other network device that is operable in the wireless network.

7. The wireless network device according to any preceding claim, wherein the wireless network device is configured to freeze transmission during the predetermined time duration. 8. The wireless network device according to any preceding claim, wherein the processor is configured to perform the channel quality assessment after a delay in the predetermined time duration.

9. The wireless network device according to any preceding claim, wherein the processor is adapted to determine a score based at least partly on the channel quality assessment, thereby to determine the optimal channel.

10. The wireless network device according to claim 9, wherein the score comprises an idle time observed in the channel during the predetermined time duration.

1 1. The wireless network device according to claim 9 or 10, wherein the score comprises a weighted sum of channel quality assessment measurements, wherein the sum of channel quality assessment measurements is weighted according to the bandwidth of the at least one channel.

12. The wireless network device according to any of claims 9 to 11 , wherein the processor is adapted to compare the score determined at the processor with scores received from other wireless network devices operable in the wireless network device, thereby to determine the optimal channel.

13. The wireless network device according to any preceding claim, wherein the optimal channel is the channel that maximizes the idle time.

14. The wireless network device according to any of claims 9 to 11 , wherein the wireless network device is adapted to switch to the optimal channel if the score exceeds a predetermined threshold.

15. The wireless network device according to any preceding claim, wherein the wireless network device is configured to scan the at least one channel for a second predetermined time duration; and to make a second channel quality assessment measurement during the second predetermined time duration, and to determine an average channel quality assessment measurement, thereby to enable determination of the optimal channel. 16. The wireless network device according to any preceding claim, wherein the wireless network device is adapted to maintain a channel list in the memory, wherein the channel list is a list of available channels.

17. The wireless network device according to any preceding claim, wherein the wireless network device is configured to determine if a channel is being used by radar.

18. The wireless network device according to claim 17 when dependent on claim 16, wherein if the channel is being used by radar, the channel that is being used by radar is not on the list of available channels for a predetermined period of time.

19. The wireless network device according to any of claims 16 to 18, wherein the wireless network device is configured to assess whether the channel that is used by radar is available at a predetermined time of day.

20. The wireless network device according claim 19, wherein the wireless network device is configured to switch to operate on the channel that is used by radar at the predetermined time of day, if the network traffic is below a predetermined value.

21. The wireless network device according to any preceding claim, wherein the processor is further configured to determine if the wireless network device is the master node. 22. The wireless network device according to claim 21 , wherein wireless network device is the master node if it has the numerically highest MAC address of all of the wireless network devices operating in the wireless network.

23. The wireless network device according to claim 21 or 22, wherein the wireless network device is adapted to initiate channel switching to the optimal channel, preferably by using Extended Channel Switch Announcements (ECS A), as defined by IEEE 802.1 ly- 2008.

24. The wireless network device according to any preceding claim, wherein the wireless network device is configured to scan the at least one channel when the rate of data arriving in a transmit queue of the wireless network device is less than a predetermined threshold.

25. The wireless network device according to any preceding claim, wherein the processor is configured to scan a second channel for a second predetermined time duration; and to make a second channel quality assessment measurement during the second predetermined time duration.

26. The wireless network device according to claim 24, wherein the processor is adapted to synchronize the second predetermined time duration with other wireless network devices that are operable in the wireless network and that scan the second channel and make channel quality assessment measurements during substantially the same second predetermined time duration. 27. The wireless network device according to claim 26, wherein the second channel quality assessment measurement is compared with other channel quality assessment measurements from other network devices that are operable in the wireless network thereby to enable determination of the optimal channel for communication between the network devices.

28. A wireless network comprising a plurality of wireless network devices, wherein the plurality of wireless network devices each comprise:

a wireless interface operable on one or more wireless channels;

a memory; and

a processor; wherein the plurality of wireless network devices are each configured to:

scan at least one channel for a predetermined time duration; and make a channel quality assessment measurement during the predetermined time duration, wherein the processor of each of the plurality of wireless network devices is adapted to synchronize the predetermined time duration with other wireless network devices of the plurality of wireless network device in the wireless network and

wherein one of the wireless network devices of the plurality of wireless network devices is configured to compare the channel quality assessment measurement made by each of the plurality of wireless network devices thereby to determine an optimal channel for communication between the network devices and

wherein one of the wireless network devices of the plurality of wireless network devices is configured to initiate switching of the other wireless network devices of the plurality of wireless network devices to operate on the optimal channel.

29. A method of operating a wireless network device in a wireless network, the method comprising the steps of:

scanning at least one channel for a predetermined time duration; and

making a channel quality assessment measurement during the predetermined time duration,

synchronizing the predetermined time duration with other wireless network devices that are operable in the wireless network and that scan the at least one channel and make channel quality assessment measurements during substantially the same predetermined time duration,

comparing the channel quality assessment measurement with other channel quality assessment measurements from other network devices that are operable in the wireless network thereby to enable determination of an optimal channel for communication between the network devices and

operating the wireless network device on the optimal channel.

30. The method according to claim 29, comprising the steps of implementing the features of any of claims 1 to 27. 31. A computer readable medium configured to perform the method of claim 29.

Description:
DYNAMIC CHANNEL SELECTION AND DFS RE-ENTRY

Field of the invention This invention relates to channel selection in wireless networks. In particular, but not exclusively, the invention relates to channel selection in Wi-Fi mesh networks.

Background summary In wireless networks, such as Wi-Fi mesh networks, the quality of a channel over which communication is made, is not static, and it is prone to abrupt changes during the day. Further, certain channels are used for particular operations, such as for radar communication, and therefore must be avoided, or only used under certain conditions. The varying nature of the quality of channels in wireless networks makes it difficult to ensure that the selected channel is the optimal one.

In a network of wireless nodes, Wi-Fi utilizes the Carrier Sense Multiple Access (CSMA) mechanism to control the access of nodes to the wireless medium. By doing this, overlapping transmissions of multiple nodes, which lead to collisions, are avoided in the Medium Access Control (MAC) layer. Hence, devices that operate in the same channel need to share the available bandwidth among each other by contention. This leads to diminishing resources in terms of available bandwidth as the number of nodes that use the same channel is increased. In an effort to increase the medium utilization, Wi-Fi may employ multiple non- overlapping (orthogonal) channels to maintain simultaneous transmissions of different Wi- Fi networks. It is the responsibility of nodes, such as Access Points (APs), to determine the best available channel for operation. In order to address at least some of the above mentioned problems, there is provided: a wireless network device, for operation within a wireless network, the wireless network device comprising: a wireless interface operable on one or more wireless channels; a memory; and a processor configured to: scan at least one channel for a predetermined time duration; and make a channel quality assessment measurement during the predetermined time duration, wherein the processor is adapted to synchronize the predetermined time duration with other wireless network devices that are operable in the wireless network and that scan the at least one channel and make channel quality assessment measurements during substantially the same predetermined time duration, wherein the channel quality assessment measurement is compared with other channel quality assessment measurements from other network devices that are operable in the wireless network thereby to enable determination of an optimal channel for communication between the network devices and wherein the wireless network device is configured to operate on the optimal channel.

Further aspects of the invention will be apparent from the description and claims. Brief description of the drawings The invention is described in reference to the drawings, in which: Figure 1 is a schematic of a wireless network;

Figure 2 is a flow chart of a method according to an embodiment of the invention; and

Figure 3 is a diagram showing an element of synchronization according to an embodiment of the invention. Detailed description of an embodiment of the invention

In order to ensure that the wireless access points of a wireless network have selected the best channel for communication, the access points are configured to assess their local network conditions and disseminate the data within the network, to enable to the network to switch to operate on an optimal channel. An exemplary wireless network is shown at Figure 1.

Figure 1 is a schematic of a wireless network 10 comprising access points. Four access points are shown - AP 12, AP 14, AP 16 andAP 18. Access point 12 comprises an interface 12a, for communicating with other devices, a processor 12b and a memory 12c. Access point 14 comprises an interface 14a, for communicating with other devices, a processor 14b and a memory 14c. Access point 16 comprises an interface 16a, for communicating with other devices, a processor 16b and a memory 16c. Access point 18 comprises an interface 18a, for communicating with other devices, a processor 18b and a memory 18c. Each of the access points AP 12, AP 14, AP 16 and AP 18 can communicate with one another via their interfaces 12a, 14a, 16a, 18a. Communication between the access points AP 12, AP 14, AP 16 and AP 18 may be wired or wireless. Each access point AP 12, AP 14, AP 16 and AP 18 is capable of wireless communication with wireless devices present in the wireless network 10, such as wireless device 20, which can be a client device 20. The client device 20 has an interface 20a for wireless communication, a processor 20b and a memory 20c. The client device 20 may be a mobile device 20 that moves within (and out of) the wireless network 10. The client device may communicate with the access points AP 12, AP 14, AP 16, and AP 18 in order to connect to the intemet via a gateway (which may be one ofthe access points AP 12, AP 14, AP 16, and AP 18).

Whilst four access points AP 12, AP 14, AP 16 and AP 18 are shown in the wireless network 10 of Figure 1 , in further examples, there may be any number of access points. Further, whilst each of the four access point AP 12, AP 14, AP 16 and AP 18 are shown to each have one interface 12a, 14a, 16a and 18a, in further examples, each of the access points AP 12, AP 14, AP 16 and AP 18 may have a plurality of interfaces for communication with other devices. For example, the access points AP 12, AP 14, AP 16 and AP 18 may communicate with each other over different interfaces for each of the 2.4 GHz band and the 5 GHz band, or there may be interconnection between Whilst there is shown one client device 20 in the wireless network 10, there may be more than one client device 20 in the wireless network. Further, whilst the client device 20 is shown to have one interface 20a for communicating with other wireless devices, the client device 20 may also have further interfaces, such as interfaces for communicating over different bands, such as the 2.4 GHz band and the 5 GHz band.

An access point, such as AP 12, AP 14, AP 16 orAP 18, may implement a dynamic channel selection (DCS) mechanism. The DCS mechanism is a dynamic scanning operation performed in the manner described in relation to Figures 2 and 3, whereby information on channel statistics observed by every AP in the mesh network (for example APs AP 12, AP 14, AP 16 and AP 18 of Figure 1) is gathered, and this information is disseminated among all the APs in the network, in order to determine the optimal channel for wireless devices to operate on in the wireless network 10.

Different channel selection methods can be facilitated depending on the performance metrics of interest, for example to select the optimal channel in a Wi-Fi network operating on the 2.4 GHz or the 5 GHz band. Preferably, the channel selection method has an objective of selecting the channel that maximizes the idle time for the worst AP in the mesh network 10. Such a method may be implemented by assessing the channel quality by computing a network-wise single channel quality metric for each available channel and selecting and switching to the best channel with respect to the assessed channel qualities. This is described in greater detail below, with reference to Figures 2 and 3.

Figure 2 is a flow chart showing the channel selection mechanism according to an embodiment of the invention. The channel selection mechanism can be a daemon running on an access point, such as any of the access points of Figure 1. The process commences at step S 101 , whereby the channel scanning mechanism starts at an access point, such as at any of the access points AP 12, AP 14, AP 16 and AP 18 of Figure 1. It is preferable that, in a wireless mesh network 10, every mesh node independently gathers information about local channel occupancy statistics. The statistics are then disseminated within the mesh such that every mesh node holds a complete set of the whole mesh's measurements. Therefore, in the example of the wireless mesh network 10 of Figure 1, it is preferable that each of the access points AP 12, AP 14, AP 16 and AP 18 commence the channel scanning mechanism as described here. Each access point AP 12, AP 14, AP 16 and AP 18 may be adapted to perform channel scanning operations, as well as tracking Clear Channel Assessment (CCA) statistics, data dissemination, channel metric evaluation and decisions, as well as channel switching procedures.

Once the process has been started at step SI 01, the process then moves to step SI 02. At step S I 02 the process of setup and initialization is commenced at the access point that is running the channel switching mechanism. The process setup includes setting up and triggering the kernel module, which may occur when an access point running the channel mechanism is powered. The process then moves to the main loop of the mechanism at step SI 04, where it is determined if channel statistics have been received. The main loop implements the processing of received packets from remote peers, the received packets containing CCA statistics for those remote peers. The collected channels statistics include the percentage of the dwell time (i.e. the period for which the scan is performed), in which the channel was observed to be idle. For each channel in an available channels list, a channel score is computed based on the channel statistics gathered and distributed by mesh- APs.

The list of channels subject to scanning, the so called 'available channels', is configurable and identical at all mesh nodes in the wireless mesh network 10. The default set of channels preferably includes all channels in the 5 GHz band that are permitted to be used as defined by the corresponding country's regulations. Channels falling under the Dynamic Frequency Selection (DFS) regulations should not be subject to scanning by default, may however be included optionally if a radar avoidance mechanism such as the one proposed in International Patent Publication Number WO 2013/110472 Al is employed. Note that the goal of radar avoidance mechanisms is to carry out off-channel channel availability check (CAC) in an effort to detect possible radars and build sufficient confidence on absence of radar in channels that are not the operating channel of the device. If the radar avoidance mechanism marks a channel as radar- free, then this channel can be included in the available channels list that is used by the channel selection method. In this case, DFS channels cannot be checked for radar during run-time, for example due to lack of a radar avoidance mechanism as described in International Patent Publication Number WO 2013/1 10472 Al , then DFS-re-entry (i.e. the assessment to determine if DFS channels are available to use) is carried out once in a day, preferably early in the morning when the arrival rate in APs (transmit) queues can be lower than 10Kbps, which is regarded as indicative that there is no client activity. Note that if off-channel CAC is not implemented (or used), then an AP shall carry out in-channel CAC before starting any transmission in a DFS channel. This in- channel CAC disrupts any ongoing communication. That is why, DFS re-entry shall be carried out when there is no wireless activity in the network. When DFS re-entry is carried out, the best channel is selected and the decision as to whether to switch channels, as described below, is given taking into account the scores gathered in the last 24 hours.

In the case radar is detected on a channel, that channel is removed from the available channels list for a duration of 1 hour. Thus, a channel in which radar is detected within the last 1 hour is preferably not a candidate channel.

If it is determined at step S 104 that channel statistics have been received, the process moves to step SI 06. At step SI 06, the received channel statistics corresponding to the list of available channels are stored locally in the memory of the access point (such as memory 12c, 14c, 16c 18c of access points AP 12, AP 14, AP16 and AP 18 respectively) that is running the channel scanning mechanism and determining whether channel statistics have been received. Once the channel statistics have been updated, the process moves back to step SI 02 and the main channel scanning loop continues. Hence received packets are processed to provide up to date information on the state of the network to the access point running the dynamic channel selection mechanism. In assessing channel statistics, the quality of a channel can be represented in terms of a score, which corresponds to the percentage of idle time observed in that channel. The idle time of a channel can be measured by periodic and synchronized scans as described with reference to Figures 2 and 3.

Each access point in a mesh network carries out scans in the 20 MHz channels. The score for a channel that has a bandwidth greater than 20 MHz is computed by considering the fact that available airtime is limited by the worst 20 MHz sub-channel within the channel. Thus, the amount of idle time (in percentage) in a channel is computed according to equation 1 , as follows:

P c ( = min p Cii t)

Equation 1 where p c (t) denotes the percentage of idle time in channel c at time t, p c, i(t) denotes the percentage of idle time in subchannel i of channel c at time t.

The decision metric used for assessing and comparing the quality of channel c is calculated by summing up the weighted scores of each sub-channel within the channel. The weights are adjusted in accordance with the bandwidth, such that weight is 1 for 20 MHz, 2 for 40 MHz, and 4 for 80 MHz. The decision metric is computed according to equation 2, as follows:

Equation 2 where W represents the bandwidth, N represents the number of sub-channels within the channel, t represents the time scanning take place, and at represents the weight, namely, ai = 1 , U2 = 2, U3 = 4, for the 20 MHz, 40 Mhz and 80 Mhz channels, respectively. If it is determined at step S 104 that channel statistics have not been received, the process moves to step S 108, where it is determined whether there has been a dissemination interval timeout. The dissemination interval is a predetermined time period within which the access point is programmed to gather information for dissemination to other devices in the wireless network 10. Dissemination intervals are configurable but constant. In an example, the dissemination interval is 5 seconds. Dissemination should be performed frequently enough to maximize the freshness of the mesh-wide set of information. However, frequent data dissemination increases network load. The dissemination interval is thus preferably chosen to optimize both the need for fresh information and the need to minimize the load on the network, as far as possible.

If it is determined at step S 108 that there has been a dissemination interval timeout, the process moves to step SI 10. At step SI 10, the local Clear Channels Assessment (CCA) statistics are read by querying the kernel module of the access point that is running the channel selection mechanism and the process moves to step SI 12, whereby the channel statistics are disseminated amongst mesh peers (e.g. the other access points) in the wireless network 10. Collection of local channel information from the kernel module is preferably carried out immediately before data dissemination. Data subject to dissemination includes the most recent set of both locally gathered, as well any (previously received) remote peers' channel information. The information is disseminated by unicast addressing the information to the other mesh nodes in the network (for example the access points AP 12, AP 14, AP 16 and AP 18 in the wireless network 10).

The process then moves to step SI 14.

If it is determined at step SI 08 that there has not been a dissemination interval timeout, the process also moves to step SI 14. At step SI 14, client devices that have not supplied data within the dissemination interval timeout are removed from the list of devices supplying information to the access point that is performing the DCS mechanism. Such client devices are hence dropped and the process moves to step SI 16, whereby network activity is detected. The network is considered active, if the AP has any associated client devices on any of its interfaces, such as a 2.4 GHz or 5 GHz interface, or if the local wireless network traffic is higher than a certain threshold. In further examples, the network activity is only optionally detected at step S 116 of flow chart S 100.

The process then moves to step S 1 18. At step S 118 it is determined whether the channel switch decision timer has timed out. The decision switch time defines a period of time within which a decision to switch channel operation in the network is to be made. In the event that it is determined that the decision timer has not timed out, the process moves back to step SI 02 and the main process recommences, whereby further data is gathered in order to make the decision as to whether or not it is necessary or desirable to make a channel switch. If it is determined that the decision timer has timed out, the process moves to step SI 20, where it is determined if the channel that the network 10 is operating on should be switched. The decision to switch is determined by the master node in the wireless network 10. Any of the access points AP 12, AP 14, AP 16 and AP 18 could be the master node and hence each access point AP 12, AP 14, AP 16 and AP 18 is capable of performing the channel switch decision. The decision to switch channels is based on an assessment of the collected channel statistics, as described below.

Once the decision metric for each scanned channel is computed, every AP in the wireless mesh network 10 shares its score with the other APs in the wireless mesh network 10 (as described above with reference to step SI 12). After metric dissemination, every AP in the mesh network 10 has the same set of metrics. However, in order to avoid unsynchronized triggering of the channel switch, the decision is given by only one AP in the network 10. For this purpose, an AP is selected as the master AP. The master AP evaluates the decision metrics, selects the best channel and triggers the channel switch.

The master AP computes, for each channel and the AP, the mean and variance of the decision metrics obtained within a predetermined interval. The mean and the variance of the decision metrics for channel c observed by AP j are denoted as μ 7 (<:) and σ 7 (<;) , respectively. The master node selects the AP, which has the minimum mean among the mean channel scores of all APs according to equations 3 to 6 below: org ηΐ3χ ηιίη , (ί)

c j 1

Equation 3

A. σ * (ε) < Γ σ

Equation 4

Equation 5 ^(c) - p c > Γ

Equation 6

where Γ σ is a configurable variance threshold which is used to ensure that collected statistics vary within a limit, Γ μ is a configurable threshold for the minimum required mean idle time (in percentage) to regard a channel as a viable alternative, p c is the idle time (in percentage) for the current channel, and Γ is the minimum required difference in idle time between the current channel and the alternative channel. For each channel, the minimum score among all mesh peers is found out. From the resulting scores, the channel having the highest score, i.e., the channel that maximizes the idle time, is selected. In the above formulation, the goal is to maximize the capacity of the weakest link in the mesh network for every channel, thus preventing connectivity losses among mesh peers.

If it is determined that the channel should be switched, the process moves to step SI 22 and the switch is initialized. If it is determined that the channel should not be switched, the process moves to step SI 02, whereby the process recommences at a configurable frequency, i.e. the process may be performed periodically such that the optimal channel is dynamically assessed and selected in a wireless mesh network 10. In order to be a candidate for a channel switch, a channel ideally improves the score with respect to the current channel by a configurable and variable threshold, as described above. Preferably, in an example, this threshold is set as 20%. In further embodiments, a time- based variable threshold can be used instead of a fixed threshold. In a time -based variable threshold, the decision maker can count the number of specific decisions it has made within a specific duration, and can actuate channel switch only if a predetermined but configurable number of decisions are given. For example, if the score difference in percentage between the current channel and a given candidate channel is 50% in a row for 10 consecutive decision periods, then the decision maker can trigger channel switch after the tenth decision. However, the decision maker can trigger a channel switch only after the fifth decision period, if the difference is 100% in a row for the last 5 consecutive decision periods.

Channel switching takes place collectively throughout the mesh by utilizing Extended Channel Switch Announcements (ECSA), as defined by the IEEE 802.1 ly-2008 amendment, thus informing 802.1 ly-capable clients prior to switching the channel. While IEEE 802.1 ly-capable client devices should seamlessly follow to the new channel, actual client device behaviour may vary. Channel switches can be initiated after evaluating and deciding on a suitable channel, as described herein. The node shall start announcing the switch for the duration of a configurable number of beacons. Non-master nodes receiving another mesh peer's ECSA shall react as follows:

(1) Adapt the ECSA, i.e. start to announce the channel switch to clients and other peers themselves, sending ECSAs.

(2) If the local channel switching procedure is already in progress, ignore the received announcement.

(3) After expiration of the announcement period, switch the channel.

Channel scanning by each of the nodes implementing the channel selection mechanism, is done in a synchronized manner. Nodes are synchronized to common time intervals, i.e. epochs, in which the scanning procedure shall be performed. In order to be able to collect meaningful channel occupancy statistics, a mesh-wide timing synchronization is preferable in order to avoid the mesh's local traffic influencing the measurements of other nodes residing within its vicinity. This traffic however will be carried over to the new channel in case of a switch and should thus not play a part in determining a reasonable channel decision. However, preferably an AP does not initiate a scan if the arrival rate in its (transmit) queues is higher than 100 Mbps. Note also that, by synchronized scans, each AP gets the snapshot of the air almost for the same time period.

To perform synchronization, every mesh node, such as each of the access point AP 12, AP 14, AP 16 and AP 18 of Figure 1 , compares its local Timing Synchronization Function (TSF) value to the one embedded in beacons sent by other nodes in the wireless mesh network 10. If the remote TSF is higher than the local one, it is adopted. This assures a mesh-wide synchronization to the highest existent TSF. With the TSF synchronization facilitated, scanning is performed within epochs, which are scheduled to start at all mesh nodes at the same time, i.e. the same TSF value.

Such an epoch 30 is shown in Figure 3. The epoch 30 is a synchronization epoch 30 of an epoch length 32 composed of at least a scan offset 36 and a dwell time 34. During each epoch 30, a single channel is scanned. The channel that is to be scanned is identical at all mesh nodes (e.g. the access points of Figure 1) during each epoch 30, however each node is able to determine exactly this channel independently. The time interval between epochs 30, i.e. the scan frequency, is configurable but constant, as well as identical at all mesh nodes. In a preferable example, the scan frequency is 1 second. The interval at which scans are performed should be short enough to scan an entire band in a reasonable time while also being kept as long as possible to minimize impact on the mesh's throughput capabilities.

Right after entering an epoch 30, the mesh nodes freeze their transmission queues to avoid interfering with other nodes' measurements. Subsequently, the nodes wait for a small period of time, called a scan offset 36, to compensate any synchronization errors, which are measured to be around 5ms. The start of the scanning procedure within an epoch is delayed by a configurable amount of time. Preferably, this delay should be kept minimal. In further examples, the scan offset 36 may default to 10 ms. Finally, the actual scan 38 is performed during a dwell time 34. The time spent in channels subject to a scan 38, i.e. the dwell time, is configurable but constant, as well as identical at all mesh nodes. In a preferable example, the dwell time is 50 ms. The dwell time should be chosen short enough to assure the completion of the scan 38 within the epoch 30. Moreover, it should be kept as long as possible to maximize reliance of the scan result. If a scanning procedure cannot be completed within the time window defined by the epoch 30, the scan process may be aborted, the error logged, and the scan result invalidated.

Once a scan 38 is finished, the scanning device, which is at least one of the access points AP 12, AP 14, AP 16 and AP 18 in the example of Figure 1 , reads the scan results and updates the raw and time-averaged channel occupancy statistics, as described above.

After an epoch 30 has ended, the transmission queues are unfrozen and the next epoch 30 is scheduled, once again, for the same TSF value on all mesh nodes. Note that not only do mesh peers scan at the same time but they also scan the same channel to assure coherency between independent measurements. The length of an epoch is configurable but constant, as well as identical at all mesh nodes. In an example, the length of an epoch 32 is preferably 75 milliseconds. The epoch length 32 should be kept long enough to allow collection of reliable channel statistics while also being kept as short as possible to minimize impact on the mesh's throughput capabilities.

Preferably the dynamic channel selection mechanism described herein is a daemon that operates in respect of a 5 GHz band interface of a wireless network device, such as an access point, as described above. However, in further examples, the daemon may operate in respect of other interfaces, such as the 2.4 GHz band interface. The list of channels that are scanned is configurable, as described above. Preferably, if the percentage of average idle time of a channel falls below a predetermined but configurable threshold, which is preferably set as 20%, at any mesh-AP, then the said channel shall be removed from the available channels list (by all APs). In other words, a channel shall not be listed in available channels list, if its percentage of average idle time is not above 20%.

Preferably, if the variance of percentage of idle time of a channel is above a predetermined but configurable threshold, which is preferably set as 30%, at any mesh-AP, then the said channel shall be removed from the available channels list (by all APs). In other words, a channel shall not be listed in available channels list, if its variance of percentage of average idle time is not below 30%.

Preferably, only channels with a bandwidth of 20 MHz shall be subject to scans. However, in further examples, channels with different bandwidths, such as 40 MHz can be subject to scans. As described above, the metrics for higher bandwidth channels can be derived from 20 MHz channel statistics.

The channel selection process is described in reference to Figure 1 as being enabled at each of the access points AP 12, AP 14, AP 16 and AP 18, since all of the access point nodes in a wireless network, such as wireless mesh network 10 must operate on the same channel in order to avoid breaking the mesh network. However, in further examples, if there is a single access point in a wireless network, it may also run the channel selection daemon described above. Furthermore, if the wireless network 10 an access point that is part of an Ethernet network rather than a wireless mesh network, the access points can be configured to run the channel selection mechanism. Preferably all mesh nodes that are running the channel selection daemon collect channel occupancy statistics independently, i.e., no additional intra-mesh communication is necessary to facilitate the mesh-wide channel scanning mechanism, at any point in time. Any node in the mesh network may compute the best channel, since every AP has the same set of metrics. However, the master node shall trigger the channel switch. The collected channels statistics preferably include the percentage of the dwell time, in which the channel was observed to be idle. However, in further examples, other statistics can be collected in order to determine the decision to switch or maintain a channel.

Preferably, in the case that there are missing channel statistics from one or multiple mesh- APs, then the mesh-wise channel score shall not be computed for that scan period.

Preferably the mean and variance of channel scores shall be calculated within a sliding window of a configurable length that ensures reliable mean and variance values. The minimum sliding window length is 10 samples, in an example.

The access point (mesh node) having the numerically highest MAC address shall be declared as the master node, being responsible for channel switch decisions as well as initiation of the switching procedure. However, in further examples, other schemes for determining which access point is the master node may be implemented.

Data dissemination is preferably made by unicast addressing other access points in the wireless network 10, however, in further examples, data dissemination may be performed using broadcast addressing. Disseminated data shall preferably be sent using a bridge interface, thus being unbound in terms of the logical link utilized for dissemination (wireless, mesh, Ethernet, etc.). However, in further examples, other schemes for disseminating data could be implemented. Advantageously, the disclosed dynamic channel selection (DCS) mechanism provides a smart, automatic channel selection for mesh networks during runtime. Although channels falling under DFS regulations shall not be considered as possible target channels - unless a separate method such as International Patent Publication Number WO 2013/110472 Al is used to identify whether a DFS channel can be involved in the available channels list-, the decision on whether to switch to these channels can be given by a DFS re-entry daemon, as described herein. Beneficially, varying channel conditions shall be tracked and reacted to quickly and dynamically. This mechanism allows connectivity between mesh nodes to be preserved, i.e. every mesh node has to operate in the same channel to avoid breaking the mesh. According to DFS regulations, an AP is required to run channel availability check (CAC) for a duration of 1 minute or an AP is required to run off-channel CAC for a duration of 6 minutes, before starting any transmission in a DFS channel. Due to this regulation, an AP cannot switch immediately to a DFS channel without losing connectivity with its mesh peers and its clients, unless off-channel CAC is implemented via a method such as that described in International Patent Publication Number WO 2013/110472 Al .

Whereas DCS aims at dynamically selecting and switching to a better non-DFS channel, the goal of a DFS re-entry daemon is to switch to the best DFS channel in an appropriate time during the day. In an effort to avoid service interruption for clients, DFS reentry shall be carried out, specifically early in the morning and when there is no activity in the network.

DFS reentry and DCS share the same channel statistics gathering and dissemination mechanisms. The only difference is the frequency of the decisions, and the amount of data collected before a decision is given. Whereas DCS acts quickly to switch to an interference free non-DFS channel in case of heavy interference, DFS re-entry aims at re-entering to a DFS channel, which allows for higher transmit power leading to improved coverage and performance for the entire network. It shall be noted that DFS-re-entry does not necessitate frequent periodic channel scans, and in fact in an exemplary embodiment DFS re-entry can be implemented such that a channel is only scanned once before a channel switch is to be triggered, which happens once during day, when there is negligible traffic in the network, and preferably when it is early hours of day.