NXP frdm-rw612 does not work with mdns-responder sample application #84234
Labels
bug
The issue is a bug, or the PR is fixing a bug
platform: NXP
NXP
priority: medium
Medium impact/importance bug
Describe the bug
There was report in Discord that mdns-responder did not work with NXP frdm-rw612 board when both Ethernet and wifi interfaces were enabled.
https://discord.com/channels/720317445772017664/1329476316650803253/1329479451104514059
When trying this, I noticed that if I enable NXP wifi
CONFIG_WIFI_NXP=y
, then the mdns-responder did not work as expected even when using Ethernet connection only. After investigating this, it seems that the either networkpoll
or kernelk_poll
does not notice that network internal receive queue contains received UDP packets which then leads tonet_pkt
resource exhaustion because the internal queue is not read and the received UDP packets stays there forever.I tried this with
nucleo_f767zi/stm32f767xx
and did not see issues. Also there is no issue withfrdm_rw612/rw612
board if NXP wifi is disabled.To Reproduce
Building the sample with this
and then flash
Expected behavior
The sample should work regardless of whether
CONFIG_WIFI_NXP
is set or not. In the test I was not even using Wi-Fi connection but Ethernet only.To test this, one can send a mDNS query like this from Linux host
If using wireshark, one should be able to see a reply from zephyr to the mDNS query.
Impact
I am not saying the issue is in the NXP wifi driver, but clearly it is causing some effect in the system. As I am not familiar with the NXP wifi driver, I am assigning this to NXP for a time being.
Environment (please complete the following information):
I am in zephyr upstream commit 8b987d9
The text was updated successfully, but these errors were encountered: