4 ms·
Wifi stations only interfere when they're transmitting at the same time, and other stations can hear it. Channels are a very simplistic way of understanding Wi
by jrockway 10y ago
Wifi stations only interfere when they're transmitting at the same time, and other stations can hear it. Channels are a very simplistic way of understanding WiFi sharing, time and space are also important dimensions. If Station A and Client A want to communicate, they will not interfere with Station B and Client B if they pick different times to talk, or cannot "hear" each other at all.
There is some good work going on to improve this. Faster WiFi speeds mean that less time is needed to transmit the same number of bytes, meaning that stations are less likely to interfere. (This is why everyone hates your 802.11b-only client that can do a maximum of 11Mbps. It ties up the entire channel for no good reason.)
The default rate control built into most APs is awful, and makes things worse than they need to be. For example, let's say sending at 100Mbps, there's a 50% chance that the message won't be decodable, and sending at 1Mbps, there's a 99.999% chance that the message will get through. APs will try sending at the high rate, notice an error, and then go to the low rate. But that's wrong: it doesn't minimize the use of airtime. Sending 100Mb at 100Mbps twice is much more time-efficient than sending it at 1Mbps once. Some work is under way to improve this algorithm and get it in consumer routers.
There is also work to make APs transmit to stations at a transmit power tuned to be as low as possible. If a station is close, the AP only needs a small amount of power to send a decipherable message to the station. And, because the power is low, it interferes with less space. I believe this is now working under Linux with ath9k chipsets.
Anyway, "channels" is a terrible way to understand WiFi performance, because space and time are the other critical dimensions. Unfortunately, most "WiFi analyzers" only show which channels have APs, which is a meaningless metric.
Here's an interesting talk about how this all works in the real world: http://apenwarr.ca/diary/wifi-data-apenwarr-201602.pdf http://apenwarr.ca/diary/wifi-data-apenwarr-201602.pdf
- chrisfosterelli 10y agoCould WiFi analyzers effectively determine information about space from a single location? Time is obviously possible, but isn't it inherently providing information about space by providing power readings from a single point?
- jrockway 10y agoWhich WiFi analyzer actually looks for traffic? Most of the ones I've seen (a popular Android app) just show you beacons. Seeing beacons != seeing traffic.
- voltagex_ 10y agoI'm probably wrong but doesn't seeing traffic require monitor mode on whatever chipset? I've never looked into whether the the Nexus 4, 5 or 7 (2013) can do monitor mode but it'd be interesting to find out.
- chrisfosterelli 10y agoI never mentioned a WiFi analyzer that can see traffic. By "time is obviously possible" I meant "an obvious improvement that could be made based on your description"
- nitrogen 10y agoUbiquiti Wifi devices I've used have a built-in spectrum analyzer that can show channel, time, and intensity (a rough proxy for distance).
- wtallis 10y agoThe hardware capability Ubiquity is probably using: https://wireless.wiki.kernel.org/en/users/drivers/ath9k/spectral_scan https://wireless.wiki.kernel.org/en/users/drivers/ath9k/spec... This is an awesome and useful feature, but it isn't quite the same as monitor mode packet capturing. The FFT won't do much to help you figure out whether the interference is coming from a really high traffic volume or just a talkative 802.11b IoT PoS.
- freyir 10y agoUsing the spatial dimension means directing a WiFi signal in a particular direction, or nulling interference in a particular direction. This can be done adaptively using multiple antennas on a single device. There are mainly two techniques. The first, beamforming, involves adjusting the signal phase over each antenna such that it all adds up constructively in some direction. The second spatial technique, called spatial multiplexing, involves transmitting a different signal across each antenna, and hoping that each signal travels along a sufficiently different path (reflecting off walls, etc.) that all the signals can all be sorted out at the receiver.
- vvanders 10y agoI wonder how much we're at the limits of Forward Error Correction as well. It was really eye opening to see how much turbo code FEC could improve on total channel bandwidth without taking up any more spectrum.
- ketralnis 10y ago> time and space are also important dimensions Unfortunately they are harder to control. My apartment is surrounded by other apartments also transmitting on a polluted spectrum and I can't control when or where they transmit. I also can't control the age or transmitting speed of their devices. Simply opening up more spectrum is a net benefit to both me and them.
- freyir 10y ago> I can't control when or where they transmit. You can't actually control which frequencies your neighbors transmit on either. The best you can do is observe which frequencies are the most crowded, and avoid them. But essentially this is what happens in the time dimension as well. Wi-Fi devices share a the channel across time using a technique called Carrier Sense Multiple Access (CSMA). When a device has something to send, it observes the channel to see if anybody else is transmitting, and if not, it waits a short random back-off time and then transmits. All devices are doing this, and since the back-off time is randomized, it's more or less fair.
- jordanthoms 10y agoUnfortunately that only works if the other APs are using the exact same channel, rather than an adjacent-but-overlapping one. It'd be great if consumer routers would only allow use of channel 1, 6, or 11, to avoid the usual situation where there is APs on every single channel interfering with each other rather than co-operating.
- ryao 10y agoI have a neighbor on channel 5. I have thought of discussing it with them, but being across the street, the signals are so weak that I am not sure if interference is possible.
- rincebrain 10y agoPossible, yes. Impactful, probably not.