Search Linux Wireless

Re: [PATCH] mac80211: remove IEEE80211_STA_BEACON_POLL

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

 



On Fri, 2013-08-23 at 08:52 +0200, Stanislaw Gruszka wrote:

> -	if (ifmgd->flags & IEEE80211_STA_BEACON_POLL) {
> +	if (ifmgd->flags & IEEE80211_STA_CONNECTION_POLL) {
>  		mlme_dbg_ratelimited(sdata,
>  				     "cancelling AP probe due to a received beacon\n");
> -		mutex_lock(&local->mtx);
> -		ifmgd->flags &= ~IEEE80211_STA_BEACON_POLL;
> -		ieee80211_run_deferred_scan(local);
> -		mutex_unlock(&local->mtx);
> -
> -		mutex_lock(&local->iflist_mtx);
> -		ieee80211_recalc_ps(local, -1);
> -		mutex_unlock(&local->iflist_mtx);
> +		ieee80211_reset_ap_probe(sdata);
>  	}

This is actually a behavioural change for drivers that implement beacon
filtering/monitoring. It means that when the driver reports beacon loss
and we poll, we'd make a received beacon later abort the poll.

That seems like a reasonable change, but you should probably note it.

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