Closed georgcampana closed 5 years ago
Ok, the frame control frame is wrongly encoded.
Closing myself
@georgcampana so you were able to transmit raw c0
frame in the end?
@georgcampana so you were able to transmit raw
c0
frame in the end?
I closed this issue because c0 was the wrong value (wrong encoded) to signal an action frame. Hope this helps
Alright, thanks for the reply!
Environment
git describe --tags
to find it): 3.30300.190916 (3.3.0)xtensa-esp32-elf-gcc --version
to find it): 2.50200.80 (5.2.0)Problem Description
The
esp_wifi_80211_tx()
is documented to allow transmission of several packet types including the Action (type=0 management and subtype = 0xd action) frame. By attempting to send an action frame the esp_wifi_80211_tx() function returns an error:wifi: unsupport frame type: c0
Expected Behavior
The
esp_wifi_80211_tx()
should transmit the action frameActual Behavior
The frame is not transmitted and the error
wifi: unsupport frame type: c0
is returnedSteps to repropduce
//#define PKT2SEND beacon_packet
and comment#define PKT2SEND action_packet
Code to reproduce this issue
https://gist.github.com/georgcampana/0d4098e87f26ff478480727dc2737c20
Debug Logs