pkt = srp(Dot11(type=0,subtype=4,addr1 = 'xx:xx:xx:xx:xx:xx', addr2 = 'xx:xx:xx:xx:xx:xx'), iface = 'wlan0')
If I type:
pkt.summary()
pkt.show()
pkt.sprintf()
pkt.decode_payload_as()
pkt.pdfdump()
pkt.command()
I get the Attribute error: 'tuple' object has no attribute 'e.g. summary'
This works if it's an IP or eth0 packet but not if its a WLAN