ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/3] ath10k: enable monitor when OTHER_BSS requested
@ 2015-09-09 16:47 Bob Copeland
  2015-09-09 16:47 ` [PATCH v3 2/3] ath10k: check for encryption before adding MIC_LEN Bob Copeland
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bob Copeland @ 2015-09-09 16:47 UTC (permalink / raw)
  To: linux-wireless; +Cc: Bob Copeland, ath10k

By default, ath10k restricts received frames to those matching BSSID.
When other BSS frames are requested (e.g. in mesh mode), add an internal
monitor device so those frames are not filtered.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
---
 drivers/net/wireless/ath/ath10k/mac.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 989d2a1..80efcc8 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -1070,6 +1070,7 @@ static bool ath10k_mac_monitor_vdev_is_needed(struct ath10k *ar)
 		return false;
 
 	return ar->monitor ||
+	       ar->filter_flags & FIF_OTHER_BSS ||
 	       test_bit(ATH10K_CAC_RUNNING, &ar->dev_flags);
 }
 
-- 
2.1.4


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

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

end of thread, other threads:[~2015-09-17 10:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-09 16:47 [PATCH v3 1/3] ath10k: enable monitor when OTHER_BSS requested Bob Copeland
2015-09-09 16:47 ` [PATCH v3 2/3] ath10k: check for encryption before adding MIC_LEN Bob Copeland
2015-09-09 16:47 ` [PATCH v3 3/3] ath10k: implement mesh support Bob Copeland
2015-09-17 10:57 ` [PATCH v3 1/3] ath10k: enable monitor when OTHER_BSS requested Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox