1. 17 1月, 2008 1 次提交
  2. 12 7月, 2007 1 次提交
  3. 09 7月, 2007 1 次提交
    • J
      [PATCH] hostap: Remove driver version number · bd5824f1
      Jouni Malinen 提交于
      The driver version number has not been updated since the driver was
      included in the main kernel tree and there is no plan on updating this
      in the future either. At this point, the only correct way to refer to
      the version is to use the kernel version. The 0.4.4 version is
      confusing since there are external version with higher version number
      even though they are not actually any newer than the in-tree version.
      
      Let's get rid of the version number in the kernel tree in order to
      avoid this kind of confusion.
      Signed-off-by: NJouni Malinen <j@w1.fi>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      bd5824f1
  4. 28 4月, 2007 1 次提交
  5. 06 12月, 2006 1 次提交
  6. 01 11月, 2006 1 次提交
    • P
      [PATCH] hostap_plx: fix CIS verification · 115e222d
      Pavel Roskin 提交于
      The length of the manfid CIS should be at least 4, and it's normally 4.
      It's incorrect to require it to be at least 5.  This breaks support for
      most (if not all) cards.
      
      The right place to ensure that we don't access beyond the CIS buffer is
      to strengthen another check.  Make sure that the next tuple begins at
      least at the CIS buffer end (in which case we stop processing) or
      before that.
      
      Reported by ph35sm@free.fr
      Signed-off-by: NPavel Roskin <proski@gnu.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      115e222d
  7. 06 7月, 2006 1 次提交
  8. 03 7月, 2006 1 次提交
  9. 01 7月, 2006 1 次提交
  10. 24 3月, 2006 2 次提交
  11. 09 11月, 2005 1 次提交
    • O
      [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason · 733482e4
      Olaf Hering 提交于
      This patch removes almost all inclusions of linux/version.h.  The 3
      #defines are unused in most of the touched files.
      
      A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is
      unfortunatly in linux/version.h.
      
      There are also lots of #ifdef for long obsolete kernels, this was not
      touched.  In a few places, the linux/version.h include was move to where
      the LINUX_VERSION_CODE was used.
      
      quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'`
      
      search pattern:
      /UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h
      Signed-off-by: NOlaf Hering <olh@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      733482e4
  12. 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
  13. 24 9月, 2005 1 次提交
  14. 15 8月, 2005 1 次提交
  15. 31 7月, 2005 2 次提交
    • 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
    • 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
  16. 13 5月, 2005 1 次提交