The correct way to do this from an AccessPoint would be to have the AP send a DeAuth packet to the station then reject it rejoining.
The Packet is described here.
https://mrncciew.com/2014/10/11/802-11- ... on-frames/
One way to do it is to call the API "wifi_send_pkt_freedom" after constructing a DeAuth packet. However, after version 1.3 SDK they have then since stopped allowing Management Frame Packet types to be created through that API and you must now rely on the SDK you are on to implement the specific API to construct such a management frame packet.
What more specifically are you trying to accomplish and I can do my best to help guide you in doing that without dealing with the 802.11 frames but perhaps handing it at the Layer 2 Datalink / Layer 3 Network level. But if you are trying to strictly DeAuth I am unaware of such a way at this time sadly.Statistics: Posted by AgentSmithers — Thu Apr 06, 2017 8:06 pm
]]>