1. 05 Oct, 2018 7 commits
    • Gustavo A. R. Silva's avatar
      ssb: chipcommon: fix fall-through annotation · 74aa3586
      Gustavo A. R. Silva authored
      Replace "Fallthough" with a proper "fall through" annotation.
      
      This fix is part of the ongoing efforts to enabling
      -Wimplicit-fallthrough
      Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
      Acked-by: default avatarMichael Buesch <m@bues.ch>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      74aa3586
    • Lance Roy's avatar
      zd1211rw: Replace spin_is_locked() with lockdep · 209e957b
      Lance Roy authored
      lockdep_assert_held() is better suited to checking locking requirements,
      since it won't get confused when someone else holds the lock. This is
      also a step towards possibly removing spin_is_locked().
      Signed-off-by: default avatarLance Roy <ldr709@gmail.com>
      Cc: Daniel Drake <dsd@gentoo.org>
      Cc: Ulrich Kunitz <kune@deine-taler.de>
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: <linux-wireless@vger.kernel.org>
      Cc: <netdev@vger.kernel.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      209e957b
    • Tony Lindgren's avatar
      wlcore: Add support for optional wakeirq · 3c83dd57
      Tony Lindgren authored
      Now with wlcore using PM runtime, we can also add support for Linux
      generic wakeirq handling for it if configured in the dts file.
      
      The wakeirq can be configured as the second interrupt in the dts file
      with interrupts-extended property where it is the padconf irq of the OOB
      GPIO pin used for wlcore interrupt.
      
      Note that eventually we should also allow configuring wlcore to use the
      SDIO dat1 IRQ for wake-up, and in that case the the wakeirq should be
      configured to be the padconf interrupt of the dat1 pin and not the
      padconf interrupt of the OOB GPIO pin.
      
      Cc: Eyal Reizer <eyalr@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      3c83dd57
    • Tony Lindgren's avatar
      wlcore: Fix BUG with clear completion on timeout · 4e651bad
      Tony Lindgren authored
      We do not currently clear wl->elp_compl on ELP timeout and we have bogus
      lingering pointer that wlcore_irq then will try to access after recovery
      is done:
      
      BUG: spinlock bad magic on CPU#1, irq/255-wl12xx/580
      ...
      (spin_dump) from [<c01b9344>] (do_raw_spin_lock+0xc8/0x124)
      (do_raw_spin_lock) from [<c09b3970>] (_raw_spin_lock_irqsave+0x68/0x74)
      (_raw_spin_lock_irqsave) from [<c01a02f0>] (complete+0x24/0x58)
      (complete) from [<bf572610>] (wlcore_irq+0x48/0x17c [wlcore])
      (wlcore_irq [wlcore]) from [<c01c5efc>] (irq_thread_fn+0x2c/0x64)
      (irq_thread_fn) from [<c01c623c>] (irq_thread+0x148/0x290)
      (irq_thread) from [<c016b4b0>] (kthread+0x160/0x17c)
      (kthread) from [<c01010b4>] (ret_from_fork+0x14/0x20)
      ...
      
      After that the system will hang. Let's fix this by adding a flag for
      recovery and moving the recovery work call to to the error handling
      section.
      
      And we want to set WL1271_FLAG_INTENDED_FW_RECOVERY and actually clear
      it too in wl1271_recovery_work() and just downgrade the error to a
      warning to prevent overly verbose output.
      
      Cc: Eyal Reizer <eyalr@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      4e651bad
    • Ping-Ke Shih's avatar
      rtlwifi: Removed unused define and code efuse_re_pg* from wifi.h · 9c22211e
      Ping-Ke Shih authored
      The following:
       bool efuse_re_pg_sec1flag;
       u8 efuse_re_pg_data[8];
      are not referenced anywhere in the rtlwifi code.
      
      This patch is originally created by Rick Veens <rickveens92@gmail.com>,
      and Joe Perches <joe@perches.com> reminded to apply it to rtlwifi.
      Signed-off-by: default avatarPing-Ke Shih <pkshih@realtek.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      9c22211e
    • Chung-Hsien Hsu's avatar
      brcmfmac: fix full timeout waiting for action frame on-channel tx · fbf07000
      Chung-Hsien Hsu authored
      The driver sends an action frame down and waits for a completion signal
      triggered by the received BRCMF_E_ACTION_FRAME_OFF_CHAN_COMPLETE event
      to continue the process. However, the action frame could be transmitted
      either on the current channel or on an off channel. For the on-channel
      case, only BRCMF_E_ACTION_FRAME_COMPLETE event will be received when
      the frame is transmitted, which make the driver always wait a full
      timeout duration. This patch has the completion signal be triggered by
      receiving the BRCMF_E_ACTION_FRAME_COMPLETE event for the on-channel
      case.
      
      This change fixes WFA p2p certification 5.1.19 failure.
      Signed-off-by: default avatarChung-Hsien Hsu <stanley.hsu@cypress.com>
      Signed-off-by: default avatarChi-Hsien Lin <chi-hsien.lin@cypress.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      fbf07000
    • Chung-Hsien Hsu's avatar
      brcmfmac: reduce timeout for action frame scan · edb6d688
      Chung-Hsien Hsu authored
      Finding a common channel to send an action frame out is required for
      some action types. Since a loop with several scan retry is used to find
      the channel, a short wait time could be considered for each attempt.
      This patch reduces the wait time from 1500 to 450 msec for each action
      frame scan.
      
      This patch fixes the WFA p2p certification 5.1.20 failure caused by the
      long action frame send time.
      Signed-off-by: default avatarChung-Hsien Hsu <stanley.hsu@cypress.com>
      Signed-off-by: default avatarChi-Hsien Lin <chi-hsien.lin@cypress.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      edb6d688
  2. 04 Oct, 2018 2 commits
    • Kalle Valo's avatar
      Merge tag 'mt76-for-kvalo-2018-10-01' of https://github.com/nbd168/wireless · 9434dca9
      Kalle Valo authored
      mt76 patches for 4.20
      
      * unify code between mt76x0, mt76x2
      * mt76x0 fixes
      * tx power configuration fix for 76x2
      * more progress on mt76x0e support
      * support for getting firmware version via ethtool
      * fix for rx buffer allocation regression on usb
      * fix for handling powersave responses
      * fix for mt76x2 beacon transmission
      9434dca9
    • Kalle Valo's avatar
      Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git · 09afaba1
      Kalle Valo authored
      ath.git patches for 4.20. Major changes:
      
      ath10k
      
      * retrieve MAC address from system firmware if provided
      
      * support extended board data download for dual-band QCA9984
      
      * extended per sta tx statistics support via debugfs
      
      * average ack rssi support for data frames
      
      * speed up QCA6174 and QCA9377 firmware download using diag Copy Engine
      
      * HTT High Latency mode support needed by SDIO and USB support
      
      * get STA power save state via debugfs
      
      ath9k
      
      * add reset functionality for airtime station debugfs file
      09afaba1
  3. 03 Oct, 2018 18 commits
  4. 02 Oct, 2018 13 commits