Permalink
Browse files

mac80211: update to wireless-testing 2015-03-09

Based on patch by Bryan Forbes <bryan@reigndropsfall.net>

Also update mt76 to update for API changes

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44655 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information...
Felix Fietkau
Felix Fietkau committed Mar 11, 2015
1 parent 61cd5ce commit 9f5dba18e9a1a3716dd805702195521d32e385ca
Showing with 2,768 additions and 2,977 deletions.
  1. +2 −2 package/kernel/mac80211/Makefile
  2. +5 −7 package/kernel/mac80211/patches/000-fix_kconfig.patch
  3. +4 −4 package/kernel/mac80211/patches/001-fix_build.patch
  4. +8 −8 package/kernel/mac80211/patches/003-remove_bogus_modparams.patch
  5. +10 −0 package/kernel/mac80211/patches/004-backports_debugfs_fix.patch
  6. +1 −1 package/kernel/mac80211/patches/008-fix_netdev_unregister.patch
  7. +1 −1 package/kernel/mac80211/patches/030-rt2x00_options.patch
  8. +3 −3 package/kernel/mac80211/patches/050-lib80211_option.patch
  9. +21 −23 package/kernel/mac80211/patches/060-no_local_ssb_bcma.patch
  10. +2 −2 package/kernel/mac80211/patches/081-backport-devm_kmemdup.patch
  11. +3 −3 package/kernel/mac80211/patches/082-backport-list_last_entry.patch
  12. +0 −318 package/kernel/mac80211/patches/085-bcma-from-4.1.patch
  13. +2,055 −0 package/kernel/mac80211/patches/100-revert-cryptoapi-ports.patch
  14. +0 −347 package/kernel/mac80211/patches/100-revert_aes_ccm_port.patch
  15. +1 −1 package/kernel/mac80211/patches/110-mac80211_keep_keys_on_stop_ap.patch
  16. +5 −5 package/kernel/mac80211/patches/150-disable_addr_notifier.patch
  17. +1 −1 package/kernel/mac80211/patches/210-ap_scan.patch
  18. +0 −395 package/kernel/mac80211/patches/300-Revert-ath5k-Remove-AHB-bus-support.patch
  19. +171 −99 ...e-software-queue-implemen.patch → 300-mac80211-add-an-intermediate-software-queue-implemen.patch}
  20. +0 −37 package/kernel/mac80211/patches/301-ath5k-fix-AHB-kconfig-dependency.patch
  21. +125 −0 package/kernel/mac80211/patches/301-mac80211-lock-rate-control.patch
  22. +0 −118 package/kernel/mac80211/patches/302-ath9k-add-support-for-reporting-tx-power-to-mac80211.patch
  23. +21 −0 package/kernel/mac80211/patches/302-ath9k-restart-only-triggering-DFS-detector-line.patch
  24. +0 −20 package/kernel/mac80211/patches/303-ath10k-add-SURVEY_INFO_IN_USE-for-current-channel-on.patch
  25. +76 −0 package/kernel/mac80211/patches/303-ath9k-add-DFS-support-for-extension-channel.patch
  26. +0 −61 package/kernel/mac80211/patches/304-ath9k-Fix-RTC_DERIVED_CLK-usage.patch
  27. +19 −0 package/kernel/mac80211/patches/304-ath9k-allow-40MHz-radar-detection-width.patch
  28. +4 −12 ...kernel/mac80211/patches/{331-ath5k-channel-change-fix.patch → 305-ath5k-channel-change-fix.patch}
  29. +0 −38 package/kernel/mac80211/patches/305-b43-fix-NULL-pointer-dereference-in-b43_phy_copy.patch
  30. +4 −12 package/kernel/mac80211/patches/{332-ath5k-fix-reset-race.patch → 306-ath5k-fix-reset-race.patch}
  31. +0 −33 package/kernel/mac80211/patches/306-ath9k-fix-misc-debugfs-when-not-using-chan-context.patch
  32. +0 −70 package/kernel/mac80211/patches/307-ath9k-fix-regression-in-bssidmask-calculation.patch
  33. +0 −95 package/kernel/mac80211/patches/308-rt2x00-do-not-align-payload-on-modern-H-W.patch
  34. +0 −38 package/kernel/mac80211/patches/309-ath9k-prevent-early-IRQs-from-accessing-hardware.patch
  35. +0 −29 package/kernel/mac80211/patches/310-ath9k-set-ATH_OP_INVALID-before-disabling-hardware.patch
  36. +0 −61 package/kernel/mac80211/patches/311-ath9k-do-not-access-hardware-on-IRQs-during-reset.patch
  37. +0 −22 package/kernel/mac80211/patches/312-mac80211-skip-legacy-rate-mask-handling-for-VHT-rate.patch
  38. +0 −33 package/kernel/mac80211/patches/313-mac80211-minstrel_ht-add-a-small-optimization-to-min.patch
  39. +0 −33 package/kernel/mac80211/patches/314-mac80211-minstrel_ht-move-aggregation-check-to-.get_.patch
  40. +0 −43 package/kernel/mac80211/patches/315-mac80211-add-tx_status_noskb-to-rate_control_ops.patch
  41. +0 −31 package/kernel/mac80211/patches/316-mac80211-minstrel-switch-to-.tx_status_noskb.patch
  42. +0 −41 package/kernel/mac80211/patches/317-mac80211-minstrel_ht-switch-to-.tx_status_noskb.patch
  43. +0 −219 package/kernel/mac80211/patches/318-mac80211-add-ieee80211_tx_status_noskb.patch
  44. +0 −47 package/kernel/mac80211/patches/319-mac80211-minstrel_ht-fix-a-crash-in-rate-sorting.patch
  45. +0 −92 package/kernel/mac80211/patches/320-mac80211-notify-drivers-on-sta-rate-table-changes.patch
  46. +0 −34 package/kernel/mac80211/patches/322-mac80211-add-more-missing-checks-for-VHT-tx-rates.patch
  47. +0 −82 package/kernel/mac80211/patches/323-mac80211-copy-chandef-from-AP-vif-to-VLANs.patch
  48. +0 −31 package/kernel/mac80211/patches/324-ath9k_hw-fix-hardware-queue-allocation.patch
  49. +0 −24 package/kernel/mac80211/patches/325-ath9k-fix-BE-BK-queue-order.patch
  50. +0 −29 package/kernel/mac80211/patches/326-ath5k-fix-hardware-queue-index-assignment.patch
  51. +0 −30 package/kernel/mac80211/patches/327-ath10k-fix-low-TX-rates-when-IBSS-and-HT.patch
  52. +0 −26 package/kernel/mac80211/patches/328-ath10k-send-re-assoc-peer-command-when-NSS-changed.patch
  53. +0 −53 package/kernel/mac80211/patches/329-ath9k-fix-race-condition-in-irq-processing-during-ha.patch
  54. +0 −45 package/kernel/mac80211/patches/330-ath5k-fix-spontaneus-AR5312-freezes.patch
  55. +1 −1 package/kernel/mac80211/patches/400-ath_move_debug_code.patch
  56. +3 −3 package/kernel/mac80211/patches/401-ath9k_blink_default.patch
  57. +1 −1 package/kernel/mac80211/patches/402-ath_regd_optional.patch
  58. +2 −2 package/kernel/mac80211/patches/404-regd_no_assoc_hints.patch
  59. +1 −1 package/kernel/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch
  60. +3 −3 package/kernel/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch
  61. +1 −1 package/kernel/mac80211/patches/440-ath5k_channel_bw_debugfs.patch
  62. +7 −7 package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch
  63. +1 −1 package/kernel/mac80211/patches/501-ath9k_ahb_init.patch
  64. +1 −1 package/kernel/mac80211/patches/510-ath9k_intr_mitigation_tweak.patch
  65. +1 −1 package/kernel/mac80211/patches/511-ath9k_reduce_rxbuf.patch
  66. +6 −6 package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch
  67. +3 −3 package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch
  68. +18 −18 package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch
  69. +18 −15 package/kernel/mac80211/patches/530-ath9k_extra_leds.patch
  70. +10 −10 package/kernel/mac80211/patches/542-ath9k_debugfs_diag.patch
  71. +11 −11 package/kernel/mac80211/patches/543-ath9k_entropy_from_adc.patch
  72. +4 −4 package/kernel/mac80211/patches/544-ath9k-ar933x-usb-hang-workaround.patch
  73. +7 −7 package/kernel/mac80211/patches/545-ath9k_ani_ws_detect.patch
  74. +2 −2 package/kernel/mac80211/patches/600-0002-rt2x00-rt2800lib-introduce-RT2800_HAS_HIGH_SHARED_ME.patch
  75. +5 −5 package/kernel/mac80211/patches/600-0003-rt2x00-rt2800-serialize-shared-memory-access.patch
  76. +3 −3 package/kernel/mac80211/patches/600-0005-rt2x00-rt2800lib-add-hw_beacon_count-field-to-struct.patch
  77. +1 −1 package/kernel/mac80211/patches/600-0006-rt2x00-rt2800lib-init-additional-beacon-offset-regis.patch
  78. +1 −1 package/kernel/mac80211/patches/600-0007-rt2x00-rt2800lib-fix-max-supported-beacon-count-for-.patch
  79. +1 −1 package/kernel/mac80211/patches/600-0009-rt2x00-rt2800lib-enable-support-for-RT3883.patch
  80. +2 −2 package/kernel/mac80211/patches/600-0010-rt2x00-rt2800lib-add-rf_vals-for-RF3853.patch
  81. +2 −2 package/kernel/mac80211/patches/600-0011-rt2x00-rt2800lib-enable-VCO-calibration-for-RF3853.patch
  82. +1 −1 package/kernel/mac80211/patches/600-0013-rt2x00-rt2800lib-enable-RF3853-support.patch
  83. +3 −3 package/kernel/mac80211/patches/600-0014-rt2x00-rt2800lib-add-MAC-register-initialization-for.patch
  84. +2 −2 package/kernel/mac80211/patches/600-0016-rt2x00-rt2800lib-add-BBP-register-initialization-for.patch
  85. +2 −2 package/kernel/mac80211/patches/600-0017-rt2x00-rt2800lib-add-RFCSR-initialization-for-RT3883.patch
  86. +1 −1 package/kernel/mac80211/patches/600-0019-rt2x00-rt2800lib-force-rf-type-to-RF3853-on-RT3883.patch
  87. +1 −1 package/kernel/mac80211/patches/600-0022-rt2x00-rt2800lib-use-correct-txpower-calculation-fun.patch
  88. +2 −2 package/kernel/mac80211/patches/600-0023-rt2x00-rt2800lib-hardcode-txmixer-gain-values-to-zer.patch
  89. +1 −1 package/kernel/mac80211/patches/600-0026-rt2x00-rt2800lib-use-correct-beacon-count-for-RT3883.patch
  90. +3 −3 package/kernel/mac80211/patches/600-0029-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch
  91. +3 −3 package/kernel/mac80211/patches/600-0030-rt2x00-rt2800lib-fix-EEPROM-LNA-validation-for-RT388.patch
  92. +1 −1 package/kernel/mac80211/patches/600-0032-rt2x00-rt2800lib-enable-RT2800_HAS_HIGH_SHARED_MEM-f.patch
  93. +3 −3 package/kernel/mac80211/patches/603-rt2x00-introduce-rt2x00eeprom.patch
  94. +1 −1 package/kernel/mac80211/patches/608-add_platform_data_mac_addr.patch
  95. +6 −6 package/kernel/mac80211/patches/610-rt2x00-fix-rt3352-ext-pa.patch
  96. +4 −4 package/kernel/mac80211/patches/611-rt2x00-rf_vals-rt3352-xtal20.patch
  97. +1 −2 package/kernel/mac80211/patches/612-rt2x00-make-wmac-loadable-via-OF-on-rt288x-305x-SoC.patch
  98. +1 −1 package/kernel/mac80211/patches/615-rt2x00-fix_20mhz_clk.patch
  99. +14 −14 package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch
  100. +1 −1 package/kernel/mac80211/patches/619-rt2x00-change-led-polarity-from-OF.patch
  101. +1 −1 package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch
  102. +1 −1 package/kernel/mac80211/patches/700-mwl8k-missing-pci-id-for-WNR854T.patch
  103. +1 −1 package/kernel/mac80211/patches/801-libertas-configure-sysfs-links.patch
  104. +1 −1 package/kernel/mac80211/patches/802-libertas-set-wireless-macaddr.patch
  105. +2 −2 package/kernel/mac80211/patches/805-b43-gpio-mask-module-option.patch
  106. +2 −2 package/kernel/mac80211/patches/810-b43_no_pio.patch
  107. +9 −9 package/kernel/mac80211/patches/820-b43-add-antenna-control.patch
  108. +1 −1 package/kernel/mac80211/patches/845-b43-only-use-gpio-0-1-for-led.patch
  109. +18 −18 package/kernel/mac80211/patches/910-01-add-support-for-mt7620.patch
  110. +14 −8 package/kernel/mac80211/patches/920-ath10k_allow_fallback_to_board_bin_on_empty_otp_stream.patch
  111. +2 −2 package/kernel/mac80211/patches/921-ath10k_init_devices_synchronously.patch
  112. +5 −5 package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch
  113. +2 −2 package/kernel/mt76/Makefile
