1. 23 8月, 2015 1 次提交
  2. 18 8月, 2015 5 次提交
  3. 16 8月, 2015 10 次提交
  4. 14 8月, 2015 14 次提交
  5. 13 8月, 2015 4 次提交
  6. 05 8月, 2015 6 次提交
    • A
      iwlwifi: mvm: set different pm_timeout for action frames · b084a356
      Avri Altman 提交于
      When building a Tx Command for management frames, we are lacking
      a check for action frames, for which we should set a different
      pm_timeout.  This cause the fw to stay awake for 100TU after each
      such frame is transmitted, resulting an excessive power consumption.
      Signed-off-by: NAvri Altman <avri.altman@intel.com>
      Reviewed-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      b084a356
    • A
      iwlwifi: mvm: ToF - Set correct range request cmd id · eed6e971
      Assaf Krauss 提交于
      Command ID of ToF range request command adapted to new FW commands grouping
      scheme.
      Signed-off-by: NAssaf Krauss <assaf.krauss@intel.com>
      Reviewed-by: NGregory Greenman <gregory.greenman@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      eed6e971
    • M
      iwlwifi: mvm: Add FW paging mechanism for the UMAC on SDIO · e1120187
      Matti Gottlieb 提交于
      Family 8000 products has 2 embedded processors, the first
      known as LMAC (lower MAC) and implements the functionality from
      previous products, the second one is known as UMAC (upper MAC)
      and is used mainly for driver offloads as well as new features.
      The UMAC is typically “less” real-time than the LMAC and is used
      for higher level controls.
      The UMAC's code/data size is estimated to be in the mega-byte arena,
      taking into account the code it needs to replace in the driver and
      the set of new features.
      
      In order to allow the UMAC to execute code that is bigger than its code
      memory, we allow the UMAC embedded processor to page out code pages on
      DRAM.
      
      When the device is slave on the bus(SDIO) the driver saves the UMAC's
      image pages in blocks of 32K in the DRAM and sends the layout of the
      pages to the FW. When the FW wants load / unload pages, it creates an
      interrupt,	and the driver uploads / downloads the page to an address in
      the a specific address on the device's memory.
      
      The driver can support up to 1 MB of pages.
      
      Add paging mechanism for the UMAC on SDIO in order to allow the program to
      use a larger virtual space while using less physical memory on the device
      itself.
      Signed-off-by: NMatti Gottlieb <matti.gottlieb@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      e1120187
    • S
      iwlwifi: pcie: New RBD allocation model · 26d535ae
      Sara Sharon 提交于
      As a preperation for multiple RX queues change the RBD
      allocation model.
      
      The new model includes a background allocator. The allocator is
      called by the interrupt handler when there are two released
      buffers by the queue, and the allocator starts allocating eight
      pages per request.
      When the queue has released 8 pages it tries claiming the
      request. If the pages are not ready - it keeps claiming.
      This new model should make sure that RBDs are always available
      across the multiple queues.
      
      The RBDs are transferred between the allocator and the queue.
      The queue moves the free RBDs upon freeing them to the allocator.
      The allocator moves them back to the queue's possession when the
      request is claimed.
      The allocator has an initial pool to make sure there are always RBDs
      available for the request completion.
      Release of the buffers at exit is done per pools - the allocator
      frees its own initial pool and the queue frees its own pool.
      
      Existing code refactor -
      -Queue's initial pool is the size of the queue only as the allocation
      of the new buffers no longer uses this pool.
      -Removal of replenish background work, and replenish calls in the
      interrupt handler and restock().
      -The replenish() and the rxq used_list are used only during
      initialization.
      -Moved page allocation to a new function for code reuse.
      
      New code -
      Allocator code - new structure and functions.
      Interrupt handler uses the allocator functions for replenishing buffers.
      Reuse of the restock() method.
      Signed-off-by: NSara Sharon <sara.sharon@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      26d535ae
    • E
      Merge remote-tracking branch 'iwlwifi-fixes/master' into next · d4a81698
      Emmanuel Grumbach 提交于
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      
      Conflicts:
      	drivers/net/wireless/iwlwifi/pcie/internal.h
      d4a81698
    • O
      iwlwifi: mvm: add the ability to trigger only monitor dumps · 36fb9017
      Oren Givon 提交于
      Change the FW debug trigger tlv to include a monitor only
      option. Setting this option to true will cause fw dump triggers
      to only collect monitor data and skip other dumps such as
      SMEM, SRAM, CSR, PRPH, etc.
      This option is used when accessing the different parts of the
      firmware memory is not wanted and can cause unwanted behavior
      like when debugging TX latency.
      Signed-off-by: NOren Givon <oren.givon@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      36fb9017