Commit Graph

255 Commits (8be547dd34d939f817cdd505fdf9eb834ce05420)

Author SHA1 Message Date
Felix Fietkau 844c80f3bb rt2x00: merge an rt2800 initialization order fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-09 17:31:53 +00:00
Felix Fietkau ba6d9d5cac ath9k: clean up some patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-08 09:38:38 +00:00
Felix Fietkau da032a4fe0 mac80211: merge a big batch of upstream changes/improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-08 09:38:32 +00:00
Hauke Mehrtens e1cb25c509 mac80211: kmod-rtl_pci: fix dependencies
This fixes the following error:
rtl_pci: Unknown symbol rtl_lps_leave (err 0)
rtl_pci: Unknown symbol rtl_lps_enter (err 0)
rtl8192ce: Unknown symbol rtl_pci_disconnect (err 0)
rtl8192ce: Unknown symbol rtl_pci_probe (err 0)
rtl8192de: Unknown symbol rtl_pci_disconnect (err 0)
rtl8192de: Unknown symbol rtl_pci_probe (err 0)
rtl8192se: Unknown symbol rtl_pci_disconnect (err 0)
rtl8192se: Unknown symbol rtl_pci_probe (err 0)

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-05 20:17:28 +00:00
Hauke Mehrtens db84347fba mac80211: do not download carl9170 firmware separately, but use the one from linux-firemware
linux-firemware contains the same version we loaded without this patch.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-05 19:43:38 +00:00
Hauke Mehrtens 4d4d295222 ath10k: enable Atheros 802.11ac driver
This enables usage of the ath10k driver on OpenWrt. Only 2.0 PCI hardware
is supported. The ath10k firmware is currently only available
through github so use that as its source for now.

This goes build tested, not run time tested.

[Hauke: I did some minor changes]

Cc: ath10k@lists.infradead.org
Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Cc: Kathy Giori <kgiori@qca.qualcomm.com>
Cc: Mathieu Olivari <mathieu@qca.qualcomm.com>
Cc: Jerome Proffit <jproffit@qca.qualcomm.com>
Cc: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Cc: Matthew McClintock <mmcclint@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-05 19:35:14 +00:00
Gabor Juhos 8f394d587a mac80211: add a bunch of rt2x00 specific changes
Backport some rt2x00 specific changes from
wireless-testing/master-2013-08-26 to add
support for RT3573 based devices.

Also refresh the rt2x00 specific patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27 10:44:06 +00:00
Felix Fietkau 936bb7554e mac80211: merge a few ad-hoc mode fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-26 17:31:23 +00:00
Felix Fietkau 099f2e1bd5 mac80211: disable CCK rates for 802.11n clients on brcmsmac to fix crash issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-26 17:31:15 +00:00
Felix Fietkau 558d7e8a90 mac80211: merge upstream change to fix mesh rssi thresholds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-15 13:57:11 +00:00
Felix Fietkau 47ff74c13c ath9k: merge a few more cleanups/fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-13 10:35:18 +00:00
Felix Fietkau 339fd0a8e1 ath9k: reorganize patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-13 10:35:14 +00:00
Felix Fietkau ebedc0094b mac80211: merge upstream patch to suppress unnecessary ad-hoc mode scan with fixed-freq, fixed-bssid
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-13 10:35:04 +00:00
Felix Fietkau 73355c3626 ath9k: fix an rx descriptor processing race condition
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-10 14:00:33 +00:00
Felix Fietkau ad8f1e4982 mac80211: Handle concurrent AP/STA beaconing properly
Use the "start_disabled" option in hostapd that was added
in the earlier patch.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 17:59:09 +00:00
Felix Fietkau b51903e2aa ath9k: fold the aggregation rework into 300-pending_work.patch (tracked as upstream submission)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 10:31:10 +00:00
Felix Fietkau 74859a9bff mac80211: refresh a patch that was using the wrong patch style
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 10:31:06 +00:00
Felix Fietkau e711d77558 mac80211: fold the rtlwifi patch into 300-pending_work.patch (upstream patch)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 10:31:02 +00:00
Felix Fietkau c34f065d00 ath9k: add some more fixes for the tx queueing rework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 10:30:58 +00:00
Hauke Mehrtens eb8992fc75 mac80211: rtlwifi depends on PCI or USB support in the Kconfig file
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 21:57:48 +00:00
Hauke Mehrtens 0b5bdf9b5e kernel: fix DMA error when BCM4331 is connected to BCM4706
The BCM4331 supports a PCIe max request size of 512 bytes and uses 
that, but the PCIe controller in the BCM4706 just supports 128 Bytes 
and that causes a DMA error for packages bigger than 126 bytes. This 
fixes the problem by setting the BCM4331 also to 128 Bytes.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 16:17:05 +00:00
Gabor Juhos 6225fd0db7 mac80211: fix rt2x00 dependency
The current dependency prevents building of the
rt2800{pci,usb} drivers for RT3883. Change the
dependency to fix this.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 09:24:19 +00:00
Gabor Juhos 1a1d37fe8c mac80211: rt2x00: fix LED polarity patch
The patch causes compiler warning ...

  <...>/drivers/net/wireless/rt2x00/rt2800lib.c: In function 'rt2800_init_eeprom':
  <...>/drivers/net/wireless/rt2x00/rt2800lib.c:5971:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]

