Search Linux Wireless

Re: [RFC 2/3] mac80211: Support scanning only current active channel.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2011-01-20 at 09:32 -0800, greearb@xxxxxxxxxxxxxxx wrote:

> -	ieee80211_offchannel_stop_beaconing(local);
> +	if (local->ops->sw_scan_start_cur &&
> +	    local->scan_req->n_channels == 1 &&
> +	    local->scan_req->channels[0] == local->hw.conf.channel) {
> +		__set_bit(SCAN_ON_CUR_CHANNEL, &local->scanning);
> +		drv_sw_scan_start_cur(local, true);
> +	} else
> +		drv_sw_scan_start(local);

This doesn't seem to make much sense either -- even if we do a scan over
multiple channels we should be able to optimise the part on the current
channel (maybe put it at the beginning or end too).

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux