Archives 2020

Experimenting with the Hackrf

Experimenting with the Hackrf

The Hackrf is a small affordable SDR (software Defined Radio) that can operate in frequencies up to 6GHz with a channel bandwidth of 20MHz. This makes it an excellent choice when it comes to experimenting with WiFi. One of the few drawback of a Hckrf is the lack of amplification on the Tx side. In this experiment I was successful in amplifying the transmit signal of a Hackrf by 30dB using a Skyworks FEM ( Front-End Module).

GNU radio is used to generate an 64 tone OFDM signal which is forwarded to the Hackrf. I will be writing a detailed post on how to replicate this experiment in the future. For now I would like to share with my readers short videos showing the difference in Tx power with and without the a FEM.

Without a FEM, received signal level from the Hackrf is around -60dBm

With a FEM, received signal level from the Hackrf is around -30dBm

OFDMA and the unrealistic expectations

OFDMA and the unrealistic expectations

I have noticed that many of our colleagues in the WiFi community have been expressing their disappointment with the 802.11ax OFDMA performance. I remember having a similar feeling at one-point in time during the early stages of experimenting with OFDMA. At first, I was excited to find some cases where OFDMA was superior in performance to CSMA/CA but as testing progressed, I also found many other cases where CSMA/CA performance was equal to or, in many cases superior to OFDMA. I felt disappointed as well. In my head OFDMA was supposed to bring order to a random and chaotic WiFi medium. 

When OFDMA was announced as part of the 802.11ax standard everyone was thrilled. Many thought it would become the silver bullet to all our WiFi problems. Since the early days of WiFi, we have been trying to control the medium and how and when clients have access to it. PCF (Point coordination function) is a good example on our early attempts to control the medium.

OFDMA as an access method might be new to WiFi but, it has been a well-established method of access in the cellular world for at least 10-15 years now. I believe the idea that OFDMA was supposed to transform WiFi networks into a cellular-like synced networks is the source of which the disappointment stems from. 

After almost 2 years of testing OFDMA as part of the new 802.11ax standard, I can fairly say that it works. I have forced APs in OFDMA mode only and gone through numerous test case scenarios, whereas I mentioned above, I found cases where it was superior to CSMA/CA but also many cases where it was not. I have felt the disappointment that many of my colleagues are expressing now. Then it hit me! It wasn’t OFDMA that was flawed, it was my unrealistic expectation of it.

OFDMA as a part of the 802.11ax standard was not meant to replace CSMA/CA, nor was it meant to transform WiFi into a cellular-like network. It was meant to complement CSMA/CA. To fill the gaps where CSMA/CA falls short. The real advantage of an 802.11ax AP is not its ability to use OFDMA on the UL or the DL nor its ability to use MU-MIMO. The real advantage is to know when to use them.

An 802.11ax AP’s scheduler is the real MVP. It is the brain that decides when using OFDMA over CSMA/CA is beneficial and when it is not. Most of the shortage in OFDMA performance that many observe is not due to flaws within the OFDMA itself as an access method. It is mostly due to the failure of the scheduler in applying OFDMA to right cases. Knowing when to use OFDMA or not is a complicated process. Many factors come into play. To name a few, packet sizes, SNR, throughput rates, clients’ configuration, and number of clients. A scheduler’s job is to take into account all these factors and many more, and make decisions on a packet per packet basis on whether to use SU-MIMO, OFDMA, MU-MIMO, or a combination of OFDMA and MU-MIMO. If this sounds like a very difficult and highly sophisticated thing to do, because it is. What differentiate 802.11ax APs from each other’s in performance is not their ability to perform OFDMA or MU-MIMO, it is their schedulers ability to choose the right technique, or the right combination of techniques for a certain traffic flow.

WLPC 2019

WLPC 2019

My first public presentation experience at WLPC. It was a thrilling and a terrifying experience. I don’t think I slept for more than 1.5 hours the night before. I was so anxious but highly motivated and excited.

Sharing the stage with my boss Colleen Szymanik talking about the early days of 802.11ax testing. My part starts at 7:20.