linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Ath10k probe response error related to mac80211 commit.
@ 2016-09-01 16:29 Ben Greear
  2016-09-01 18:01 ` Johannes Berg
  0 siblings, 1 reply; 8+ messages in thread
From: Ben Greear @ 2016-09-01 16:29 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org

I have a variant of the ath10k 10.1 firmware that puts all frames, including management,
over the normal htt packet transport.  This has worked fine for many kernels, but
for reasons that currently escape me, the patch below breaks this firmware.

On air, I see corrupted probe responses, seems the end of the frames are corrupted.

This only breaks AP mode (station mode works fine).

There may be some other similar breakage somewhere, since git bisect could not find this
error and I had to bisect it by hand.

If someone has any idea of why this patch might trigger it, please let me know.
I'll keep digging in the meantime...

Author: Johannes Berg <johannes.berg@intel.com>  2015-11-26 07:26:14
Committer: Johannes Berg <johannes.berg@intel.com>  2015-12-04 05:43:32
Tags: ben-bad-athia-6
Parent: bda95eb1d1581cfd79e9717ebda4b7ccd2265351 (cfg80211: handle add_station auth/assoc flag quirks)
Child:  86c7ec9eb154020797c39e1cc7dafa92da02f603 (mac80211: properly free skb when r-o-c for TX fails)
Branches: master, remotes/origin/master
Follows: ben-good-athia-7
Precedes: ben-bad-5-athai

     Revert "mac80211: don't advertise NL80211_FEATURE_FULL_AP_CLIENT_STATE"

     This reverts commit 45bb780a2147b9995f3d288c44ecb87ca8a330e2,
     the previous two patches fixed the functionality.

     Signed-off-by: Johannes Berg <johannes.berg@intel.com>

----------------------------- net/mac80211/main.c -----------------------------
index 175ffcf..858f6b1 100644
@@ -541,7 +541,8 @@ struct ieee80211_hw *ieee80211_alloc_hw_nm(size_t priv_data_len,
  			   NL80211_FEATURE_HT_IBSS |
  			   NL80211_FEATURE_VIF_TXPOWER |
  			   NL80211_FEATURE_MAC_ON_CREATE |
-			   NL80211_FEATURE_USERSPACE_MPM;
+			   NL80211_FEATURE_USERSPACE_MPM |
+			   NL80211_FEATURE_FULL_AP_CLIENT_STATE;

  	if (!ops->hw_scan)
  		wiphy->features |= NL80211_FEATURE_LOW_PRIORITY_SCAN |

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-09-02 13:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-01 16:29 Ath10k probe response error related to mac80211 commit Ben Greear
2016-09-01 18:01 ` Johannes Berg
2016-09-01 18:23   ` Ben Greear
2016-09-01 18:53     ` Johannes Berg
2016-09-01 19:00       ` Ben Greear
2016-09-01 20:52       ` Ben Greear
2016-09-02 12:09         ` Michal Kazior
2016-09-02 13:30           ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).