1. 02 Feb, 2012 1 commit
  2. 18 Jan, 2012 3 commits
  3. 12 Jan, 2012 1 commit
    • Sujith Manoharan's avatar
      ath6kl: Fix listen interval handling · 8232736d
      Sujith Manoharan authored
      
      
      This patch addresses a few problems with the commit:
      
      "ath6kl: Implement support for listen interval from userspace"
      
      * The debugfs file required for reading/writing the listen interval
        wasn't created. Fix this.
      
      * The interface index was being hardcoded to zero. Fix this.
      
      * Two separate parameters, "listen_interval_time and listen_interval_beacons"
        were being used. This fails to work as expected because the FW assigns
        higher precedence to "listen_interval_beacons" and "listen_interval_time"
        ends up being never used at all.
      
        To handle this, fix the host driver to exclusively use listen interval
        based on units of beacon intervals.
      
      To set the listen interval, a user would now do something like this:
      
      echo "10" > /sys/kernel/debug/ieee80211/*/ath6kl/listen_interval
      
      kvalo: fix two checkpatch warnings
      Signed-off-by: default avatarSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      8232736d
  4. 24 Nov, 2011 1 commit
  5. 11 Nov, 2011 20 commits
  6. 31 Oct, 2011 1 commit
  7. 03 Oct, 2011 1 commit
    • Kalle Valo's avatar
      ath6kl: include vmalloc.h in debug.c · 62c83ac4
      Kalle Valo authored
      
      
      Fixes compilation errors when compiling for ARM:
      
      ath6kl/debug.c:312: error: implicit declaration of function 'vmalloc'
      ath6kl/debug.c:312: warning: assignment makes pointer from integer without a cast
      ath6kl/debug.c:342: error: implicit declaration of function 'vfree'
      ath6kl/debug.c:696: warning: assignment makes pointer from integer without a cast
      ath6kl/debug.c:871: warning: assignment makes pointer from integer without a cast
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      62c83ac4
  8. 28 Sep, 2011 1 commit
    • Kalle Valo's avatar
      ath6kl: silence "invalid rate" warning · 9a730834
      Kalle Valo authored
      
      
      For some reason firmware is sending invalid rates when we try to
      query current bitrate from ath6kl_get_station() and a warning is issued:
      
      [ 3810.415720] ath6kl: invalid rate: 1935633515
      [ 3811.105493] ath6kl: invalid rate: 1935633515
      [ 3811.556063] ath6kl: invalid rate: 1935633515
      
      As the warning happens way too often, convert the warning to a debug
      message once we have a proper fix. But to make it easy to follow
      how often the problem appears, add a debugfs to print
      various statistics about workarounds and make this issue the first WAR.
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      9a730834
  9. 05 Sep, 2011 1 commit
  10. 02 Sep, 2011 5 commits
  11. 31 Aug, 2011 3 commits
  12. 09 Aug, 2011 1 commit
    • Kalle Valo's avatar
      Add ath6kl cleaned up driver · bdcd8170
      Kalle Valo authored
      Last May we started working on cleaning up ath6kl driver which is
      currently in staging. The work has happened in a separate
      ath6kl-cleanup tree:
      
      http://git.kernel.org/?p=linux/kernel/git/kvalo/ath6kl-cleanup.git;a=summary
      
      
      
      After over 1100 (!) patches we have now reached a state where I would
      like to start discussing about pushing the driver to the wireless
      trees and replacing the staging driver.
      
      The driver is now a lot smaller and looks like a proper Linux driver.
      The size of the driver (measured with simple wc -l) dropped from 49
      kLOC to 18 kLOC and the number of the .c and .h files dropped from 107
      to 22. Most importantly the number of subdirectories reduced from 26
      to zero :)
      
      There are two remaining checkpatch warnings in the driver which we
      decided to omit for now:
      
      drivers/net/wireless/ath/ath6kl/debug.c:31:
        WARNING: printk() should include KERN_ facility level
      drivers/net/wireless/ath/ath6kl/sdio.c:527:
        WARNING: msleep < 20ms can sleep for up to 20ms;
        see Documentation/timers/timers-howto.txt
      
      The driver has endian annotations for all the hardware specific
      structures and there are no sparse errors. Unfortunately I don't have
      any big endian hardware to test that right now.
      
      We have been testing the driver both on x86 and arm platforms. The
      code is also compiled with sparc and parisc cross compilers.
      
      Notable missing features compared to the current staging driver are:
      
      o HCI over SDIO support
      o nl80211 testmode
      o firmware logging
      o suspend support
      
      Testmode, firmware logging and suspend support will be added soon. HCI
      over SDIO support will be more difficult as the HCI driver needs to
      share code with the wifi driver. This is something we need to research
      more.
      
      Also I want to point out the changes I did for signed endian support.
      As I wasn't able to find any support for signed endian annotations I
      decided to follow what NTFS has done and added my own. Grep for sle16
      and sle32, especially from wmi.h.
      
      Various people have been working on the cleanup, the hall of
      fame based on number of patches is:
      
         543  Vasanthakumar Thiagarajan
         403  Raja Mani
         252  Kalle Valo
          16  Vivek Natarajan
          12  Suraj Sumangala
           3  Joe Perches
           2  Jouni Malinen
      Signed-off-by: default avatarVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
      Signed-off-by: default avatarRaja Mani <rmani@qca.qualcomm.com>
      Signed-off-by: default avatarVivek Natarajan <nataraja@qca.qualcomm.com>
      Signed-off-by: default avatarSuraj Sumangala <surajs@qca.qualcomm.com>
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarJouni Malinen <jouni@qca.qualcomm.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      bdcd8170