aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: fix skb size calculation in 4addr mode (FS#24)Jo-Philipp Wich2016-06-281-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | The PDU length of incoming LLC frames is set to the total skb payload size in __ieee80211_data_to_8023() of net/wireless/util.c which incorrectly includes the length of the IEEE 802.11 header. The resulting LLC frame header has a too large PDU length, causing the llc_fixup_skb() function of net/llc/llc_input.c to reject the incoming skb, effectively breaking STP. Solve the problem by properly substracting the IEEE 802.11 frame header size from the PDU length, allowing the LLC processor to pick up the incoming control messages. Special thanks to Gerry Rozema for tracking down the regression and proposing a suitable patch. Fixes FS#24. References: https://bugs.lede-project.org/index.php?do=details&task_id=24 Reported-by: Gerry Rozema <gerryr@rozeware.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ath10k: merge some more pending upstream fixesFelix Fietkau2016-06-173-2/+128
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: ath10k fix otp check patchAdrian Panella2016-06-131-1/+1
| | | | | | Fix patch to match new updated package version Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* ath10k: merge some pending stability fixesFelix Fietkau2016-06-118-6/+326
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-074-6/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel/mac80211: skip ath10k OTP check if caldata foundAsh Benz2016-05-271-0/+42
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* mac80211: brcmfmac: return -ENFILE if interface existsRafał Miłecki2016-05-301-1/+1
| | | | | | | This makes brcmfmac compatible with mac80211 which uses dev_alloc_name (and so returns -ENFILE on error). Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mac80211: fix unaligned accesses in the tx pathFelix Fietkau2016-05-191-0/+25
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: Fix TX99 supportHelmut Schaa2016-05-181-4/+8
| | | | | | | The patch 300-ath9k-force-rx_clear-when-disabling-rx.patch broke TX99 support in ath9k. Fix the patch by only applying rx_clear if TX99 mode is not used. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
* mac80211: fix a module build/dependency issue that was breaking lib80211Felix Fietkau2016-05-161-0/+11
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: update to wireless-testing 2016-05-12Felix Fietkau2016-05-15140-9893/+639
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: ath9k: add GPIO support for AR9280 chipJohn Crispin2016-04-261-0/+27
| | | | | | | | | | Enable access to GPIO on Atheros wireless chip AR9280. Support for 9280 is added to existing 9285/9287 subsystem because these 3 chips differ only in number of GPIO pins. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 49251
* mac80211: add brcmfmac regression ("NULL pointer dereference") fixRafał Miłecki2016-04-251-0/+26
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49222
* mac80211: update brcmfmac including missing boardrev workaroundRafał Miłecki2016-04-1613-8/+1439
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49174
* brcmfmac: Add Raspberry Pi 3 supportJohn Crispin2016-03-161-0/+27
| | | | | | | | | | - Enable SDIO support on brcmfmac. - Disable power managment for brcm2708 target. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49023
* mac80211: backport brcmfmac patchset with driver setting conceptRafał Miłecki2016-03-0722-3/+4468
| | | | | | | | | | This prepares brcmfmac for better country handling and fixes BCM4360 support which was always failing with: [ 13.249195] brcmfmac: brcmf_pcie_download_fw_nvram: FW failed to initialize Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48959
* mac80211: rework gpio chip/button support to build on platforms without ↵Felix Fietkau2016-03-072-153/+124
| | | | | | | | CONFIG_GPIOLIB Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48938
* mac80211: ath9k: enable GPIO buttonsFelix Fietkau2016-03-051-0/+169
| | | | | | | | | | Enable platform-defined GPIO button support for ath9k device. Key poller is activated for attached platform buttons. Requires ath9k GPIO chip access. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48921
* mac80211: improve rate control performanceFelix Fietkau2016-03-031-0/+77
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48897
* mac80211: add a number of pending fixesFelix Fietkau2016-03-025-0/+180
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48883
* mac80211: refresh patchFelix Fietkau2016-03-021-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48882
* mac80211: ath9k: enable access to GPIOFelix Fietkau2016-03-021-0/+243
| | | | | | | | | | Enable access to GPIO chip and its pins for Atheros AR92xx wireless devices. For now AR9285 and AR9287 are supported. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> Acked-by: Hartmut Knaack <knaack.h@gmx.de> SVN-Revision: 48881
* mac80211: ath9k: set default state for platform LEDsFelix Fietkau2016-03-021-0/+29
| | | | | | | | | | Support default state for platform LEDs connected to ath9k device. Now LEDs are correctly set on or off at ath9k module initialization. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> Acked-by: Hartmut Knaack <knaack.h@gmx.de> SVN-Revision: 48880
* mac80211: ath9k: enable platform WLAN LED nameFelix Fietkau2016-03-021-0/+48
| | | | | | | | | Enable platform-supplied WLAN LED name for ath9k device. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> Acked-by: Hartmut Knaack <knaack.h@gmx.de> SVN-Revision: 48879
* mac80211: backport brcmfmac fix for primary channel in 80 MHz modeRafał Miłecki2016-02-252-1/+65
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48782
* mac80211: backport brcmfmac fix for sdio sg table alloc crashRafał Miłecki2016-02-252-0/+118
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48781
* mac80211: fix an RTS/CTS issue in minstrel_htFelix Fietkau2016-02-251-0/+26
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48759
* mac80211: sync a-msdu tx patch with the latest upstream submissionFelix Fietkau2016-02-251-35/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48758
* mac80211: set default aggregation timeout to 0 to improve stabilityFelix Fietkau2016-02-181-0/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48744
* mac80211: update A-MSDU tx support to the latest versionFelix Fietkau2016-02-182-7/+91
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48743
* mac80211: fix a crash in monitor mode injectionFelix Fietkau2016-02-141-0/+36
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48719
* mac80211: improve a-msdu rx performance by avoiding unnecessary data copyingFelix Fietkau2016-02-081-0/+132
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48673
* mac80211: fix a memory leak in a-msdu rxFelix Fietkau2016-02-081-0/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48672
* mac80211: update A-MSDU tx patch to the latest versionFelix Fietkau2016-02-081-19/+27
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48671
* mac80211: refresh patchFelix Fietkau2016-02-081-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48670
* mac80211: fix flowrings infinite loops in brcmfmac on BCM4366Rafał Miłecki2016-02-071-0/+307
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48653
* mac80211: merge a fix for minstrel expected throughput reportingFelix Fietkau2016-02-071-0/+51
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48648
* mac80211: merge a few mesh fixesFelix Fietkau2016-02-073-0/+301
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48647
* ath9k: merge fix for noise floor calibrationFelix Fietkau2016-02-073-6/+93
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48641
* mac80211: add first brcmfmac patches for 14e4:4365 BCM4366 supportRafał Miłecki2016-02-067-0/+381
| | | | | | | | | It's not really supported yet as it still fails with: brcmfmac: brcmf_pcie_download_fw_nvram: FW failed to initialize Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48640
* mac80211: add A-MSDU tx supportFelix Fietkau2016-02-051-0/+284
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48637
* mac80211: parse legacy and HT rates in monitor mode injected framesFelix Fietkau2016-02-051-0/+155
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48636
* mac80211: add performance improvements for A-MSDU rxFelix Fietkau2016-02-043-0/+380
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48630
* mac80211: backport skb_free_frag and napi_alloc_fragFelix Fietkau2016-01-312-0/+41
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48582
* mac80211: fix an out of bounds access issue in minstrel_htFelix Fietkau2016-01-291-0/+45
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48550
* mac80211: merge a bunch of pending fixesFelix Fietkau2016-01-285-0/+294
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48536
* kernel: backport bcma stuff sent for 4.6Rafał Miłecki2016-01-221-0/+17
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48449
* ath9k: allow multiple virtual interfaces on DFS channelsFelix Fietkau2016-01-224-4/+59
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48448
* ath9k: ignore EEPROM mismatch on flash based devices (fixes #21611)Felix Fietkau2016-01-211-0/+38
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48438
* mac80211: update to wireless-testing 2016-01-10Felix Fietkau2016-01-1570-364/+581
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48247