public void ThreadableScan() { //_AccessPoint.Clear(); _AccessPoint.DecreaseAll(); //_AccessPointTimeCounter.Clear(); Int32 perv_channel = this.getOperateChannel(); String prev_band = this.getOperateBand(); // for (int i = 1; i < 15; i++) // { // ScanOneChannel(i, 100, "N"); // } for (int i = 1; i < 15; i++) { ScanOneChannel(i, 320, "N"); } /* * ArrayList Achannels = _MEDIUM.getBandAChannels(); * setOperateBand("N"); * foreach (int i in Achannels) * { * setOperateChannel(i); * Thread.Sleep(400); * }*/ }
//===================================================================== /// <summary> /// Function wich updating keepalive by decreacing value of last /// received keep alive for each STA devices /// </summary> private void UpdateKeepAlive() { while (_Enabled) { _AssociatedDevices.DecreaseAll(); Thread.Sleep(_UPDATE_KEEP_ALIVE_PERIOD * 1000); // sec * } }