1. 25 5月, 2016 5 次提交
  2. 12 5月, 2016 2 次提交
  3. 06 5月, 2016 8 次提交
  4. 26 4月, 2016 2 次提交
  5. 21 4月, 2016 8 次提交
  6. 19 4月, 2016 4 次提交
    • R
      ath10k: add dynamic tx mode switch config support for qca4019 · 7e247a9e
      Raja Mani 提交于
      push-pull mode needs certain amount the host driver involvement for
      managing queues in the host memory and packet delivery to firmware.
      qca4019 wifi firmware has an option to stay in push mode for less
      number of active traffic flow and then switch to push-pull mode when
      the active traffic flow goes beyond the certain limit.
      
      The advantage of staying in push mode for less active traffic is, the
      host cpu consumption is reduced. qca4019 firmware supports this
      flexibility of the mode switch. It takes the host driver interest
      (LOW_PERF/HIGH_PERF) via WMI_EXT_RESOURCE_CFG_CMDID,
      
       LOW_PERF  - fw would stay in push mode and switch to push-pull
                     based on demand.
       HIGH_PERF - fw would stay in push-pull mode from the boot.
      
      To make this configuration generic, new WMI services
      WMI_SERVICE_TX_MODE_PUSH_ONLY, WMI_SERVICE_TX_MODE_PUSH_PULL,
      WMI_SERVICE_TX_MODE_DYNAMIC are introduced to take dynamic tx mode
      switch support availability in firmware.
      Based on WMI_SERVICE_TX_MODE_DYNAMIC, LOW_PERF or HIGHT_PERF is
      configured to the firmware.
      Signed-off-by: NRaja Mani <rmani@qti.qualcomm.com>
      Signed-off-by: NTamizh chelvam <c_traja@qti.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      7e247a9e
    • D
      ath10k: add some sanity checks to peer_map_event() functions · de72a20d
      Dan Carpenter 提交于
      Smatch complains that since "ev->peer_id" comes from skb->data that
      means we can't trust it and have to do a bounds check on it to prevent
      an array overflow.
      
      Fixes: 6942726f ('ath10k: add fast peer_map lookup')
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      de72a20d
    • R
      ath10k: fix rx_channel during hw reconfigure · 1ce8c148
      Rajkumar Manoharan 提交于
      Upon firmware assert, restart work will be triggered so that mac80211
      will reconfigure the driver. An issue is reported that after restart
      work, survey dump data do not contain in-use (SURVEY_INFO_IN_USE) info
      for operating channel. During reconfigure, since mac80211 already has
      valid channel context for given radio, channel context iteration return
      num_chanctx > 0. Hence rx_channel is always NULL. Fix this by assigning
      channel context to rx_channel when driver restart is in progress.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NRajkumar Manoharan <rmanohar@qti.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      1ce8c148
    • M
      ath10k: fix return value for btcoex and peer stats debugfs · 87be054a
      Mohammed Shafi Shajakhan 提交于
      Return value is incorrect for btcoex and peer stats debugfs
      'write' entries if the user provides a value that matches with
      the already available debugfs entry, this results in the debugfs
      entry getting stuck and the operation has to be terminated manually.
      Fix this by returning the appropriate return 'count' as we do it for
      other debugfs entries like pktlog etc.
      
      Fixes: cc61a1bb ("ath10k: enable debugfs provision to enable Peer Stats feature")
      Fixes: c28e6f06 ("ath10k: fix sanity check on enabling btcoex via debugfs")
      Signed-off-by: NMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      87be054a
  7. 14 4月, 2016 5 次提交
  8. 13 4月, 2016 5 次提交
  9. 12 4月, 2016 1 次提交