1. 23 Dec, 2019 3 commits
    • Johannes Berg's avatar
      iwlwifi: allocate more receive buffers for HE devices · c042f0c7
      Johannes Berg authored
      For HE-capable devices, we need to allocate more receive buffers as
      there could be 256 frames aggregated into a single A-MPDU, and then
      they might contain A-MSDUs as well. Until 22000 family, the devices
      are able to put multiple frames into a single RB and the default RB
      size is 4k, but starting from AX210 family this is no longer true.
      On the other hand, those newer devices only use 2k receive buffers
      (by default).
      
      Modify the code and configuration to allocate an appropriate number
      of RBs depending on the device capabilities:
      
       * 4096 for AX210 HE devices, which use 2k buffers by default,
       * 2048 for 22000 family devices which use 4k buffers by default,
       * 512 for existing 9000 family devices, which doesn't really
         change anything since that's the default before this patch,
       * 512 also for AX210/22000 family devices that don't do HE.
      
      Theoretically, for devices lower than AX210, we wouldn't have to
      allocate that many RBs if the RB size was manually increased, but
      to support that the code got more complex, and it didn't really
      seem necessary as that's a use case for monitor mode only, where
      hopefully the wasted memory isn't really much of a concern.
      
      Note that AX210 devices actually support bigger than 12-bit VID,
      which is required here as we want to allocate 4096 buffers plus
      some for quick recycling, so adjust the code for that as well.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
      c042f0c7
    • Avraham Stern's avatar
      iwlwifi: mvm: add support for responder config command version 7 · b1a6db13
      Avraham Stern authored
      The new API requires the driver to config the supported frame format
      (legacy, HT, VHT etc.).
      Signed-off-by: default avatarAvraham Stern <avraham.stern@intel.com>
      Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
      b1a6db13
    • Avraham Stern's avatar
      iwlwifi: mvm: add support for location range request version 8 · b59ec4ca
      Avraham Stern authored
      The new API requires the driver to set the frame format
      (legacy, HT, VHT etc.) to be used for the measurement.
      
      The new API also supports 11az and secured measurement, but
      these are not supported by the driver for now.
      Signed-off-by: default avatarAvraham Stern <avraham.stern@intel.com>
      Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
      b59ec4ca
  2. 20 Dec, 2019 3 commits
  3. 19 Dec, 2019 11 commits
  4. 18 Dec, 2019 23 commits