forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Main nss #177
Merged
Merged
Main nss #177
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…g APK Currently, when you install a package that ships uci-defaults scripts they are not getting executed during package installation. For example, if you install a new LuCI theme it ships a uci-defaults script to add it to the UCI LuCI config so the theme is actually selectable but that does not happen until the device is rebooted so that uci-defaults script is actually executed. It turns out that the recipe for post-install is the issue since it will include contents of postinst-pkg before the call to default_postinist. This is an issue since postinst-pkg will exit with code 0 before we ever reach the call to default_postinist. So, lets simply make the call to default_postinist before postinst-pkg inclusion which is what OPKG based installation does. The same issue affects pre-deinstall script but its not actually being hit since we dont seem to be actually even generating prerm-pkg scripts but lets fix this theoretical issue as well. Fixes: openwrt#16987 Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17023 Signed-off-by: Robert Marko <[email protected]>
Currently, postrm scripts are not being executed when package is removed with APK since they are not being included at all. So, lets use APK-s support for post-deinstall scripts and ship our postrm scripts if packages define them. Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17023 Signed-off-by: Robert Marko <[email protected]>
Add anchor to name search so that we don't inadvertently filter out packages containing, say, "kernel-" as part of their name. Fixes: openwrt/packages#25372 Signed-off-by: Eric Fahlgren <[email protected]> Link: openwrt#17032 Signed-off-by: Robert Marko <[email protected]>
Popular bpi-r3 pwm fans like this one https://www.amazon.com/youyeetoo-Barebone-Fan-BPI-R3-Integrated/dp/B0CCCTY8PS will not work properly with current openwrt-23.05/24.10 firmware. Trying different pwm setting echo $value > /sys/devices/platform/pwm-fan/hwmon/hwmon1/pwm1 I found: pwm1 value fan rotation speed cpu temperature notes ----------------------------------------------------------------- 0 maximal 31.5 Celsius too noisy 40 optimal 35.2 Celsius no noise hearable 95 minimal above 95 does not rotate 55.5 Celsius ----------------------------------------------------------------- At the moment we have following cooling levels: cooling-levels = <255 96 0>; for cpu-active-high, cpu-active-medium and cpu-active-low modes correspondingly. Thus only cpu-active-high and cpu-active-low are usable. I think this is wrong. This patch fixes cpu-active-medium settings for bpi-r3 board. PS: I know, the patch is not ideal as it can break pwm fan for some users. There are some peoples that use handmade cooling solutions, but: * discussed cooler is the only 'official' pwm cooler for bpi-r3 available on the market. * most peoples will use passive cooling available on the market or the discussed cooler. * the pwm-fan dts section was added before the official cooler appears on the market. Thus it should not be a lot of harm from this fix. Signed-off-by: Mikhail Kshevetskiy <[email protected]> Link: openwrt#16974 Signed-off-by: Robert Marko <[email protected]>
This reverts commit 3467ea9. I merged it by accident. Signed-off-by: Robert Marko <[email protected]>
Fixup capabilities parsing in iw output. In addition to the normal capabilities iw now also outputs HE MAC, HE PHY and EHT MAC and EHT PHY capabilities. Exclude them in the parsing. The grep returns this with mac80211-hwsim: ``` root@OpenWrt:~# iw phy phy0 info | grep 'Capabilities:' Capabilities: 0x107e HE PHY Capabilities: (0x02bfce0000000000000000): EHT PHY Capabilities: (0x7c0000feffff7f01): HE PHY Capabilities: (0x02bfce0000000000000000): EHT PHY Capabilities: (0x7c0000feffff7f01): HE PHY Capabilities: (0x02bf000000000000000000): Capabilities: 0x107e HE PHY Capabilities: (0x1cbfce0000000000000000): EHT PHY Capabilities: (0xfc1f3ffeffff7f37): HE PHY Capabilities: (0x1cbfce0000000000000000): EHT PHY Capabilities: (0xfc1f3ffeffff7f37): HE PHY Capabilities: (0x1cbf000000000000000000): HE PHY Capabilities: (0x1cbfce0000000000000000): EHT PHY Capabilities: (0xfefffffeffffff7f): HE PHY Capabilities: (0x1cbfce0000000000000000): EHT PHY Capabilities: (0xfefffffeffffff7f): HE PHY Capabilities: (0x1cbf000000000000000000): Capabilities: 0x107e ``` With busybox 1.36.1 the ht_cap_mask variable will be set to -72057598332895361. With busybox 1.37.0 it will be set to -1. Both values are wrong, after this change it will be set to 4222 (0x107E). Link: openwrt#17043 Signed-off-by: Hauke Mehrtens <[email protected]>
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.62 All patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <[email protected]> Link: openwrt#16997 Signed-off-by: Hauke Mehrtens <[email protected]>
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.63 Manually rebased: bcm27xx/patches-6.6/950-0297-staging-vchiq_arm-Add-36-bit-address-support.patch All other patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <[email protected]> Link: openwrt#16997 Signed-off-by: Hauke Mehrtens <[email protected]>
1. Add sdhc clock for MT7620 and MT76x8 SoCs. 2. Fix clock driver warning for RT2880, RT305x and RT3883. Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Shiji Yang <[email protected]> Link: openwrt#17037 Signed-off-by: Hauke Mehrtens <[email protected]>
Commit e52c57b renamed all network ports to match the faceplate of the Gowin 1U Rack Mount Server and added the br-lan bridge for the eth* ports. This commit adds the PoE port to the br-lan bridge and a br-wan bridge for the two SFP ports so that all ports are part of the default network configuration. Signed-off-by: Til Kaiser <[email protected]> Link: openwrt#16965 Signed-off-by: Hauke Mehrtens <[email protected]>
All new routers are shipped with ubi size 112MB since early September. Bootloader update required (ask vendor , see wiki) These partitions weren't used: firmware_backup zrsave config2 Signed-off-by: Romanov Danila <[email protected]> Link: openwrt#16686 Signed-off-by: Hauke Mehrtens <[email protected]>
Add a generic template include/optee-os.mk to build OP-TEE. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
Add OP-TEE for stm32 boards, with the first being STM32MP135F-DK. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
Add U-Boot for stm32 boards, with the first being STM32MP135F-DK. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
Add ATF for stm32 boards, with the first being STM32MP135F-DK. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
All stm32 devices use BCM43430 Wi-Fi interface in SDIO mode. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
This package contains firmwares provided by Murata. See https://community.murata.com/. Murata firmwares are used by wifi chip on stm32 boards. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
This package contains nvram files for Murata's Wi-Fi/Bluetooth modules. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
It is needed for the stm32/stm32mp1 subtarget. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
It is needed for the stm32/stm32mp1 subtarget. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
It is needed for the stm32/stm32mp1 subtarget. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
It is needed for the stm32/stm32mp1 subtarget. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
It is needed for the stm32/stm32mp1 subtarget. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
It is needed for the stm32/stm32mp1 subtarget. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
The snd-usb-audio drivers uses media controller if media controller is set. So add kmod-media-controller as dependency. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
These packages are needed for the stm32/stm32mp1 subtarget. Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
New stm32 target introduces support for stm32mp1 based devices. For now it includes an initial support of the STM32MP135F-DK device. The specifications bellow only list supported features. Specifications -------------- SOC: STM32MP135FAF7 RAM: 512 MiB Storage: SD Card Ethernet: 2x 100 Mbps Wireless: 2.4GHz Cypress CYW43455 (802.11b/g/n) LEDs: Heartbeat (Blue) Buttons: 1x Reset, 1x User (USER2) USB: 4x 2.0 Type-A Signed-off-by: Thomas Richard <[email protected]> Link: openwrt#16716 Signed-off-by: Hauke Mehrtens <[email protected]>
Netatalk v4 reintroduces AppleTalk and this module is required for layer 3 protocol support. Module was removed in kernel 4.14 for OpenWrt 18.06 (commmit 14a0131, 22/02/2018). At the time nothing used it as Netatalk v3 did not support AppleTalk. Not building ipddp feature/module like it was in the past, as recommended by upstream Netatalk maintainers. Signed-off-by: Antonio Pastor <[email protected]> Link: openwrt#16979 Signed-off-by: Hauke Mehrtens <[email protected]>
small change. Signed-off-by: Rosen Penev <[email protected]> Link: openwrt#16913 Signed-off-by: Hauke Mehrtens <[email protected]>
It's common to avoid calling mutex_destroy when done. It's not correct strictly speaking. Signed-off-by: Rosen Penev <[email protected]> Link: openwrt#16753 Signed-off-by: Hauke Mehrtens <[email protected]>
Rather than pollute `qca-nss-ecm` with logic specific to ath11k, move into its own hotplug script managed by mac80211. Also enforce `qca-nss-ecm` dependency. Signed-off-by: Sean Khan <[email protected]>
Improve NSS event callback ihandling for better clarity and type safety This patch modifies ath11k_nss_wifili_event_receive to take a context parameter , enhancing code clarity by explicitly passing the ath11k_base. A wrapper function, ath11k_nss_wifili_ext_callback_wrapper, retrieves the ath11k_base from the net_device's private data, ensuring correct context handling. Signed-off-by: Sean Khan <[email protected]>
Signed-off-by: Sean Khan <[email protected]>
The firmware for 'ct' does not support ethernet frames, which is required for partial offload with mac80211 Signed-off-by: Sean Khan <[email protected]>
Mistakenly edited the patch by hand thinking I had incorrectly imported it from @bs. Original patch was throwing ``` peer.c:572:1: error: label at end of compound statement is a C23 extension ``` Moved spin_unlocks into exit as that's what it would have been doing anyways. Signed-off-by: Sean Khan <[email protected]>
Initial README for the example scripts/configs. Right now it's only for VLAN setup. Signed-off-by: Sean Khan <[email protected]>
Rebased against upstream commit 87033 mac80211: improve single-wiphy multi-radio support Signed-off-by: Sean Khan <[email protected]>
* 802.11 k/v/r now fully works in sae-mixed mode. So we can now switch from psk2 (WPA2) to WPA2/WPA3 mixed mode. * Clean up uncessary configs * Remove WDS example as it's not applicable in this example Signed-off-by: Sean Khan <[email protected]>
Change "GRO FRAG" to "Interface" to account for additional information of other interface features (i.e. tx-checksumming) Signed-off-by: Sean Khan <[email protected]>
- fix issue #15: minor config mistake in the new nss setup vlan readme guide - fix formatting of primary subsection displaying too large. Signed-off-by: Sean Khan <[email protected]>
Signed-off-by: Sean Khan <[email protected]> (cherry picked from commit 8efd9fedbff95990ffe192f504491fe63e9a7d55)
There is a null pointer bug caused by inconsistent handling of the `ath11k_base` structure. Previously, functions accessing `ar->ab` internally, assumed it was always valid. If `ar->ab` was not properly initialized, this led to null pointer dereferences. This patch resolves the issue by: - Explicitly passing `struct ath11k_base *ab` to functions that require it, instead of relying on `ar->ab`. - Replacing all instances of `ar->ab` with `ab` for direct access. Patch by: Sebastian Gottschall <[email protected]> Signed-off-by: Sean Khan <[email protected]> (cherry picked from commit 1f6f55f9c737ece5e3d8156bbe280f84ea4bd480)
Signed-off-by: Sean Khan <[email protected]>
Signed-off-by: Sean Khan <[email protected]>
Author: Felix Fietkau <[email protected]> AuthorDate: Mon Nov 18 11:21:02 2024 +0100 Commit: Felix Fietkau <[email protected]> CommitDate: Mon Nov 18 11:44:44 2024 +0100 mac80211: backport some upstream fixes Fix various issues, including potential crashes Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: Sean Khan <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks for your contribution to OpenWrt!
To help keep the codebase consistent and readable,
and to help people review your contribution,
we ask you to follow the rules you find in the wiki at this link
https://openwrt.org/submitting-patches
Please remove this message before posting the pull request.