Search Linux Wireless

Re: [PATCH v3] mac80211: Support on-channel scan option.

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

 



Did you test it?

+		/* If we are scanning only on the current channel, then
+		 * we do not need to stop normal activities
+		 */
+		unsigned long next_delay;
+
+		__set_bit(SCAN_ONCHANNEL_SCANNING,&local->scanning);
+		ieee80211_recalc_idle(local);
+		/* Notify driver scan is starting, keep order of operations
+		 * same as normal software scan, in case that matters. */
+		drv_sw_scan_start(local);
+		ieee80211_configure_filter(local); /* accept probe-responses */
+		/* We need to ensure power level is at max for scanning. */
+		ieee80211_hw_config(local, 0);

a few blank lines would be nice :)

+		if ((req->channels[0]->flags&
+		     IEEE80211_CHAN_PASSIVE_SCAN) ||
+		    !local->scan_req->n_ssids) {

That formatting is a bit off it seems. Or is that just my mailer?

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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux