1. 28 3月, 2012 2 次提交
    • B
      ath6kl: Set background scan period. · f599359c
      Bala Shanmugam 提交于
      After connect command, send scan params WMI command to
      set background scan period. If period value is zero
      send 0xffff as bg scan period to disable bg scan.
      Set default bg scan period to be 60 seconds if
      not specified.
      
      This patch depends on below patch
      cfg80211: Add background scan period attribute.
      
      kvalo: fix open parenthesis alignment
      Signed-off-by: NBala Shanmugam <bkamatch@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      f599359c
    • R
      ath6kl: Store scan request info in-advance before sending SCAN request · 5b35dff0
      Raja Mani 提交于
      In current code, Scan request info is recorded in vif->scan_req
      after sending SCAN request to the firmware in ath6kl_cfg80211_scan().
      
      In some corner cases, firmware sends SCAN_COMPLETE event immediately
      when it receives SCAN request, which internally executes scan
      complete event handler ath6kl_cfg80211_scan_complete_event() first.
      So, Scan completion handler will a get a chance to executed even
      before storing scan request info in ath6kl_cfg80211_scan().
      
      Scan completion handler never report SCAN_COMPLETE event to
      cfg80211 if scan request info(vif->scan_req) is NULL. This leads
      to scan failure issue ("Device or resource busy error") during
      next SCAN request from the user space. This patch ensures that scan
      request info is stored before sending SCAN request.
      Signed-off-by: NRaja Mani <rmani@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      5b35dff0
  2. 26 3月, 2012 13 次提交
  3. 21 3月, 2012 1 次提交
  4. 20 3月, 2012 4 次提交
  5. 13 3月, 2012 5 次提交
  6. 12 3月, 2012 1 次提交
  7. 08 3月, 2012 12 次提交
  8. 07 3月, 2012 2 次提交
    • R
      ath6kl: Set optimal listen intvl,bmiss,scan params while going to wow suspend · ce0dc0cf
      Raja Mani 提交于
      * In order to save the target power in WOW suspend state,
        configure the best optimal values for the below parameters,
           - listen interval.
           - beacon miss interval.
           - scan parameters.
      
        Default values for above attributes are reverted in
        wow resume operation.
      
      * The default listen interval is set before the host issue
        connect request.
      
      * New function is added to configure beacon miss count.
      
      kvalo: minor changes to fix open parenthesis alignment
      Signed-off-by: NRaja Mani <rmani@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      ce0dc0cf
    • R
      ath6kl: Maintain the listen interval per VIF specific · 8f46fccd
      Raja Mani 提交于
      Firmware has the option to support the listen interval
      per vif specific. Fix this.
      
      Listen interval can be set by the TUs or by the number
      of beacons. Current code enables the user to configure
      the listen interval in the unit of 'number of beacons'
      using debugfs entry "listen_interval". Going forward,
      we need to alter the listen interval in the unit of TUs
      to get good power numbers while going to WOW suspend/resume.
      
      Allowing the user to change the listen interval in
      the unit of "number of beacons"  in debugfs and changing
      listen interval in wow suspend/resume in the unit of
      time (TUs) would lead us to confuse.
      
      This patch make sures the listen interval is changed only
      in the unit of time (TUs).
      Signed-off-by: NRaja Mani <rmani@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      8f46fccd