1. 31 3月, 2006 6 次提交
  2. 24 3月, 2006 1 次提交
  3. 01 3月, 2006 1 次提交
  4. 06 1月, 2006 4 次提交
  5. 04 10月, 2005 2 次提交
    • J
      [PATCH] hostap: Do not free local->hw_priv before unregistering netdev · c355184c
      Jouni Malinen 提交于
      local->hw_priv was being freed and set to NULL just before calling
      prism2_free_local_data(). However, this may expose a race condition in
      which something ends up trying to use hw_priv during shutdown. I
      haven't noticed this happening, but better be safe than sorry, so
      let's postpone hw_priv freeing to happen only after
      prism2_free_local_data() has returned.
      Signed-off-by: NJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      c355184c
    • J
      [PATCH] hostap: Remove hw specific dev_open/close handlers · bab76198
      Jouni Malinen 提交于
      Host AP driver used hardware model specific dev_open/close handlers
      that were called on dev_open/close if the hardware driver had
      registered the handler. These were only used for hostap_cs and only
      for tracking whether any of the netdevs were UP. This information is
      already available from local->num_dev_open, so there is not need for
      the special open/close handler.
      
      Let's get rid of these handlers. In addition to cleaning up the code,
      this fixes a module refcounting issue for hostap_cs where ejecting the
      card while any of the netdevs were open did not decrement refcount
      properly.
      Signed-off-by: NJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      bab76198
  6. 01 9月, 2005 1 次提交
  7. 29 8月, 2005 2 次提交
  8. 15 8月, 2005 1 次提交
  9. 11 8月, 2005 1 次提交
  10. 01 8月, 2005 1 次提交
  11. 31 7月, 2005 5 次提交
    • J
      [PATCH] hostap update · f06ac319
      Jouni Malinen 提交于
      Add MODULE_VERSION information for the Host AP kernel modules and
      update the version string to indicate which version of the external
      Host AP driver is included in the kernel tree.
      Signed-off-by: NJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      f06ac319
    • H
      [PATCH] hostap update · 093853c3
      Henrik Brix Andersen 提交于
      pcmcia id_table for hostap_cs.c
      
      Hi Jouni,
      
      Here's a patch for adding a pcmcia id_table to hostap_cs.c as introduced
      by the PCMCIA subsystem changes in linux-2.6.13-rc1. The id_table allows
      hotplug (along with pcmciautils [1]) to load the driver without the need
      for the pcmcia-cs cardmgr daemon.
      
      The id_table was generated from the CVS version of hostap_cs.conf using
      a script borrowed from Dominik Brodowski. I have removed any duplicate
      entries, but I have only been able to test the functionality of the
      patch with a Linksys WPC11v3.
      
      Sincerely,
      Brix
      
      [1]: http://www.kernel.org/pub/linux/utils/kernel/pcmcia/Signed-off-by: NJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      093853c3
    • D
      [PATCH] hostap update · 0cd545d6
      Dave Hansen 提交于
      Create sysfs "device" files for hostap
      
      I was writing some scripts to automatically build kismet source lines,
      and I noticed that hostap devices don't have device files, unlike my
      prism54 and ipw2200 cards:
      
      $ ls -l /sys/class/net/eth0/device
      /sys/class/net/eth0/device -> ../../../devices/pci0000:00/0000:00:1e.0/0000:02:01.0
      $ ls -l /sys/class/net/wifi0
      ls: /sys/class/net/wifi0/device: No such file or directory
      $ ls -l /sys/class/net/wlan0
      ls: /sys/class/net/wlan0/device: No such file or directory
      
      The following (quite small) patch makes sure that both the wlan and wifi
      net devices have that pointer to the bus device.
      
      This way, I can do things like
      
              for i in /sys/class/net/*; do
                      if ! [ -e $i/device/drive ]; then
                              continue;
                      fi;
                      driver=$(basename $(readlink $i/device/driver))
                      case $driver in
                              hostap*)
                                      echo -- hostap,$i,$i-$driver
                                      break;
                              ipw2?00)
                                      echo -- $driver,$i,$i-$driver
                                      break;
                              prism54)
                                      echo prism54g,$i
                      esac
              done
      
      Which should generate a working set of source lines for kismet no matter
      what order I plug the cards in.
      
      It might also be handy to have a link between the two net devices, but
      that's a patch for another day.
      
      That patch is against 2.6.13-rc1-mm1.
      
      -- Dave
      Signed-off-by: NDave Hansen <haveblue@us.ibm.com>
      Signed-off-by: NJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      0cd545d6
    • J
      [PATCH] hostap update · 0ef79ee2
      Jar 提交于
      hostap_cs: Remove irq_list, irq_mask and pcmcia/version.h
      
      Remove irq_list, irq_mask and pcmcia/version.h as suggested in
      http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.htmlSigned-off-by: NJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      0ef79ee2
    • J
      [PATCH] hostap update · 47e362cf
      Jouni Malinen 提交于
      Update hostap_cs to use new PCMCIA event callback registration.
      Signed-off-by: NJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      47e362cf
  12. 13 5月, 2005 1 次提交