... and runtime errors on PCI/USB devices:

  [   11.810000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3071, rev 021c detected
  [   11.830000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
  [   11.880000] rt2x00mmio_regbusy_read() Indirect register access failed: offset=0x00007010, value=0x01ff0001
  [   12.080000] usb 1-1: reset high-speed USB device number 2 using ehci-platform
  [   12.250000] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detecte
  [   12.300000] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 000f detected
  [   12.350000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x1a93b47
  [   12.430000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x11a93b47
  [   12.480000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x11a93b47

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 09:09:41 +00:00
Gabor Juhos c3d8876fdc mac80211: enable RT{33,35,53,55}XX chip support in rt2800usb
Closes #13951.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 09:09:40 +00:00
Jonas Gorski 8a2b720565 mac80211: add rtlwifi drivers
Signed-off-by: Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
[jogo@openwrt.org: add missing DRIVER_11N_SUPPORT select, add missing
		   usb dependencies, backport upstream fixes for Kconfig
		   issues]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 15:32:36 +00:00
Felix Fietkau c92d5ebeb9 mac80211: backport a few upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-02 10:02:35 +00:00
Felix Fietkau 3f14645369 mac80211: rt2x00: add missing of.h header
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 22:45:57 +00:00
Felix Fietkau 7874fd511a ath9k: fix several issues in the tx queueing rework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 19:44:05 +00:00
John Crispin e20a40ac8d mac80211: rt2x00: fix default register settings for rt5350
Comparing the RTSDK driver and mac80211 revealed, that this register needs
to have a special setup on rt5350.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 13:10:12 +00:00
John Crispin 4281cf0a81 mac80211: rt2x00: enable setting wifi led polarity from OF
This patch enables setting the wifi led polarity from OF.
It can be used in a DTS' wmac section like this:

   ralink,led-polarity = <1>;

Valid values are 0 or 1.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 13:09:16 +00:00
Felix Fietkau 251d3a0ba1 rt2x00: merge fix for queue stopping
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 12:49:01 +00:00
Felix Fietkau 01c8aa3d20 mac80211: add support for verbose builds using V=sc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 09:38:08 +00:00
John Crispin 023ed9c87c strict_strtoul is obsolete, use kstrtoul instead
based on http://patchwork.openwrt.org/patch/3827/

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-27 09:23:18 +00:00
Felix Fietkau 2b073b7b73 authsae: adapt uci scripts to use authsae
This patch modifies the uci scripts to be able to
start meshd-nl80211 for encrypted mesh networks,
therefor a new script (authsae.sh) is inserted.

Signed-off-by: Emanuel Taube <emanuel.taube@gmail.com>
[etienne.champetier@free.fr: just update mac80211.sh path]
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-26 10:02:59 +00:00
John Crispin 3dbb231574 mac8021: add ath9k pcie id for AR9381
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-25 20:28:45 +00:00
Felix Fietkau e097be3342 ath9k: add initial tx queueing rework patches
This forces all packets (even for un-aggregated traffic) through
software queues to improve fairness and stability

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-20 16:37:50 +00:00
Jonas Gorski 332ca4ede2 mac80211: add missing dependencies
Add missing dependencies for rt2800-lib and lib80211.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-19 09:49:04 +00:00
Felix Fietkau 42408d1a27 ath5k: fix AHB support dependency (#13896)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-17 13:58:15 +00:00
Felix Fietkau fbd0ec7990 mac80211: fix a crash in legacy minstrel when no STA exists
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-15 12:35:23 +00:00
Hauke Mehrtens a2013d3f7c mac80211: b43: load b43 on core rev 17 and 18.
This is now controlled by a module parameter and the default 
configuration depends on brcmsmac being installed.
This patch causes b43 to take core rev 17 and 18 always by default.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14 14:23:04 +00:00
Hauke Mehrtens c57d29f977 mac80211: b43: activate LP-Phy support every time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14 14:13:32 +00:00
Felix Fietkau c97fd7bf11 mac80211: tweak mac address allocation
Apparently there are some broken devices out there that have the local
bit already set in the factory MAC address. Move the | 0x2 over to the
other side of the xor operation to fix this without affecting devices
with proper addresses.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-13 11:39:48 +00:00
Felix Fietkau 089d2c0e73 mac80211: reconfigure in Build/Compile instead of Build/Configure to catch kernel config changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-12 08:10:19 +00:00
Felix Fietkau 5699aaac85 mac80211: merge a fix for PS-Poll handling, refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-12 07:59:59 +00:00
Felix Fietkau 1d38268af4 mac80211: remove bogus module params from compat.ko
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-12 07:59:51 +00:00
John Crispin f61ce59a68 mac80211: make rt2x00_soc depend on !rt3883
https://dev.openwrt.org/ticket/13777

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 13:31:18 +00:00
Felix Fietkau 0abf3d1380 rt2x00: fix rf id override for RT5350
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 17:54:20 +00:00
Felix Fietkau 34f9438ca4 mac80211: use a new tarball with updated backport code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 14:49:14 +00:00
Felix Fietkau dc7be3f64c mac80211: update to wireless-testing 2013-06-27, fix ATH_USER_REGD handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 10:44:19 +00:00
Felix Fietkau afcc48648d ath9k: fix tx queue pending frame counter when dropping packets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 12:38:15 +00:00
Felix Fietkau 12dc59d546 mac80211: fix cck rate sampling in minstrel_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 19:14:54 +00:00
John Crispin 0e17837962 mac80211: disable rt2x00 on mt7620a
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 07:25:13 +00:00
Felix Fietkau 30ada6a984 ath9k: fix a minor rcu issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-22 13:59:55 +00:00
John Crispin 407d63b431 mac80211: fix compile error on rt2x00 when buildin for SoC
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:46 +00:00
John Crispin f1b4824c86 packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:37 +00:00