1. 28 Feb, 2013 2 commits
  2. 27 Feb, 2013 2 commits
  3. 26 Feb, 2013 2 commits
    • Johannes Berg's avatar
      iwlwifi: mvm: fix AP/GO mode station removal · 38a12b5b
      Johannes Berg authored
      When stations are removed while packets are in the queue,
      we drain the queues first, and then remove the stations.
      If this happens in AP mode while the interface is removed
      the MAC context might be removed from the firmware before
      we removed the station(s), resulting in a SYSASSERT 3421.
      This is because we remove the MAC context from the FW in
      stop_ap(), but only flush the station drain work later in
      remove_interface().
      
      Refactor the code a bit to have a common MAC context
      removal preparation first to solve this.
      Reviewed-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      38a12b5b
    • Johannes Berg's avatar
      iwlwifi: always copy first 16 bytes of commands · 8a964f44
      Johannes Berg authored
      The FH hardware will always write back to the scratch field
      in commands, even host commands not just TX commands, which
      can overwrite parts of the command. This is problematic if
      the command is re-used (with IWL_HCMD_DFL_NOCOPY) and can
      cause calibration issues.
      
      Address this problem by always putting at least the first
      16 bytes into the buffer we also use for the command header
      and therefore make the DMA engine write back into this.
      
      For commands that are smaller than 16 bytes also always map
      enough memory for the DMA engine to write back to.
      
      Cc: stable@vger.kernel.org
      Reviewed-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      8a964f44
  4. 22 Feb, 2013 3 commits
  5. 18 Feb, 2013 24 commits
  6. 15 Feb, 2013 7 commits