Commit Graph

157 Commits (e0712a54a6c5559d2b49038dc99abd6390bc95c2)

Author SHA1 Message Date
Hauke Mehrtens 871991d9fe brcm47xx: update patches
* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 20:04:54 +00:00
Felix Fietkau e3b9933f66 broadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 18:41:05 +00:00
Jo-Philipp Wich 172c221854 [package] broadcom-wl: give the 007 patch a more meaningful name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:14:48 +00:00
Jo-Philipp Wich 76f140409a [package] broadcom-wl: make it work on the RT-N16 and other device using the BCMA bus
- refresh and reorder patches
	- introduce a unified BCMA/SSB glue driver to accomodate for both bus types on brcm47xx
	- extend wlunbind init script to detach device from bcma-pci-bridge as well


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:10:39 +00:00
Felix Fietkau 0465f5e4ff broadcom-wl: fix memory corruption and leakage on remove (patch from #9576 by George Kashperko)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 07:01:24 +00:00
Felix Fietkau a5ba667309 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 10:08:02 +00:00
Felix Fietkau 0283d014e6 broadcom-wl: fix uninitialized variable
It was causing an occasional kernel oops.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 10:07:57 +00:00
Hauke Mehrtens a6d76eb003 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 20:28:35 +00:00
Hauke Mehrtens 4cd045d796 broadcom-wl: remove pcmcia support
For kernel 2.6.36 some additional pcmcia backpots would be needed, but 
this should not depend on pcmcia.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-06 18:28:45 +00:00
Felix Fietkau 7ec42bf72d wifi: change the default channel from 5 to 11, 5 was a really bad choice
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-13 12:22:48 +00:00
Jo-Philipp Wich e5c290bdfc [package] broadcom-wl: fix md5sums
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 17:21:44 +00:00
Jo-Philipp Wich 2e76707ef7 [package] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:55:57 +00:00
Claudio Mignanti 33990405fb massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 14:06:13 +00:00
Hauke Mehrtens 3f57f6f219 broadcom-wl: fix compiling with kernel 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 19:33:46 +00:00
Hauke Mehrtens 168a565cbd kernel: fix build problems with recent kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 19:00:23 +00:00
Jo-Philipp Wich 56e09d7a58 [package] broadcom-wl: update to v5.10.56.27.1, initial brcm63xx (MIPS BE) support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 01:31:28 +00:00
Jo-Philipp Wich f3c2ca64d6 [package] broadcom-wl:
- fix compilation against eglibc and glibc (#7521)
	- unbind device from b43 ssb bridge on boot (#7529)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 01:06:32 +00:00
Jo-Philipp Wich eaf196a2b1 [package] broadcom-wl: align wpa encryption value and cipher override format with hostapd.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 21:02:53 +00:00
Felix Fietkau 3bc5d6887d remove linux 2.4 support from several packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:43:41 +00:00
Jo-Philipp Wich b07e539a16 [package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-21 08:40:21 +00:00
Hauke Mehrtens 06e250f9d5 compile fixes for kernel 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 19:29:57 +00:00
Florian Fainelli 8d46538ef0 [package] fix typo in broadcom-wl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-16 19:49:04 +00:00
Felix Fietkau 2d105c7588 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 ]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-15 11:40:05 +00:00
Felix Fietkau c0c5a37f6f rename broadcom-wl to broadcom-wl-old
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 11:00:30 +00:00
Nicolas Thill 3198c447f6 bump release number for packages ahead of backfire in trunk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 21:55:40 +00:00
Nicolas Thill efbdb2cc8f bump a bunch of packages updated after 10.03
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 13:46:57 +00:00
Jo-Philipp Wich 290c073d25 [package] broadcom-wl: check iface pid file when invoking nas, fixes starting nas for additional wireless networks (#7255)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 11:24:22 +00:00
Jo-Philipp Wich 52b501976f [package] broadcom-wl: fix 11bg hwmode, add lrs mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 20:47:28 +00:00
Jo-Philipp Wich b63c20e20c [brcm-2.4] broadcom-wl: implement "hwmode" uci option, supports 11b (B only), 11g (G only), 11gst (G performance) and 11bg (default)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-07 21:33:05 +00:00
Gabor Juhos 50e44a7a5f package/broadcom-wl: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 14:27:41 +00:00
Jo-Philipp Wich 82f4caadef [brcm-2.4] fix wrong numbering of interfaces in wireless detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-04 17:11:56 +00:00
Jo-Philipp Wich 5a9c76090b [package] broadcom-wl: detect all radios when generating config, do wireless setup per-interface (#5308)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 16:16:06 +00:00
Jo-Philipp Wich f9680422a7 [package] broadcom-wl: properly detach nas by using start-stop-daemon to launch it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-21 20:53:05 +00:00
Jo-Philipp Wich e8b288b29d [package] broadcom-wl: implement wepauth in wlc and support it in broadcom.sh, allows switching between open and shared authentication
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-21 20:52:17 +00:00
Felix Fietkau b259d8401e broadcom-wl: add rts/frag threshold settings (patch from #4769)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 17:29:10 +00:00
Jo-Philipp Wich b9a7b48297 [package] [docs] implement doth (802.11h) and wmm (802.11e) options for broadcom as well; update docs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-22 16:17:05 +00:00
Jo-Philipp Wich ad92066a84 [package] broadcom-wl: add "assoclist" command to wlc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 12:02:50 +00:00
Nicolas Thill 39a7c93dfd [package] 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 14:37:11 +00:00
Florian Fainelli 1974b7201a [package] delay the starting of nas4wds, seems like 5 seconds works in every case: none, psk, psk2 (#4974)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 20:41:21 +00:00
Florian Fainelli 7075440170 [brcm-2.4] allow sta mode to work with psk+aes (#4687)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-22 10:30:55 +00:00
Felix Fietkau 256c6db1de broadcom-wl: add nvram stub to fix nas compile after the switch to unvram
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 14:18:34 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Jo-Philipp Wich dcd1178611 [package] sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 23:42:09 +00:00
Nicolas Thill 8ae9e2cf0f [package] replace some -I & -L flags with $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) when appropriate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-24 00:08:08 +00:00
Andy Boyett 2821649276 [package] broadcom-wl: move txpower back to wifi-device section, but remain backwards compatible
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-31 16:08:19 +00:00
Felix Fietkau aa8b64d13a 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-07 04:26:14 +00:00
Jo-Philipp Wich 62fb1eb59e remove mac address handling, now handled by /lib/network/config.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 13:30:14 +00:00
Jo-Philipp Wich e7e6e99b6c move the txpower option to wifi-iface to mimic madwifi configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-16 19:38:55 +00:00
Jo-Philipp Wich 73e4a67da2 package/broadcom-wl:
- use [tr]xantenna instead of [tr]xant to unify config
	- implement txpower option


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-16 18:03:38 +00:00
Florian Fainelli 3838a450e5 Allow setting the MAC address on a broadcom device (#1512)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-09 17:05:15 +00:00