1. 07 Jan, 2016 10 commits
  2. 21 Dec, 2015 3 commits
  3. 20 Dec, 2015 21 commits
  4. 16 Dec, 2015 3 commits
  5. 13 Dec, 2015 3 commits
    • Johannes Berg's avatar
      iwlwifi: mvm: protect RCU dereference in iwl_mvm_get_key_sta_id · 45854360
      Johannes Berg authored
      Properly protect the RCU dereference in iwl_mvm_get_key_sta_id() when
      coming from iwl_mvm_update_tkip_key() which cannot hold the mvm->mutex
      by moving the call into the RCU critical section.
      Modify the check to use rcu_dereference_check() to permit this.
      
      Fixes: 9513c5e1 ("iwlwifi: mvm: Avoid dereferencing sta if it was already flushed")
      Reported-by: default avatarLaura Abbott <labbott@redhat.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      45854360
    • Johannes Berg's avatar
      iwlwifi: separate firmware version for 7260 devices · 628a2918
      Johannes Berg authored
      The 7260 devices aren't going to be updated for completely new
      firmware versions any more (only bugfixes), and haven't been
      since API version 17. Encode that in the data structures to
      avoid trying to load FW images that will never exist.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      628a2918
    • Luca Coelho's avatar
      iwlwifi: replace d0i3_mode and wowlan_d0i3 with more generic variables · b7282643
      Luca Coelho authored
      The d0i3_mode variable is used to distinguish between transports that
      handle d0i3 entry during suspend by themselves (i.e. the slave
      transports) and those which rely on the op_mode layer to do it.  The
      reason why the former do it by themselves is that they need to
      transition from d0i3 in runtime_suspend into d0i3 in system-wide
      suspend and this transition needs to happen before the op_mode's
      suspend flow is called.
      
      The wowlan_d0i3 element is also a bit confusing, because it just
      reflects the wowlan->any value for the trans to understand.  This is a
      bit unclear in the code and not generic enough for future use.
      
      To make it clearer and to generalize the platform power mode settings,
      introduce two variables to indicate the platform power management
      modes used by the transport.
      
      Additionally, in order not to take too big a step in one patch, treat
      this new variables semantically in the same way as the old d0i3_mode
      element, introducing a iwl_mvm_enter_d0i3_on_suspend() function to
      help with that.
      
      This commit also adds the foundation for a new concept where the
      firmware configuration state (i.e. D0, D3 or D0i3) is abstracted from
      the platform PM mode we are in (i.e. runtime suspend or system-wide
      suspend).
      Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      b7282643