1. 14 Feb, 2020 1 commit
    • Ben Greear's avatar
      mac80211: Fix setting txpower to zero · db6d9e9e
      Ben Greear authored
      With multiple VIFS ath10k, and probably others, tries to find the
      minimum txpower for all vifs and uses that when setting txpower in
      the firmware.
      
      If a second vif is added and starts to scan, it's txpower is not
      initialized yet and it set to zero.
      
      ath10k had a patch to ignore zero values, but then it is impossible
      to actually set txpower to zero.
      
      So, instead initialize the txpower to INT_MIN in mac80211, and let
      drivers know that means the power has not been set and so should
      be ignored.
      
      This should fix regression in:
      
      commit 88407beb
      Author: Ryan Hsu <ryanhsu@qca.qualcomm.com>
      Date:   Tue Dec 13 14:55:19 2016 -0800
      
          ath10k: fix incorrect txpower set by P2P_DEVICE interface
      
      Tested on ath10k 9984 with ath10k-ct firmware.
      Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
      Link: https://lore.kernel.org/r/20191217183057.24586-1-greearb@candelatech.comSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      db6d9e9e
  2. 07 Feb, 2020 20 commits
  3. 15 Jan, 2020 6 commits
  4. 02 Jan, 2020 2 commits
  5. 01 Jan, 2020 1 commit
    • David S. Miller's avatar
      Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · fe23d634
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      1GbE Intel Wired LAN Driver Updates 2019-12-31
      
      This series contains updates to e1000e, igb and igc only.
      
      Robert Beckett provide an igb change to assist in keeping packets from
      being dropped due to receive descriptor ring being full when receive
      flow control is enabled.  Create a separate function to setup SRRCTL to
      ease in reuse and ensure that setting of the drop enable bit only if
      receive flow control is not enabled.
      
      Sasha adds support for scatter gather support in igc.  Improve the
      direct memory address mapping flow by optimizing/simplifying and more
      clear.  Update igc to use pci_release_mem_regions() instead of
      pci_release_selected_regions().  Clean up function header comments to
      align with the actual code.  Adds support for 64 bit DMA access, to help
      handle socket buffer fragments in high memory.  Adds legacy power
      management support in igc by implementing suspend, resume,
      runtime_suspend/resume, and runtime_idle callbacks.  Clean up references
      to Serdes interface in igc since that interface is not supported for
      i225 devices.
      
      Alex replaces the pr_info calls with netdev_info in all cases related to
      netdev link state, as suggested by Joe Perches.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fe23d634
  6. 31 Dec, 2019 10 commits