@@ -10,11 +10,11 @@ include $(INCLUDE_DIR)/kernel.mk

PKG_NAME:=mac80211

PKG_VERSION:=2014-11-04
PKG_VERSION:=2015-03-09
PKG_RELEASE:=1
PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
PKG_BACKPORT_VERSION:=
PKG_MD5SUM:=d0b64853fb78cfd1d6cb639327811e2a
PKG_MD5SUM:=6d4b04e4ce8a1f54dabfb04f4709453c

PKG_SOURCE:=compat-wireless-$(PKG_VERSION)$(PKG_BACKPORT_VERSION).tar.bz2
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/compat-wireless-$(PKG_VERSION)
@@ -1,16 +1,14 @@
--- a/kconf/Makefile
+++ b/kconf/Makefile
@@ -1,10 +1,10 @@
@@ -1,9 +1,9 @@
-CFLAGS=-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
+CFLAGS=-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DKBUILD_NO_NLS

LXDIALOG := lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o

conf: conf.o zconf.tab.o
-mconf: LDFLAGS = -Wl,--add-needed $(shell ./lxdialog/check-lxdialog.sh -ldflags $(CC))
-mconf: CFLAGS += -DCURSES_LOC="<ncurses.h>" -DLOCALE
+mconf: LDFLAGS = $(shell ./lxdialog/check-lxdialog.sh -ldflags $(CC))
+mconf: CFLAGS += -DCURSES_LOC="<ncurses.h>"
mconf: mconf.o zconf.tab.o $(LXDIALOG)
-mconf_CFLAGS := $(shell ./lxdialog/check-lxdialog.sh -ccflags) -DLOCALE
+mconf_CFLAGS := $(shell ./lxdialog/check-lxdialog.sh -ccflags)
mconf_LDFLAGS := $(shell ./lxdialog/check-lxdialog.sh -ldflags $(CC))
mconf: CFLAGS += $(mconf_CFLAGS)

