1. 11 7月, 2012 10 次提交
  2. 27 6月, 2012 6 次提交
  3. 26 6月, 2012 1 次提交
    • R
      wlcore: drop INET dependency · ff0b8046
      Randy Dunlap 提交于
      Mainline build reports:
      
      warning: (WL12XX) selects WLCORE which has unmet direct dependencies (NETDEVICES && WLAN && WL_TI && GENERIC_HARDIRQS && MAC80211 && INET)
      
      The INET dependency was added in commit
      3c6af5b5:
          wl1271_main.c:(.text+0x271052): undefined reference to `unregister_inetaddr_
      notifier'
          wl1271_main.c:(.text+0x2714d7): undefined reference to `register_inetaddr_no
      tifier'
      
          Driver is doing some filtering based on IP addresses...
      
      but this driver no longer has that code and it builds fine even when
      CONFIG_INET is not enabled, so drop that dependency and eliminate the
      kconfig warning message.
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Cc: Luciano Coelho <luciano.coelho@nokia.com>
      Cc: John W. Linville <linville@tuxdriver.com>
      Acked-by: NLuciano Coelho <coelho@ti.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ff0b8046
  4. 23 6月, 2012 7 次提交
  5. 22 6月, 2012 11 次提交
  6. 21 6月, 2012 5 次提交
    • L
      wl18xx: use %zu for size_t arguments in printk calls · 41844076
      Luciano Coelho 提交于
      After 934b9d1e (wl18xx: avoid some -Wformat warnings) there was still
      a warning with (at least) ARM gcc version 4.4.1:
      
      drivers/net/wireless/ti/wl18xx/main.c: In function 'wl18xx_conf_init':
      drivers/net/wireless/ti/wl18xx/main.c:1026: warning: format '%ld' expects type 'long int', but argument 2 has type 'unsigned int'
      
      Fix this by using %zu for the both formats, since the fw->size and the
      macro (derived from sizeof()) are size_t.
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      41844076
    • A
      wl18xx: split siso40 HT cap between 2Ghz and 5Ghz · 93fb19bb
      Arik Nemtsov 提交于
      Remove the cap IEEE80211_HT_CAP_DSSSCCK40 from the 5Ghz variant of
      the siso40 HT capabilities. It is meaningless in 5Ghz.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      93fb19bb
    • A
      wl18xx: sane defaults for HT capabilities · fa2adfcd
      Arik Nemtsov 提交于
      Introduce a default set of HT capabilities that are set according to the
      number of antennas on the board. Move the HT setting code down to allow
      the number of antennas to be set (and optionally overridden) before it.
      
      Remove the "mimo" HT option, since the default mode now enables MIMO is
      possible.
      
      Use this opportunity to add a helper function for setting HT
      capabilities and reduce the volume of the code a bit.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      fa2adfcd
    • A
      wl18xx: explicitly remove the 5Ghz MIMO HT cap · 68a847f2
      Arik Nemtsov 提交于
      The 18xx chip does not support MIMO in 5Ghz. Use the siso20 HT cap as
      fallback in 5Ghz when "mimo" is requested.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      68a847f2
    • I
      wlcore: read FW logs from FW memory on watchdog recovery · 1e41213f
      Igal Chernobelsky 提交于
      FW uses a few memory blocks as a buffer to accumulate FW logs before
      transmitting them to the host over SDIO. When FW WatchDog recovery
      occurs, the last FW traces are still pending in the buffer. Driver is
      to read these FW traces whether log mode is continuous or on demand.
      
      FW memory blocks allocated for the log buffer are handled as a link list:
      the first 4 bytes in each memory block contain FW address to the next block.
      The end of list condition depends on FW log mode:
      - on demand: the list is cyclic, the next address is equal to the first address
      - continuous: the address is  equal to 0x2000000
      
      Log data resides inside FW memory block with offset depending on
      logger mode:
      - on demand:  4 bytes (address of the next memory block)
      - continuous: 4 bytes and Rx Descriptor structure size
      
      Described FW logger API is backward compatible with previous FW versions.
      Signed-off-by: NIgal Chernobelsky <igalc@ti.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      1e41213f