aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
Commit message (Collapse)AuthorAgeFilesLines
* kernel: Remove nvmem hack patch from 5.4Hauke Mehrtens2020-02-281-2/+3
| | | | | | | | | | | | | | The nvmem framework is now used in net/ethernet/eth.c and the nvmem sysfs is split into a separate Kconfig option. More work would be needed to adapt this patch for the broader use. The current patch compiles fine on ath79, but it breaks the x86 target. nvmem is also compiled into the kernel for most of our targets for example ath79 anyway, so patching the kernel to remove it is now harder and not the case on multiple targets anyway. Instead of making this work on kernel 5.4 just remove this hack patch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Remove chash.ko from kmod-drm-amdgpuHauke Mehrtens2020-02-281-1/+1
| | | | | | | | | This module was added with kernel 4.15, but is was removed again with kernel version 5.3. OpenWrt does not support specifying a kernel version range so just break it with kernel 4.14 and only support recent kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Add snd-intel-nhlt.ko to kmod-sound-hda-intelHauke Mehrtens2020-02-281-1/+3
| | | | | | | | With kernel 5.4 kmod-sound-hda-intel also needs snd-intel-nhlt.ko, but this kernel module is only build on x86, make the OpenWrt kmod depend on TARGET_x86. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Make kmod-ixgbe depend on kmod-libphyHauke Mehrtens2020-02-281-1/+1
| | | | | | | With kernel 5.4 kmod-ixgbe is depending on kmod-libphy, add this missing dependency. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* nat46: Fix compile with kernel 5.4Hauke Mehrtens2020-02-281-0/+34
| | | | | | | nf_reset() was renamed to nf_reset_ct() in upstream Linux commit 895b5c9f206e ("netfilter: drop bridge nf reset from nf_reset)" Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Make kmod-rtc-pcf2123 depend on kmod-regmap-spiKoen Vandeputte2020-02-281-0/+1
| | | | | | | In kernel 5.4 kmod-rtc-pcf2123 depends on kmod-regmap-spi, add this missing dependency. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: Make kmod-nft-core depend on kmod-nf-natHauke Mehrtens2020-02-281-1/+1
| | | | | | | In kernel 5.4 kmod-nf-core depends on kmod-nf-nat, add this missing dependency. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Make kmod-fs-f2fs depend on kmod-nls-baseHauke Mehrtens2020-02-281-1/+1
| | | | | | Since kernel 5.4 kmod-fs-f2fs is depending on kmod-nls-base. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Add of_touchscreen.ko to kmod-input-touchscreen-ads7846Hauke Mehrtens2020-02-281-1/+2
| | | | | | | kmod-input-touchscreen-ads7846 depends on of_touchscreen.ko since kernel 5.4. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Remove kmod-gigaset for kernel 5.4Hauke Mehrtens2020-02-281-1/+1
| | | | | | | gigaset was moved to staging in kernel 5.4, just deactivate it on recent kernel versions instead of adapting it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Add roles.ko to kmod-usb-chipideaHauke Mehrtens2020-02-281-1/+2
| | | | | | kmod-usb-chipidea depends on roles.ko since kernel 5.4. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Make kmod-gpio-pca953x depend on kmod-regmap-i2cHauke Mehrtens2020-02-281-1/+1
| | | | | | In kernel 5.4 kmod-gpio-pca953x depends on kmod-regmap-i2c. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: module v4l2-common.ko was removedHauke Mehrtens2020-02-281-1/+1
| | | | | | | The content of v4l2-common.ko was merged into videodev.ko and it was removed in kernel 5.4. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Adapt moved crodic.ko moduleHauke Mehrtens2020-02-281-1/+2
| | | | | | The module was moved in the kernel, adapt OpenWrt. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Add crypto libraries to modulesHauke Mehrtens2020-02-281-3/+8
| | | | | | | | | | In kernel 5.3 and 5.4 some crypto modules were split into two modules, one implementing the crypto algorithm and the other integrating it into the Linux crypto framework. Adapt OpenWrt to support this split. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: mode_beet mode_transport mode_tunnel xfram modulesKoen Vandeputte2020-02-281-9/+6
| | | | | | | | This adds the new xfrm4_mode_beet, xfrm4_mode_transport, xfrm4_mode_tunnel and their IPv6 versions on kernel 5.4. These modules were newly added in kernel 5.2. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* mac80211: enhance wifi reloadJohn Crispin2020-02-251-1/+8
| | | | | | If the reconf call fails force a full restart of the radio. Signed-off-by: John Crispin <john@phrozen.org>
* mt76: update to the latest versionFelix Fietkau2020-02-251-3/+3
| | | | | | | | 0a53dcda5203 mt76: mt7603: add upper limit for dynamic sensitivity minimum receive power 46e63c05f7d1 mt76: mt7603: enable dynamic sensitivity adjustment by default 81476f11b68c mt76: mt7615: fix antenna mask initialization in DBDC mode Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath10k-ct: Use ath10k-ct version 5.4Hauke Mehrtens2020-02-246-2/+643
| | | | | | This makes ath10k-ct use the version based on kernel 5.4 by default. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ath10k-ct: Update to version 2020-02-18Hauke Mehrtens2020-02-243-23/+23
| | | | | | This adds AP VLAN support. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: Allow IBSS mode and different beacon intervalsHauke Mehrtens2020-02-241-0/+29
| | | | | | | | ath10k-ct supports the combination to select IBSS (ADHOC) mode and different beacon intervals together. mac80211 does not like this combination, but Ben says this is ok, so remove this check. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rtl8812au-ct: Update to version 2020-01-12Hauke Mehrtens2020-02-241-3/+3
| | | | | | This fixes compile problems with kernel 5.4 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ltq-vdsl-mei: avoid underscore in package nameSungbo Eo2020-02-231-4/+4
| | | | | | | As 07e1d88d7beb ("kernel: avoid underscore in *6lowpan package names") shows, underscores might cause build failures. Replace underscore with dash. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
* mac80211: backport fix TID field in monitor mode transmitFredrik Olofsson2020-02-221-0/+45
| | | | | | Backport 753ffad3d6243303994227854d951ff5c70fa9e0 as merged in Linux v5.5-rc3. Signed-off-by: Fredrik Olofsson <fredrik.olofsson@anyfinetworks.com>
* kernel: replace SUBDIRS with M in package recipesTomasz Maciej Nowak2020-02-2218-21/+21
| | | | | | | The SUBDIRS variable has been removed in kernel 5.4, and was deprecated since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
* mt76: update to the latest versionFelix Fietkau2020-02-201-3/+3
| | | | | | | | f4415afce213 mt76: mt76u: loop over all possible rx queues in mt76u_rx_tasklet 5b9f949cb760 mt76: mt76u: fix a possible memory leak in mt76u_init fd892bc033fb mt76: mt76u: rely only on data buffer for usb control messagges Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2020-02-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | bd0df1b017a8 mt76: avoid extra RCU synchronization on station removal d5a5e97b67c7 mt76: mt76x2: avoid starting the MAC too early a67e42990d8a mt76: mt7615: fix msdu_id endianness in mt7615_write_hw_txp d3af8bd3c722 mt76: mt7615: set proper length in strncmp 9c43417db17c mt76: mt7615: fix max_nss in mt7615_eeprom_parse_hw_cap 764e1d208a06 mt76: mt7615: fix tx power reporting 1881241c7ee5 mt76: fix rounding issues on converting per-chain and combined txpower fa14e7f33199 mt76: mt7615: rework rx phy index handling a205ce3e3e2d mt76: mt7615: fix ext_phy flag for stations 457a93203690 mt76: mt7615: fix MT_TX_HW_QUEUE_EXT_PHY to deal with mac80211 changes c75cf513c674 mt76: do not set HOST_BROADCAST_PS_BUFFERING for mt7615 cc56c400167c mt76: fix LED link time failure 4dbd56b86970 mt76: mt76x0u: add support to TP-Link T2UHP e226309c4bc4 mt76: mt7615: rely on mt76_queues_read for mt7622 c6a025318075 mt76: mt76u: extend RX scatter gather number dfc24bc504e3 mt76: mt76u: rename stat_wq in wq 2bbffd2cb37b mt76: mt7615: remove rx_mask in mt7615_eeprom_parse_hw_cap f408a2b7566c mt76: Introduce mt76_mcu data structure 17ecf0762542 mt76: mt76x02: fix handling MCU timeouts during hw restart 284e9fd72912 mt76: mt7615: fix monitor injection of beacon frames 8f8e9161b355 mt76: fix array overflow on receiving too many fragments for a packet Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: avoid underscore in *6lowpan package namesEneas U de Queiroz2020-02-192-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Packages kmod-bluetooth_6lowpan and kmod-ieee802154_6lowpan contain an underscore in the package name. This causes problems in package/install because when building a list of package files to install offline using opkg, it uses a wildcard of the form $(dir)/$(pkg)_*.ipk. If you were to select kmod-bluetooth=y, but kmod-bluetooth_6lowpan=m, the latter would be picked up by that wildcard, and make package/install would fail: Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies * for kmod-bluetooth_6lowpan: * kmod-6lowpan * opkg_install_cmd: Cannot install package kmod-bluetooth_6lowpan. Changing the wildcard pattern is not trivial, and there may be other places in the build system making this assumption about the package name format. Using a dash in place of the underscore avoids the issue. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* brcm2708: rename target to bcm27xxAdrian Schmutzler2020-02-143-12/+12
| | | | | | | | | | | | | | | | | This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Despite, since subtargets range from bcm2708 to bcm2711, it seems appropriate to use bcm27xx instead of bcm2708 (again, as already done for BOARDNAME). This also renames the packages brcm2708-userland and brcm2708-gpu-fw. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: rename target to bcm63xxAdrian Schmutzler2020-02-143-5/+5
| | | | | | | | | | This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* brcm47xx: rename target to bcm47xxAdrian Schmutzler2020-02-146-27/+27
| | | | | | | | | | This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* mac80211: expose chanbw support to debugfs for ath9k_htcTomislav Požega2020-02-131-1/+1
| | | | | | | This will ensure the htc suffixed driver also gets created chanbw debugfs entry. Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
* ath10k-ct: update to 2020-01-29Michael Yartys2020-02-1310-41/+41
| | | | | | | | | | | | | | | | | Changes: ath10k-ct: Support better RSSI measurements. When used with recent firmware, these changes allow the driver to query per-chain noise-floor from the radio to better calculate the per-chain RSSI. The per-chain RSSI is then summed to provide the 'combined RSSI'. This gives better per-chain RSSI as well as combined RSSI, especially when running with more than 20Mhz bandwidths. Refresh patches. Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [ipq806x+qca9984,ipq4019+qca9986] Signed-off-by: Michael Yartys <michael.yartys@protonmail.com>
* kernel: move b43 install function to broadcom.mkSungbo Eo2020-02-082-22/+23
| | | | | | | | Most of the broadcom packaging codes were moved to broadcom.mk in commit 7f984dab1c52 ("mac80211: move broadcom packaging code to broadcom.mk"), but b43/install still remained. Move it now. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
* kernel: fix typos in KernelPackage descriptionSungbo Eo2020-02-084-5/+5
| | | | | | | | | | | | Fixes: ed2839ac4190 ("kernel/modules: add kmod-pmbus-zl6100 module") Fixes: bbcb9de93547 ("Add package for gpio rotary encoder") Fixes: 76854589829a ("package/kernel: package kmod-input-matrixkmap") Fixes: 8bfef353850a ("kernel: rename kmod-switch-rtl8366_smi to kmod-switch-rtl8366-smi to avoid underscores in package names") Fixes: f03bf608b151 ("kernel: Add dummy sound driver") Fixes: dda5d9b78643 ("ramips: rename pwm kernel module") Signed-off-by: Sungbo Eo <mans0n@gorani.run>
* mac80211: brcm: backport remaining 5.6 kernel patchesRafał Miłecki2020-02-0610-3/+651
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm2708-gpu-fw: update to latest firmwareÁlvaro Fernández Rojas2020-02-041-15/+15
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm4xxx: fix iwinfo behaviourJohn Crispin2020-02-041-0/+154
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* mt76: update to the latest versionFelix Fietkau2020-02-021-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8f33a1e936fd mt76: mt7615: report firmware log event messages 43db699b1ad8 mt76: mt7615: increment the MAC address of the secondary PHY (DBDC) 161d1c73c62a mt7615: use local MAC address for the second PHY 9453dbe921b9 mt76: set dma-done flag for flushed descriptors 65745c5ac503 mt76: fix handling full tx queues in mt76_dma_tx_queue_skb_raw 14f37f8d86eb mt76: dma: do not write cpu_idx on rx queue reset until after refill 99ce68625473 mt76: mt7603: increase dma mcu rx ring size 62c447e2c75f mt76: enable Airtime Queue Limit support 1c258940d818 mt76: mt7615: report TSF information 2d22ef618712 mt76: mt7615: add per-phy mib statistics 8d690f3bfbc4 mt76: mt7615: add a get_stats() callback b06177ce387c mt76: move dev_irq tracepoint in mt76 module 5ac9889c33f1 mt76: move mac_txdone tracepoint in mt76 module 7801ebd775e3 mt76: mt7615: add tracing support fd877a17cc0a mt76: mt76x2: get rid of leftover target 039471502578 mt76: mt7615: initialize radar specs from host driver b208305e6275 mt76: mt7615: fix endianness in mt7615_mcu_set_eeprom fd1fa6860666 mt76: move WIPHY_FLAG_HAS_CHANNEL_SWITCH in mt76_phy_init c94afbe3d70a mt76: mt7615: remove leftover routine declaration 29fec3a9b0b4 mt76: rely on mac80211 utility routines to compute airtime 2bb518752b3f mt76: mt76x02u: avoid overwrite max_tx_fragments a0f1ff0473b5 mt76: mt76u: check tx_status_data pointer in mt76u_tx_tasklet a5dca118bf40 mt76: mt76u: add mt76u_process_rx_queue utility routine 06caaf0d33b4 mt76: mt76u: add mt76_queue to mt76u_get_next_rx_entry signature cf8e2590e46b mt76: mt76u: add mt76_queue to mt76u_refill_rx signature 0077b30ce2c8 mt76: mt76u: use mt76_queue as mt76u_complete_rx context 06d466b86981 mt76: mt76u: add queue id parameter to mt76u_submit_rx_buffers 580ddd175eee mt76: mt76u: move mcu buffer allocation in mt76x02u drivers acc227e14d95 mt76: mt76u: introduce mt76u_free_rx_queue utility routine aa28404bf287 mt76: mt76u: stop/free all possible rx queues 885fe4a29bb9 mt76: mt76u: add mt76u_alloc_rx_queue utility routine c85dec848303 mt76: mt76u: add queue parameter to mt76u_rx_urb_alloc ca7991699109 mt76: mt76u: resume all rx queue in mt76u_resume_rx e2a39697fb0a mt76: mt76u: introduce mt76u_alloc_mcu_queue utility routine 39fb59ce927b mt76: mt76u: add {read/write}_extended utility routines 8c6cf328eb1f mt76: mt76u: take into account different queue mapping for 7663 e742618fc5ce mt76: mt76u: introduce mt76u_skb_dma_info routine 23b3328e52fe mt76: mt76u: add endpoint to mt76u_bulk_msg signature 82bedb294534 mt76: mt76u: introduce MT_DRV_RX_DMA_HDR flag 2db2bab099d0 firmware: update mt7615 N9 firmware to 20200107155603 60e27689603d firmware: update MT7615 CR4 firmware to 20190121161307 d15a4bbb3f69 mt76: mt7615: add __aligned(4) to txp structs 1c4ff4f2dc7f mt76: mt7615: move mmio related code from pci.c to mmio.c 51b1eb7a4902 mt76: mt7615: split up firmware loading functions f84b590b6454 mt76: mt7615: store N9 firmware version instead of CR4 92bafd4b1bfc mt76: mt7615: fix MT_INT_TX_DONE_ALL definition for MT7622 13a4269a1bfa mt76: mt7615: add dma and tx queue initialization for MT7622 ab94a85efb18 mt76: mt7615: add eeprom support for MT7622 f0b02d8115b0 mt76: mt7615: add calibration free support for MT7622 fd3ae9a342ae mt76: mt7615: disable 5 GHz on MT7622 80d3681b404d mt76: mt7615: implement probing and firmware loading on MT7622 79808e62324e mt76: mt7615: implement DMA support for MT7622 bddcbb25cd0e mt76: mt7615: decrease rx ring size for MT7622 6cd5c381eaee mt76: mt7615: disable DBDC on MT7622 f66b480434e9 mt76: mt7615: add Kconfig entry for MT7622 68f38eea39b5 firmware: add firmware for MT7622 built-in WiFi 7882bbd25c38 mt76: mt7615: fix and rework tx power handling 0f06914acfb4 mt76: mt7615: implement hardware reset support db97358df47e mt76: mt7615: add support for testing hardware reset b9d9f91b1522 mt76: mt7615: fix adding active monitor interfaces fd216cb5b2f9 mt76: mt7615: fix monitor mode on second PHY 269de7c22957 firmware: fix version number for upcoming mt7615 mcu v2 support patches 9f8c6c4a20b4 mt76: mt7615: simplify mcu_set_bmc flow ff32af25f83e mt76: mt7615: simplify mcu_set_sta flow f16433cd7889 mt76: mt7615: add a helper to encapsulate sta_rec operation 77b9d8586307 mt76: mt7615: add starec operating flow for firmware v2 170b21f9ec78 mt76: mt7615: use new tag sta_rec_wtbl 648ce1aaa493 mt76: mt7615: switch mt7615_mcu_set_tx_ba to v2 format 721673759d82 mt76: mt7615: switch mt7615_mcu_set_rx_ba to v2 format Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: hwmon: package mcp3021 moduleDaniel Golle2020-02-021-0/+15
| | | | | | | Package kernel module for Linear Technology MCP3021/3221 I2C connected current and voltage monitor chips. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mac80211: backport airtime queue limits supportFelix Fietkau2020-01-2910-5/+1864
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: backport fix for an no-ack tx status issueFelix Fietkau2020-01-291-0/+82
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: use older kernel for explicitly setting dependenciesAdrian Schmutzler2020-01-2610-13/+13
| | | | | | | | | | | | It is generally more desirable to use older kernel versions for dependencies, as this will require less changes when newer kernels are added (they will by default select the newer packages). Since we currently only have two kernels (4.14 and 4.19) in master, this patch applies this logic by converting all LINUX_4_19 symbols to their inverted LINUX_4_14 equivalents. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* lantiq: ltq-ptm: vr9: fix skb handling in ptm_hard_start_xmit()Martin Schiller2020-01-262-1/+4
| | | | | | | | | | Call skb_orphan(skb) to call the owner's destructor function and make the skb unowned. This is necessary to prevent sk_wmem_alloc of a socket from overflowing, which leads to ENOBUFS errors on application level. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
* mac80211: add support for wds_bridge hostapd featureDaniel Golle2020-01-221-2/+6
| | | | | | | | | | | | | hostapd allows putting WDS (4addr mode) clients into a separate bridge other than the bridge regular (3addr mode) clients end up in. This is useful for example giving WDS clients access to several VLANs (trunking) while regular clients will end up inside a specific VLAN. Add 'wds_bridge' config parameter for wifi-iface which contains the name of the bridge. hostapd-mini already supports this feature, so all needed is to add the UCI wrapping in mac80211.sh. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: add SFP support for Methode DM7052 NBASE-T moduleRussell King2020-01-211-0/+17
| | | | | | | | | | Add support for Methode DM7052 NBASE-T module to OpenWRT. These patches are taken from my "phy" branch, and will be sent for the next kernel merge window. Signed-off-by: Russell King <linux@armlinux.org.uk> [jonas.gorski: move patches to pending, refresh patches] Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* kernel: remove further obsolete kernel version switchesSungbo Eo2020-01-181-4/+1
| | | | | | | | Most of the kernel version switches below 4.14 were removed in commit 97940f876616 ("kernel: remove obsolete kernel version switches"), but some of them still remained. Remove them now. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
* mac80211: ath9k: add GPIO mask dts propertyMichal Cieslakiewicz2020-01-151-0/+25
| | | | | | | | | | | | | | | This patch adds 'qca,gpio-mask=<u32>' device tree property to ath9k node. This optional setting is a hack and should only be used in very special (and rare) cases when a button or LED is wired to a GPIO pin normally masked out (due to being one-way etc). Netgear WNDR4300 v2 is one such example - it uses GPI9 for RFKILL. See ath9k/reg.h *_GPIO_MASK constants. Use with caution and expect to see stream of kernel warnings if wrong mask value is provided. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
* cryptodev-linux: remove DEFAULT redefinitionEneas U de Queiroz2020-01-151-1/+0
| | | | | | | | The 'DEFAULT:=m if ALL' line prevents the phase1 buildbots from building the package, and users from downloading it, since they use 'ALL_KMODS=y' but 'ALL' is not set. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* mac80211: fix MAC address allocations if the local bit is set on the base addrFelix Fietkau2020-01-151-1/+1
| | | | | | | If it's set, don't subtract 1 from the interface index encoded into the first byte of the address Signed-off-by: Felix Fietkau <nbd@nbd.name>