Commit Graph

125 Commits (b179722c71d2c6fb227054cbbb2ec97819d52573)

Author SHA1 Message Date
Felix Fietkau 2383a26168 broadcom-wl: fix wild ssb_device accesses as pci_dev for legacy pci dma api
broadcom-wl driver bound to ssb device with ssb driver probe
have osh handle struct pdev pointer value initialized with
ssb_device pointer. Later on pdev is used with legacy pci
dma api as pci_dev thus causing oops sometimes.

The patch replaces legacy pci dma api and pass relevant
device struct pointer to avoid crashes.
Signed-off-by: George Kashperko <george@znau.edu.ua>

SVN-Revision: 26949
2011-05-19 10:08:02 +00:00
Felix Fietkau 7c8564d7c5 broadcom-wl: fix uninitialized variable
It was causing an occasional kernel oops.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 26948
2011-05-19 10:07:57 +00:00
Hauke Mehrtens 3dbb8c5088 brcm47xx: add fallback sprom for pci devices without an own sprom.
If there is no sprom on an ssb based pci device on the brcm47xx
architecture ssb now asks the architecture code to look into the nvram
to get some sprom data for this device. Now we are able to read out
pci/1/1/ foo or pci/1/3/ foo config options.

This will fix some problems where the wireless devices does not got an
mac address and the following message was show:
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)

SVN-Revision: 26801
2011-05-01 20:28:35 +00:00
Hauke Mehrtens 1f8f2aaa37 broadcom-wl: remove pcmcia support
For kernel 2.6.36 some additional pcmcia backpots would be needed, but
this should not depend on pcmcia.