.PHONY: clean
@@ -6,7 +6,7 @@
MAKEFLAGS += --no-print-directory
-SHELL := /bin/bash
+SHELL := /usr/bin/env bash
BACKPORT_PWD := $(shell pwd)
BACKPORT_DIR := $(shell pwd)

KMODDIR ?= updates
@@ -19,6 +19,7 @@ KLIB_BUILD ?= $(KLIB)/build/
@@ -15,7 +15,7 @@
CONFIG_MD5 := $(shell md5sum $(KERNEL_CONFIG) 2>/dev/null | sed 's/\s.*//')
+STAMP_KERNEL_CONFIG := .kernel_config_md5_$(CONFIG_MD5)

export KLIB KLIB_BUILD BACKPORT_PWD KMODDIR KMODPATH_ARG
export KLIB KLIB_BUILD BACKPORT_DIR KMODDIR KMODPATH_ARG

@@ -36,7 +37,8 @@ mrproper:
@rm -f .kernel_config_md5 Kconfig.versions Kconfig.kernel
@@ -64,7 +64,7 @@
- print=0 ;\
- for v in $$kvers ; do \
- if [ "$$print" = "1" ] ; then \
- echo config BACKPORT_KERNEL_$$(echo $$v | tr . _) ;\
- echo config KERNEL_$$(echo $$v | tr . _) ;\
- echo " def_bool y" ;\
- fi ;\
- if [ "$$v" = "$$kver" ] ; then print=1 ; fi ;\
@@ -119,7 +119,7 @@
+ print=0 ;\
+ for v in $$kvers ; do \
+ if [ "$$print" = "1" ] ; then \
+ echo config BACKPORT_KERNEL_$$(echo $$v | tr . _) ;\
+ echo config KERNEL_$$(echo $$v | tr . _) ;\
+ echo " def_bool y" ;\
+ fi ;\
+ if [ "$$v" = "$$kver" ] ; then print=1 ; fi ;\
@@ -1,31 +1,31 @@
--- a/compat/main.c
+++ b/compat/main.c
@@ -20,31 +20,6 @@ MODULE_LICENSE("GPL");
#error "You need a BACKPORTS_VERSION"
#error "You need a CPTCFG_VERSION"
#endif

