Commit Graph

1761 Commits

Author SHA1 Message Date
solomon a9d383ea6f Generate a WEXT Event when our association state changes. 2006-01-19 21:25:50 +00:00
solomon e1ae7c3fcd Propogate linkstatus notification to p80211 and make ETHTOOL aware of
it.  

The deferred processing function now queries the SSID, as it changes..
and the periodic timer now queries the BSSID/SSID all the time, and 
linkqual only in STA modes.
2006-01-19 17:53:11 +00:00
solomon 845435b7ee Eliminate wland entirely. It's rather useless as-is. 2006-01-18 18:58:45 +00:00
solomon eb3d94b742 Build fix from Chris Rankin. 2005-12-05 14:31:27 +00:00
solomon bf5fd7de1d fix per-frame signal/noise reporting to include the firmware's
'dbmscaling' figures, and get rid of the hard-coded conversion factor in 
the iwspy code.
2005-11-30 15:35:30 +00:00
solomon 29aa58adc9 0.2.4 2005-11-22 15:11:37 +00:00
solomon 92de473d68 Patch from Petteri Räty-- Allow installation of firmware seperately. 2005-11-02 14:13:30 +00:00
solomon 1353dd345a WEXT fixes for v16+ -- get_wireless_stats is part of the iw_handler now,
so we don't need to put it into the netdev.  Much saner.
2005-10-31 19:54:59 +00:00
solomon e1cd2ba393 0.2.3 2005-10-31 19:54:22 +00:00
solomon 639b07a99a silence a few build warnings. 2005-10-31 19:52:36 +00:00
solomon bb4076cd5c Get rid of references to p802addr_to_str(). 2005-10-27 20:30:41 +00:00
solomon f1ea268635 Fix a potential panic in the receive path.
If we get an unknown control frame down, compute the length
properly.
2005-10-26 14:01:12 +00:00
solomon ec981b76af tracking. 2005-10-13 14:03:44 +00:00
solomon 9505846f6c Oddly enough, no functions in this file were used. anywhere. 2005-10-13 14:03:03 +00:00
solomon 7ba8de0404 Fix the non-kernel uses of this header. 2005-10-13 14:02:31 +00:00
solomon 26a66558d0 Change prototype of pci_suspend functions to use pm_message_t,
introduced in 2.6.11.
2005-10-07 21:32:44 +00:00
solomon 8276997e57 More 2.6.14+ fixes. 2005-09-30 16:19:26 +00:00
solomon 683b13dd75 Fixes for 2.6.14+ kernels. 2005-09-26 19:42:47 +00:00
solomon 4d30d68c8b Take care of a warning. 2005-09-19 18:21:20 +00:00
solomon 5e7b9a9de7 Applied a series of patches from Robert Kennedy:
Hi,
I fixed up some of the issues that sparse warns about when building the
prism2_usb. I don't think that any of these patches change the generated
modules and I've been running them on my laptop with no problems so far,
1+ days.
I've not seen anything that looks to be a problem, so these patches are
just to align the wlan code with the kernel best practises.

With a couple of changes to ensure compilation against older kernels.
2005-09-19 17:57:08 +00:00
solomon dd8d1809c9 Add an explicit firmware copyright notice. 2005-09-12 15:57:14 +00:00
solomon 9118a3337c Several build fixes for 2.6.8 and 2.4.27, sent from the Debian
packagers.
2005-09-06 15:04:08 +00:00
solomon 543f0db4e8 bump the revision to 0.2.2 2005-08-26 14:17:42 +00:00
solomon f8fa7db00b Fix an array overflow in the sbin_hotplug helper. 2005-08-25 15:21:36 +00:00
solomon 3ae52cf5c5 This isn't my day. 2005-07-21 20:15:18 +00:00
solomon 8de38d5d17 fix my mis-application of Pavel's last patch. 2005-07-21 14:07:13 +00:00
solomon 4dc8ddc5c5 add a pcmcia device table to the prism2_cs driver. 2005-07-20 17:16:55 +00:00
solomon c7a8a1d358 Tracking kernel API changes:
1) Remove the last of the old MODULE_PARM parameters (2.6 in general)
2) irq_mask/irq_list are irrelevant (2.6.11)
3) event handler moved (2.6.13)
4) pcmcia/version.h is obselete (2.6.13)
5) driver model integration -- SET_NETDEV_DEV (2.6.11)
6) client->Attributes is obselete (2.6.11)

More will follow.
2005-07-20 15:07:16 +00:00
solomon 55733c81e1 This code in Subversion (src/p80211/p80211netdev.c) is apparently wrong:
sprintf(nsdname, "NSDNAME=%s", wlandev->nsdname);
     if (wlan_wext_write)
         sprintf(nsdname, "WLAN_WEXT=y");

