Commit Graph

144 Commits (5452dbad6163ded47be8f0c37aa7f725579cc323)

Author SHA1 Message Date
Hauke Mehrtens 26e9830eac broadcom-wl: hack to work around a bug in the PCIe controller
Thank you nlh

This closes #12930.

SVN-Revision: 35767
2013-02-24 18:01:06 +00:00
Hauke Mehrtens 588b42a8b7 broadcom-wl: Pass physical address to wl_attach
wl_attach expects a physical address, as it performs the mapping internally.

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

SVN-Revision: 34671
2012-12-13 18:55:49 +00:00
Hauke Mehrtens 3399d16dd7 broadcom-wl: get the mmio address directly from the struct if bcma is used.
SVN-Revision: 34452
2012-12-02 16:07:43 +00:00
Hauke Mehrtens e9b6c999f5 broadcom-wl: fix two problems when more then one wifi card is available.
* The device should get a unique name at the beginning and not wl%d.
* load the nvram just one time into the own buffer, also when there is
  more than one device.

SVN-Revision: 34381
2012-11-25 20:11:15 +00:00
Hauke Mehrtens 86cc79ac98 brcm47xx: add support for kernel 3.6
This is based on the patch by Peter Wagner.

SVN-Revision: 34252
2012-11-18 21:27:00 +00:00
Florian Fainelli e5ca54aee9 broadcom-wl: fix build after IRQF_SAMPLE_RANDOM flag removal (#12248)
SVN-Revision: 33617
2012-10-04 12:36:45 +00:00
Jo-Philipp Wich bc41cc82ec broadcom-wl: fix WDS hotplug for multiple networks
SVN-Revision: 32505
2012-06-26 15:43:09 +00:00
Jo-Philipp Wich b585d59096 broadcom-wl: remove an erroneous BUG() call in the glue driver
SVN-Revision: 30709
2012-02-24 13:36:46 +00:00
Hauke Mehrtens f5fe6252d1 broadcom-wl: fix reading fallback sprom for pci devices.
When using the Broadcom SDK the SSB bus is emulated as an PCI bus so
the PCI bus number of the first real pci bus is increased by one. The
variable names in the nvram are created with that structure in mind. To
fix this we have ti increases the pci bus number by one. This was also
done for ssb some time ago.

This is based on a patch by nlh.
This closes #10917

SVN-Revision: 30422
2012-02-10 17:11:17 +00:00
Hauke Mehrtens 501ee77468 broadcom-wl: fix compile with kernel 3.2
SVN-Revision: 30421
2012-02-10 17:07:14 +00:00
Felix Fietkau a543eeb0aa broadcom-wl: turn on wmm by default, disabling it by default makes no sense, and without it 802.11n does not work (fixes #10918)
SVN-Revision: 30362
2012-02-07 15:45:56 +00:00
Jo-Philipp Wich 5a4f0f84df broadcom-wl: align RADIUS options with r26482, patch by Etienne Champetier <etienne.champetier@free.fr>
SVN-Revision: 29136
2011-11-14 21:37:53 +00:00
Jo-Philipp Wich 0fe2a1b288 broadcom-wl: implement wpa_group_rekey option (mapped to nas -g)
SVN-Revision: 28208
2011-09-09 18:21:30 +00:00
Jo-Philipp Wich 609d072fee broadcom-wl: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
SVN-Revision: 28200
2011-09-08 23:34:13 +00:00
Hauke Mehrtens 8428ebd8e8 brcm47xx: update patches
* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates

SVN-Revision: 27902
2011-08-04 20:04:54 +00:00
Felix Fietkau c330325bda broadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)
SVN-Revision: 27868
2011-08-01 18:41:05 +00:00
Jo-Philipp Wich 8ecad9c51a broadcom-wl: give the 007 patch a more meaningful name
SVN-Revision: 27752
2011-07-24 14:14:48 +00:00
Jo-Philipp Wich 1d7ae4aba7 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
SVN-Revision: 27751
2011-07-24 14:10:39 +00:00
Felix Fietkau b8b060d2fe broadcom-wl: fix memory corruption and leakage on remove (patch from #9576 by George Kashperko)
SVN-Revision: 27348
2011-07-02 07:01:24 +00:00
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