aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mediatek: fill wlan device entries in board.json on mt7622Felix Fietkau2022-10-141-0/+12
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: use board.json provided phy names in generated default configFelix Fietkau2022-10-141-51/+62
| | | | | | The phy will be automatically renamed on setup Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: change the default config for a renamed wiphyFelix Fietkau2022-10-141-21/+28
| | | | | | use option phy to reference the device instead of path/macaddr Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix detecting highest radio* config section indexFelix Fietkau2022-10-141-5/+10
| | | | | | Deal with gaps by iterating over existing sections instead of counting Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: rename phy according to board.json entries on bringupFelix Fietkau2022-10-141-3/+65
| | | | | | | This allows phy names specified in board.json to be used directly instead of the path option Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: change default ifname to <phy>-<type><index>Felix Fietkau2022-10-141-2/+17
| | | | | | | | This makes it clear, which phy a wlan device belongs to and also helps with telling them apart by including the mode in the ifname. Preparation for automatically renaming PHYs Signed-off-by: Felix Fietkau <nbd@nbd.name>
* base-files: add helper functions for adding wlan device entries to board.jsonFelix Fietkau2022-10-142-0/+19
| | | | | | | | | | | These will be used to give WLAN PHYs a specific name based on path specified in board.json. The platform board.d script can assign a specific order based on available slots (PCIe slots, WMAC device) and device tree configuration. This helps with maintaining config compatibility in case the device path changes due to kernel upgrades. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libubox: update to the latest versionFelix Fietkau2022-10-141-3/+3
| | | | | | ea56013409d5 jshn.sh: add json_add_fields function for adding multiple fields at once Signed-off-by: Felix Fietkau <nbd@nbd.name>
* iwinfo: update to the latest versionFelix Fietkau2022-10-141-3/+3
| | | | | | 0496c722f1d7 nl80211: fix issues with renamed wiphy and multiple phy per device Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix typo in netifd scriptFelix Fietkau2022-10-131-1/+1
| | | | | | Reported-by: Chad Monroe <chad.monroe@smartrg.com> Fixes: 590eaaeed59a ("mac80211: fix issues in HE capabilities") Signed-off-by: Felix Fietkau <nbd@nbd.name>
* airoha: fix imagebuilder generation by introducing generic targetNick Hainke2022-10-131-0/+1
| | | | | | | | | | | | | | | The generic imagebuilder does not have a generic in the name, although this is the default naming scheme. Apply the same fix as for the octeon target. Thanks to @dangowrt for reporting that the same issues applies also for the airoha target. Before the fix: openwrt-imagebuilder-airoha.Linux-x86_64.tar.xz After: openwrt-imagebuilder-airoha-generic.Linux-x86_64.tar.xz Signed-off-by: Nick Hainke <vincent@systemli.org>
* hostapd: add measurement report value for beacon reportsNick Hainke2022-10-131-0/+1
| | | | | | | | | | | | | | | | | Add the measurement report value to the beacon reports send via ubus. It is possible to derive from the measurement report if a station refused to do a beacon report and why. It is important to know why a station refuses to do a beacon-report. In particular, we should not request a beacon report from a station again that refused a beacon-report before. The rejection reasons can be found by looking at the bits defined by: - MEASUREMENT_REPORT_MODE_ACCEPT - MEASUREMENT_REPORT_MODE_REJECT_LATE - MEASUREMENT_REPORT_MODE_REJECT_INCAPABLE - MEASUREMENT_REPORT_MODE_REJECT_REFUSED Suggested-by: Ian Clowes <clowes_ian@hotmail.com> Signed-off-by: Nick Hainke <vincent@systemli.org>
* bcm53xx: linksys ea6500-v2: extend RAM to full 256MBAleksey Nasibulin2022-10-132-0/+64
| | | | | | | | | Linksys ea6500-v2 have 256MB of ram. Currently we only use 128MB. Expand the definition to use all the available RAM. Signed-off-by: Aleksey Nasibulin <alealexpro100@ya.ru> [ wrap to 80 columns ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: backport gnu11 upgradeOlliver Schinagl2022-10-136-0/+367
| | | | | | | | | | | Upstream has switched to gnu11 not too long ago. One advantage of backporting this to these older kernels is, that we can encourage and write better upstreamable kernels. E.g. the kernel devs prefer loop declarations. Shrinking the master/local gap will be useful in these cases. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Acked-by: Christian Marangi <ansuelsmth@gmail.com>
* build: image: use printf for ModelNameLimit16Huangbin Zhan2022-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix syntax error on macos, for substr is undefined results according to the POSIX standard. From expr on macos: According to the POSIX standard, the use of string arguments length, substr, index, or match produces undefined results. In this version of expr, these arguments are treated just as their respective string values. By a simple test Makefile: define ModelNameLimit16 $(shell expr substr "$(word 2, $(subst _, ,$(1)))" 1 16) endef define ModelNameLimit16_2 $(shell printf %.16s "$(word 2, $(subst _, ,$(1)))") endef hello: echo $(call ModelNameLimit16, technicolor_tg582n-telecom-italia) echo $(call ModelNameLimit16_2, technicolor_tg582n-telecom-italia) The same output is produced. echo tg582n-telecom-i tg582n-telecom-i echo tg582n-telecom-i tg582n-telecom-i Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com> [ wrap commit description to 80 columns and improve it ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* mac80211: add patch that gives the driver more control over netdev offloadsFelix Fietkau2022-10-131-0/+513
| | | | | | This can be used to selectively disable checksum, SG or GSO offloads Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: backport security fixesFelix Fietkau2022-10-1316-3/+2059
| | | | | | | | | | | This mainly affects scanning and beacon parsing, especially with MBSSID enabled Fixes: CVE-2022-41674 Fixes: CVE-2022-42719 Fixes: CVE-2022-42720 Fixes: CVE-2022-42721 Fixes: CVE-2022-42722 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix issues in HE capabilitiesFelix Fietkau2022-10-131-10/+22
| | | | | | | | | | | Enable HE SU beamformee by default Fix spatial reuse configuration: - he_spr_sr_control is not a bool for enabling, it contains multiple bits which disable features that should be disabled by default - one of the features (PSR) can be enabled through he_spr_psr_enabled - add option to disable bss color / spatial reuse Signed-off-by: Felix Fietkau <nbd@nbd.name>
* CI: labeler: target major version of labeler actionChristian Marangi2022-10-121-1/+1
| | | | | | | Target major version of labeler to include minor fixes and use always the latest major version with included fixes. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* CI: bump actions/download,upload-artifact action to v3Christian Marangi2022-10-122-7/+7
| | | | | | | Bump actions/download,upload-artifact action to v3 on every workflow to mute node deprecation warning. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* CI: bump actions/checkout action to v3Christian Marangi2022-10-123-10/+10
| | | | | | | Bump actions/checkout action to v3 on every workflow to mute node deprecation warning. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq40xx: Fix wrong GPIO for internal status LED on ZTE MF289FGiammarco Marzano2022-10-121-1/+1
| | | | | | | | Change GPIO from 10 to 35 to make it works as expected Fixes: 0de6a3339f1a ("ipq40xx: Add ZTE MF289F") Signed-off-by: Giammarco Marzano <stich86@gmail.com> Reviewed-by: Robert Marko <robimarko@gmail.com>
* ipq806x: switch to 5.15 kernel by defaultChristian Marangi2022-10-111-2/+1
| | | | | | | Switch to 5.15 kernel by default to promote more wider testing and use better upstream patch. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: add clk krait fixes/improvement patchChristian Marangi2022-10-112-0/+198
| | | | | | Add various krait fixes patch that correctly bringup mux and cpu clocks. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: enable again usb node for each deviceChristian Marangi2022-10-1121-15/+343
| | | | | | | Usb node now are disabled by default in dtsi. Enable again them in each device dts. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: add krait-cc modernization patch and fixupChristian Marangi2022-10-1110-8/+760
| | | | | | | | Add multiple patch for krait-cc modernization and multiple fixup for the driver. Also modify a patch to enable the qsb fixed clock and add pxo to krait-cc node. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: add krait clock modernization patchChristian Marangi2022-10-115-0/+282
| | | | | | Backport krait clock modernization patch. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: backport qcom clk fixes for krait and hfpllChristian Marangi2022-10-112-0/+127
| | | | | | Backport some qcom clock fixes for krait and hfpll driver. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: renumber tsens patch with new orderChristian Marangi2022-10-112-0/+0
| | | | | | Renumber tsens patch with new order for consistency. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: enable new devfreq scaling driver in configChristian Marangi2022-10-111-1/+3
| | | | | | Enable new devfreq scaling driver in kernel config. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: rework nand_pins for wg2600hp3 dtsChristian Marangi2022-10-111-2/+0
| | | | | | | nand_pins definition is now shipped in ipq8064 dtsi. Rework the nand_pins definition for wg2600hp3 5.15 files. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: add boot-partitions binding to fix block warningChristian Marangi2022-10-1110-8/+12
| | | | | | | | | | | | | | The patch has changed implementation and now the binding has changed. Replace the old binding with boot-partitions and reimplement the definition with the new definition. The new definition is: <offset1 size1 offset2 size2 offset3 ...> and now supports sparsed patch. Also add missing binding in some dts and add the backup boot partition to the boot-partitions list. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: remove useless spm patchChristian Marangi2022-10-111-10/+0
| | | | | | | Remove useless spm patch as using the normal qcom,spm compatible is enough to register it with no clks. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: replace nandc patch with upstream versionChristian Marangi2022-10-114-281/+674
| | | | | | Replace nandc fix patch with upstream version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: replace fab scaling patch with devfreq driverChristian Marangi2022-10-113-243/+251
| | | | | | Replace fab scaling patch with devfreq driver. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: add new version of cache cpu scaling driverChristian Marangi2022-10-115-1001/+292
| | | | | | | Use a new implementation by using a devfreq driver to scale the shared cache of the krait cpu cores. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: backport devfreq new cpufreq based PASSIVE governorChristian Marangi2022-10-1110-0/+1399
| | | | | | | Backport devfreq new cpufreq based PASSIVE governor needed for devfreq based fab and cache scaling. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: replace stmmac pcs fix with upstream versionChristian Marangi2022-10-113-83/+261
| | | | | | Replace stmmac pcs fix with upstream version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: replace gcc fixes with upstream versionChristian Marangi2022-10-1113-272/+1761
| | | | | | Replace gcc patch fixes with upstream version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: replace lcc patch with upstream versionChristian Marangi2022-10-114-59/+294
| | | | | | Replace lcc patch with proposed upstream version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: replace dtsi patches with upstream versionChristian Marangi2022-10-1148-1179/+1618
| | | | | | | | | Reorganize dtsi patches with upstream version and drop dtsi in 5.15 files. Also add an additional upstream patch for hwspinlock support. Refresh all the dts with needed changes. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: remove PCI_DOMAINS patch not needed anymoreChristian Marangi2022-10-111-29/+0
| | | | | | | This doesn't cause any panic anymore and no regression are observed with ath10k. Remove this additional patch. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: remove qcom adm Documentation patchChristian Marangi2022-10-111-71/+0
| | | | | | | Remove qcom adm Documentation patch that is not needed for the target. Probably a leftover when the adm bus was added, now merged upstream. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: split files dir to 5.10 and 5.15Christian Marangi2022-10-1164-0/+8525
| | | | | | | In preparation for a cleanup of 5.15 patches copy the files dir to 5.10 and 5.15 kernel version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* CI: kernel: generate ccache cache on kernel pushChristian Marangi2022-10-111-0/+6
| | | | | | | | | | | To actually use ccache cache on kernel test from pr, the kernel workflow has to be run first from a push action. This will permit as a side effect to test merged commits and catch commit that may cause regression in kernel compilation even outside the github system. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* uboot-mediatek: fixes defconfig typo for UniFi 6 LRChukun Pan2022-10-111-1/+1
| | | | | | | CONFIG_CMD_MTDPART does not exist, fix it. Fixes: e9ad412 ("uboot-mediatek: add build for Ubiquiti Networks UniFi 6 LR") Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* uboot-mediatek: fixes defconfig typo for Linksys E8450Chukun Pan2022-10-111-1/+1
| | | | | | | CONFIG_CMD_MTDPART does not exist, fix it. Fixes: ed50004 ("uboot-mediatek: add support for Linksys E8450") Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* lantiq: dts: vr9: Add missing properties to the CPU port on the switchMartin Blumenstingl2022-10-101-0/+6
| | | | | | | | | | | | | | | | The CPU port should define the phy-mode and and a PHY phandle or fixed-link to indicate how the CPU port is connected to the SoC's Ethernet controller. On xRX200 this is all internal connection, so use phy-mode = "internal" along with a fixed-link that matches the definition inside &eth0. Linux 6.0 shows a warning since upstream commit e09e9873152e3f ("net: dsa: make phylink-related OF properties mandatory on DSA and CPU ports"). when these properties are missing. Adding the properties before OpenWrt is updated to Linux 6.0 is harmless. Suggested-by: Martin Schiller <ms@dev.tdt.de> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* libnl-tiny: update to the latest versionChukun Pan2022-10-091-3/+3
| | | | | | | | | | c42d890 build static library 28c44ca genl_family: explicitly null terminate strncpy destination buffer This fixes the compilation with gcc 12. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* ramips: use lzma-loader on JCG Q20Du Cai2022-10-091-0/+1
| | | | | | Fixes the LZMA uncompression issue on JCG Q20. Signed-off-by: Du Cai <caidu@smail.nju.edu.cn>