title: Why am I receiving the following error: "struct.error: required argument is not an integer"
body: <p>Attempting to create a script to send beacon frames at 100ms intervals indefinitely. I've had luck with other scripts that include less Dot11Elt sublayers, but for some reason it doesn't like the same 'sendp' command in this script.</p>
  <pre><code>    ht_caps = Dot11Elt(ID='HTCapabilities', info=(b&quot;\x2c\x19\x03\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00&quot;))
  </code></pre>
  <p>When I try to execute, I receive the following error:</p>
  <pre><code>           File &quot;/usr/lib/python3/dist-packages/scapy/fields.py&quot;, line 151, in addfield
        return s + self.struct.pack(self.i2m(pkt, val))
    struct.error: required argument is not an integer
  </code></pre>
  <p>Any ideas what's up?</p>
  <p>Edit: it definitely appears as though the issue is with the ht_caps line because I do not receive the same error if I remove it.</p>