"WLAN_WEXT=y" overwrites the original string (not to mention that
sprintf() is unneeded for a simple string copy).  The result is that
enabling wlan_wext_write disables hotplug functionality.

This patch fixes hotplug support if wlan_wext_write is enabled.  I think
it's safer to provide WLAN_WEXT always, so that new environment
variables are not accidentally added after a variable that can be NULL.

Signed-off-by: Pavel Roskin <proski@gnu.org>
2005-07-20 14:55:35 +00:00
solomon b6b7a94ad8 * Use usb_reset_device() on 2.6 kernels (Andreas Schultes)
* Experimentally do the same on 2.4 kernels too...
2005-07-13 15:34:34 +00:00
solomon 6d02b1d9e8 Bump the PCI/PCMCIA firmware to 1.8.4. This image supplied by Pavel
Roskin; adapted from the flash load firmware.
2005-07-12 14:00:09 +00:00
solomon 0d8f0644d2 Bump revision to 0.2.1-final 2005-07-12 13:56:39 +00:00
solomon 87d221d903 From Pavel Roskin:
I'm assuming that the offending entry was restored unintentionally,
probably because the version strings were misspelled, so one had to
resort to numeric manfids.  Indeed, search for "I-GATE 11M PC Card / PC
Card Plus" (with quotes) shows that "Plus" should be replaced with
"plus":
2005-06-29 21:15:21 +00:00
solomon c01cfb4d63 another minor cosmetic fix. 2005-06-22 14:18:09 +00:00
solomon 36a8cf101c Fix spelling errors, and ignore unexpected CTLX responses. From Chris
Rankin.
2005-06-22 14:16:55 +00:00
solomon ee6d7b09a9 whoops. that was a silly commit. 2005-06-02 19:08:12 +00:00
solomon 8efeaada03 fix an off-by-one in the scan results. 2005-06-02 19:05:36 +00:00
solomon 90ca0d6a85 Fix some logging priorories. 2005-06-02 13:35:55 +00:00
solomon 913f11b0c8 From Chris Rankin:
Here's the rest of Eric Koenders' patch: a fix for a memory leak, and 
silencing the "Causality Violation" warning. We put the warning there to 
see if it appears in the Real World, and now we know that it does. I've 
demoted the message to a DEBUG rather than remove it entirely, just so
that we can remind ourselves that "Yes, it really does happen!" :-).
2005-06-02 13:33:03 +00:00
solomon b9740e1632 This patch cleans the USB driver's hfa384x_drvr_readpda() function up
slightly.

The hope is also to make it clearer when this function has succeeded, 
and when it has really failed.
2005-05-31 14:17:59 +00:00
solomon 3f70a294d7 From Chris Rankin:
This patch is based upon Eric Koenders' patch, and stops us 
  overwriting the CTLX URB before the currently active CTLX has finished 
  with it.
2005-05-31 14:17:04 +00:00
solomon 02badb8b79 An endian fix from Eric Koenders.
Fixes memory corruption when pulling scan results, especially if the 
SSID is over 16 bytes long.
2005-05-23 21:01:14 +00:00
solomon 831cf54cda Added lnxRSNAIE. 2005-05-09 13:35:39 +00:00
solomon 8cbab2c361 Solomon,
I think we're ready to put the patch for the "hangs your kernel" bug 
into the tree now.

Cheers,
Chris

(w00t!)
2005-05-05 20:47:31 +00:00
solomon d44da0327f Add a background timer to fetch the commsquality, and return that when
WEXT get_stats is called.
2005-04-26 15:43:07 +00:00
solomon b90a2bf4a8 pre27 2005-03-30 17:48:43 +00:00
solomon 61ab059923 Fix a series of bad memsets in prism2dl:
memset(prr, sizeof(foo), 0) is probably not what was intended.
2005-03-30 17:46:14 +00:00
solomon 02e9f9d8c4 USB identity for the viewsonic 11m USB adapter, from Ekin Meroglu 2005-03-22 17:44:46 +00:00
solomon 3b941fb0c8 Applied another patch from Chris Rankin:
This patch reduces both the stack usage and the amount of copying in the
RX path +still further. The trick is to use "memmove", which allows
copying between overlapping sections +of memory.

I've also tidied up some of the whitespace and improved the Causality
Violation +error message so that we're more likely to hear about any
occurrences. After all, having users +*tell* us about any instances that
do occur is really the point :-).
2005-03-18 16:38:34 +00:00
solomon ed1352a993 Chris Rankin fixed the last of the problems with the zerocopy rx path.
Problems that I'd have found if I'd so much as run my new code just 
once..  I am such a luser.
2005-03-13 01:42:38 +00:00