Hey everyone,
I was wandering if it is possible to see the code that is executed when a network packet is received by a NIC. I want to reconstruct the "way" a packet takes through the kernel until its payload is used by a user task. In the reference manuals I was only able to find programming models and events that are used for status updates of the wifi module.
Best Regards!
What ISR is called upon packet receive over WiFi?
Re: What ISR is called upon packet receive over WiFi?
Hi ille111,
The packet handling is done inside the Wi-Fi driver, and the Wi-Fi interrupt handler is also part of it. Conceptually the flow is very similar to that in the other peripherals: an interrupt handler sends an element to a FreeRTOS queue, which wakes up a high-priority Wi-Fi task. That task does some processing and passes the packet to the network interface layer (esp_netif in IDF 4.1+, tcpip_adapter before that).
The packet handling is done inside the Wi-Fi driver, and the Wi-Fi interrupt handler is also part of it. Conceptually the flow is very similar to that in the other peripherals: an interrupt handler sends an element to a FreeRTOS queue, which wakes up a high-priority Wi-Fi task. That task does some processing and passes the packet to the network interface layer (esp_netif in IDF 4.1+, tcpip_adapter before that).
Who is online
Users browsing this forum: Baidu [Spider], ESP_Sprite and 131 guests