bastibl / gr-ieee802-11

IEEE 802.11 a/g/p Transceiver
https://wime-project.net/
GNU General Public License v3.0
750 stars 292 forks source link

About WiFi packet transmission time #305

Closed Leoplt closed 2 years ago

Leoplt commented 3 years ago

Hello, In example wifi_tx.grc , I want to know whether the duration of WiFi packets during transmission can be controlled through existing parameters (e.g. samp_rate, pdu_length, interval)? Thank you for your attention and look forward to your reply!!

bastibl commented 3 years ago

You can increase the PDU lenght, i.e., add more payload to make the frame longer. Also changing the Encoding makes the frame longer (BPSK 1/2 results in the longest frames).

Leoplt commented 3 years ago

Thank you for your reply! I want to get the transmission time of each WiFi frame. How to calculate the transmission duration of each WiFi frame?

bastibl commented 3 years ago

It's non-trivial calculation that I'd also had to look-up in the standard. You could create the frame with this module and see in how many samples it results but that's a bit overkill. In general it it is: 2 symbols short preamble + 2 symbols long preamble + 1 symbol signal + X symbols for the payload, which depends on the MCS.