From: Janusz Dziedzic <janusz.dziedzic@tieto.com> To: linux-wireless@vger.kernel.org Cc: ath9k-devel@lists.ath9k.org, nbd@openwrt.org, sujith@msujith.org, Janusz Dziedzic <janusz.dziedzic@tieto.com> Subject: [PATCH v3 4/4] ath9k: setup rxfilter when offchannel Date: Tue, 21 Jul 2015 11:11:43 +0200 [thread overview] Message-ID: <1437469903-32362-4-git-send-email-janusz.dziedzic@tieto.com> (raw) In-Reply-To: <1437469903-32362-1-git-send-email-janusz.dziedzic@tieto.com> Setup rxfiler correctly for offchannel ctx. This fix problem we didn't configure rxfilter, next didn't receive probe requests and next failed p2p_find. This was seen when ath9k loaded with use_chanctx=1 Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> --- drivers/net/wireless/ath/ath9k/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 3de829f..c27143b 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -1468,6 +1468,9 @@ static void ath9k_configure_filter(struct ieee80211_hw *hw, spin_lock_bh(&sc->chan_lock); ath_for_each_chanctx(sc, ctx) ctx->rxfilter = *total_flags; +#ifdef CONFIG_ATH9K_CHANNEL_CONTEXT + sc->offchannel.chan.rxfilter = *total_flags; +#endif spin_unlock_bh(&sc->chan_lock); ath9k_ps_wakeup(sc); -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: Janusz Dziedzic <janusz.dziedzic@tieto.com> To: ath9k-devel@lists.ath9k.org Subject: [ath9k-devel] [PATCH v3 4/4] ath9k: setup rxfilter when offchannel Date: Tue, 21 Jul 2015 11:11:43 +0200 [thread overview] Message-ID: <1437469903-32362-4-git-send-email-janusz.dziedzic@tieto.com> (raw) In-Reply-To: <1437469903-32362-1-git-send-email-janusz.dziedzic@tieto.com> Setup rxfiler correctly for offchannel ctx. This fix problem we didn't configure rxfilter, next didn't receive probe requests and next failed p2p_find. This was seen when ath9k loaded with use_chanctx=1 Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> --- drivers/net/wireless/ath/ath9k/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 3de829f..c27143b 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -1468,6 +1468,9 @@ static void ath9k_configure_filter(struct ieee80211_hw *hw, spin_lock_bh(&sc->chan_lock); ath_for_each_chanctx(sc, ctx) ctx->rxfilter = *total_flags; +#ifdef CONFIG_ATH9K_CHANNEL_CONTEXT + sc->offchannel.chan.rxfilter = *total_flags; +#endif spin_unlock_bh(&sc->chan_lock); ath9k_ps_wakeup(sc); -- 1.9.1
next prev parent reply other threads:[~2015-07-21 9:12 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-07-21 9:11 [PATCH v3 1/4] ath9k: advertise p2p dev support when chanctx Janusz Dziedzic 2015-07-21 9:11 ` [ath9k-devel] " Janusz Dziedzic 2015-07-21 9:11 ` [PATCH v3 2/4] ath9k: handle RoC cancel correctly Janusz Dziedzic 2015-07-21 9:11 ` [ath9k-devel] " Janusz Dziedzic 2015-07-21 9:11 ` [PATCH v3 3/4] ath9k: setup rxfilter for all chanctx Janusz Dziedzic 2015-07-21 9:11 ` [ath9k-devel] " Janusz Dziedzic 2015-07-21 9:11 ` Janusz Dziedzic [this message] 2015-07-21 9:11 ` [ath9k-devel] [PATCH v3 4/4] ath9k: setup rxfilter when offchannel Janusz Dziedzic 2015-08-06 7:11 ` [v3,1/4] ath9k: advertise p2p dev support when chanctx Kalle Valo 2015-08-06 7:11 ` [ath9k-devel] [v3, 1/4] " Kalle Valo
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=1437469903-32362-4-git-send-email-janusz.dziedzic@tieto.com \ --to=janusz.dziedzic@tieto.com \ --cc=ath9k-devel@lists.ath9k.org \ --cc=linux-wireless@vger.kernel.org \ --cc=nbd@openwrt.org \ --cc=sujith@msujith.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: linkBe 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.