Skip to content

Conversation

@krish2718
Copy link
Contributor

This new API takes a category as input primarily to bypass vendor stats query (to avoid FW interactions) as this is called per-packet by the networking stack.

Add a new API that takes stat type, the networking stack only needs
NATIVE stats per-packet, it doesn't need to update vendor stats
per-packet. This saves unncessary exchanges in case driver needs to
query the firmware for the vendor stats.

Signed-off-by: Chaitanya Tata <[email protected]>
nRF70 queries FW to fet the stats, use the new stats API and filter FW
query depending on the type.

Signed-off-by: Chaitanya Tata <[email protected]>
This ensures vendor stats always builds.

Signed-off-by: Chaitanya Tata <[email protected]>
Use the newly added API to get specific type of stats (if supported) but
also keep the backwards compatibility.

Signed-off-by: Chaitanya Tata <[email protected]>
@sonarqubecloud
Copy link

@nashif nashif merged commit d404fa6 into zephyrproject-rtos:main Dec 11, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Ethernet area: Networking area: Tests Issues related to a particular existing or missing test area: Wi-Fi Wi-Fi platform: nRF Nordic nRFx Release Notes To be mentioned in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants