ofdm_mac: add parameter to strip MAC header from incoming MPDUs

This commit is contained in:
Andre Puschmann
2015-04-08 09:27:40 +02:00
parent 3df4fd3d31
commit 28cbfd8c9c
3 changed files with 38 additions and 6 deletions
+17 -1
View File
@@ -5,7 +5,7 @@
<key>ieee802_11_ofdm_mac</key>
<category>IEEE802.11</category>
<import>import ieee802_11</import>
<make>ieee802_11.ofdm_mac($src_mac, $dst_mac, $bss_mac)</make>
<make>ieee802_11.ofdm_mac($src_mac, $dst_mac, $bss_mac, $strip_header)</make>
<param>
<name>SRC MAC</name>
@@ -28,6 +28,22 @@
<type>int_vector</type>
</param>
<param>
<name>Strip header</name>
<key>strip_header</key>
<value>False</value>
<type>bool</type>
<option>
<name>Yes</name>
<key>True</key>
</option>
<option>
<name>No</name>
<key>False</key>
</option>
</param>
<check>len($src_mac) == 6</check>
<check>len($dst_mac) == 6</check>
<check>len($bss_mac) == 6</check>