Commit Graph

1761 Commits

Author SHA1 Message Date
Solomon Peachy 3d7a066a27 Fix oops in wlan_setup on 2.6.27-rc3
oops caused by not setting up network device queues.

Change wlan_setup to use the kernel provided alloc_netdev() rather than
hand coding it. This should help avoid any future problems.

Also change register_wlandev to not call dev_alloc_name() as
register_netdev() will do that if the device name has been setup.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
2008-09-30 11:01:09 -04:00
Solomon Peachy ed269789c0 Update FAQ to point towards new SCM location. 2008-08-17 12:52:41 -04:00
pizza 99bd38f733 Eliminate the last of the non-kernel PCMCIA stuff. 2008-08-12 13:33:16 +00:00
pizza 6c44b5e381 Clean up some of the old cruft in the build system.
We basically need a reliable way of getting the kernel version string 
and cross compiler (host cflags is useful too) so if someone has a 
better idea how to accomplish this, I'm all ears.
2008-08-12 13:17:35 +00:00
pizza 1145037797 Patch from Pavel Roskin fixes the build on 2.6.26. 2008-08-12 12:52:10 +00:00
pizza 0b9426b9e7 From: Pavel Roskin <proski@gnu.org>
Subject: [lwlan-devel] [PATCH] Fix for Linux 2.6.27 WE API

Functions supplying scan data to the userspace will get an additional
argument in Linux 2.6.27.  The patch checks IW_REQUEST_FLAG_COMPAT in
addition to the kernel version, so that older kernels with backported
changes are handled as well.


[ Note that Fedora backported this code to their later 2.6.25 kernels ]
2008-08-12 12:50:11 +00:00
pizza 57031bcac2 From Pavel Roskin:
Variable "result" needs to be in prism2sta_config(), but not in
prism2sta_event()
2008-07-01 20:16:11 +00:00
pizza a876c87fda From Pavel Roskin:
Provide compatibility layer for gfp_t, which appeared in Linux 2.6.14
and mutex API, which appeared in Linux 2.6.16
2008-07-01 20:14:28 +00:00
pizza edc361a997 Fix non-posix arguments to find.
Thanks, Mark!
2008-06-24 19:10:11 +00:00
pizza b289a5e004 0.2.10 2008-06-14 15:34:06 +00:00
pizza 6cf4a0fd05 Apply a patch from Richard Kennedy:
hi,
there's been a discussion on lkml about making 4k stacks the default for
x86, and Fedora already uses 4k stacks so we don't seem to have any
problems.

Even so, this simple patch just moves temporary buffers to allow gcc to
better manage the stack usage in prism2mib_priv.

checkstack reports the usage going from 1120 down to 480 in
prism2_usb.ko

I think it's worth doing this just to head off any problems before we
have them.
2008-06-14 15:32:24 +00:00
pizza 3598e4d67a Another patch from Richard Kennedy:
|Here the patch to return an error in the wext functions if the card
|state != running.
|
|It doesn't stop the collision between the auto enable  & udev startup
|but I think it is worth having anyway.
|
|I left it returning UBUSY rather than UNODEV because NetworkManager puts
|a nice "card is busy" message in the logs which is easy to understand.
|But it doesn't make a lot of difference either way.
|
|
|It also adds in a couple of missing DBFENTER / DBFEXIT
2008-03-24 20:58:30 +00:00
pizza 6b3a6e94f7 A patch from Richard Kennedy:
using round_jiffies for the comms quality timer may help the kernel save
power
2008-03-24 18:49:31 +00:00
pizza 676258b9a5 A patch from Richard Kennedy:
What about this patch? It adds a mutex to protect the ioctl calls and
 holds it locked until the init routine has finished.

 It works for me, but it's only had minimal testing.

 But it works for both the cold boot and reload cases and we don't have
 to add any delays into the scripts. It should just work, and hold up 
 any user space processes until prism2sta_probe_usb has finished.
 It also means that you can't run 2 ioctls at the same time, which I
 think is a good thing :)

...

