summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-08-23 10:46:37 +0200
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-08-27 18:11:49 +0200
commit8f2d3d2ae17855e396483724f152f223e6f01bfe (patch)
treeedaf836cba8426be3d93426beccc94848ccbfb42 /drivers/net/wireless/iwlwifi/iwl-dev.h
parentiwlwifi: contextify-stations-completely (diff)
downloadlinux-8f2d3d2ae17855e396483724f152f223e6f01bfe.tar.xz
linux-8f2d3d2ae17855e396483724f152f223e6f01bfe.zip
iwlwifi: contextify command sending
Some commands will have different command IDs for different contexts, so we need to store those IDs in the context structure and use them instead of hardcoding the commands. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index da54bd53c99d..6a7e9ff4a88c 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1126,6 +1126,8 @@ struct iwl_rxon_context {
struct iwl_rxon_time_cmd timing;
u8 bcast_sta_id;
+
+ u8 rxon_cmd, rxon_assoc_cmd, rxon_timing_cmd;
};
struct iwl_priv {