1. 22 8月, 2011 1 次提交
  2. 06 7月, 2011 2 次提交
  3. 27 6月, 2011 3 次提交
    • I
      wl12xx: Support routing FW logs to the host · 95dac04f
      Ido Yariv 提交于
      A recently added feature to the firmware enables the driver to retrieve
      firmware logs via the host bus (SDIO or SPI).
      
      There are two modes of operation:
      1. On-demand: The FW collects its log in an internal ring buffer. This
         buffer can later be read, for example, upon recovery.
      2. Continuous: The FW pushes the FW logs as special packets in the RX
         path.
      
      Reading the internal ring buffer does not involve the FW. Thus, as long
      as the HW is not in ELP, it should be possible to read the logs, even if
      the FW crashes.
      
      A sysfs binary file named "fwlog" was added to support this feature,
      letting a monitor process read the FW messages. The log is transferred
      from the FW only when available, so the reading process might block.
      Signed-off-by: NIdo Yariv <ido@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      95dac04f
    • E
      wl12xx: remove unused crc7 references · a0111302
      Eliad Peller 提交于
      crc7 is used only in wl12xx_spi.
      
      Remove redundant crc7.h includes, and update Kconfig to select CRC7
      only if WL12XX_SPI is being selected.
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      a0111302
    • E
      wl12xx: add support for rx streaming · f84673d5
      Eliad Peller 提交于
      wl12xx supports the "rx streaming" feature:
      
      When in ps mode, and @timeout msecs have been passed since
      the last rx/tx, it issues trigger packets (QoS-null/PS-Poll packets,
      according to the ac type) in const intervals (in order to reduce
      the rx time).
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      f84673d5
  4. 02 5月, 2011 7 次提交
  5. 29 4月, 2011 1 次提交
    • A
      wl12xx: support FW TX inactivity triggers · 47684808
      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.
      
      In STA mode we register only for the MAX_TX_RETRY event. A TX failure is
      interpreted as a loss of connection.
      
      Support for IEEE80211_HW_REPORTS_TX_ACK_STATUS has been removed to avoid
      the inherent race condition of a mac80211 TX failure counter in addition
      to the FW counter.
      
      This patch depends on "mac80211: allow low level driver to report packet
      loss"
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      47684808
  6. 19 4月, 2011 3 次提交
    • I
      wl12xx: Simplify TX blocks accounting · d2f4d47d
      Ido Yariv 提交于
      The total number of TX memory blocks may change when the dynamic memory
      option is enabled. The current implementation only tracks the available
      memory blocks, which over-complicates TX blocks accounting.
      
      By tracking the number of allocated blocks, calculation of the number of
      available blocks becomes simpler and cleaner. It simply equals the total
      number of TX memory blocks minus the allocated ones.
      
      Also, remove some unnecessary castings and use union member accesses
      instead.
      Signed-off-by: NIdo Yariv <ido@wizery.com>
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      d2f4d47d
    • S
      wl12xx: 1281/1283 support - use dynamic memory for the RX/TX pools · 13b107dd
      Shahar Levi 提交于
      Separate the memory configuration to chip-specific structures and
      implement dynamic memory for wl128x.
      
      This feature allows us to move TX memory blocks to the RX pool when
      the RX path is overloaded.
      
      Thanks for Arik Nemtsov <arik@wizery.com> for helping simplify the
      wl1271_fw_status() code.
      
      [Rewrote the commit subject and message for clarity; improved some
      comments and changed "spare" to "padding" for consistency; added a
      FIXME for the AP memory configuration -- Luca]
      Signed-off-by: NShahar Levi <shahar_levi@ti.com>
      Reviewed-by: NLuciano Coelho <coelho@ti.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      13b107dd
    • S
      wl12xx: 1281/1283 support - Add acx commands · 48a61477
      Shahar Levi 提交于
      New acx command that sets: Rx fifo enable reduced bus transactions
      in RX path. Tx bus transactions padding to SDIO block size that
      improve preference in Tx and essential for working with SDIO HS (48Mhz).
      The max SDIO block size is 256 when working with Tx bus transactions
      padding to SDIO block.
      
      Add new ops to SDIO & SPI that handles the win size change in case of
      transactions padding (relevant only for SDIO).
      
      [Fix endianess issues; simplify sdio-specific block_size handling;
      minor changes in comments; use "aligned_len" in one calculation
      instead of "pad" to avoid confusion -- Luca]
      Signed-off-by: NShahar Levi <shahar_levi@ti.com>
      Reviewed-by: NLuciano Coelho <coelho@ti.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      48a61477
  7. 03 3月, 2011 1 次提交
  8. 23 2月, 2011 2 次提交
  9. 09 2月, 2011 4 次提交
  10. 25 1月, 2011 6 次提交
    • L
      wl12xx: BA receiver support · bbba3e68
      Levi, Shahar 提交于
      Add new ampdu_action ops to support receiver BA.
      The BA initiator session management in FW independently.
      Signed-off-by: NShahar Levi <shahar_levi@ti.com>
      Reviewed-by: NLuciano Coelho <coelho@ti.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      bbba3e68
    • L
      wl12xx: BA initiator support · 4b7fac77
      Levi, Shahar 提交于
      Add 80211n BA initiator session support wl1271 driver.
      Include BA supported FW version auto detection mechanism.
      BA initiator session management included in FW independently.
      Signed-off-by: NShahar Levi <shahar_levi@ti.com>
      Reviewed-by: NLuciano Coelho <coelho@ti.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      4b7fac77
    • E
      wl12xx: fix some endianess bugs · 1d4801f2
      Eliad Peller 提交于
      pointed out by sparse warnings:
      
        CHECK   drivers/net/wireless/wl12xx/cmd.c
      drivers/net/wireless/wl12xx/cmd.c:987:20: warning: incorrect type in assignment (different base types)
      drivers/net/wireless/wl12xx/cmd.c:987:20:    expected restricted __le16 [usertype] aging_period
      drivers/net/wireless/wl12xx/cmd.c:987:20:    got int
        CHECK   drivers/net/wireless/wl12xx/tx.c
      drivers/net/wireless/wl12xx/tx.c:197:2: warning: cast from restricted __le16
      drivers/net/wireless/wl12xx/tx.c:197:2: warning: cast from restricted __le16
      drivers/net/wireless/wl12xx/tx.c:197:2: warning: cast from restricted __le16
        CHECK   drivers/net/wireless/wl12xx/acx.c
      drivers/net/wireless/wl12xx/acx.c:816:23: warning: incorrect type in assignment (different base types)
      drivers/net/wireless/wl12xx/acx.c:816:23:    expected restricted __le32 [usertype] rate_policy_idx
      drivers/net/wireless/wl12xx/acx.c:816:23:    got unsigned char [unsigned] [usertype] idx
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      1d4801f2
    • A
      wl12xx: AP mode - AP specific CMD_CONFIGURE sub-commands · 79b223f4
      Arik Nemtsov 提交于
      Add AP max retries and rate policy configuration.
      Rename STA rate policy configuration function.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Reviewed-by: NLuciano Coelho <coelho@ti.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      79b223f4
    • A
      wl12xx: Add AP related configuration to conf_drv_settings · 1e05a818
      Arik Nemtsov 提交于
      Rate class configuration has been split up for AP and STA modes.
      Template related configuration likewise separated.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Reviewed-by: NLuciano Coelho <coelho@ti.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      1e05a818
    • E
      wl12xx: fix some sparse warnings · 6177eaea
      Eliad Peller 提交于
      Note that wl1271_write32() calls cpu_to_le32() by itself, so calling
      wl1271_write32(addr, cpu_to_le32(val)) is in fact a bug on BE systems.
      
      Fix the following sparse warnings:
      
      drivers/net/wireless/wl12xx/cmd.c:662:16: warning: incorrect type in assignment (different base types)
      drivers/net/wireless/wl12xx/cmd.c:662:16:    expected unsigned short [unsigned] [addressable] [usertype] llc_type
      drivers/net/wireless/wl12xx/cmd.c:662:16:    got restricted __be16 [usertype] <noident>
      drivers/net/wireless/wl12xx/cmd.c:674:17: warning: incorrect type in assignment (different base types)
      drivers/net/wireless/wl12xx/cmd.c:674:17:    expected unsigned int [unsigned] [addressable] [usertype] sender_ip
      drivers/net/wireless/wl12xx/cmd.c:674:17:    got restricted __be32 [usertype] ip_addr
      drivers/net/wireless/wl12xx/rx.c:202:4: warning: incorrect type in argument 3 (different base types)
      drivers/net/wireless/wl12xx/rx.c:202:4:    expected unsigned int [unsigned] [usertype] val
      drivers/net/wireless/wl12xx/rx.c:202:4:    got restricted __le32 [usertype] <noident>
      drivers/net/wireless/wl12xx/acx.c:1247:23: warning: incorrect type in assignment (different base types)
      drivers/net/wireless/wl12xx/acx.c:1247:23:    expected restricted __le32 [usertype] ht_capabilites
      drivers/net/wireless/wl12xx/acx.c:1247:23:    got unsigned long
      drivers/net/wireless/wl12xx/acx.c:1250:24: warning: invalid assignment: |=
      drivers/net/wireless/wl12xx/acx.c:1250:24:    left side has type restricted __le32
      drivers/net/wireless/wl12xx/acx.c:1250:24:    right side has type unsigned long
      drivers/net/wireless/wl12xx/acx.c:1253:24: warning: invalid assignment: |=
      drivers/net/wireless/wl12xx/acx.c:1253:24:    left side has type restricted __le32
      drivers/net/wireless/wl12xx/acx.c:1253:24:    right side has type unsigned long
      drivers/net/wireless/wl12xx/acx.c:1256:24: warning: invalid assignment: |=
      drivers/net/wireless/wl12xx/acx.c:1256:24:    left side has type restricted __le32
      drivers/net/wireless/wl12xx/acx.c:1256:24:    right side has type unsigned long
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      6177eaea
  11. 15 12月, 2010 1 次提交
  12. 22 11月, 2010 2 次提交
  13. 16 11月, 2010 1 次提交
  14. 28 9月, 2010 1 次提交
  15. 25 8月, 2010 1 次提交
  16. 09 7月, 2010 3 次提交
  17. 29 4月, 2010 1 次提交