1. 25 1月, 2011 32 次提交
  2. 22 1月, 2011 1 次提交
    • B
      cfg80211: Extend channel to frequency mapping for 802.11j · 59eb21a6
      Bruno Randolf 提交于
      Extend channel to frequency mapping for 802.11j Japan 4.9GHz band, according to
      IEEE802.11 section 17.3.8.3.2 and Annex J. Because there are now overlapping
      channel numbers in the 2GHz and 5GHz band we can't map from channel to
      frequency without knowing the band. This is no problem as in most contexts we
      know the band. In places where we don't know the band (and WEXT compatibility)
      we assume the 2GHz band for channels below 14.
      
      This patch does not implement all channel to frequency mappings defined in
      802.11, it's just an extension for 802.11j 20MHz channels. 5MHz and 10MHz
      channels as well as 802.11y channels have been omitted.
      
      The following drivers have been updated to reflect the API changes:
      iwl-3945, iwl-agn, iwmc3200wifi, libertas, mwl8k, rt2x00, wl1251, wl12xx.
      The drivers have been compile-tested only.
      Signed-off-by: NBruno Randolf <br1@einfach.org>
      Signed-off-by: NBrian Prodoehl <bprodoehl@gmail.com>
      Acked-by: NLuciano Coelho <coelho@ti.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      59eb21a6
  3. 03 1月, 2011 1 次提交
  4. 23 12月, 2010 1 次提交
  5. 15 12月, 2010 5 次提交
    • L
      wl12xx_sdio_test: rename files to match current style · 248daa08
      Luciano Coelho 提交于
      Change some file names and Kconfig settings so that this new module matches
      the new way of using wl12xx instead of wl1271.
      
      Also fix SDIO power enabling and disabling to match the latest way of doing
      it.
      
      Cc: Roger Quadros <roger.quadros@nokia.com>
      Signed-off-by: NLuciano Coelho <luciano.coelho@nokia.com>
      248daa08
    • J
      wl12xx: Change TX queue to be per AC · 6742f554
      Juuso Oikarinen 提交于
      With the current single-queue implementation traffic priorization is not
      working correctly - when using multiple BE streams and one, say VI stream,
      the VI stream will share bandwidth almost equally with the BE streams.
      
      To fix the issue, implement per AC queues, which are emptied in priority
      order to the firmware. To keep it relatively simple, maintain a global
      buffer count and global queue stop/wake instead of per-AC.
      
      With these changes, priorization appears to work just fine.
      Signed-off-by: NJuuso Oikarinen <juuso.oikarinen@nokia.com>
      Signed-off-by: NLuciano Coelho <luciano.coelho@nokia.com>
      6742f554
    • E
      wl12xx: allow runtime changing of debug_level · 17c1755c
      Eliad Peller 提交于
      Currently, the debug level is set in compilation time (by the DEBUG_LEVEL
      const). This method has the advantage of compiling only the relevant
      messages, while optimizing out the unused ones.
      
      In order to allow runtime control over the debug_level, while optimizing
      out messages when debug messages are not needed, we combine some methods:
      1. use dynamic_debug (pr_debug) rather then printk.
      2. add debug_level module param in order to set debug level during insmod.
      3. add debug_level sysfs file in order to allow dynamic control over the
         debug level.
      
      Since patches for pr_debug_hex_dump() implementation haven't been applied yet,
      we are still temporarly using print_hex_dump().
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <luciano.coelho@nokia.com>
      17c1755c
    • G
      wl1271: fixed problem with WPS IEs in probe requests · ea559b46
      Guy Eilam 提交于
      Inclusion of a WPS IE in probe requests caused a problem
      in the driver due to the maximum size of the probe request
      template and the max_scan_ie_len values at initialization.
      
      Increased the size of probe request template
      to the maximum size allowed by the firmware.
      Struct wl12xx_probe_req_template, which was only used
      for calculating the max size of the probe request template,
      is no longer used and needed.
      
      max_scan_ie_len is used for validating the size of
      additional IEs in scan requests.
      Initialized the max_scan_ie_len field to the maximum size
      of the probe request template minus the ieee80211 header size.
      Signed-off-by: NGuy Eilam <guy@wizery.com>
      Signed-off-by: NLuciano Coelho <luciano.coelho@nokia.com>
      ea559b46
    • E
      wl12xx: add auto-arp support · c5312772
      Eliad Peller 提交于
      The auto-arp feature of wl12xx allows the firmware to automatically
      response to arp requests asking for its ip.
      
      in order to use it, we configure the arp response template and
      enable the corresponding bit in wl1271_acx_arp_filter (along with
      passing its ip)
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NLuciano Coelho <luciano.coelho@nokia.com>
      c5312772