buldo / WiFiDriver

RTL8812AU userspace driver
GNU General Public License v2.0
12 stars 4 forks source link

What type of data is packet.Data? Is it an 802.11 data frame? #7

Closed TalusL closed 3 months ago

TalusL commented 3 months ago

What type of data is packet.Data? Is it an 802.11 data frame

TalusL commented 3 months ago

Yes, it's an 802.11 data frame. I have dropped the last 4 bytes of every packet.

image

buldo commented 3 months ago

@TalusL it has to be raw 802.11 frame of any type.
Here is very basic(and very application specific) frame parsing. https://github.com/buldo/WiFiBroadcastNet/blob/34baccad905bd1e36fdbbc21585ddd693cedc4d5/WiFiBroadcastNet/RxFrame.cs#L104

TalusL commented 3 months ago

@buldo How to send data?

buldo commented 3 months ago

@TalusL this is not implemented.
If you need it, you have to port code from original driver.