You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
IDF version.
5.1.5
Espressif SoC revision.
ESP32-S2 (revision v0.0)
Operating System used.
Linux
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S2-Saola-1
Power Supply used.
USB
What is the expected behavior?
My goal is to send a null data frame to a device and get the ACK (and examine the CSI ultimately). My ESP-32 is in STA and connected to an AP.
I'm generating a null data frame and transmitting it with esp_wifi_80211_tx(). The destination MAC is another device and I'm setting the source MAC in the frame to a unique MAC (which I use to filter later).
I'm then sniffing and trying to find the ACK from the destination device, but I'm not receiving a response.
It worked in the past with 4.x.
What is the actual behavior?
I don't observe the expected packet.
I get many different ACKs, but none with a destination matching the source MAC.
I don't believe the NDF packets are being transmitted as I don't see them with a sniffer.
wifi_promiscuous_pkt_t*p= (wifi_promiscuous_pkt_t*)buf;
ieee80211::frame_ctrl_ack_t*frame_ack= (ieee80211::frame_ctrl_ack_t*)(p->payload);
// check if actually ACKif(frame_ack->frame_control.type!=ieee80211::WIFI_FC_CTRL||frame_ack->frame_control.subtype!=ieee80211::WIFI_ACK) {
return;
}
// see if the destination MAC of the ACK matches the source MAC that we sentif(memcmp((void*)&frame_ack->dest, (void*)&MAC_ADDR_SRC, sizeof(ieee80211::mac_address_t)) ==0) {
ESP_LOGE(TAG, "FOUND ACK"); // never get here
}
Debug Logs.
No response
More Information.
No response
The text was updated successfully, but these errors were encountered:
Answers checklist.
IDF version.
5.1.5
Espressif SoC revision.
ESP32-S2 (revision v0.0)
Operating System used.
Linux
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S2-Saola-1
Power Supply used.
USB
What is the expected behavior?
My goal is to send a null data frame to a device and get the ACK (and examine the CSI ultimately). My ESP-32 is in STA and connected to an AP.
I'm generating a null data frame and transmitting it with
esp_wifi_80211_tx()
. The destination MAC is another device and I'm setting the source MAC in the frame to a unique MAC (which I use to filter later).I'm then sniffing and trying to find the ACK from the destination device, but I'm not receiving a response.
It worked in the past with 4.x.
What is the actual behavior?
I don't observe the expected packet.
I get many different ACKs, but none with a destination matching the source MAC.
I don't believe the NDF packets are being transmitted as I don't see them with a sniffer.
Steps to reproduce.
My transmit task looks like this:
And my promiscuous setup code:
And my promiscuous callback:
Debug Logs.
No response
More Information.
No response
The text was updated successfully, but these errors were encountered: