iwlwifi: fix for channel switch
[deliverable/linux.git] / drivers / net / wireless / iwlwifi / iwl-dev.h
index 997564584c71fd37a3e74c20034760ca2edee304..9a19a3d1f704d144a354fa1986e56cf148b366c6 100644 (file)
@@ -994,6 +994,17 @@ struct traffic_stats {
 };
 #endif
 
+/*
+ * iwl_switch_rxon: "channel switch" structure
+ *
+ * @ switch_in_progress: channel switch in progress
+ * @ channel: new channel
+ */
+struct iwl_switch_rxon {
+       bool switch_in_progress;
+       __le16 channel;
+};
+
 struct iwl_priv {
 
        /* ieee device used by generic ieee processing code */
@@ -1087,6 +1098,8 @@ struct iwl_priv {
        const struct iwl_rxon_cmd active_rxon;
        struct iwl_rxon_cmd staging_rxon;
 
+       struct iwl_switch_rxon switch_rxon;
+
        /* 1st responses from initialize and runtime uCode images.
         * 4965's initialize alive response contains some calibration data. */
        struct iwl_init_alive_resp card_alive_init;
This page took 0.025952 seconds and 5 git commands to generate.