Implementing an adaptive two timers active scanning

The adaptive active scanning uses two timers, one for MinChannel Time and
another for MaxChannelTime. The value for each timer is selected according to
the scanned channel.