Questions tagged [radiotap]

9 questions
7
votes
1 answer

Why do my ath9k generated RadioTap headers seems malformed?

I'm collecting 802.11 packets using scapy on Ubuntu 16.04 (4.4 kernel). The RadioTap headers for my packets have the following present flags: present=TSFT+Flags+Rate+Channel+dBm_AntSignal+b14+b29+Ext Given the description of RadioTap, I would…
Rich Henry
  • 1,837
  • 15
  • 25
3
votes
1 answer

RadioTap headers in scapy

I'm trying to send and receive packets with scapy and read the RadioTap Header. The wireless adapter (and driver) is able to handle those headers, but I can't seem to get them. Whenever I send a normal packet in scapy, is does not contain such a…
Laura W
  • 31
  • 1
  • 3
2
votes
0 answers

Issues when using pcapsendpacket to send 80211 frames in C

I'm trying to send 802.11 frames using pcap_sendpacket with the following radiotap: u_char RADIOTAP_HDR[] = { 0x00, // it_version 0x00, // padding 0x0a, 0x00, // length 0x00, 0x00, 0x80, 0x00, //…
Spider
  • 875
  • 2
  • 9
  • 27
1
vote
0 answers

How to include linux headers (cfg80211.h) on raspbian?

I am writing a sniffing tool and I want to use the radio tap parser (radiotap.c) whose prototypes are available in net/cfg80211.h I included the header but when compiling I get the error that there is no such file or directory. Now I downloaded…
1
vote
1 answer

Calculate data rate using dpkt packet parsing for radiotap header

I need to calculate the data rate for a given packet, which is capture using pcapy. I use dpkt to get the radiotap header like this: dpkt.radiotap.Radiotap(packet) Now I need to access the data rate, and I assumed (wrongly) that Rate which is…
Lars Nielsen
  • 2,005
  • 2
  • 25
  • 48
1
vote
0 answers

Not able to specify data rate on radiotap_header in pcap_sendpacket

I'm trying to send raw frames over WiFi using pcap_sendpacket. I'm thus using a standard radiotap_header for this and I specify a data rate (I tried 2 Mbs, 5 Mbs). However, it seems that the WiFi interface does not take this rate into consideration…
Spider
  • 875
  • 2
  • 9
  • 27
1
vote
1 answer

How should I modify radiotap.py to handle the XChannel, MCS, and VHT fields?

I'm trying to determine the 802.11 protocol variant - from PcapNG trace files created by wireshark (see relevant question on StackOverflow, and another relevant question on StackOverflow). The link-layer header type for the interface on which the…
boardrider
  • 5,882
  • 7
  • 49
  • 86
0
votes
1 answer

Mininet/Wifi: Radiotap captured RSSI not varying when station mobility is simulated

Using Mininet for Wifi's Python API I am simulating one AP and two stations. The AP is at '0,0,0' and sta1 is at '0,10,0'. I am moving sta2 back and forth on a line '0,50,0' through '0,150,0'. Also, I have an extra radio configured when creating…
Cap
  • 99
  • 2
  • 11
0
votes
1 answer

Send packet (PCAP, WLAN, C) to reciever, recieving without connection

I plan to use Wi-Fi by radio to navigate my drone. I want so send packets from laptop to the drone. Currently I can send packets out, but only when the Wi-Fi card is in monitor mode. static const u8 u8aRadiotapHeader[] = { 0x00, 0x00, // <--…
user6776183