I've added code to the _cs, _pci, and _plx drivers to mirror the changes 
to the _usb code.
2008-03-24 14:44:11 +00:00
pizza c7a75f0fb0 From Chris Rankin:
Fedora 8 doesn't set /proc/sys/kernel/hotplug any more, so this patch 
stops the /etc/wlan/shared script exploding.
2008-03-24 14:31:16 +00:00
pizza c73e878fe5 MSDSTATE is not reported in /proc/net/p80211/wlanX/wlandev 2008-02-26 22:30:42 +00:00
pizza 2d3ce06f79 wrap the usbin_callback with a test aganst wlandev->hwremoved 2008-02-26 18:35:55 +00:00
pizza 0469bf0508 Eliminate the netif_device_present() test in the usbin urb handler. 2008-02-26 18:34:31 +00:00
pizza da5dce0816 Apply a patch originally by Karl Renton -- We should defer the netdev
registration until after the card has been reset/initialized.
2008-02-25 15:37:10 +00:00
pizza f4e7f4946f Always perform an ifstate_disable before a fwload cycle. 2008-02-11 14:58:42 +00:00
pizza 91e72a6524 Default to wireless extension mode. It bypasses *all* wlan-ng userspace
scriptage.
2008-02-04 16:38:05 +00:00
pizza 0f428449f3 Make the SIWENCODE behaivor more closely match the spec. 2008-02-04 16:03:30 +00:00
pizza f02f84b6cc 2.6.24 is now supported. 2008-02-04 15:06:36 +00:00
pizza 5106fac085 ... This is not my day. 2008-01-31 16:06:54 +00:00
pizza 688e9c7967 Add in a few thank-yous. 2008-01-31 14:39:57 +00:00
pizza cee7593d81 Apply patch from Karl Relton that improves the reliability of USB device
initialization and operation.
2008-01-31 14:37:27 +00:00
pizza c22bec092f When wlan_wext_write is enabled, auto-transition the devices to
ifstate_enable.
2008-01-31 14:34:36 +00:00
pizza 404c86ad5a Fix the last commit. Bad Solomon. 2008-01-31 14:30:39 +00:00
pizza 379c1597bc Fix a long-standing bug in the GIWENCODE handler.
Thanks to Richard Kennedy and Tormod Volden
2008-01-30 22:01:42 +00:00
pizza 74a9e49c58 2.6.24 support (thanks to Tormod Volden <lists.tormod@gmail.com>) 2008-01-30 21:46:33 +00:00
pizza 184e3f7953 Bump the version test. 2007-11-01 13:07:16 +00:00
pizza 82b621373d Update to latest 2.1.1 rev of the capture frame format. 2007-10-17 18:58:05 +00:00
pizza 5c64a0704a Fix a build warning on newer kernels. 2007-10-16 14:44:37 +00:00
pizza 2226658a8c More 2.6.23 changes. 2007-10-16 14:43:56 +00:00
pizza ea03eec991 Really fix the 2.6.23 build.
Apologies to Martin Dauskardt -- I tossed his original patch due to 
coding style differences but in doing so, I missed a chunk.
2007-10-16 14:07:27 +00:00
pizza 9dcf27d046 Fix build on 2.6.23 2007-09-18 16:51:48 +00:00
pizza 62eb2a0ef3 back out a bogus WEXT test. 2007-09-18 16:39:19 +00:00
pizza e15dfffe59 Patch from peter Levart:
I'm very thankfull to all of you who contribute to this project and 
enable my using of an USB WiFi dongle that is not supported by stock 
kernel. Nevertheless I allways have to patch new versions of 
linux-wlan-ng driver to enable use of my dongle. Can you please include 
this patch in the next release?
2007-09-18 16:35:12 +00:00
pizza 81de395316 Fixes to the 2.6.22-compatibility code. 2007-06-20 15:20:00 +00:00
pizza 7e18f6b058 A patch from Dan Williams to fix up operation on Fedora 7. 2007-06-20 14:53:45 +00:00
pizza 15790a3412 Support 2.6.22 kernels.
Original patch by Tormod Volden, but modified somewhat to support older 
kernels.
2007-06-20 14:45:49 +00:00
pizza 7ad827def4 2.6.21 should work okay. 2007-05-07 22:00:22 +00:00
pizza 97db2c54ce tag 0.2.8 2007-05-04 12:29:27 +00:00
pizza b81e090793 Large patch from Pavel Roskin that silences a boatload of
sparse warnings.
2007-03-19 15:37:00 +00:00
pizza 120f54d0c4 Add a warning if a too-new kernel is tried. 2007-02-28 15:44:58 +00:00
pizza 34f1299571 Support 2.6.20 kernels. Patch by Pavel Roskin. 2007-02-28 15:44:02 +00:00
pizza b27f215cb7 Updated udev rules from Richard Kennedy. 2007-02-27 16:43:02 +00:00
pizza 299bdbe24b default all to on. 2007-02-09 21:51:58 +00:00
pizza 0dcf7e8692 0.2.8 2007-01-30 18:13:41 +00:00
pizza 904e02373e warning silences. 2007-01-30 18:13:31 +00:00