1. 31 7月, 2005 13 次提交
    • P
      [PATCH] hostap update · b15eff26
      Pavel Roskin 提交于
      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: NPavel Roskin <proski@gnu.org>
      Signed-off-by: NJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      b15eff26
    • B
      [PATCH] hostap update · 3e1d3932
      Brandon Enochs 提交于
      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: NJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      3e1d3932
    • J
      [PATCH] hostap update · 0c629a69
      Jouni Malinen 提交于
      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: NJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      0c629a69
    • J
      [PATCH] hostap update · 2e4fd068
      Jouni Malinen 提交于
      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: NJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      2e4fd068
    • J
      [PATCH] hostap update · 72ca9c61
      Jouni Malinen 提交于
      Added support for setting channel mask for scan requests
      ('iwpriv wlan0 scan_channels 0x00ff' masks scans to use channels 1-8).
      Signed-off-by: NJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      72ca9c61
    • 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
    • A
      [PATCH] hostap update · 1fad8104
      Adrian Bunk 提交于
      EXPORT_SYMTAB does nothing. There's no need to define something if it
      doesn't have any effect.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NJouni Malinen <jkmaline@cc.hut.fi>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      1fad8104
    • 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
    • J
      /spare/repo/netdev-2.6 branch 'ieee80211' · de745fb2
      Jeff Garzik 提交于
      de745fb2
    • J
      /spare/repo/netdev-2.6 branch 'master' · a670fcb4
      Jeff Garzik 提交于
      a670fcb4
  2. 30 7月, 2005 27 次提交