Commit Graph

29 Commits

Author SHA1 Message Date
Pavel Roskin
9bc39bec87 [PATCH] orinoco: Information leakage due to incorrect padding
The orinoco driver can send uninitialized data exposing random pieces of
the system memory.  This happens because data is not padded with zeroes
when its length needs to be increased.

Reported by Meder Kydyraliev <meder@o0o.nu>

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-10-04 23:37:21 -04:00
Benjamin Herrenschmidt
f65a4d10c8 [PATCH] orinoco: Fix flood of kernel log with stupid WE warnings
Latest wireless extensions moved a field from netdev -> wireless_handlers.
The WE core will now printk a warning on every call to get_wireless_stats()
on a driver that still uses the old field.  This patch fixes orinoco.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-28 07:46:41 -07:00
Pavel Roskin
c89cc225f7 [PATCH] orinoco: Optimize orinoco_join_ap()
Signed-off-by: Pavel Roskin <proski@gnu.org>

diff-tree cb289b9f9b2a0f3ae7070a008f22e383b37526ee (from 56bfcdb38b3d04c1f8c1fd705e411f4be53b663c)
Author: Pavel Roskin <proski@gnu.org>
Date:   Thu Sep 1 19:05:16 2005 -0400

    Optimize orinoco_join_ap() - break from loop once the requested
BSSID
    is found.
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-09-05 18:14:07 -04:00
Pavel Roskin
708218b064 [PATCH] orinoco: Fix memory leak on error in processing hostscan frames.
Signed-off-by: Pavel Roskin <proski@gnu.org>

diff-tree ca955293cdfd3139e150d3b4fed3922a7eb651fb (from cb289b9f9b2a0f3ae7070a008f22e383b37526ee)
Author: Pavel Roskin <proski@gnu.org>
Date:   Thu Sep 1 19:08:00 2005 -0400

    Fix memory leak on error in processing hostscan frames.
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-09-05 18:13:44 -04:00
Pavel Roskin
70817c40b9 [PATCH] orinoco: Change orinoco_translate_scan() to return error code on error.
Signed-off-by: Pavel Roskin <proski@gnu.org>

diff-tree 8fc038ec51acf5f777fade80c5e38112b766aeee (from ca955293cdfd3139e150d3b4fed3922a7eb651fb)
Author: Pavel Roskin <proski@gnu.org>
Date:   Thu Sep 1 19:10:12 2005 -0400

    Change orinoco_translate_scan() to return error code on error.
    Adjust the caller to check for errors and clean up if needed.
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-09-05 18:13:44 -04:00
Jeff Garzik
e3ee3b78f8 /spare/repo/netdev-2.6 branch 'master' 2005-09-01 18:02:01 -04:00
Peter Hagervall
6b9b97ce70 [PATCH] orinoco: Sparse fixes
A few sparse cleanups for orinoco.c

Signed-off-by: Peter Hagervall <hager@cs.umu.se>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-07-31 00:37:30 -04:00
Jeff Garzik
716b43303d Merge upstream ieee80211.h with us (us == branch 'ieee80211' of netdev-2.6) 2005-06-27 22:03:52 -04:00
Jeff Garzik
1a9fe638eb wireless/orinoco: remove changelog, bump version 2005-06-27 00:27:07 -04:00
Christoph Hellwig
98c4cae1da [PATCH] orinoco: monitor mode support
Patch from Pavel Roskin
2005-06-27 00:23:55 -04:00
Christoph Hellwig
8f2abf4430 [PATCH] orinoco: always use 802.11 header for rx processing
If the frame has ToDS flag set, mark it by setting skb->pkt_type to
PACKET_OTHERHOST, so that applications unaware of promiscous mode won't get
uplink (STA->AP) packets for STA->STA transmissions relayed by the AP.
Thanks to John Denker and David Gibson for finding the problem and the
solution.

