>
0208         <span class="comment">% CRC is performed over whole bit sequence, check result for magic value</span>
0209         ampdu_crc_ok = (ampdu_crc_val == 12);
0210         ampdu_sig = bi2de(rx_out(34:41)', <span class="string">'left-msb'</span>);
0211         <span class="keyword">if</span> (ampdu_eof == 1 &amp;&amp; ampdu_res == 1 &amp;&amp; ampdu_sig == 78 &amp;&amp; ampdu_crc_ok)
0212             <span class="comment">% valid A-MPDU header</span>
0213             len = ampdu_len;
0214           