An error occurred fetching the project authors.
  1. 17 Mar, 2020 8 commits
  2. 04 Jan, 2020 2 commits
    • Luca Coelho's avatar
      iwlwifi: add device name to device_info · 0b295a1e
      Luca Coelho authored
      We have a lot of mostly duplicated data structures that are repeated
      only because the device name string is different.  To avoid this, move
      the string from the cfg to the trans structure and add it
      independently from the rest of the configuration to the PCI mapping
      tables.
      Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
      0b295a1e
    • Luca Coelho's avatar
      iwlwifi: implement a new device configuration table · 2a612a60
      Luca Coelho authored
      Add a new device table that contains information that can be checked
      at runtime in order to decide which configuration to use.  This allows
      us to map the full cfg independently from the tran-specific
      configuration.
      
      This is the first step in creating the new table.  Subsequent patches
      will add the possibility of checking different values at runtime in
      order to make the decision.
      Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
      2a612a60
  3. 23 Dec, 2019 2 commits
    • Luca Coelho's avatar
      iwlwifi: remove CSR registers abstraction · 6dece0e9
      Luca Coelho authored
      We needed this abstraction for some CSR registers for
      IWL_DEVICE_22560, but that has been removed, so we don't need the
      abstraction anymore.  Remove it.
      Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
      6dece0e9
    • 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
  4. 25 Oct, 2019 1 commit
  5. 06 Sep, 2019 1 commit
  6. 03 Apr, 2019 1 commit
  7. 14 Feb, 2019 2 commits
  8. 04 Feb, 2019 1 commit
  9. 29 Jan, 2019 1 commit
  10. 25 Jan, 2019 1 commit
  11. 20 Dec, 2018 1 commit
  12. 14 Dec, 2018 4 commits
  13. 06 Oct, 2018 1 commit
  14. 31 Aug, 2018 1 commit
  15. 26 Jul, 2018 1 commit
  16. 25 Jul, 2018 1 commit
  17. 30 May, 2018 1 commit
  18. 26 Apr, 2018 2 commits
  19. 28 Mar, 2018 1 commit
  20. 16 Mar, 2018 1 commit
    • Luca Coelho's avatar
      iwlwifi: add shared clock PHY config flag for some devices · 86a2b204
      Luca Coelho authored
      Some devices use a shared clock which is very sensitive to variations
      and cause trouble in some situations.  We need to set a bit in the phy
      configuration to indicate that to the FW.  To make this generic, add a
      extra_phy_config_flags element to the device configuration and OR it
      into the phy_cfg before sending it to the firmware.  And also create a
      set of configurations for devices that use shared clocks and need this
      extra bit to be set.
      
      Fixes: c62446d2 ("iwlwifi: add new 9460 series PCI IDs")
      Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
      86a2b204
  21. 05 Dec, 2017 1 commit
  22. 16 Nov, 2017 2 commits
    • Thomas Backlund's avatar
      iwlwifi: fix firmware names for 9000 and A000 series hw · c2c48ddf
      Thomas Backlund authored
      iwlwifi 9000 and a0000 series hw contains an extra dash in firmware
      file name as seeen in modinfo output for kernel 4.14:
      
      firmware:       iwlwifi-9260-th-b0-jf-b0--34.ucode
      firmware:       iwlwifi-9260-th-a0-jf-a0--34.ucode
      firmware:       iwlwifi-9000-pu-a0-jf-b0--34.ucode
      firmware:       iwlwifi-9000-pu-a0-jf-a0--34.ucode
      firmware:       iwlwifi-QuQnj-a0-hr-a0--34.ucode
      firmware:       iwlwifi-QuQnj-a0-jf-b0--34.ucode
      firmware:       iwlwifi-QuQnj-f0-hr-a0--34.ucode
      firmware:       iwlwifi-Qu-a0-jf-b0--34.ucode
      firmware:       iwlwifi-Qu-a0-hr-a0--34.ucode
      
      Fix that by dropping the extra adding of '"-"'.
      Signed-off-by: default avatarThomas Backlund <tmb@mageia.org>
      Cc: stable@vger.kernel.org # 4.13
      Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
      c2c48ddf
    • Luca Coelho's avatar
      iwlwifi: fix PCI IDs and configuration mapping for 9000 series · dbc89253
      Luca Coelho authored
      A lot of PCI IDs were missing and there were some problems with the
      configuration and firmware selection for devices on the 9000 series.
      Fix the firmware selection by adding files for the B-steps; add
      configuration for some integrated devices; and add a bunch of PCI IDs
      (mostly for integrated devices) that were missing from the driver's
      list.
      
      Without this patch, a lot of devices will not be recognized or will
      try to load the wrong firmware file.
      
      Cc: stable@vger.kernel.org # 4.13
      Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
      dbc89253
  23. 18 Oct, 2017 1 commit
  24. 06 Oct, 2017 1 commit
  25. 30 Aug, 2017 1 commit