Patch from Pavel Roskin
2005-06-27 00:23:55 -04:00
Christoph Hellwig
95dd91fbd8 [PATCH] orinoco: scanning support
Patch from Pavel Roskin
2005-06-27 00:23:55 -04:00
Christoph Hellwig
16739b065f [PATCH] orinoco: manual roaming for Symbol and Intersilfirmware
Patch from Pavel Roskin
2005-06-27 00:23:55 -04:00
Christoph Hellwig
1fab2e8b7a [PATCH] orinoco: basic ethtool support
I completely reimplemented this based on ethtool_ops, CVS has an
ioctl-based version.
2005-06-27 00:23:55 -04:00
Christoph Hellwig
620554e406 [PATCH] orinoco: wireless API 15 support
(patch from Moustafa Youssef, updated by Jim Carter and Pavel Roskin).
2005-06-27 00:23:54 -04:00
Christoph Hellwig
5d558b7f36 [PATCH] orinoco: include <net/ieee80211.h>
We need constants from this header in the next patches.
2005-06-27 00:23:54 -04:00
Jeff Garzik
5696c1944a Merge /spare/repo/linux-2.6/ 2005-06-26 23:38:58 -04:00
Christoph Hellwig
84d8a2fb56 [PATCH] orinoco: misc fixes
small fixes from CVS that didn't fit elsewhere

Index: linux-2.6/drivers/net/wireless/orinoco.c
===================================================================
2005-05-15 17:53:26 -04:00
Christoph Hellwig
ad8f451b41 [PATCH] orinoco: make orinoco_stop() static
Patch from Pavel Roskin

Index: linux-2.6/drivers/net/wireless/orinoco.c
===================================================================
2005-05-15 17:53:26 -04:00
Christoph Hellwig
649e59e6ab [PATCH] orinoco: Symbol 3.0x firmware needs broken_disableport
Patch from Pavel Roskin.

Index: linux-2.6/drivers/net/wireless/orinoco.c
===================================================================
2005-05-15 17:53:26 -04:00
Christoph Hellwig
8551cb9800 [PATCH] orinoco: disconnect the network device on reset errors
Patch from Pavel Roskin

Index: linux-2.6/drivers/net/wireless/orinoco.c
===================================================================
2005-05-15 17:53:26 -04:00
Christoph Hellwig
d0e3e87ff4 [PATCH] orinoco: fix setting of 32 character ESSIDs
Patch from Thomas Schulz

Index: linux-2.6/drivers/net/wireless/orinoco.c
===================================================================
2005-05-15 17:53:25 -04:00
Jeff Garzik
b453872c35 [NET] ieee80211 subsystem
Contributors:
Host AP contributors
James Ketrenos <jketreno@linux.intel.com>
Francois Romieu <romieu@fr.zoreil.com>
Adrian Bunk <bunk@stusta.de>
Matthew Galgoci <mgalgoci@parcelfarce.linux.th
eplanet.co.uk>
2005-05-12 22:48:20 -04:00
David Gibson
b24d4582fd [PATCH] Orinoco: consolidate allocation code
Consolidate allocation of firmware buffers.  In the process, remove
  duplication of a workaround for an old symbol firmware bug, and fix a
  bug where we could retry the workaround, even if it already failed to
  help.
  
  Signed-off-by: David Gibson <hermes@gibson.dropbear.id.au>
  Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-05-12 20:04:16 -04:00
David Gibson
d51d8b1f24 [PATCH] Orinoco: don't set channel in managed mode
Don't attempt to manually set the channel in infrastructure mode, the
  firmware doesn't like that much.  Also don't attempt to override the
  firmware's default channel number for IBSS mode (I believe default
  channel can vary by regulatory domain).
  
  Signed-off-by: David Gibson <hermes@gibson.dropbear.id.au>
  Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-05-12 20:03:36 -04:00
David Gibson
1fc5eb6428 [PATCH] Orinoco: kill dump_recs
Remove the dump_recs debugging iwpriv command.  It will be replaced
  later with the simpler and more flexible get_rid command.
  
  Signed-off-by: David Gibson <hermes@gibson.dropbear.id.au>
  Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-05-12 20:02:58 -04:00
David Gibson
7bb7c3a326 [PATCH] Orinoco: ignore_disconnect flag
Adds an ignore_disconnect module parameter.  When enabled, the driver
  will continue attempting to send packets even when the firmware has
  told us we've lost our link to the AP.  On some firmwares this
  substantially increases the usable range of the card (presumably
  because we have an interrmittent connection, but the firmware is able
  to queue the packets for us until we're connected again).  On some
  other cards, it causes the firmware to fall in a screaming heap :(
  (hence, default off).
  
  Signed-off-by: David Gibson <hermes@gibson.dropbear.id.au>
  Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-05-12 20:02:10 -04:00
David Gibson
e67d9d9d9e [PATCH] Orinoco: wireless stats updates
Minor updates/bugfixes to the handling of wireless statistics.
2005-05-12 20:01:22 -04:00
Linus Torvalds
1da177e4c3 Linux-2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
2005-04-16 15:20:36 -07:00