bastibl / gr-ieee802-11

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

gr-ieee802.11n Adalm Pluto SDR #138

Closed gorlapraveen closed 5 years ago

gorlapraveen commented 6 years ago

Can this be used with Adlam pluto SDR

  1. for establishing WiFi connection with Mobile Devices
  2. or with otherAdlam Pluto SDR devices over ieee802.11n
bastibl commented 6 years ago

This is mainly a PHY implementation of 802.11a/g/p. It doesn't support 11n features. It can send/receive frames frames to/from WLAN cards but it doesn't support all signaling out of the box. That means when you start the GNU Radio flow graph you won't see another WiFi card in your PC. Also, implementing the PHY on the PC implies that we cannot meet the timing constraints of the MAC (ACK and RTS/CTS timings).

gorlapraveen commented 6 years ago

@bastibl Thanks!. Ok, means that it can be used with GNUradio along with Adlam Pluot kind of SDR for 802.11a/g/p implementation. If then,

  1. can it be able to connect Smart phone or other PC just for exchange of Frames, in order to get other devices( Smartphone/PC) MAC and Signal strength kind of things?

  2. Please give an idea about how to connect(bind ) to other device for transceiving the frames , and also to retrive the RSS and MAC info of the other device that is sending frames to our SDR . Would be helpful to me if you could provide any documentation if available.

Thanks in advance!

bastibl commented 6 years ago

can it be able to connect Smart phone or other PC just for exchange of Frames, in order to get other devices( Smartphone/PC) MAC and Signal strength kind of things?

Again, there is no signalling implemented out of the box. So it will not be able to "connect" to the networks (associate, get IP, etc). But of course you can receive frames and estimate signal quality. But since the SDR is no calibrated measurement device, you won't get an absolute signal strength out of it.

You do not have to "bind" to a device to receive frames. Frames are sent over the air and can be received by any device.

gorlapraveen commented 6 years ago

You do not have to "bind" to a device to receive frames. Frames are sent over the air and can be received by any device.

@bastibl Thank you!. So With SDR, I can receive WiFi frames transmitted by any other devices such as Smartphone, PC and SDR with both MAC and RSSI(may not to absolute).

bastibl commented 6 years ago

Yes, like with a WLAN card in monitor mode, you can receive frames of other devices (if they are 11a/g/p).

gorlapraveen commented 6 years ago

@bastibl , But using RFTap and Wireshark , the Signal Power is not obtained, it is showing zero as seen in the below picture. Please help in this reqard.

Thank you! screenshot from 2018-11-15 03-00-09

bastibl commented 6 years ago

No idea what you are doing. The flow graphs that come with this repository do not use RFTap. They use the Wireshark Connector block. This block outputs a PCAP file the contains WLAN frames wrapped in a Radiotap header, which includes the SNR.

gorlapraveen commented 6 years ago

@bastibl Can that PCAP file contains Signal Power as well along with SNR?

Thank you!

bastibl commented 6 years ago

It can, but it doesn't out of the box. As I already mentioned, the SDR cannot determine absolute signal power. You can add something like dBFS if you want. Please have a look how SNR is implemented and add power accordingly.

gorlapraveen commented 6 years ago

OK, Thankyou! @bastibl

gorlapraveen commented 6 years ago

screenshot from 2018-11-15 19-09-54

@bastibl Here Radiotap header is showing SSI signal and SSI Noise, Does SSI signal is nearly equal to RSSI ?. Can you say any relation between them! Thank you!

bastibl commented 6 years ago

Hard to tell. I don't think that there is a strict definition of RSSI. It's just some random number that gets bigger when the signal power gets higher. Also, when there is interference, the signal power might get higher while the signal quality gets worse. So it all depends on what you actually need those number for....

That being said, at the moment, the receiver only estimates the SNR and sets the noise and signal field in the radiotap header in way that the SNR is as estimated.

https://github.com/bastibl/gr-foo/blob/next/lib/wireshark_connector_impl.cc#L94-L111

If you want the signal power, you'd have to propagate it with a tag, similar to how SNR is propagated.

gorlapraveen commented 6 years ago

@bastibl As we can find fer(Frame Error Rate), Can you help in knowing that how can FER help in correcting the Signal Strength, based on instantaneous FER.

Thank you!

bastibl commented 6 years ago

Sorry, but I have no idea what you are trying to say or ask.

gorlapraveen commented 6 years ago

@bastibl . What I am saying is that, As we were able to get Signal Strength and fer(Frame Error Rate). As Signal Strenght is not absolute(it may be inaccurate), So can you please say that how can we use fer to correct Signal Strength.

bastibl commented 6 years ago

I still don't fully get it, but I'm afraid that's not possible or doesn't make any sense. Signal strength is not absolute but that doesn't mean that it is inaccurate. It just means that there is a constant, unknown shift between the measured value and the absolute value.

No idea what you are trying to plot or find out. But in any way, if you wanted to use the FER "correct" the signal strength you'd need a frame error rate model or something. But again, I believe that's just the wrong approach...