1. 06 6月, 2017 2 次提交
    • E
      iwlwifi: mvm: fix firmware debug restart recording · addce854
      Emmanuel Grumbach 提交于
      When we want to stop the recording of the firmware debug
      and restart it later without reloading the firmware we
      don't need to resend the configuration that comes with
      host commands.
      Sending those commands confused the hardware and led to
      an NMI 0x66.
      
      Change the flow as following:
      * read the relevant registers (DBGC_IN_SAMPLE, DBGC_OUT_CTRL)
      * clear those registers
      * wait for the hardware to complete its write to the buffer
      * get the data
      * restore the value of those registers (to restart the
        recording)
      
      For early start (where the configuration is already
      compiled in the firmware), we don't need to set those
      registers after the firmware has been loaded, but only
      when we want to restart the recording without having
      restarted the firmware.
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      addce854
    • H
      iwlwifi: mvm: Fix command queue number on d0i3 flow · c72c37b7
      Haim Dreyfuss 提交于
      During d0i3 flow we flush all the queue except from the command queue.
      Currently, in this flow the command queue is hard coded to 9.
      In DQA the command queue number has changed from 9 to 0.
      Fix that.
      
      This fixes a problem in runtime PM resume flow.
      
      Fixes: 097129c9 ("iwlwifi: mvm: move cmd queue to be #0 in dqa mode")
      Signed-off-by: NHaim Dreyfuss <haim.dreyfuss@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      c72c37b7
  2. 26 4月, 2017 5 次提交
  3. 25 4月, 2017 1 次提交
  4. 20 4月, 2017 8 次提交
  5. 11 4月, 2017 5 次提交
    • S
      iwlwifi: mvm: remove call for paging in new init flow · 30d23c3c
      Sara Sharon 提交于
      Now that transport inits the paging in the context info -
      remove the call in mvm.
      Signed-off-by: NSara Sharon <sara.sharon@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      30d23c3c
    • G
      iwlwifi: mvm: support MFUART dump in case of MFUART assert · bdccdb85
      Golan Ben-Ami 提交于
      In case of a MFUART assert, get a notification from the fw
      that consists of the assert id and debug data.
      
      The notification may be divided to multiple chunks, depending
      on the size of the debug data sent to the driver, which would
      be up to 1KB.
      
      Get the notification, and if the debug info flag is enabled,
      print the debug data to the dmesg.
      Signed-off-by: NGolan Ben-Ami <golan.ben.ami@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      bdccdb85
    • S
      iwlwifi: mvm: don't assume static queue numbers · 49f71713
      Sara Sharon 提交于
      In a000 devices FW will assign the queue number. Prepare for
      that by getting rid of static defines and store them in variables.
      Enlarge to u16 since we may have up to 512 queues.
      Signed-off-by: NSara Sharon <sara.sharon@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      49f71713
    • S
      iwlwifi: mvm: add multicast station · 26d6c16b
      Sara Sharon 提交于
      Currently multicast queue is associated with the broadcast
      station.
      
      This raises quite a few issues:
      
      The multicast queue has a special treatment:
      - It is sent in the MAC context command
      - It is excluded from tfd_queue_mask
      
      In DQA mode we end up enabling two queues - the probe response
      queue and the multicast queue - with the same station (broadcast)
      and TID while in DQA mode it should be unique RA-TID.
      Firmware will enforce it for a000 devices, so this allocation
      will fail.
      
      In addition, in a000 devices the FW will set the FIFO and not
      the driver. So there is a need for FW to know when we enable
      the queue that it is multicast queue so it will be bound to
      the multicast FIFO. There is no such way in current design.
      
      In order to simplify driver and firmware handling of this queue
      create a multicast station.
      This solves the unique RA-TID issue in the short term and serves
      as preparation for the long term.
      
      In the long term we will also add a flag marking this station for
      the FW as the multicast station.
      Once we will do that the FW will know this is the multicast queue
      immediately when it is added and bind it to the correct FIFO.
      It will also enable removing the special treatment of the
      queue in the MAC context command.
      Signed-off-by: NSara Sharon <sara.sharon@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      26d6c16b
    • S
      iwlwifi: mvm: support new binding API · 9415af7f
      Sara Sharon 提交于
      For a000 devices the binding API needs to include relevant
      lmac ID - support the new API.
      The new API should be used regardless if the device had CDB or
      not. If there is no actual CDB support the binding is bound
      to first lmac regardless of the band.
      There are some functionality changes in binding restrictions
      and quota allocations that will be handled in future patches.
      Signed-off-by: NSara Sharon <sara.sharon@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      9415af7f
  6. 03 2月, 2017 3 次提交
  7. 26 1月, 2017 1 次提交
  8. 26 10月, 2016 1 次提交
    • L
      iwlwifi: mvm: enable dynamic queue allocation mode · 7948b873
      Liad Kaufman 提交于
      New firmwares support dynamic queue allocation (DQA), which enables
      on-demand allocation of queues per RA/TID, instead of allocating them
      statically per vif.  This allows an AP to send, for instance, BE
      traffic to STA2 even if it also needs to send traffic to a sleeping
      STA1, without being blocked by the sleeping station.
      
      The implementation in the driver is now ready, so we can enable this
      feature by default when running firmwares that support it.
      Signed-off-by: NLiad Kaufman <liad.kaufman@intel.com>
      [reworded the commit message]
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      7948b873
  9. 19 10月, 2016 2 次提交
  10. 27 9月, 2016 1 次提交
  11. 19 9月, 2016 2 次提交
  12. 16 9月, 2016 1 次提交
  13. 30 8月, 2016 5 次提交
  14. 06 7月, 2016 3 次提交