title: How to find out encapsulated protocol inside IEEE802.11 Frame?
body: <p>I'm developing a <code>IEEE802.11</code> frame parser program using <code>libpcap</code> inside Linux with raw <code>C</code>. I can parse <code>RadioTap</code> and <code>IEEE802.11</code> headers easily but I can't find out the protocol name which is encapsulated inside the <code>IEEE802.11</code> MPDU. Unfortunatly there isn't any field in <code>IEEE802.11</code> header indicating the encapsulated protocol (like <code>protocol</code> field in <code>Ethernet</code> header).</p>
  
  <p>Any solution?</p>