1. 28 5月, 2015 6 次提交
  2. 27 5月, 2015 1 次提交
    • E
      iwlwifi: mvm: fix ROC reference accounting · c779273b
      Eliad Peller 提交于
      commit b112889c ("iwlwifi: mvm: add Aux ROC request/response flow")
      added aux ROC flow in addition to the existing ROC flow. While doing
      it, it moved the ROC reference release to a common work item, which
      is being called for both the ROC and aux ROC flows.
      
      This resulted in invalid reference accounting, as no reference was
      taken in case of aux ROC, while a reference was released on completion.
      
      Fix it by adding a reference for the aux ROC as well, and release
      only the relevant references on completion (according to the set bits).
      
      While at it, convert cancel_work_sync() to flush_work(), in order
      to make sure the references are being cleaned properly.
      
      Fixes: b112889c ("iwlwifi: mvm: add Aux ROC request/response flow")
      Signed-off-by: NEliad Peller <eliadx.peller@intel.com>
      Reviewed-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      c779273b
  3. 29 4月, 2015 8 次提交
  4. 28 4月, 2015 1 次提交
    • E
      iwlwifi: mvm: don't power off the device between INIT and OPER firmwares · 8d193ca2
      Eran Harary 提交于
      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: NEran Harary <eran.harary@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      8d193ca2
  5. 02 4月, 2015 5 次提交
  6. 30 3月, 2015 2 次提交
  7. 26 3月, 2015 2 次提交
  8. 18 3月, 2015 2 次提交
  9. 12 3月, 2015 10 次提交
  10. 08 3月, 2015 1 次提交
  11. 02 3月, 2015 2 次提交
    • E
      iwlwifi: mvm: add the cause of the firmware dump in the dump · b6eaa45a
      Emmanuel Grumbach 提交于
      Now that the firmware dump can be triggered by events in
      the code and not only the user or an firmware ASSERT, we
      need a way to know why the firmware dump was triggered.
      Add a section in the dump file for that.
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      b6eaa45a
    • E
      iwlwifi: mvm: add framework for triggers for fw dump · d2709ad7
      Emmanuel Grumbach 提交于
      Most of the time, the issues we want to debug with the
      firmware dump mechanism are transient. It is then very
      hard to stop the recording on time and get meaningful
      data.
      In order to solve this, I add here an infrastucture
      of triggers. The user will supply a list of triggers
      that will start / stop the recording. We have two types
      of triggers: start and stop. Start triggers can start a
      specific configuration. The stop triggers will be able to
      kick the collection of the data with the currently running
      configuration. These triggers are given to the driver by
      the .ucode file - just like the configuration.
      
      In the next patches, I'll add triggers in the code.
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      d2709ad7