1. 23 6月, 2012 1 次提交
  2. 12 6月, 2012 1 次提交
    • A
      mwifiex: fix simultaneous scan and Tx traffic problem · 3249ba73
      Amitkumar Karwar 提交于
      If scan operation is started when Tx traffic is already running,
      driver locks Tx queue until it gets completed. With this logic
      there is a delay for Tx packets.
      
      This patch implements new approach to give Tx path higher priority
      in this case. Driver internally sends multiple synchronous scan
      commands to firmware when scan is requested by user. Now we will
      make sure that Tx queue is empty everytime before sending next scan
      command. If Tx queue isn't empty scan command will be postponsed by
      20msec. This rule will be followed until Tx queue becomes empty or
      timeout of 1 second happens. In case of timeout scan operation will
      be aborted.
      Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com>
      Signed-off-by: NBing Zhao <bzhao@marvell.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3249ba73
  3. 17 5月, 2012 4 次提交
  4. 24 4月, 2012 1 次提交
  5. 13 4月, 2012 2 次提交
  6. 15 3月, 2012 1 次提交
  7. 07 2月, 2012 1 次提交
  8. 28 1月, 2012 1 次提交
  9. 25 1月, 2012 1 次提交
  10. 15 12月, 2011 1 次提交
  11. 14 12月, 2011 1 次提交
  12. 15 10月, 2011 1 次提交
    • A
      mwifiex: use separate wait condition for each command node · efaaa8b8
      Amitkumar Karwar 提交于
      Currently global wait condition (adapter->cmd_wait_q.condition)
      is used while sending synchronous commands to FW. When two threads
      enter in mwifiex_send_cmd_sync() routine at the same time, both the
      threads wait for their command responses. Since wait condition is
      same for both, they wake up simultaneously after getting response
      of 1st command. After this when a thread is waiting for command
      response of 3rd command, it wakes up after getting response of 2nd
      command and so on. Therefore we don't wait for the response of last
      command(0xaa) during unload. Hence while next time loading the driver
      command time out is seen for INIT command.
      
      This problem is resolved by having separate wait condition flag for
      each command(except scan command). Since scan command is treated
      differently (by maintaining scan pending q etc.), newly defined flag
      (scan_wait_q_woken) is used as a scan wait condition.
      Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com>
      Signed-off-by: NYogesh Ashok Powar <yogeshp@marvell.com>
      Signed-off-by: NBing Zhao <bzhao@marvell.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      efaaa8b8
  13. 13 10月, 2011 1 次提交
  14. 12 10月, 2011 1 次提交
    • Y
      mwifiex: fix smatch errors · 3d82de0f
      Yogesh Ashok Powar 提交于
      drivers/net/wireless/mwifiex/main.c +828 mwifiex_remove_card(52)
        error: potential null derefence 'priv'.
      drivers/net/wireless/mwifiex/main.c +828 mwifiex_remove_card(52)
        error: we previously assumed 'priv' could be null (see line 820)
      drivers/net/wireless/mwifiex/txrx.c +90 mwifiex_process_tx(24)
        error: potential null derefence 'local_tx_pd'.
      drivers/net/wireless/mwifiex/sta_ioctl.c +766
      mwifiex_rate_ioctl_set_rate_value(30)
        error: buffer overflow 'rate' 14 <= 14
      
      Cc: Dan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NYogesh Ashok Powar <yogeshp@marvell.com>
      Signed-off-by: NBing Zhao <bzhao@marvell.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3d82de0f
  15. 04 10月, 2011 1 次提交
  16. 01 10月, 2011 1 次提交
  17. 18 8月, 2011 1 次提交
  18. 10 8月, 2011 1 次提交
  19. 23 6月, 2011 1 次提交
  20. 11 6月, 2011 1 次提交
  21. 02 6月, 2011 1 次提交
  22. 11 5月, 2011 1 次提交
  23. 06 5月, 2011 2 次提交
  24. 20 4月, 2011 2 次提交
  25. 15 4月, 2011 2 次提交
  26. 31 3月, 2011 1 次提交