1. 28 Jun, 2012 1 commit
    • Amitkumar Karwar's avatar
      mwifiex: wakeup main thread to handle command queued · 1a1fb970
      Amitkumar Karwar authored
      
      
      We miss to wakeup main thread after adding command to cmd pending
      queue at follwing places. These commands are handled later when
      main thread is woken up for handling an interrupt for sleep event
      from firmware. This adds worst case delay of 50msec.
      
      1) We don't wakeup main thread when asynchronous command is added
      to cmd pending queue. Move queue_work() call from
      mwifiex_wait_queue_complete() to mwifiex_send_cmd_async() to wakeup
      main thread for sync as well as async commands.
      
      2) Scan operation is triggered due to following reasons
         a) request from user (ex. "iw scan" command)
         b) Scan performed by driver internally.
         In first case main thread is woken up when first scan command is
      queued in cmd pending queue (we don't need to wakeup main thread for
      subsequent scan commands, because they are queued in scan command
      response handler), but it is not done for second case. queue_work()
      is moved inside mwifiex_scan_networks() to handle both the cases.
      Signed-off-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
      Signed-off-by: default avatarAvinash Patil <patila@marvell.com>
      Signed-off-by: default avatarBing Zhao <bzhao@marvell.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      1a1fb970
  2. 11 Jun, 2012 2 commits
  3. 06 Jun, 2012 1 commit
    • Joe Perches's avatar
      wireless: Remove casts to same type · 2c208890
      Joe Perches authored
      
      
      Adding casts of objects to the same type is unnecessary
      and confusing for a human reader.
      
      For example, this cast:
      
              int y;
              int *p = (int *)&y;
      
      I used the coccinelle script below to find and remove these
      unnecessary casts.  I manually removed the conversions this
      script produces of casts with __force, __iomem and __user.
      
      @@
      type T;
      T *p;
      @@
      
      -       (T *)p
      +       p
      
      Neatened the mwifiex_deauthenticate_infra function which
      was doing odd things with array pointers and not using
      is_zero_ether_addr.
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2c208890
  4. 17 Apr, 2012 2 commits
  5. 09 Apr, 2012 2 commits
  6. 14 Mar, 2012 1 commit
  7. 13 Mar, 2012 1 commit
  8. 05 Mar, 2012 2 commits
  9. 29 Feb, 2012 1 commit
  10. 06 Feb, 2012 1 commit
  11. 27 Jan, 2012 1 commit
  12. 24 Jan, 2012 1 commit
  13. 19 Dec, 2011 1 commit
  14. 14 Dec, 2011 1 commit
  15. 11 Nov, 2011 3 commits
  16. 07 Nov, 2011 1 commit
  17. 14 Oct, 2011 2 commits
  18. 27 Sep, 2011 2 commits
  19. 13 Sep, 2011 1 commit
  20. 24 Aug, 2011 1 commit
  21. 12 Aug, 2011 1 commit
  22. 08 Aug, 2011 1 commit
  23. 22 Jun, 2011 1 commit
  24. 10 May, 2011 1 commit
  25. 05 May, 2011 1 commit
  26. 28 Apr, 2011 2 commits
  27. 19 Apr, 2011 1 commit
  28. 14 Apr, 2011 2 commits
  29. 07 Apr, 2011 1 commit
  30. 04 Apr, 2011 1 commit