1. 15 Aug, 2005 5 commits
  2. 11 Aug, 2005 1 commit
  3. 31 Jul, 2005 8 commits
  4. 30 Jul, 2005 14 commits
    • Jouni Malinen's avatar
      [PATCH] hostap update · f3b10e16
      Jouni Malinen authored
      Fixed beacon frame when moving from monitor mode to master mode
      (workaround for firmware bug that left IBSS IE in the Beacon
      frames). This is using the same workaround that was previously used
      when moving from adhoc mode to master mode.
      Signed-off-by: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      f3b10e16
    • Pavel Roskin's avatar
      [PATCH] hostap update · b15eff26
      Pavel Roskin authored
      Warning fix for 64-bit platforms
      
      Hello!
      
      The patch fixes following warning seen on 64-bit platforms (in my case -
      x86_64, gcc-4.0):
      
      In file included from /usr/local/src/hostap/driver/modules/hostap_cs.c:203:
      /usr/local/src/hostap/driver/modules/hostap_hw.c: In function ?prism2_transmit_cb?:
      /usr/local/src/hostap/driver/modules/hostap_hw.c:1674: warning: cast from pointer to integer of different size
      /usr/local/src/hostap/driver/modules/hostap_hw.c: In function ?prism2_transmit?:
      /usr/local/src/hostap/driver/modules/hostap_hw.c:1758: warning: cast to pointer from integer of different size
      
      prism2_transmit_cb uses a (void *) argument to get an integer.   A
      simple fix would be to use double cast from pointer to long and then to
      int (and vice versa when int is passed as a pointer).  But I prefer a
      slightly longer patch.
      
      I believe that whenever an argument can hold both a pointer and an
      integer, it should be declared long.  long can hold both pointers and
      integers (except win64, but we are not coding for Windows), it can be
      cast to both of them and it's never assumed to be a valid pointer, which
      could be useful for some automatic code checkers.
      Signed-off-by: default avatarPavel Roskin <proski@gnu.org>
      Signed-off-by: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      b15eff26
    • Brandon Enochs's avatar
      [PATCH] hostap update · 3e1d3932
      Brandon Enochs authored
      line 129 of hostap_80211_rx.c should read:
      
             LWNG_SETVAL(mactime, 2, 0, 4, rx_stats->mac_time);
      
      not:
             LWNG_SETVAL(mactime, 2, 0, 0, rx_stats->mac_time);
      
      The length field is incorrect.
      Signed-off-by: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      3e1d3932
    • Jouni Malinen's avatar
      [PATCH] hostap update · 0c629a69
      Jouni Malinen authored
      Firmware seems to be getting into odd state in host_roaming mode 2
      when hostscan is used without join command, so try to fix this by
      re-joining the current AP. This does not actually trigger a new
      association if the current AP is still in the scan results.
      
      This makes background scans (iwlist wlan0 scan) not to break data
      connection when in host_roaming 2 mode, e.g., when using wpa_supplicant.
      Signed-off-by: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      0c629a69
    • Jouni Malinen's avatar
      [PATCH] hostap update · 2e4fd068
      Jouni Malinen authored
      Cleaned up scan result processing by converting struct
      hfa384x_scan_result into struct hfa384x_hostscan_result. This removes
      special cases from result processing since the results are only used
      in one, hostscan, format.
      Signed-off-by: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      2e4fd068
    • Jouni Malinen's avatar
      [PATCH] hostap update · 72ca9c61
      Jouni Malinen authored
      Added support for setting channel mask for scan requests
      ('iwpriv wlan0 scan_channels 0x00ff' masks scans to use channels 1-8).
      Signed-off-by: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      72ca9c61
    • 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.htmlSigned-off-by: default avatarJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      0ef79ee2
    • 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
    • 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
    • Jeff Garzik's avatar
      /spare/repo/netdev-2.6 branch 'ieee80211' · de745fb2
      Jeff Garzik authored
      de745fb2
    • Jeff Garzik's avatar
      /spare/repo/netdev-2.6 branch 'master' · a670fcb4
      Jeff Garzik authored
      a670fcb4
  5. 29 Jul, 2005 12 commits