1. 06 May, 2016 3 commits
    • Anilkumar Kolli's avatar
      ath10k: fix kernel panic, move arvifs list head init before htt init · 4ad24a9d
      Anilkumar Kolli authored
      It is observed that while loading and unloading ath10k modules
      in an infinite loop, before ath10k_core_start() completion HTT
      rx frames are received, while processing these frames,
      dereferencing the arvifs list code is getting hit before
      initilizing the arvifs list, causing a kernel panic.
      
      This patch initilizes the arvifs list before initilizing htt.
      
      Fixes the below issue:
       [<bf88b058>] (ath10k_htt_rx_pktlog_completion_handler+0x278/0xd08 [ath10k_core])
       [<bf88b058>] (ath10k_htt_rx_pktlog_completion_handler [ath10k_core])
       [<bf88c0dc>] (ath10k_htt_txrx_compl_task+0x5f4/0xeb0 [ath10k_core])
       [<bf88c0dc>] (ath10k_htt_txrx_compl_task [ath10k_core])
       [<c0234100>] (tasklet_action+0x8c/0xec)
       [<c0234100>] (tasklet_action)
       [<c02337c0>] (__do_softirq+0xf8/0x228)
       [<c02337c0>] (__do_softirq)  [<c0233920>] (run_ksoftirqd+0x30/0x90)
       Code: e5954ad8 e2899008 e1540009 0a00000d (e5943008)
       ---[ end trace 71de5c2e011dbf56 ]---
       Kernel panic - not syncing: Fatal exception in interrupt
      
      Fixes: 500ff9f9 ("ath10k: implement chanctx API")
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarAnilkumar Kolli <akolli@qti.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      4ad24a9d
    • Mohammed Shafi Shajakhan's avatar
      ath10k: move spectral related structures under ath10k debugfs · de46d165
      Mohammed Shafi Shajakhan authored
      Spectral related structures are accessed / modified only if ath10k
      debugfs is enabled, so it makes more sense to move them under
      ATH10K_DEBUGFS
      Signed-off-by: default avatarMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      de46d165
    • Johannes Berg's avatar
      ath10k: remove VHT capabilities from 2.4GHz · 94ee3f19
      Johannes Berg authored
      According to the spec, VHT doesn't exist in 2.4GHz.
      
      There are vendor extensions to allow a subset of VHT to work
      (notably 256-QAM), but since mac80211 doesn't support those
      advertising VHT capability on 2.4GHz leads to the behaviour
      of reporting VHT capabilities but not being able to use any
      of them due to mac80211's code requiring 80 MHz support.
      
      Remove the VHT capabilities from 2.4GHz for now. If mac80211
      gets extended to use the (likely Broadcom) vendor IEs for it
      and handles the lack of 80 MHz support, it can be added back.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      94ee3f19
  2. 27 Apr, 2016 1 commit
    • Bjorn Andersson's avatar
      wcn36xx: Set SMD timeout to 10 seconds · 8527f688
      Bjorn Andersson authored
      After booting the wireless subsystem and uploading the NV blob to the
      WCNSS_CTRL service the remote continues to do things and will not start
      servicing wlan-requests for another 2-5 seconds (measured).
      
      The downstream code does not have any special handling for this case,
      but has a timeout of 10 seconds for the communication layer. By
      extending the wcn36xx timeout to match this we follows the same flow for
      the boot procedure and can successfully configure WiFi as wlan0 is
      registered.
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      8527f688
  3. 26 Apr, 2016 36 commits