From: Sven Eckelmann <sven.eckelmann@openmesh.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
Michal Kazior <michal.kazior@tieto.com>
Subject: Re: [REGRESSION] mac80211: IBSS vif queue stopped when started after 11s vif
Date: Wed, 29 Mar 2017 14:11:08 +0200 [thread overview]
Message-ID: <1889117.GdG6vIS4EM@bentobox> (raw)
In-Reply-To: <1490788386.7948.21.camel@sipsolutions.net>
[-- Attachment #1: Type: text/plain, Size: 1139 bytes --]
On Mittwoch, 29. März 2017 13:53:06 CEST Johannes Berg wrote:
[...]
> > Not sure whether removing it in ieee80211_propagate_queue_wake will
> > have other odd side effects with software queuing. Maybe Michal
> > Kazior can tell us if it is safe to remove it.
>
> No, it's the other way around.
>
> Michal's patches correctly added a test for this to
> __ieee80211_stop_queue(), the only missing thing is that this test
> should also be in ieee80211_do_open() like this:
>
> diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
> index 40813dd3301c..5bb0c5012819 100644
> --- a/net/mac80211/iface.c
> +++ b/net/mac80211/iface.c
> @@ -718,7 +718,8 @@ int ieee80211_do_open(struct wireless_dev *wdev, bool coming_up)
> ieee80211_recalc_ps(local);
>
> if (sdata->vif.type == NL80211_IFTYPE_MONITOR ||
> - sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
> + sdata->vif.type == NL80211_IFTYPE_AP_VLAN ||
> + local->ops->wake_tx_queue) {
> /* XXX: for AP_VLAN, actually track AP queues */
> netif_tx_start_all_queues(dev);
> } else if (dev) {
Yes, this also works.
Kind regards,
Sven
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2017-03-29 12:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-22 9:15 [REGRESSION] mac80211: IBSS vif queue stopped when started after 11s vif Sven Eckelmann
2017-03-29 7:49 ` Johannes Berg
2017-03-29 11:07 ` Sven Eckelmann
2017-03-29 11:53 ` Johannes Berg
2017-03-29 11:53 ` Johannes Berg
2017-03-29 12:11 ` Sven Eckelmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1889117.GdG6vIS4EM@bentobox \
--to=sven.eckelmann@openmesh.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=michal.kazior@tieto.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.