1. 18 Aug, 2015 5 commits
  2. 16 Aug, 2015 10 commits
  3. 14 Aug, 2015 14 commits
  4. 13 Aug, 2015 4 commits
  5. 04 Aug, 2015 7 commits
    • Avri Altman's avatar
      iwlwifi: mvm: set different pm_timeout for action frames · b084a356
      Avri Altman authored
      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: default avatarAvri Altman <avri.altman@intel.com>
      Reviewed-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      b084a356
    • Assaf Krauss's avatar
      iwlwifi: mvm: ToF - Set correct range request cmd id · eed6e971
      Assaf Krauss authored
      Command ID of ToF range request command adapted to new FW commands grouping
      scheme.
      Signed-off-by: default avatarAssaf Krauss <assaf.krauss@intel.com>
      Reviewed-by: default avatarGregory Greenman <gregory.greenman@intel.com>
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      eed6e971
    • Matti Gottlieb's avatar
      iwlwifi: mvm: Add FW paging mechanism for the UMAC on SDIO · e1120187
      Matti Gottlieb authored
      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: default avatarMatti Gottlieb <matti.gottlieb@intel.com>
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      e1120187
    • Sara Sharon's avatar
      iwlwifi: pcie: New RBD allocation model · 26d535ae
      Sara Sharon authored
      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: default avatarSara Sharon <sara.sharon@intel.com>
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      26d535ae
    • Emmanuel Grumbach's avatar
      Merge remote-tracking branch 'iwlwifi-fixes/master' into next · d4a81698
      Emmanuel Grumbach authored
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      
      Conflicts:
      	drivers/net/wireless/iwlwifi/pcie/internal.h
      d4a81698
    • Oren Givon's avatar
      iwlwifi: mvm: add the ability to trigger only monitor dumps · 36fb9017
      Oren Givon authored
      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: default avatarOren Givon <oren.givon@intel.com>
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      36fb9017
    • Johannes Berg's avatar
      iwlwifi: pcie: support frag SKBs · 206eea78
      Johannes Berg authored
      Allow frag SKBs in PCIe and advertise the maximum number of frags
      to the opmode. As a fallback. linearize the SKB if it exceeds the
      maximum number of fragments. This allows using the hardware better
      (filling more TBs) and should improve performance when used by the
      opmode.
      
      Also adjust tracing to be able to deal with this.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      206eea78