summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/fw-api-tx.h
diff options
context:
space:
mode:
authorDavid Spinadel <david.spinadel@intel.com>2014-02-27 16:41:52 +0200
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-06-24 21:55:39 +0300
commit1c87bbad439d818f94f2e8bff98f73d6fb568dfc (patch)
treebd820a1c50620a48a597726ce93a85a618c25a01 /drivers/net/wireless/iwlwifi/mvm/fw-api-tx.h
parent09b0ce1a874a644fb5799ebf5e54563632714115 (diff)
downloadop-kernel-dev-1c87bbad439d818f94f2e8bff98f73d6fb568dfc.zip
op-kernel-dev-1c87bbad439d818f94f2e8bff98f73d6fb568dfc.tar.gz
iwlwifi: mvm: support extended beacon notification
Use extended beacon notification when supported by FW. Set last beacon system time to AP or GO interface. System time of last beacon can be used to avoid TBTT overlapping between two interfaces, CSA and other uses. Signed-off-by: David Spinadel <david.spinadel@intel.com> Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/fw-api-tx.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/fw-api-tx.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/fw-api-tx.h b/drivers/net/wireless/iwlwifi/mvm/fw-api-tx.h
index 6cc5f52..bdd6ff6 100644
--- a/drivers/net/wireless/iwlwifi/mvm/fw-api-tx.h
+++ b/drivers/net/wireless/iwlwifi/mvm/fw-api-tx.h
@@ -549,6 +549,20 @@ struct iwl_beacon_notif {
} __packed;
/**
+ * struct iwl_extended_beacon_notif - notifies about beacon transmission
+ * @beacon_notify_hdr: tx response command associated with the beacon
+ * @tsf: last beacon tsf
+ * @ibss_mgr_status: whether IBSS is manager
+ * @gp2: last beacon time in gp2
+ */
+struct iwl_extended_beacon_notif {
+ struct iwl_mvm_tx_resp beacon_notify_hdr;
+ __le64 tsf;
+ __le32 ibss_mgr_status;
+ __le32 gp2;
+} __packed; /* BEACON_NTFY_API_S_VER_5 */
+
+/**
* enum iwl_dump_control - dump (flush) control flags
* @DUMP_TX_FIFO_FLUSH: Dump MSDUs until the the FIFO is empty
* and the TFD queues are empty.
OpenPOWER on IntegriCloud