1. 05 Oct, 2018 4 commits
    • 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 16 commits