qca / open-ath9k-htc-firmware

The firmware for QCA AR7010/AR9271 802.11n USB NICs
Other
426 stars 181 forks source link

Accessing length value in the L-SIG field (PHY header) #143

Open makesens86 opened 6 years ago

makesens86 commented 6 years ago

I am trying to get the length of currently receiving packet. When I checked 'ath_rx_status' info, It looks like the received 'rs_datalen' field is updated after all the packet is received in the rx buffer. So I think accessing the length field in L-SIG field (PHY header) can be a solution. But I can't find any way to access it throughout firmware source code. Is there any way to do it? Or can L-SIG field be accessed only by hardware?

Thank you. Hyunjoong Lee.