1. 15 12月, 2010 6 次提交
    • 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
    • R
      wl1271_sdio_test: Add module for sdio RX/TX testing · b69eb80b
      Roger Quadros 提交于
      This module enables individually generating RX and TX traffic
      over the SDIO bus on which the WL1271 chipset is connected.
      This is required to perform RF interference testing.
      
      The module takes 2 module parameters 'rx' and 'tx'.
      
      To generate RX traffic:
      	modprobe wl1271_sdio_test rx=1
      To generate TX traffic:
      	modprobe wl1271_sdio_test tx=1
      
      To generate both RX & TX traffic, set both rx and tx to 1.
      
      You can change the testing configuration at runtime by changing
      the rx & tx values at /sys/modules/wl1271_sdio_test/
      
      To stop testing simply unload the module.
      Signed-off-by: NRoger Quadros <roger.quadros@nokia.com>
      Reviewed-by: NCarlos Chinea <carlos.chinea@nokia.com>
      Signed-off-by: NLuciano Coelho <luciano.coelho@nokia.com>
      b69eb80b
    • L
      wl12xx: disable 11a channels when wl->enable_11a is known · fb6a6819
      Luciano Coelho 提交于
      Disabling the 11a channels when not supported in the reg_notify function was
      not working as it should, because when the driver is initiailizing (and
      registering itself with mac80211), it would get the reg notification too
      early.  At that point the driver wouldn't have received the NVS yet, so it
      wouldn't know whether 11a was supported.
      
      To fix this, we disable 11a channels when we read the NVS instead.  Also, it
      is easier (and still safe) to set n_channels to zero instead of setting the
      disabled flag on every 11a channel.
      Signed-off-by: NLuciano Coelho <luciano.coelho@nokia.com>
      fb6a6819
  2. 02 12月, 2010 5 次提交
  3. 26 11月, 2010 2 次提交
  4. 23 11月, 2010 1 次提交
  5. 22 11月, 2010 6 次提交
  6. 19 11月, 2010 8 次提交
  7. 18 11月, 2010 12 次提交