1. 20 3月, 2016 2 次提交
    • M
      iwlwifi: mvm: make sure FW contains the right amount of paging sections · cd47a3d3
      Matti Gottlieb 提交于
      Paging contains 3 sections in the fw. The first for the paging separator,
      The second for the CSS block, the third with the paging data.
      
      Currently if the driver finds the paging separator, and there is only
      section left (CSS), once reading the CSS section, the driver will
      attempt to read the paging data and will go out of the arrays bounds.
      
      Make sure that the FW image contains the right amount of sections for
      paging.
      Signed-off-by: NMatti Gottlieb <matti.gottlieb@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      cd47a3d3
    • M
      iwlwifi: mvm: Decrease size of the paging download buffer · c94d7996
      Matti Gottlieb 提交于
      Currently the driver has 2 buffers for paging:
      1. paging db - this contains all of the pages that were in the FW
      image, that the driver stores for the FW. This is allocated for each
      block separately (not contiguous).
      2. download buffer - we need to provide this empty buffer for the
      iwl_sdio_load_fw_chunk function to copy the requested pages to the shared
      memory. This is one big buffer of contiguous memory whose size is the
      size of all the blocks that the fw paging section can contain.
      
      This download buffer size is too big, and causes the allocation to fail
      sometimes. Since the driver allocates memory for each block separately,
      it is not possible for the FW to request all of the pages in one request
      (the FW gives an address and size, so blocks need to be contiguous for
      this to happen), therefore the FW is limited to request only one block.
      
      Decrease the size of the paging download buffer to be the size of a
      paging block.
      Signed-off-by: NMatti Gottlieb <matti.gottlieb@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      c94d7996
  2. 10 3月, 2016 9 次提交
  3. 07 3月, 2016 5 次提交
  4. 02 3月, 2016 5 次提交
  5. 29 2月, 2016 2 次提交
  6. 28 2月, 2016 17 次提交