When CONFIG_KERNEL_DYNAMIC_DEBUG is disabled in the build configuration,
several nss packages fail to compile due to unused variable warnings
being treated as errors.
This commit applies patches to fix compilation issues in the following
packages from feed-qca:
- qca-nss-ppe
- qca-nss-gre-mgr
- qca-nss-ppe-clients
- qca-nss-dscpstats
The patches mark debug-only variables with __maybe_unused attribute and
add missing header includes, allowing these packages to compile
successfully regardless of the CONFIG_DYNAMIC_DEBUG setting.
CONFIG_KERNEL_DYNAMIC_DEBUG is also removed from the build configuration
.
Closes: PCF-2135
Closes: PCF-2136
Closes: PCF-2137
Closes: PCF-2138
Signed-off-by: Marvin Lu <marvin.lu@wnc.com.tw>
Currently, the AP update operation is not correctly updating new SSID.
This issue arises because the NL80211_CMD_UPDATE_AP command does not
process its NL80211_ATTR_SSID attribute. Resolve this issue by ensuring
that the SSID is updated if it is provided with the
NL80211_CMD_UPDATE_AP command.
Fixes: PPW-1127
Signed-off-by: Marvin Lu <marvin.lu@wnc.com.tw>
After upgrading to latest-24.10, ingress STP frames (destination MAC
01:80:c2:00:00:00) were missing on Wi-Fi.
Root cause:
The ath12k driver reports some packets with LLC headers (length <
0x0600) as DP_RX_DECAP_TYPE_8023 in the RX descriptor. However, these
packets were not properly handled because the RX_FLAG_8023 flag was not
set. As a result, mac80211 misinterpreted these packets, leading to
dropped STP frames.
Solution:
This patch adds support for DP_RX_DECAP_TYPE_8023 by setting the
RX_FLAG_8023 flag in the RX path. This ensures STP frames and other
IEEE 802.3 packets are correctly processed and received on WiFi
interfaces.
Fixes: PPW-1125
Signed-off-by: Marvin Lu <marvin.lu@wnc.com.tw>
- add support for Quectel RM520N using MHI over PCIe
Add a DTS property to support 16 MSIs for four-slot PCIe.
To support four-slot PCIe, the number of MSI interrupts is changed to 16 for PCIe0 and PCIe1.
Currently 96 MSI interrupts has been used for three slot PCI.
To support four slot PCI, number of MSI has to be split in below order
PCIe0 - 16,
PCIe1 - 16,
PCIe2 - 32,
PCIe3 - 32
Made changes to configure the MSI dynamically based on the DTS
property in PCI node. Based on the number of MSI corresponding
ring mask will be taken for DP grouping.
- Enable CONFIG_PSTORE_RAM
kernelfaults module will retrieve panics and oops form pstore.
64 KiB reserved for ramoops/pstore
- add support for EFR32MG
Enable UART and I/O expander to support ATH13.0 for EFR32MG on the Freedom board.
- add support for LED driver
The I2C multiplexer TCA9548A is connected to the I2C3 bus. The I/O expander TCA6416A is connected to channel 5 of the I2C multiplexer TCA9548A and is controlled by GPIO17/18 for interrupt and reset. The LED driver LP5562 is connected to the I2C3 bus and enabled by GPIO13 of the I/O expander TCA6416A. The LED driver LP5562 controls one RGB LED and one white LED. Set up the system indicator lights.
Signed-off-by: Tim Hsu <tim.hsu@wnc.com.tw>
The builds for Freedom using ATH13.1ED BSP are currently failing with
following error:
bash: line 1: spatch: command not found
This is happening as the mac80211 package is modifying the source code
tree another time to amend the kzalloc/kmalloc usage for memory
debugging use case.
It should be handled with existing tools, it is currently being
addressed internally, but in the meantime we're going to demand
spatch/coccinelle for the build.
References: PCF-2142
Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/11783721716#L9686
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Remove the following unnecessary options from the build configuration:
- CONFIG_BUSYBOX_CONFIG_USLEEP=y
- CONFIG_BUSYBOX_CONFIG_BLOCKDEV=y
- CONFIG_KERNEL_CPU_FREQ_THERMAL=y
- CONFIG_KERNEL_DEBUG_ATOMIC_SLEEP=y
- CONFIG_KERNEL_DEVMEM=y
Signed-off-by: Marvin Lu <marvin.lu@wnc.com.tw>
The Ethernet LAN ports were non-functional, preventing LAN devices from
reaching the Freedom board or accessing the Internet through its LAN
ports.
Updated the Freedom device tree to resolve this issue.
Fixes: PCF-2108
Signed-off-by: Marvin Lu <marvin.lu@wnc.com.tw>
Resolved an issue where a Multi-AP Wi-Fi connection could not be
established between a Multi-AP AP device and a Multi-AP station device
on ATH13.1ED.
This fix incorporates QCA's patch, which addresses the connection
failure and enables successful Multi-AP communication between AP and
station devices.
Fixes: PCF-2109
Signed-off-by: Marvin Lu <marvin.lu@wnc.com.tw>
Update the QCOM BSP to ATH13.1ED for qca_ipq95xx profile.
Known issues:
Ethernet LAN ports do not work.
Multi-AP Wi-Fi connection fails.
Ethernet WAN port is functional.
References: PCF-2042
Signed-off-by: Marvin Lu <marvin.lu@wnc.com.tw>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [rebase, cram]
Update prplMesh-related cram tests and helper scripts to control prplMesh
via ProcessManager DM (ba-cli) instead of init.d mode helpers.
Key updates:
- use PrplMesh.{Enable,ManagementMode,CertificationMode} in test setup/teardown
- adjust DUT init script for controller mode via ProcessManager
- extend generic ubus datamodel expected list with prplMesh/controller objects
Closes: PPM-3589
Signed-off-by: Igor Plesser <i.plesser@inango-systems.com>
Replace prplmesh_utils.sh status checks in cram tests with
prplmesh_cli status output parsing/validation.
Closes: PPM-3671
Signed-off-by: Igor Plesser <i.plesser@inango-systems.com>
This reverts commit 8159c85df4 as the
underlying issue is being fixed in commit d825d78cef1f ("profiles:
OSPv2: update wlan profile to fix EMR5 wireless onboarding issues")
References: PPW-1480, PCF-2395
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Update mxl_wlan_hostap_ng_wav700 profile for below changes:
* WPS Authentication failure which is blocking EMR5 wireless onboarding
* Unset MLD Unit for backhaul VAPs created by prplmeshVapsConfiguration
Fixes WPS Authentication failure which is blocking EMR5 wireless
onboarding.
Fixes: PCF-2395
Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [Fixes tag]
Integrates following changes:
tr181-dns:
-Improve tr181-dns for unbound 1.24 (PPW-1174) (fc909d79)
mod-dns-unbound:
-unbound upstep: Refactor module to be compatible with unbound 1.24.1 (cdb0b6ad)
unbound:
-bind listen socket to interface (af0c144e)
-support failover mechanism (9e01feea)
-add support for the server configuration option 'private-exception'(9471d07c)
-config option: outbound-msg-timeout(ccd9e6ec)
-RFC 6525 4.4.1: Don't forward TCP queries over UDP (ec56c7ed)
-add bus connection to Unbound using libamx*(1db1f351)
-fix build on non-linux systems (2bff5475)
References: PPW-1174
Signed-off-by: prplbot <bot@prplfoundation.org>
We’ve recently started seeing some authentication issues with the Coverity server.
So, per Coverity support's advice, we should avoid using the admin account in CI and use a regular Coverity user instead.
So let's configure the prplbot credentials as the Coverity user that commits issues to the Coverity server.
References: PCF-2428
Signed-off-by: Mouna ALOUI <mouna.aloui@softathome.com>
Integrates following changes:
- Reordered the initialization sequence so that pools_update_all_status() is called only after the backend is successfully started
Previously, updating the pool status before the backend was fully operational could lead to a race condition and intermittent test failures (44149ea3)
References: PPW-1169, PPW-1071
Signed-off-by: prplbot <bot@prplfoundation.org>
Updated the container architecture name from x86-64 to amd64 to
align with the available containers in the registry for this
architecture. Also updating the script expectation to match all
possible architecture.
References: PCF-2143
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
Remove all containers at the end of the test,
so the next test can start with a clean system.
References: PCF-2143
Signed-off-by: Robin NELISSEN <robin.nelissen@softathome.com>
When using the init script, the process will forcefully stop
cthulhu after a certain timeout. This behavior can cause issues
during testing, as the time needed to fully stop all containers
and shut down cthulhu depends on the number of installed processes
and the configured graceful timeout for stopping each container.
Containers are stopped sequentially.
This commit modifies the behavior to send a signal to stop cthulhu,
avoiding forceful termination if the shutdown of all containers
is not fully completed.
References: PCF-2143
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
The local management test is simulating a box reboot. This
requires adding some additional wait time in order for the LCM
agent to fully start all containers after running the start
script.
References: PCF-2143
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
Adapt datamodel expectation with additional datamodel objects
following the introduction of new components and feature.
References: PCF-2143
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
cthulhu-pcm and cthulhu-lpm plugins are introduced, introducing new
datamodel and new config.
Updating the expected config
References: PCF-2143
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
Integrates following changes:
- accesspoint: store assocRequests with MLD MACAddress if present (8224e903)
References: PPW-1568
Signed-off-by: prplbot <bot@prplfoundation.org>