1. 27 Nov, 2012 1 commit
  2. 24 Oct, 2012 9 commits
  3. 11 Jun, 2012 1 commit
  4. 24 May, 2012 1 commit
  5. 16 May, 2012 2 commits
    • Naveen Singh's avatar
      ath6kl: Include match ssid list in scheduled scan · dd45b759
      Naveen Singh authored
      
      
      Scheduled scan implementation was only taking probed list into
      consideration. The matched list was dropped. This would cause
      FW not to report the AP as the list never had that AP's SSID
      populated. This was causing long connection time when supplicant
      would just issue a wild card SSID in probed list. As a part of
      this implementation, ath6kl driver would create a complete list
      by taking both probed and matched list and pass it to FW. FW would
      probe for the SSID that it needs to and would match against the
      relevant SSIDS that is been configured.
      
      kvalo: whitespace changes, less indentation in the for loop, use ++
      Signed-off-by: default avatarNaveen Singh <navesing@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      dd45b759
    • Thomas Pedersen's avatar
      ath6kl: enable enhanced bmiss detection · c422d52d
      Thomas Pedersen authored
      
      
      Enable enhanced bmiss detection if the firmware supports it. This
      feature is only enabled on some firmwares since it comes with a power
      cost.
      
      Also add a few missing command ids to keep the enums straight.
      
      kvalo: fix a compiler with ath6kl_err(), add few empty lines
      Signed-off-by: default avatarThomas Pedersen <c_tpeder@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      c422d52d
  6. 11 May, 2012 1 commit
  7. 04 May, 2012 1 commit
  8. 23 Apr, 2012 1 commit
  9. 12 Apr, 2012 1 commit
  10. 09 Apr, 2012 2 commits
  11. 26 Mar, 2012 2 commits
  12. 07 Mar, 2012 3 commits
    • Kalle Valo's avatar
      ath6kl: fix too long lines · 05aab177
      Kalle Valo authored
      
      
      Found by checkpatch:
      
      drivers/net/wireless/ath/ath6kl/init.c:78: WARNING: line over 80 characters
      drivers/net/wireless/ath/ath6kl/init.c:397: WARNING: line over 80 characters
      drivers/net/wireless/ath/ath6kl/init.c:407: WARNING: line over 80 characters
      drivers/net/wireless/ath/ath6kl/htc.c:189: WARNING: line over 80 characters
      drivers/net/wireless/ath/ath6kl/htc.c:704: WARNING: line over 80 characters
      drivers/net/wireless/ath/ath6kl/htc.c:2452: WARNING: line over 80 characters
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      05aab177
    • Kalle Valo's avatar
      ath6kl: document all spinlocks · 12eb9444
      Kalle Valo authored
      
      
      Also fixes quite a few checkpatch warnings like this:
      
      ath6kl/hif.h:226: CHECK: spinlock_t definition without comment
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      12eb9444
    • Raja Mani's avatar
      ath6kl: Set optimal listen intvl,bmiss,scan params while going to wow suspend · ce0dc0cf
      Raja Mani authored
      
      
      * 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: default avatarRaja Mani <rmani@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      ce0dc0cf
  13. 29 Feb, 2012 1 commit
  14. 27 Feb, 2012 1 commit
  15. 08 Feb, 2012 1 commit
  16. 30 Jan, 2012 2 commits
    • Raja Mani's avatar
      ath6kl: Wait for host sleep mode cmd processed event during WOW suspend · 081c7a84
      Raja Mani authored
      
      
      For every WMI_SET_HOST_SLEEP_MODE_CMDID command (send from the host),
      the firmware sends WMI_SET_HOST_SLEEP_MODE_CMD_PROCESSED_EVENTID as
      an acknowledgement to the host.
      
      In order to being sync with the firmware, the host has to wait for
      WMI_SET_HOST_SLEEP_MODE_CMD_PROCESSED_EVENT event before going to
      the suspend state. This patch ensures ath6kl_wow_suspend() waits
      until it gets this event after sending set host sleep mode command.
      
      This patch adds,
       * New command WMI_SET_HOST_SLEEP_MODE_CMD_PROCESSED_EVENTID in
         WMI event table.
       * New WMI function ath6kl_wmi_host_sleep_mode_cmd_prcd_evt_rx()
         to process the event.
       * New flag HOST_SLEEP_MODE_CMD_PROCESSED in VIF flags to record
         the arrival of the event.
      Signed-off-by: default avatarRaja Mani <rmani@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      081c7a84
    • Raja Mani's avatar
      ath6kl: Configure WOW patterns while going to wow_suspend · d91e8eee
      Raja Mani authored
      
      
      First preference is given to the user configured WOW patterns.
      If the user doesn't configure any patterns (for ex, via iw command),
      the default patterns will be configured based on the current mode
      (vif->nw_type) while going to WOW suspend.
      
      Summary of changes:
      
        * ath6kl_wow_ap() is added to configure the below default
          patterns when the system enters into WOW suspend in AP mode.
            + Unicast IP, EAPOL-like and ARP packet pattern
            + ARP packet pattern
            + mDNS/SSDP/LLMNR pattern
            + DHCP broadcast pattern
      
       * ath6kl_wow_sta() is added to configure the below default
         patterns when the system enters into WOW suspend in STA mode.
            + Unicast packet pattern
            + mDNS/SSDP/LLMNR pattern
      
        * Move the user provided WOW patterns configuration code
          from ath6kl_wow_suspend() to a separate function called
          ath6kl_wow_usr().
      
        * Two argument variable's ('filter' and 'mask) data type in
          ath6kl_wmi_add_wow_pattern_cmd() are changed from 'u8 *' to
          'const u8 *'. This is needed to make all pattern and mask
          arrays to be 'static const u8' in the caller function.
      
        * New conditional check is added to make sure user
          configured pattern count is within the limit (WOW_MAX_FILTERS_PER_LIST).
      Signed-off-by: default avatarRaja Mani <rmani@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      d91e8eee
  17. 13 Jan, 2012 1 commit
    • Thirumalai Pachamuthu's avatar
      ath6kl: Add support for uAPSD · c1762a3f
      Thirumalai Pachamuthu authored
      
      
      * A new APSD power save queue is added in the station structure.
      * When a station has APSD capability and goes to power save, the frame
        designated to the station will be buffered in APSD queue.
      * When the host receives a frame which the firmware marked as trigger,
        host delivers the buffered frame from the APSD power save queue.
        Number of frames to deliver is decided by MAX SP length.
      * When a station moves from sleep to awake state, all frames buffered
        in APSD power save queue are sent to the firmware.
      * When a station is disconnected, all frames bufferes in APSD power save
        queue are dropped.
      * When the host queues the first frame to the APSD queue or removes the
        last frame from the APSD queue, it is indicated to the firmware using
        WMI_AP_APSD_BUFFERED_TRAFFIC_CMD.
      
      kvalo: fix buggy handling of sks queues, made it more obvious
      the user priority when wmm is disabled, remove unneed else block and
      combined some variable declarations
      Signed-off-by: default avatarThirumalai Pachamuthu <tpachamu@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      c1762a3f
  18. 09 Jan, 2012 2 commits
  19. 02 Jan, 2012 2 commits
  20. 23 Dec, 2011 1 commit
  21. 14 Dec, 2011 1 commit
    • Aarthi Thiruvengadam's avatar
      ath6kl: support for P2P mgmt operations on station interface · 3ca9d1fc
      Aarthi Thiruvengadam authored
      
      
      This patch enables support for doing P2P management operations like device
      discovery on top of a station interface. After group formation, the station
      interface will become a P2P GO/client interface as the case may be.
      
      This feature requires modifications to a couple of existing WMI structures and
      therefore new command ids and structures have been defined in order to be
      compatible with older firmware versions and other chips. The exception here is
      the wmi_connect_cmd. Adding a new field to the end of the structure will not
      cause any issues with previous firmware versions since firmware only checks for
      minimum length of the command. The other structures are of variable length,
      hence it was not possible to add new fields to the end.
      
      The new command ids have to be added to the end of enum wmi_cmd_id, so it has
      updated to match the firmware.
      
      The driver will support both the 'old' and the 'new' commands for a while by
      checking the firmware capabilities.
      Signed-off-by: default avatarAarthi Thiruvengadam <athiruve@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      3ca9d1fc
  22. 13 Dec, 2011 2 commits
  23. 24 Nov, 2011 1 commit