Page 1 of 1

esp_wifi_80211_tx() not working with action frame

Posted: Wed Oct 30, 2019 11:55 pm
by rainman
When using esp_wifi_80211_tx() to send an arbitrary forged Beacon frame (type=0 subtype=8) everything is fine, but when I attempt to send an ACTION frame (type=0 subtype=13) then I receive the error:

Code: Select all

wifi: unsupport frame type: c0
Please note that the official documentation claims that action frames are supported by esp_wifi_80211_tx():
....Currently only support for sending beacon/probe request/probe response/action and non-QoS data frame....

Is this a bug of the ESP-IDF, an error in the documentation or do I have to do something special in the code to send an action frame instead of a beacon ?

Thanks

Re: esp_wifi_80211_tx() not working with action frame

Posted: Thu Jan 16, 2020 6:21 am
by esp-HarveyRong
The WiFi Log prototype is:

Code: Select all

"unsupport frame type: %x%x," type, subtype
According to the provided Log:

Code: Select all

wifi: unsupport frame type: c0
That is type = 0x0c, subtype = 0x00, so I suspect you may be wrong assigned values of type and subtype.