1. 28 9月, 2016 3 次提交
    • R
      ath10k: fix copy engine 5 destination ring stuck · 0628467f
      Rajkumar Manoharan 提交于
      Firmware is running watchdog timer for tracking copy engine ring index
      and write index. Whenever both indices are stuck at same location for
      given duration, watchdog will be trigger to assert target. While
      updating copy engine destination ring write index, driver ensures that
      write index will not be same as read index by finding delta between these
      two indices (CE_RING_DELTA).
      
      HTT target to host copy engine (CE5) is special case where ring buffers
      will be reused and delta check is not applied while updating write index.
      In rare scenario, whenever CE5 ring is full, both indices will be referring
      same location and this is causing CE ring stuck issue as explained
      above. This issue is originally reported on IPQ4019 during long hour stress
      testing and during veriwave max clients testsuites. The same issue is
      also observed in other chips as well. Fix this by ensuring that write
      index is one less than read index which means that full ring is
      available for receiving data.
      
      Cc: stable@vger.kernel.org
      Tested-by: NTamizh chelvam <c_traja@qti.qualcomm.com>
      Signed-off-by: NRajkumar Manoharan <rmanohar@qti.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      0628467f
    • M
      ath10k: Ignore SWBA event for a vif if its marked for no beacon · b63b33ec
      Mohammed Shafi Shajakhan 提交于
      Ignore processing further in SWBA event scheduled for a vif, if mac80211
      has marked the particular vif for stop beaconing and brought the vdev
      down in 'ath10k_control_beaconing'. This should potentially avoid ath10k
      warning/error messages while running continuous wifi down/up with max
      number of vaps configured. Found this change during code walk through
      and going through other beacon configuration related functions in ath10k
      Signed-off-by: NMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      b63b33ec
    • W
      ath10k: fix error return code in ahb · 931eb6b7
      Wei Yongjun 提交于
      Fix to return a negative error code from the error handling case
      instead of 0, as done elsewhere in function ath10k_ahb_probe() or
      ath10k_ahb_resource_init().
      Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      931eb6b7
  2. 27 9月, 2016 26 次提交
  3. 26 9月, 2016 7 次提交
  4. 19 9月, 2016 4 次提交