1. 06 7月, 2011 6 次提交
    • E
      wl12xx: implement cancel_hw_scan() callback · 73ecce31
      Eliad Peller 提交于
      After implementing cancel_hw_scan(), there is no more need to
      flush scan_complete_work on suspend.
      
      scan_complete_work enqueues a new scan_work, that might lead
      to the following warning (if the device was already suspended):
      
      WARNING: at drivers/mmc/core/core.c:169 mmc_wait_for_req+0x1ac/0x2c8()
      Backtrace:
      [<c004b50c>] (dump_backtrace+0x0/0x110)
      [<c04fda50>] (dump_stack+0x0/0x1c)
      [<c008f700>] (warn_slowpath_common+0x0/0x6c)
      [<c008f76c>] (warn_slowpath_null+0x0/0x2c)
      [<c034b058>] (mmc_wait_for_req+0x0/0x2c8)
      [<c034f804>] (mmc_io_rw_extended+0x0/0x1e4)
      [<c0350b5c>] (sdio_io_rw_ext_helper+0x0/0x1ac)
      [<c0350e00>] (sdio_memcpy_fromio+0x0/0x2c)
      [<bf194464>] (wl1271_sdio_raw_read+0x0/0x1bc [wl12xx_sdio])
      [<bf15ac14>] (wl1271_cmd_wait_for_event_or_timeout+0x0/0x19c [wl12xx])
      [<bf15adb0>] (wl1271_cmd_wait_for_event+0x0/0x30 [wl12xx])
      [<bf15b7dc>] (wl1271_cmd_disconnect+0x0/0x14c [wl12xx])
      [<bf158fd0>] (wl1271_unjoin+0x0/0x48 [wl12xx])
      [<bf159070>] (wl1271_op_config+0x0/0x490 [wl12xx])
      [<bf105084>] (ieee80211_hw_config+0x0/0x14c [mac80211])
      [<bf113120>] (ieee80211_recalc_idle+0x0/0x4c [mac80211])
      [<bf109a70>] (__ieee80211_scan_completed+0x0/0x1ac [mac80211])
      [<bf109fd4>] (ieee80211_scan_work+0x0/0x484 [mac80211])
      [<c00a197c>] (worker_thread+0x0/0x1e8)
      [<c00a5874>] (kthread+0x0/0x90)
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      73ecce31
    • E
      wl12xx: configure suspend/resume only if associated/started · e85d1629
      Eliad Peller 提交于
      Configure the device (to wowlan) only if the sta/ap
      is associated/started.
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      e85d1629
    • A
      wl12xx: implement Tx watermarks per AC · 708bb3cf
      Arik Nemtsov 提交于
      Each AC is stopped when its queue is filled up to the high watermark,
      and restarted when its queue it lower than the low watermark. This
      ensures congested ACs are not able to starve other ACs.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      708bb3cf
    • A
      wl12xx: schedule TX packets according to FW occupancy · 9e374a37
      Arik Nemtsov 提交于
      When selecting packets for transmission, prefer the ACs that are least
      occupied in the FW. When packets for multiple ACs are present in the FW,
      it decides which to transmit according to WMM QoS parameters.
      
      With these changes, lower priority ACs should not be starved when higher
      priority traffic is present.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      9e374a37
    • A
      wl12xx: AP mode - support FW TX inactivity triggers · 3618f30f
      Arik Nemtsov 提交于
      In AP mode we register for the MAX_TX_RETRY and INACTIVE_STA events.
      Both are reported to the upper layers as a TX failure in the offending
      stations.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      3618f30f
    • O
      wl12xx: fix Tx security sequence number handling · b992c682
      Oz Krakowski 提交于
      Do not reset the security sequence number when issuing a join command or
      interface is removed. Instead, reset the counter only during the unjoin
      command.
      
      Added the notion of counter wrap-around to the LSB number in
      wl1271_tx_complete_packet.
      
      Added post recovery padding to adjust for potential security number
      progress during the recovery process by the firmware and avoid
      potential interop issues in encrypted networks.
      Signed-off-by: NOz Krakowski <ozk@ti.com>
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      b992c682
  2. 27 6月, 2011 13 次提交
  3. 08 6月, 2011 1 次提交
  4. 01 6月, 2011 1 次提交
  5. 19 5月, 2011 1 次提交
    • L
      wl12xx: fix compilation error when CONFIG_PM is not set · f634a4e7
      Luciano Coelho 提交于
      There was a compilation error when PM is not enabled:
      
        CC [M]  drivers/net/wireless/wl12xx/main.o
      drivers/net/wireless/wl12xx/main.c:3653: error: unknown field 'suspend' specified in initializer
      drivers/net/wireless/wl12xx/main.c:3653: warning: initialization from incompatible pointer type
      drivers/net/wireless/wl12xx/main.c:3654: error: unknown field 'resume' specified in initializer
      drivers/net/wireless/wl12xx/main.c:3654: warning: initialization from incompatible pointer type
      
      Fix this by adding #ifdef's in the appropriate places.
      
      Cc: Eliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f634a4e7
  6. 13 5月, 2011 8 次提交
  7. 02 5月, 2011 10 次提交