-static char *backported_kernel_name = BACKPORTED_KERNEL_NAME;
-static char *backported_kernel_name = CPTCFG_KERNEL_NAME;
-
-module_param(backported_kernel_name, charp, 0400);
-MODULE_PARM_DESC(backported_kernel_name,
- "The kernel tree name that was used for this backport (" BACKPORTED_KERNEL_NAME ")");
- "The kernel tree name that was used for this backport (" CPTCFG_KERNEL_NAME ")");
-
-#ifdef BACKPORTS_GIT_TRACKED
-#ifdef BACKPORTS_GIT_TRACKED
-static char *backports_tracker_id = BACKPORTS_GIT_TRACKED;
-module_param(backports_tracker_id, charp, 0400);
-MODULE_PARM_DESC(backports_tracker_id,
- "The version of the tree containing this backport (" BACKPORTS_GIT_TRACKED ")");
-#else
-static char *backported_kernel_version = BACKPORTED_KERNEL_VERSION;
-static char *backports_version = BACKPORTS_VERSION;
-static char *backported_kernel_version = CPTCFG_KERNEL_VERSION;
-static char *backports_version = CPTCFG_VERSION;
-
-module_param(backported_kernel_version, charp, 0400);
-MODULE_PARM_DESC(backported_kernel_version,
- "The kernel version that was used for this backport (" BACKPORTED_KERNEL_VERSION ")");
- "The kernel version that was used for this backport (" CPTCFG_KERNEL_VERSION ")");
-
-module_param(backports_version, charp, 0400);
-MODULE_PARM_DESC(backports_version,
- "The git version of the backports tree used to generate this backport (" BACKPORTS_VERSION ")");
- "The git version of the backports tree used to generate this backport (" CPTCFG_VERSION ")");
-
-#endif
-
@@ -0,0 +1,10 @@
--- a/backport-include/linux/debugfs.h
+++ b/backport-include/linux/debugfs.h
@@ -3,6 +3,7 @@
#include_next <linux/debugfs.h>
#include <linux/version.h>
#include <generated/utsrelease.h>
+#include <linux/device.h>

