1. 29 Apr, 2015 37 commits
  2. 28 Apr, 2015 3 commits
    • Johannes Berg's avatar
      iwlwifi: mvm: force quota update update after FW restart · e7afe89f
      Johannes Berg authored
      During firmware restart, the quota command isn't calculated multiple
      times, but after the firmware restart it has to be sent, so force it.
      Otherwise the firmware crashes.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      e7afe89f
    • Emmanuel Grumbach's avatar
      iwlwifi: mvm: fix typo in CONFIG option · 6bbd5521
      Emmanuel Grumbach authored
      I forgot to rename the CPTCFG_ prefix...
      
      Fixes: 484b3d13 ("iwlwifi: mvm: add debugfs entry with the number of net-detect scans")
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      6bbd5521
    • Eran Harary's avatar
      iwlwifi: mvm: don't power off the device between INIT and OPER firmwares · 8d193ca2
      Eran Harary authored
      Our device needs two different firmwares: the INIT firmware
      and the operational (OPER) firmware. The first one is run
      when the driver loads and it returns calibrations results
      as well as the NVM. The second one implements the WiFi
      protocol.
      
      If the wlan interface is not brought up, the device is put
      to low power state: no firmware will be running. When the
      interface is brought up, we would run the OPER firmware
      only and reuse the results of the run of the INIT firmware
      when the driver was loaded. This is changing with this
      patch.
      We now run the INIT firmware every time mac80211 calls
      start(). The penalty for that is minimal since the INIT
      firwmare run fast. I now also avoid to power down the device
      between the INIT and OPER firmware on certains buses.
      
      The motivation for this change is that there are components
      on the device (MFUART) that are triggered by the INIT
      firmware and need the device to be powered up in order to
      keep running. Powering the device down between the INIT and
      OPER firmware would stop these components and prevent them
      from running again since they are triggered by the INIT
      firmware only.
      The new flow allows this and also allows to trigger these
      components again when the interface is brought up after
      it has been brought down.
      Signed-off-by: default avatarEran Harary <eran.harary@intel.com>
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      8d193ca2