1. 31 Jul, 2018 3 commits
    • Jia-Ju Bai's avatar
      ath6kl: replace GFP_ATOMIC with GFP_KERNEL in ath6kl_bmi_init() · bfc55fe6
      Jia-Ju Bai authored
      ath6kl_bmi_init() is never called in atomic context.
      It calls kzalloc() with GFP_ATOMIC, which is not necessary.
      GFP_ATOMIC can be replaced with GFP_KERNEL.
      
      This is found by a static analysis tool named DCNS written by myself.
      Signed-off-by: default avatarJia-Ju Bai <baijiaju1990@gmail.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      bfc55fe6
    • Sven Eckelmann's avatar
      ath10k: prevent active scans on potential unusable channels · 3f259111
      Sven Eckelmann authored
      The QCA4019 hw1.0 firmware 10.4-3.2.1-00050 and 10.4-3.5.3-00053 (and most
      likely all other) seem to ignore the WMI_CHAN_FLAG_DFS flag during the
      scan. This results in transmission (probe requests) on channels which are
      not "available" for transmissions.
      
      Since the firmware is closed source and nothing can be done from our side
      to fix the problem in it, the driver has to work around this problem. The
      WMI_CHAN_FLAG_PASSIVE seems to be interpreted by the firmware to not
      scan actively on a channel unless an AP was detected on it. Simple probe
      requests will then be transmitted by the STA on the channel.
      
      ath10k must therefore also use this flag when it queues a radar channel for
      scanning. This should reduce the chance of an active scan when the channel
      might be "unusable" for transmissions.
      
      Fixes: e8a50f8b ("ath10k: introduce DFS implementation")
      Signed-off-by: default avatarSven Eckelmann <sven.eckelmann@openmesh.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      3f259111
    • Kalle Valo's avatar
      ath10k: fix parenthesis alignment · ebfac1d0
      Kalle Valo authored
      These were recently introduced and found by checkpatch:
      
      drivers/net/wireless/ath/ath10k/mac.c:6118: Alignment should match open parenthesis
      drivers/net/wireless/ath/ath10k/mac.c:6121: Alignment should match open parenthesis
      drivers/net/wireless/ath/ath10k/mac.c:6124: Alignment should match open parenthesis
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      ebfac1d0
  2. 30 Jul, 2018 9 commits
  3. 25 Jul, 2018 1 commit
  4. 24 Jul, 2018 27 commits