esp_wifi_80211_tx() not working with action frame

rainman
Posts: 9
Joined: Mon Nov 16, 2015 10:50 pm

esp_wifi_80211_tx() not working with action frame

Postby rainman » Wed Oct 30, 2019 11:55 pm

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

esp-HarveyRong
Posts: 2
Joined: Thu Jan 16, 2020 6:01 am

Re: esp_wifi_80211_tx() not working with action frame

Postby esp-HarveyRong » Thu Jan 16, 2020 6:21 am

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.

Who is online

Users browsing this forum: Baidu [Spider] and 373 guests