Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7263)

Unified Diff: chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ath9k.h

Issue 6393011: ath9k: Add pktlog support Base URL: ssh://git@gitrw.chromium.org:9222/kernel.git@master
Patch Set: add missing files Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ath9k.h
diff --git a/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ath9k.h b/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ath9k.h
index 15b35dc4dd5643722b255c3aee1b85ac646f2963..113c100639ad87bac8b44716c8c2289e9cb8d55c 100644
--- a/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -24,6 +24,7 @@
#include "debug.h"
#include "common.h"
+#include "pktlog.h"
/*
* Header for the ath9k.ko driver core *only* -- hw code nor any other driver
@@ -516,6 +517,7 @@ void ath_deinit_leds(struct ath_softc *sc);
#define SC_OP_BT_PRIORITY_DETECTED BIT(12)
#define SC_OP_BT_SCAN BIT(13)
#define SC_OP_ANI_RUN BIT(14)
+#define SC_OP_PKTLOGGING BIT(15)
/* Powersave flags */
#define PS_WAIT_FOR_BEACON BIT(0)
@@ -595,6 +597,10 @@ struct ath_softc {
#ifdef CONFIG_ATH9K_DEBUGFS
struct ath9k_debug debug;
#endif
+#ifdef CONFIG_ATH9K_PKTLOG
+ struct ath_pktlog_debugfs pktlog;
+#endif
+ bool is_pkt_logging;
struct ath_beacon_config cur_beacon_conf;
struct delayed_work tx_complete_work;
struct ath_btcoex btcoex;

Powered by Google App Engine
This is Rietveld 408576698