1. 11 7月, 2012 11 次提交
  2. 27 6月, 2012 5 次提交
  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 次提交
    • 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
    • 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
    • Y
      wlcore: do not report noise level in get survey op · add779a0
      Yoni Divinsky 提交于
      The get survey op expects the low level driver to report
      the noise level for a a given channel.
      
      The noise calculated in wlcore is (rssi-snr/2), but since
      the snr reported by the FW is a derivative from the rssi
      this calculation is useless, and should not be reported
      to the user space.
      
      Reporting incorrect noise, results in the wpa_supplicant
      miscalculating the roaming candidate priority, thus causing
      a situation where an AP with a lower rssi level would be
      chosen over a better AP.
      Signed-off-by: NYoni Divinsky <yoni.divinsky@ti.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      add779a0
    • A
      wlcore: reconfigure sleep_auth when removing interfaces · 2f18cf7c
      Arik Nemtsov 提交于
      The sleep_auth value of the last interface to be set up prevailed when
      an interface was removed. Take care of this by correctly configuring the
      value according to the remaining STA/AP interfaces.
      
      Take this opportunity to refactor the sleep_auth setting code for better
      readability.
      
      [Small style fix. -- Luca]
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      2f18cf7c
    • A
      wlcore: allow setting sleep_auth before interface init · 66340e5b
      Arik Nemtsov 提交于
      Hold a value for sta_sleep_auth that is amenable to change by debugfs.
      When detecting a legal value in this variable on interface init, use it
      as an override value for sleep_auth.
      
      This makes debugging more intuitive using the debugfs value.
      
      Increment the conf version since we added an element to the conf
      structure.
      
      Note: An AP going up will always set sleep_auth to PSM_CAM.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      66340e5b