From: Janusz Dziedzic <janusz.dziedzic@tieto.com> To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Janusz Dziedzic <janusz.dziedzic@tieto.com> Subject: [PATCH 2/2] ath10k: send (re)assoc peer command when NSS changed Date: Tue, 16 Dec 2014 09:53:00 +0100 [thread overview] Message-ID: <1418719980-19753-2-git-send-email-janusz.dziedzic@tieto.com> (raw) In-Reply-To: <1418719980-19753-1-git-send-email-janusz.dziedzic@tieto.com> Assoc peer command contain information about NSS. When we will get IEEE80211_RC_NSS_CHANGED we should also send (re) assoc peer command to be sure firmware will know about it and RC will work correctly. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> --- drivers/net/wireless/ath/ath10k/mac.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index c9e7995..05fd620 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -3592,8 +3592,9 @@ static void ath10k_sta_rc_update_wk(struct work_struct *wk) sta->addr, smps, err); } - if (changed & IEEE80211_RC_SUPP_RATES_CHANGED) { - ath10k_dbg(ar, ATH10K_DBG_MAC, "mac update sta %pM supp rates\n", + if (changed & IEEE80211_RC_SUPP_RATES_CHANGED || + changed & IEEE80211_RC_NSS_CHANGED) { + ath10k_dbg(ar, ATH10K_DBG_MAC, "mac update sta %pM supp rates/nss\n", sta->addr); err = ath10k_station_assoc(ar, arvif->vif, sta, true); -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: Janusz Dziedzic <janusz.dziedzic@tieto.com> To: ath10k@lists.infradead.org Cc: Janusz Dziedzic <janusz.dziedzic@tieto.com>, linux-wireless@vger.kernel.org Subject: [PATCH 2/2] ath10k: send (re)assoc peer command when NSS changed Date: Tue, 16 Dec 2014 09:53:00 +0100 [thread overview] Message-ID: <1418719980-19753-2-git-send-email-janusz.dziedzic@tieto.com> (raw) In-Reply-To: <1418719980-19753-1-git-send-email-janusz.dziedzic@tieto.com> Assoc peer command contain information about NSS. When we will get IEEE80211_RC_NSS_CHANGED we should also send (re) assoc peer command to be sure firmware will know about it and RC will work correctly. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> --- drivers/net/wireless/ath/ath10k/mac.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index c9e7995..05fd620 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -3592,8 +3592,9 @@ static void ath10k_sta_rc_update_wk(struct work_struct *wk) sta->addr, smps, err); } - if (changed & IEEE80211_RC_SUPP_RATES_CHANGED) { - ath10k_dbg(ar, ATH10K_DBG_MAC, "mac update sta %pM supp rates\n", + if (changed & IEEE80211_RC_SUPP_RATES_CHANGED || + changed & IEEE80211_RC_NSS_CHANGED) { + ath10k_dbg(ar, ATH10K_DBG_MAC, "mac update sta %pM supp rates/nss\n", sta->addr); err = ath10k_station_assoc(ar, arvif->vif, sta, true); -- 1.9.1 _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k
next prev parent reply other threads:[~2014-12-16 8:54 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-12-16 8:52 [PATCH 1/2] ath10k: fix low TX rates when IBSS and HT Janusz Dziedzic 2014-12-16 8:52 ` Janusz Dziedzic 2014-12-16 8:53 ` Janusz Dziedzic [this message] 2014-12-16 8:53 ` [PATCH 2/2] ath10k: send (re)assoc peer command when NSS changed Janusz Dziedzic 2014-12-17 10:32 ` Kalle Valo 2014-12-17 10:32 ` Kalle Valo 2014-12-18 5:28 ` Janusz Dziedzic 2014-12-18 5:28 ` Janusz Dziedzic 2014-12-18 6:02 ` Kalle Valo 2014-12-18 6:02 ` Kalle Valo 2014-12-16 11:10 ` [PATCH 1/2] ath10k: fix low TX rates when IBSS and HT Yeoh Chun-Yeow 2014-12-16 11:10 ` Yeoh Chun-Yeow 2014-12-16 11:22 ` Janusz Dziedzic 2014-12-16 11:22 ` Janusz Dziedzic 2014-12-16 11:45 ` Janusz Dziedzic 2014-12-16 11:45 ` Janusz Dziedzic 2014-12-16 13:32 ` Yeoh Chun-Yeow 2014-12-16 13:32 ` Yeoh Chun-Yeow 2014-12-17 3:56 ` Yeoh Chun-Yeow 2014-12-17 3:56 ` Yeoh Chun-Yeow 2014-12-16 13:32 ` Yeoh Chun-Yeow 2014-12-16 13:32 ` Yeoh Chun-Yeow 2014-12-23 15:23 ` Kalle Valo 2014-12-23 15:23 ` 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=1418719980-19753-2-git-send-email-janusz.dziedzic@tieto.com \ --to=janusz.dziedzic@tieto.com \ --cc=ath10k@lists.infradead.org \ --cc=linux-wireless@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: 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.