Skip to content
Snippets Groups Projects
  1. May 17, 2006
  2. Jan 16, 2006
  3. Nov 16, 2005
  4. Nov 09, 2005
    • Olaf Hering's avatar
      [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason · 733482e4
      Olaf Hering authored
      
      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: default avatarOlaf Hering <olh@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      733482e4
  5. Oct 03, 2005
    • 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
  6. Aug 14, 2005
  7. Jul 30, 2005
    • Jouni Malinen's avatar
      [PATCH] hostap: Replace crypto code with net/ieee80211 version · 62fe7e37
      Jouni Malinen authored
      
      Replace Host AP version of WEP, TKIP, CCMP implementation with
      net/ieee80211 that has more or less identical implementation (since
      it is based on the Host AP implementation). Remove Host AP specific
      implementation and modules from drivers/net/wireless/hostap.
      
      Signed-off-by: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      62fe7e37
    • Jouni Malinen's avatar
      [PATCH] hostap: Start using net/ieee80211.h · ebed67d2
      Jouni Malinen authored
      
      Preparations for starting to use net/ieee80211 instead of private
      IEEE 802.11 implementation. Include net/ieee80211.h and
      net/ieee80211_crypt.h into files that will be needed these in the
      future. Remove duplicate definitions from hostap_common.h and
      rename WLAN_FC_GET_{TYPE,STYPE} macros for now sinc net/ieee80211.h
      is using incompatible definitions. This will be resolved in the
      future by updating Host AP to use the versions that do not shift
      type/stype.
      
      Signed-off-by: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      ebed67d2
    • 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
    • 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
    • Adrian Bunk's avatar
      [PATCH] hostap update · 1fad8104
      Adrian Bunk authored
      
      EXPORT_SYMTAB does nothing. There's no need to define something if it
      doesn't have any effect.
      
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      Signed-off-by: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      1fad8104
  8. May 12, 2005
Loading