Commit graph

521 commits

Author SHA1 Message Date
pizza 1b73b92e55 prism2dl had the incorrect license text embedded in its header.
It is in fact MPL/GPL, the same as the rest of the linux-wlan-ng 
package.  

Thanks to the Debian folks, particularly Victor Seva, for bringing this 
to our intention.
2007-01-09 16:37:31 +00:00
pizza e691945405 0.2.7 release. Not tagged yet though. 2007-01-04 14:11:35 +00:00
pizza b44ceeab95 Another patch from Richard Kennedy:
if the wireless extension interface is passed a null string for the ssid
in siwessid, autojoin tries to trim the trailing null and can oops.

I've never been able to trap the oops stack trace so I don't know
exactly where the problem occurs, but this patch fixes it .
2007-01-04 14:04:41 +00:00
pizza 3eea393cb3 Patch from Richard Kennedy:
wireless_ext 19 defines a new flag IW_QUAL_DBM for wstats -- as our
stats are measured in dbm this patch sets it. 
This lets iwconfig & /proc/net/wireless display more sensible results.

with this patch /proc/net/wireless shows

level -58 noise -95
2007-01-04 14:01:55 +00:00
pizza 2760a438af Fix from Chris Rankin -- make the Configure script handle PREMPT
kernels.
2006-12-05 14:31:30 +00:00
pizza 9c297aa928 2.6.19+ uses a different prototype for IRQ handlers.
Support both the old and new styles.
2006-11-10 14:28:33 +00:00
pizza b17f9f7da9 linux/config.h is no more. 2006-11-02 15:56:40 +00:00
pizza 08af14616f Fix a couple more minor errors. 2006-10-05 22:42:18 +00:00
pizza d72a347540 document the build fix and bump version. 2006-09-29 12:55:31 +00:00
pizza f2bf8e35f1 0.2.5 2006-09-20 13:35:22 +00:00
pizza 3e755289c6 later 2.6.18-rc kernels changed the symbol file name from
Modules.symvers to Module.symvers
2006-09-18 22:52:56 +00:00
pizza 3b175ea944 WEXT-21 changes. More may be forthcoming, depending on what actually
gets merged for 2.6.19.
2006-08-31 13:40:47 +00:00
pizza 9fc9138a2e UTS_RELEASE fix for 2.6.18+ kernels. 2006-08-21 14:49:06 +00:00
pizza f678a2559c Fix a race condition that can occur if we get an interrupt between the
time where we kill our irq handler tasklet and we disable hardware 
interrupts.
2006-08-03 14:00:04 +00:00
pizza 39d6110623 Another patch to prism2_usb that may improve suspend/resume behaivor. 2006-07-26 21:49:10 +00:00
pizza ed5995f06c the ret of the 2.6.16 pcmcia changes.. 2006-07-26 21:27:52 +00:00
pizza c02426f290 Silence a pile of GCC 4.1 warnings. 2006-07-25 20:25:44 +00:00
pizza 928bc8a929 Completed 2.6.16+ support for prism2_cs.
Note that this is completely untested.
2006-07-22 18:21:00 +00:00
pizza 073ae5f238 BEginnings of 2.6.16+ support for prism2_cs.
It complies now, at least.. although it doesn't actually do anything.

That comes next.
2006-07-22 15:28:54 +00:00
solomon 41c5ea642f Buld fixes for 2.6.17+ kernels
Also include other fixes so we build cleanly on all 2.6 targets.
2006-07-22 14:49:36 +00:00
solomon 1c2388f60f Richard Kennedy's udev patch. This allows FC5/USB to work properly, as
hotplug is officially deprecated.

This stuff probably applies to the new PCMCIA subsystem too, although 
prism2_cs won't build on >=2.6.16.
2006-06-26 15:03:27 +00:00
solomon d6e0a445d2 Applied patch from Chris Rankin:
It looks like semaphores are on the way out, and so I've converted the 
CTLX semaphore into a completion object. (I don't think that the new 
mutex object is meant to be used for cases like this.) This has needed 
the wait_for_completion_interruptible() system function, which I've had 
to cut-and-paste into the source file for kernels earlier than 2.6.10.

I've also consolidated some of the clean-up code for the skb on the RX 
urb: the USB subsystem guarantees that the URB completion function is 
called.
2006-04-03 16:12:03 +00:00
solomon 338fba6c72 Build fixes for 2.6.16 kernels. 2006-03-30 19:18:53 +00:00
solomon b4ac1c80f3 Patches from Debian, via Victor Seva:
* etc/wlan/shared ( SRC_etc_wlan_shared.dpatch )
  + there is a call to wland, nonexistent now
  - debian stuff ( loop if there are shared.*.dpkg* files )
  + a root security hole ( using /var/run/linux-wlan-ng instead /tmp )

* src/prism2/driver/prism2_cs.c ( SRC_src_prism2_driver_prism2_cs_c.dpatch )
  + changes for 2.4.27 kernel

* man/prism2dl.1 ( DOC_man_prism2dl_1.dpatch )
  + Created a minimal man file in order to Debian's rules, all executable must
+have a man page
2006-02-09 20:15:14 +00:00
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 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 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 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 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 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 36a8cf101c Fix spelling errors, and ignore unexpected CTLX responses. From Chris
Rankin.
2005-06-22 14:16:55 +00:00