1. 30 Jun, 2006 1 commit
  2. 22 May, 2006 1 commit
  3. 31 Mar, 2006 8 commits
  4. 23 Mar, 2006 1 commit
  5. 01 Mar, 2006 1 commit
  6. 05 Jan, 2006 4 commits
  7. 03 Oct, 2005 2 commits
    • Jouni Malinen's avatar
      [PATCH] hostap: Do not free local->hw_priv before unregistering netdev · c355184c
      Jouni Malinen authored
      
      
      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: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      c355184c
    • Jouni Malinen's avatar
      [PATCH] hostap: Remove hw specific dev_open/close handlers · bab76198
      Jouni Malinen authored
      
      
      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: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      bab76198
  8. 31 Aug, 2005 1 commit
  9. 28 Aug, 2005 2 commits
  10. 14 Aug, 2005 1 commit
  11. 10 Aug, 2005 1 commit
  12. 31 Jul, 2005 1 commit
  13. 30 Jul, 2005 5 commits
    • Jouni Malinen's avatar
      [PATCH] hostap update · f06ac319
      Jouni Malinen authored
      
      
      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: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      f06ac319
    • Henrik Brix Andersen's avatar
      [PATCH] hostap update · 093853c3
      Henrik Brix Andersen authored
      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: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      093853c3
    • Dave Hansen's avatar
      [PATCH] hostap update · 0cd545d6
      Dave Hansen authored
      
      
      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: default avatarDave Hansen <haveblue@us.ibm.com>
      Signed-off-by: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      0cd545d6
    • Jar's avatar
      [PATCH] hostap update · 0ef79ee2
      Jar authored
      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.html
      
      Signed-off-by: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      0ef79ee2
    • Jouni Malinen's avatar
      [PATCH] hostap update · 47e362cf
      Jouni Malinen authored
      
      
      Update hostap_cs to use new PCMCIA event callback registration.
      Signed-off-by: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      47e362cf
  14. 12 May, 2005 1 commit