SVN-Revision: 23899
2010-11-06 18:28:45 +00:00
Felix Fietkau b7204be37b wifi: change the default channel from 5 to 11, 5 was a really bad choice
SVN-Revision: 23423
2010-10-13 12:22:48 +00:00
Jo-Philipp Wich c08ea36e81 broadcom-wl: fix md5sums
SVN-Revision: 22175
2010-07-13 17:21:44 +00:00
Jo-Philipp Wich 4ae595a3aa broadcom-wl: - update to v5.10.56.27.3 - get fallback SPROM from SSB if neither on-device SPROM nor nvram is available - working brcm63xx support
SVN-Revision: 22173
2010-07-13 16:55:57 +00:00
Claudio Mignanti 2d86ea7bf3 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
SVN-Revision: 22145
2010-07-12 14:06:13 +00:00
Hauke Mehrtens 9aa7a94047 broadcom-wl: fix compiling with kernel 2.6.35
SVN-Revision: 22138
2010-07-11 19:33:46 +00:00
Hauke Mehrtens 02a147de0c kernel: fix build problems with recent kernel versions
SVN-Revision: 22137
2010-07-11 19:00:23 +00:00
Jo-Philipp Wich 37f0636c3f broadcom-wl: update to v5.10.56.27.1, initial brcm63xx (MIPS BE) support
SVN-Revision: 22008
2010-07-01 01:31:28 +00:00
Jo-Philipp Wich 28e4d39009 broadcom-wl: - fix compilation against eglibc and glibc (#7521) - unbind device from b43 ssb bridge on boot (#7529)
SVN-Revision: 22007
2010-07-01 01:06:32 +00:00
Jo-Philipp Wich 79c9adc19f broadcom-wl: align wpa encryption value and cipher override format with hostapd.sh
SVN-Revision: 21997
2010-06-30 21:02:53 +00:00
Felix Fietkau 543d870e82 remove linux 2.4 support from several packages
SVN-Revision: 21954
2010-06-26 20:43:41 +00:00
Jo-Philipp Wich 69c1095dcc broadcom-wl, broadcom-wl-old: binary 2.6 wl restricts the whole menuconfig submenu to brcm47xx, make menu depend on brcm47xx or brcm-2.4 in old and new driver package while brcm-2.4 target is still around
SVN-Revision: 21857
2010-06-21 08:40:21 +00:00
Hauke Mehrtens 247b1ff93e compile fixes for kernel 2.6.34
SVN-Revision: 21829
2010-06-17 19:29:57 +00:00
Florian Fainelli 08a2acf378 fix typo in broadcom-wl
SVN-Revision: 21819
2010-06-16 19:49:04 +00:00
Felix Fietkau 3e52d05296 Add a new kernel-version independent broadcom binary driver for brcm47xx (contributed by NewMedia-NET) This will allow us to get rid of brcm-2.4 soon. [ ... and there was much rejoicing ]
SVN-Revision: 21809
2010-06-15 11:40:05 +00:00
Felix Fietkau b6fb8fd821 rename broadcom-wl to broadcom-wl-old
SVN-Revision: 21794
2010-06-14 11:00:30 +00:00
Nicolas Thill 338f1af5f3 bump release number for packages ahead of backfire in trunk
SVN-Revision: 21556
2010-05-23 21:55:40 +00:00
Nicolas Thill 7d4022d539 bump a bunch of packages updated after 10.03
SVN-Revision: 21477
2010-05-16 13:46:57 +00:00
Jo-Philipp Wich bbb7850ae6 broadcom-wl: check iface pid file when invoking nas, fixes starting nas for additional wireless networks (#7255)
SVN-Revision: 21394
2010-05-07 11:24:22 +00:00
Jo-Philipp Wich 6134e99bee broadcom-wl: fix 11bg hwmode, add lrs mode
SVN-Revision: 20768
2010-04-09 20:47:28 +00:00
Jo-Philipp Wich d240d8edad broadcom-wl: implement "hwmode" uci option, supports 11b (B only), 11g (G only), 11gst (G performance) and 11bg (default)
SVN-Revision: 20740
2010-04-07 21:33:05 +00:00
Gabor Juhos c7785c1add package/broadcom-wl: refresh patches
SVN-Revision: 20454
2010-03-26 14:27:41 +00:00
Jo-Philipp Wich 76df66cda8 fix wrong numbering of interfaces in wireless detection
SVN-Revision: 19525
2010-02-04 17:11:56 +00:00
Jo-Philipp Wich 1869cdd5bd broadcom-wl: detect all radios when generating config, do wireless setup per-interface (#5308)
SVN-Revision: 19273
2010-01-22 16:16:06 +00:00
Jo-Philipp Wich 2920081f48 broadcom-wl: properly detach nas by using start-stop-daemon to launch it
SVN-Revision: 19257
2010-01-21 20:53:05 +00:00
Jo-Philipp Wich f3c6c80cb8 broadcom-wl: implement wepauth in wlc and support it in broadcom.sh, allows switching between open and shared authentication
SVN-Revision: 19256
2010-01-21 20:52:17 +00:00
Felix Fietkau d5d8a225f8 broadcom-wl: add rts/frag threshold settings (patch from #4769)
SVN-Revision: 18720
2009-12-09 17:29:10 +00:00
Jo-Philipp Wich 392e45ef09 implement doth (802.11h) and wmm (802.11e) options for broadcom as well; update docs
SVN-Revision: 17676
2009-09-22 16:17:05 +00:00
Jo-Philipp Wich a243847f73 broadcom-wl: add "assoclist" command to wlc
SVN-Revision: 17144
2009-08-06 12:02:50 +00:00
Nicolas Thill a42072ddf4 broadcom-wl: fix broadcom (2.4) wireless sta (only) mode, adjust release number
This patch fixes an issue with the broadcom.sh configuration script when
enabling sta mode.  Currently sta mode works provided that you have an AP
enabled as well but it doesn't work if you have a sta interface but not an
AP.  I found that merely reversing the order of the ap and apsta variables
in the broadcom.sh script corrects this problem, and the attached patch does
exactly that.

Signed-off-by: Eric Bishop <ebishop@bu.edu>

SVN-Revision: 16256
2009-06-01 14:37:11 +00:00
Florian Fainelli 553c950287 delay the starting of nas4wds, seems like 5 seconds works in every case: none, psk, psk2 (#4974)
SVN-Revision: 16159
2009-05-28 20:41:21 +00:00
Florian Fainelli fa4d544363 allow sta mode to work with psk+aes (#4687)
SVN-Revision: 15983
2009-05-22 10:30:55 +00:00
Felix Fietkau 7f8b55cec9 broadcom-wl: add nvram stub to fix nas compile after the switch to unvram
SVN-Revision: 15439
2009-04-27 14:18:34 +00:00
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Jo-Philipp Wich 7e6c947e4b sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa
SVN-Revision: 15028
2009-03-24 23:42:09 +00:00
Nicolas Thill 21d7852de0 replace some -I & -L flags with $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) when appropriate
SVN-Revision: 14651
2009-02-24 00:08:08 +00:00
Andy Boyett 32dce30e26 broadcom-wl: move txpower back to wifi-device section, but remain backwards compatible
SVN-Revision: 14306
2009-01-31 16:08:19 +00:00
Felix Fietkau 59a00d52a9 make broadcom-wl robust against implicit kernel config changes (e.g. netfilter), upgrade it from minor version .2 to .3 (adds fixed bssid support for ad-hoc)
SVN-Revision: 13912
2009-01-07 04:26:14 +00:00
Jo-Philipp Wich 0c67453253 remove mac address handling, now handled by /lib/network/config.sh
SVN-Revision: 13259
2008-11-17 13:30:14 +00:00
Jo-Philipp Wich 2a4a3ffd6a move the txpower option to wifi-iface to mimic madwifi configuration
SVN-Revision: 13239
2008-11-16 19:38:55 +00:00
Jo-Philipp Wich 53f4888b7b package/broadcom-wl: - use [tr]xantenna instead of [tr]xant to unify config - implement txpower option
SVN-Revision: 13236
2008-11-16 18:03:38 +00:00
Florian Fainelli 9c97f76e21 Allow setting the MAC address on a broadcom device (#1512)
SVN-Revision: 13154
2008-11-09 17:05:15 +00:00
Felix Fietkau ec6c0fdc5e broadcom-wl: only use mssid if necessary (fixes spurious error messages on older hw)
SVN-Revision: 12769
2008-09-28 18:30:23 +00:00
Felix Fietkau 1bdd7d0460 add vif selection fix for the broadcom-wl wifi script (thx, sn9)
SVN-Revision: 12324
2008-08-16 17:00:27 +00:00
Florian Fainelli d7c8f38007 Make sure we will have lower case MAC addresses when doing WDS
SVN-Revision: 12259
2008-08-09 10:00:49 +00:00
Florian Fainelli 22aa7c6406 Support encrypted WDS connections (#2463)
SVN-Revision: 12251
2008-08-09 00:18:25 +00:00
Felix Fietkau 0cc7199e71 install libshared into the staging dir (required by wrt-radauth)
SVN-Revision: 12181
2008-08-05 22:32:26 +00:00