1. 28 10月, 2009 3 次提交
  2. 08 10月, 2009 2 次提交
  3. 01 9月, 2009 1 次提交
  4. 01 11月, 2008 1 次提交
  5. 30 8月, 2008 1 次提交
  6. 22 5月, 2008 1 次提交
  7. 08 5月, 2008 1 次提交
  8. 17 4月, 2008 1 次提交
  9. 09 4月, 2008 1 次提交
  10. 02 4月, 2008 1 次提交
  11. 26 3月, 2008 4 次提交
  12. 28 2月, 2008 1 次提交
  13. 29 1月, 2008 18 次提交
  14. 11 10月, 2007 4 次提交
    • D
      [PATCH] libertas: reorganize and simplify init sequence · 954ee164
      Dan Williams 提交于
      This patch moves all firmware load responsibility into the interface-specific
      code and gets rid of the firmware pointer in the generic card structure.  It
      also removes 3 fairly unecessary callbacks: hw_register_dev, hw_unregister_dev,
      and hw_prog_firmware.  It also makes the init sequence from interface
      probe functions more logical, as there are paired add/remove and start/stop
      calls into generic libertas code.
      
      Because the USB driver code uses the same TX URB callback for both firmware
      upload (where the generic libertas structure isn't initialized yet) and for
      normal operation (where it is), some bits of USB code have to deal with
      'priv' being NULL.  All USB firmware upload bits have been changed to not
      require 'priv' at all, but simply the USB card structure.
      Signed-off-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      954ee164
    • H
      [PATCH] libertas: make more functions static & remove unused functions · ac558ca2
      Holger Schurig 提交于
      Some functions where declared in header files, but used only once. They are
      now static functions.
      
      After doing this, I found out that some functions weren't used at all. I
      removed this dead code.
      Signed-off-by: NHolger Schurig <hs4233@mail.mn-solutions.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ac558ca2
    • H
      [PATCH] libertas: remove fw.c · 1df4e8fe
      Holger Schurig 提交于
      Firmware download is quite different for different hardware. The SDIO and CF
      cards have two flat files that need to be downloaded, whereas the USB driver
      needs only one file, but with an internal structure.
      
      The code that handles this (USB only) structured file is currently in fw.c.
      This patch moves this code into if_usb.c. The remaining functions in fw.c
      have not much to do with firmware, they are various card- and network-stack
      initialisation functions. I've moved them into main.c.
      Signed-off-by: NHolger Schurig <hs4233@mail.mn-solutions.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1df4e8fe
    • D
      [PATCH] libertas: simplify and clean up data rate handling · 8c512765
      Dan Williams 提交于
      Remove unused/duplicated fields and consolidate static data rate arrays,
      for example the libertas_supported_rates[] and datarates[] arrays in
      the bss_descriptor structure, and the libertas_supported_rates field
      in the wlan_adapter structure.
      
      Introduce libertas_fw_index_to_data_rate and libertas_data_rate_to_fw_index
      functions and use them everywhere firmware requires a rate index rather
      than a rate array.
      
      The firmware requires the 4 basic rates to have the MSB set, but most
      other stuff doesn't, like WEXT and mesh ioctls.  Therefore, only set the MSB
      on basic rates when pushing rate arrays to firmware instead of doing a ton
      of (rate & 0x7f) everywhere.
      Signed-off-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8c512765