Commit Graph

1761 Commits (master)

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 <>
15 years ago
Solomon Peachy ed269789c0 Update FAQ to point towards new SCM location. 15 years ago
pizza 99bd38f733 Eliminate the last of the non-kernel PCMCIA stuff. 15 years ago
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.
15 years ago
pizza 1145037797 Patch from Pavel Roskin fixes the build on 2.6.26. 15 years ago
pizza 0b9426b9e7 From: Pavel Roskin <>
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 ]
15 years ago
pizza 57031bcac2 From Pavel Roskin:
Variable "result" needs to be in prism2sta_config(), but not in
15 years ago
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
15 years ago
pizza edc361a997 Fix non-posix arguments to find.
Thanks, Mark!
15 years ago
pizza b289a5e004 0.2.10 15 years ago
pizza 6cf4a0fd05 Apply a patch from Richard Kennedy:
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

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

I think it's worth doing this just to head off any problems before we
have them.
15 years ago
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
15 years ago
pizza 6b3a6e94f7 A patch from Richard Kennedy:
using round_jiffies for the comms quality timer may help the kernel save
15 years ago
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.
15 years ago
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.
15 years ago
pizza c73e878fe5 MSDSTATE is not reported in /proc/net/p80211/wlanX/wlandev 15 years ago
pizza 2d3ce06f79 wrap the usbin_callback with a test aganst wlandev->hwremoved 15 years ago
pizza 0469bf0508 Eliminate the netif_device_present() test in the usbin urb handler. 15 years ago
pizza da5dce0816 Apply a patch originally by Karl Renton -- We should defer the netdev
registration until after the card has been reset/initialized.
15 years ago
pizza f4e7f4946f Always perform an ifstate_disable before a fwload cycle. 16 years ago
pizza 91e72a6524 Default to wireless extension mode. It bypasses *all* wlan-ng userspace
16 years ago
pizza 0f428449f3 Make the SIWENCODE behaivor more closely match the spec. 16 years ago
pizza f02f84b6cc 2.6.24 is now supported. 16 years ago
pizza 5106fac085 ... This is not my day. 16 years ago
pizza 688e9c7967 Add in a few thank-yous. 16 years ago
pizza cee7593d81 Apply patch from Karl Relton that improves the reliability of USB device
initialization and operation.
16 years ago
pizza c22bec092f When wlan_wext_write is enabled, auto-transition the devices to
16 years ago
pizza 404c86ad5a Fix the last commit. Bad Solomon. 16 years ago
pizza 379c1597bc Fix a long-standing bug in the GIWENCODE handler.
Thanks to Richard Kennedy and Tormod Volden
16 years ago
pizza 74a9e49c58 2.6.24 support (thanks to Tormod Volden <>) 16 years ago
pizza 184e3f7953 Bump the version test. 16 years ago
pizza 82b621373d Update to latest 2.1.1 rev of the capture frame format. 16 years ago
pizza 5c64a0704a Fix a build warning on newer kernels. 16 years ago
pizza 2226658a8c More 2.6.23 changes. 16 years ago
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.
16 years ago
pizza 9dcf27d046 Fix build on 2.6.23 16 years ago
pizza 62eb2a0ef3 back out a bogus WEXT test. 16 years ago
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?
16 years ago
pizza 81de395316 Fixes to the 2.6.22-compatibility code. 16 years ago
pizza 7e18f6b058 A patch from Dan Williams to fix up operation on Fedora 7. 16 years ago
pizza 15790a3412 Support 2.6.22 kernels.
Original patch by Tormod Volden, but modified somewhat to support older 
16 years ago
pizza 7ad827def4 2.6.21 should work okay. 16 years ago
pizza 97db2c54ce tag 0.2.8 16 years ago
pizza b81e090793 Large patch from Pavel Roskin that silences a boatload of
sparse warnings.
16 years ago
pizza 120f54d0c4 Add a warning if a too-new kernel is tried. 16 years ago
pizza 34f1299571 Support 2.6.20 kernels. Patch by Pavel Roskin. 16 years ago
pizza b27f215cb7 Updated udev rules from Richard Kennedy. 16 years ago
pizza 299bdbe24b default all to on. 17 years ago
pizza 0dcf7e8692 0.2.8 17 years ago
pizza 904e02373e warning silences. 17 years ago