#if defined(CONFIG_DEBUG_FS)
struct dentry *debugfs_create_devm_seqfile(struct device *dev, const char *name,
@@ -1,6 +1,6 @@
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -1859,6 +1859,13 @@ void ieee80211_remove_interfaces(struct
@@ -1858,6 +1858,13 @@ void ieee80211_remove_interfaces(struct
}
mutex_unlock(&local->iflist_mtx);
unregister_netdevice_many(&unreg_list);
@@ -43,5 +43,5 @@
- tristate
+ tristate "RT2x00 support"
depends on m
select BACKPORT_AVERAGE
select BPAUTO_AVERAGE

@@ -1,15 +1,15 @@
--- a/net/wireless/Kconfig
+++ b/net/wireless/Kconfig
@@ -166,7 +166,7 @@ config CFG80211_WEXT
extensions with cfg80211-based drivers.
@@ -174,7 +174,7 @@ config CFG80211_WEXT_EXPORT
wext compatibility symbols to be exported.

config LIB80211
- tristate
+ tristate "lib80211"
depends on m
default n
help
@@ -176,15 +176,15 @@ config LIB80211
@@ -184,15 +184,15 @@ config LIB80211
Drivers should select this themselves if needed.

config LIB80211_CRYPT_WEP
@@ -1,6 +1,6 @@
--- a/.local-symbols
+++ b/.local-symbols
@@ -423,42 +423,6 @@ USB_CDC_PHONET=
@@ -344,40 +344,3 @@ USB_CDC_PHONET=
USB_IPHETH=
USB_SIERRA_NET=
USB_VL600=
@@ -34,41 +34,27 @@
-BCMA_HOST_PCI=
-BCMA_DRIVER_PCI_HOSTMODE=
-BCMA_HOST_SOC=
-BCMA_DRIVER_PCI=
-BCMA_DRIVER_MIPS=
-BCMA_SFLASH=
-BCMA_NFLASH=
-BCMA_DRIVER_GMAC_CMN=
-BCMA_DRIVER_GPIO=
-BCMA_DEBUG=
NFC=
NFC_DIGITAL=
NFC_NCI=
--- a/Kconfig
+++ b/Kconfig
@@ -33,9 +33,6 @@ source drivers/net/wireless/Kconfig
source drivers/net/ethernet/Kconfig
source drivers/net/usb/Kconfig

-source drivers/ssb/Kconfig
-source drivers/bcma/Kconfig
-
source net/nfc/Kconfig

source drivers/media/Kconfig
--- a/Makefile.kernel
+++ b/Makefile.kernel
@@ -25,8 +25,6 @@ obj-$(CPTCFG_MAC80211) += net/mac80211/
@@ -38,8 +38,6 @@ obj-$(CPTCFG_MAC80211) += net/mac80211/
obj-$(CPTCFG_WLAN) += drivers/net/wireless/
obj-$(CPTCFG_BT) += net/bluetooth/
obj-$(CPTCFG_BT) += drivers/bluetooth/
#obj-$(CPTCFG_BT) += net/bluetooth/
#obj-$(CPTCFG_BT) += drivers/bluetooth/
-obj-$(CPTCFG_SSB) += drivers/ssb/
-obj-$(CPTCFG_BCMA) += drivers/bcma/
obj-$(CPTCFG_ETHERNET) += drivers/net/ethernet/
#obj-$(CPTCFG_ETHERNET) += drivers/net/ethernet/
obj-$(CPTCFG_USB_NET_RNDIS_WLAN) += drivers/net/usb/
obj-$(CPTCFG_NFC) += net/nfc/
#obj-$(CPTCFG_NFC) += net/nfc/
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -2828,7 +2828,7 @@ static struct ssb_device *b43_ssb_gpio_d
@@ -2866,7 +2866,7 @@ static struct ssb_device *b43_ssb_gpio_d
{
struct ssb_bus *bus = dev->dev->sdev->bus;

@@ -77,7 +63,7 @@
return (bus->chipco.dev ? bus->chipco.dev : bus->pcicore.dev);
#else
return bus->chipco.dev;
@@ -4858,7 +4858,7 @@ static int b43_wireless_core_init(struct
@@ -4907,7 +4907,7 @@ static int b43_wireless_core_init(struct
}
if (sprom->boardflags_lo & B43_BFL_XTAL_NOSLOW)
hf |= B43_HF_DSCRQ; /* Disable slowclock requests from ucode. */
@@ -127,3 +113,15 @@
void brcms_led_unregister(struct brcms_info *wl);
int brcms_led_register(struct brcms_info *wl);
#else
--- a/Kconfig.sources
+++ b/Kconfig.sources
@@ -9,9 +9,6 @@ source "$BACKPORT_DIR/drivers/net/wirele
#source "$BACKPORT_DIR/drivers/net/ethernet/Kconfig"
source "$BACKPORT_DIR/drivers/net/usb/Kconfig"

-source "$BACKPORT_DIR/drivers/ssb/Kconfig"
-source "$BACKPORT_DIR/drivers/bcma/Kconfig"
-
#source "$BACKPORT_DIR/net/nfc/Kconfig"

#source "$BACKPORT_DIR/drivers/media/Kconfig"
@@ -1,9 +1,9 @@
--- a/backport-include/linux/device.h
+++ b/backport-include/linux/device.h
@@ -177,4 +177,20 @@ static inline void *devm_kmalloc_array(s
}
@@ -200,4 +200,20 @@ static inline void *devm_kmemdup(struct
#endif


+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0)
+#define devm_kmemdup LINUX_BACKPORT(devm_kmemdup)
+static inline void *devm_kmemdup(struct device *dev, const void *src,
@@ -1,8 +1,8 @@
--- a/backport-include/linux/list.h
+++ b/backport-include/linux/list.h
@@ -73,4 +73,17 @@
list_entry((pos)->member.next, typeof(*(pos)), member)
#endif /* list_next_entry */
@@ -88,4 +88,17 @@
list_entry((ptr)->prev, type, member)
#endif

+#ifndef list_last_entry
+/**
Oops, something went wrong.

0 comments on commit 9f5dba1

Please sign in to comment.