Search Linux Wireless

Re: [PATCH 2/2] mac80211: properly stop/wake queues before/after off-channel

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

 



On Thu, 2012-12-20 at 14:41 +0100, Stanislaw Gruszka wrote:

>  		if (sdata->vif.type != NL80211_IFTYPE_MONITOR) {
> -			netif_tx_stop_all_queues(sdata->dev);
> +			ieee80211_stop_queues_by_reason(&local->hw,
> +				IEEE80211_QUEUE_STOP_REASON_OFFCHANNEL);

That won't work ... if you do this you can't send probe requests or
offchannel frames any more.

What we should be doing is refcount the netif queues as well to avoid
them starting because while offchannel the driver re-enables.

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