element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Essentials
  • Learn
  • Learning Center
  • Essentials
  • More
  • Cancel
Essentials
Documents An Introduction to Wireless Standards and Protocols: WiFi
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Essentials to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: pchan
  • Date Created: 26 Sep 2018 3:12 PM Date Created
  • Last Updated Last Updated: 26 May 2023 8:25 PM
  • Views 13133 views
  • Likes 20 likes
  • Comments 98 comments
Related
Recommended

An Introduction to Wireless Standards and Protocols: WiFi

essentials logoWireless Protocol Series - Part 2 - Wi-Fi

Hedy Lamarr is well known as an actress during Hollywood's Golden Age (1930s-40s), starring with famous actors Clark Gable and Spencer Tracey. What is less well known is that she also made critical contributions to the development of the communication technique that is now known as Frequency Hopping Spread Spectrum (FHSS), in collaboration with musician George Antheil. FHSS was used in early versions of Wi-Fi, with more contemporary versions using Direct Sequence Spread Spectrum (DSSS). The original patent for FHSS was not picked up by anyone until many years after its release, when the US Navy began using FHSS for communications. It took decades before she was recognized for her contributions to wireless technology. In this learning module, we will briefly discuss both FHSS and DSSS, along with the Essentials of Wi-Fi, including networks, topologies, CSMA, Wi-Fi evolution, security, and examples of Wi-Fi devices available today.
Related Components | Test Your Knowledge test link

sponsored byimage

2. Objectives


The objective of this learning module is to acquaint you with Wi-Fi. Upon completion of this learning module, you will be able to:

  • Understand the basic architecture, networks, and elements of Wi-Fi
  • Explain some key features of the IEEE 802.11 standard
  • Explain the alphabet soup of 802.11 standards, viz. a, b, g, n, ac, etc.
  • Explain CSMA, CSMA/CD, and CSMA/CA

3. Wi-Fi and the 2.4/5.0 GHz ISM Bands

Back to Top

We have previously discussed the 2.4 GHz ISM band in the Essentials of Bluetooth. As a review, the 2.4 GHz band is an unlicensed band in which any device can transmit, provided it does not exceed the maximum output power restrictions. As a result, there are many different devices and technologies in the 2.4 GHz band, including our beloved Microwave Oven. All of these devices and technologies have to coexist, and this is what makes the use of advanced wireless communication techniques such as Spread Spectrum essential to understanding Wi-Fi.

- 3.1 Wi-Fi and the 2.4 GHz Band

When Wi-Fi technology was first deployed, it was in the 2.4 GHz band and it has remained in that band for many years. Over the years, the technology has advanced enough such that not a lot of wireless communication issues are experienced due to other nearby 2.4 GHz devices and technologies. When issues do arise, they usually revolve around range, signal power (and its reduction due to the presence of walls), the number of simultaneous users, and the number of co-located Basic Service Sets (BSSs; or networks in layperson's terms). The advances in the different versions of the IEEE 802.11 standard have been in Modulation and MIMO techniques that have led to better speeds and more robust performance. We will discuss this evolution in a later section. The advances have actually gone so far that the 2.4 GHz band and its characteristics are no longer sufficient to support today's wireless LAN needs. Since Wi-Fi is the Wireless LAN technology of choice worldwide, the evolution of Wi-Fi has placed it firmly now in the 5 GHz band.

- 3.2 Wi-Fi and the 5 GHz Band

Band Specs 2.4 GHz 5.0 GHz
Standard IEEE 802.11 b, g and n IEEE 802.11 a, n, ac
Channels Three non-overlapping 23 non-overlapping
Data Rate Lower Higher
Network Range Wider Range Shorter Range
Interference Higher Lower
Table 1: Comparison of 2.4 GHz and 5 GHz Wireless Bands

The 5 GHz band is also an unlicensed band; however, there are fewer devices and technologies vying for that space. More importantly, there is more bandwidth available in the 5 GHz band, and with the advent of more advanced engineering making up for the limitations of the 5 GHz band, this has made it more attractive for current and future evolutions of Wi-Fi.

Wi-Fi will continue to operate in the 2.4 GHz band (as you may have noticed on 802.11 ac networks), but there is better performance available at the 5 GHz band.

4. Wi-Fi Basics

Back to Top

Wi-Fi stands for Wireless Fidelity, which is simply a trademarked term for devices operating using the IEEE 802.11 standard. Other variants of Wi-Fi are Wi-Fi, WLAN (short for Wireless LAN), and 802.11. IEEE 802.11 is more likely to be encountered in technical, engineering and academic circles. Most laypersons know it simply as Wi-Fi.

- 4.1 The Last Hop Technology

It is now common to have not only Wi-Fi enabled laptops and cellphones, but toasters and washers as well. What this means is that these are devices or appliances capable of accessing the Internet through the use of Wi-Fi as the last hop access technology. This is accomplished by the device making a wireless connection (via Wi-Fi) to a wireless access point (AP), which in turn is usually connected to the Internet through the use of Ethernet or another technology (that other technology could also be Wi-Fi, by the way). For the time being, it is good to simplify and think of an access point as somehow being connected to the Internet (for example, literally through a wire), and then providing wireless access (to the Internet) to devices that are within range.

- 4.2 Basic Service Set (BSS)

When an access point is set up, it is usually set up as part of a local network. In Wi-Fi terminology, such a network is called a Basic Service Set (BSS), and the network is identified by a BSS id. The human readable name that we use (ex: "Element14-Secure) that you see pop up when your device informs you that there are Wi-Fi networks available, is the SSID (Service Set Identifier), and it applies to both BSSs and ESSs (below) depending on the context.  When set up in a home, the BSS is often just the one access point (AP) and the devices that are connected to it. This connection in Wi-Fi terminology is called an association; thus, devices are associated with the AP.

wirelesspro2_diagram1a wirelesspro2_diagram1b
Figure 1: Wi-Fi: Basic Service Area versus Extended Service Area (Source: Cisco)

- 4.3 Extended Service Set (ESS)

In enterprise systems, where the same wireless network is seen throughout an office or university campus, it should be obvious that not all devices are being serviced by the same AP. In this situation, the wireless network is accessed usually by a device accessing the closest AP—though it is more accurate to say the best AP, because the closest AP is determined not by distance but by signal quality. All the APs in this scenario are part of a larger wireless network. This extension of the BSS concept is called an Extended Service Set (ESS). It is common nowadays to see multiple ESSs in the same physical space, for example, Element_14_Guest and Element_14_Secured. In those situations, the same AP is capable of servicing clients on both Service Sets.

Enterprise APs provide the capability for provisioning such that bandwidth (BW) distribution and Quality of Service (QoS) can be handled according to policy. For example, there might be more BW dedicated to the secure network vs. the guest network. Also, in many such situations, the "guest" might be open, while the "secured" might need higher level authentication. (We will discuss wireless security in Section 8.)

- 4.4 Access Point vs. Wi-Fi Router

For the purposes of this learning module, we will use the term access point (AP) to refer to the device that is providing end user connectivity. It is common to hear the term Wireless Router, or Wi-Fi Router, so let us briefly explain the difference between the terms and clarify why we will use the term AP throughout.

Both an AP and a Router provide wireless access. The only difference is that a Router will have Ethernet ports in addition to providing wireless access through Wi-Fi. Thus, it is an AP with Ethernet ports. You should note that the term Router in networking means something very specific, that is, the capability to participate in a Routing Protocol (ex: Internet Routers participate in the Internet Protocol or IP). Since a Wireless Router performs no Routing function, it should not be called a Router. A Wireless/Ethernet Hub or Switch (depending on the AP device's capability) would be a better name. However, marketing/sales specialists have determined that the device is to be called Wireless Router, thus we are stuck with that term despite its lack of technical exactness.

Note: It is worth mentioning that when an Internet Service Provider (ISP) hands you a Wireless Gateway that, in fact, is an accurate description of that product. A Gateway is a bridge between different Layer 2 technologies (in this case, probably Wi-Fi/Ethernet and cable or fiber).

5. CSMA, CSMA/CD, CSMA/CA

Back to Top

Wi-Fi was inspired by Ethernet, or as a wireless replacement for LANs. In fact, the 802.11 suite of standards was often referred to as Wireless LAN or WLAN technologies. Wi-Fi uses CSMA, so let's discuss this key concept in this section.

CSMA stands for Carrier Sense Multiple Access, a system in which multiple devices in a broadcast domain listen-before-transmitting. If the channel is busy, you do not transmit; if the channel appears to be free, then you transmit. There are several variants on the precise protocol for transmitting, but that's out of the scope of this learning module. CSMA was developed by building on the random broadcast channel concept of the ALOHA protocol.

- 5.1 CSMA and CMSA/CD

Since there is a possibility that more than one node is ready to transmit at a given moment, there is a chance for collisions in CSMA. To address the problem of collisions, in Ethernet, which uses CSMA but with Collision Detection (CSMA/CD), you do the same thing as CSMA but are actively detecting collisions. So, if a collision is detected, then the transmission is aborted, thereby not wasting the entire transmit time of a packet. Once a collision occurs, a Randomized Exponential Backoff (REB) process begins. That is, you start throwing dice and then wait as many slot times as the dice tell you to before you try to transmit. Each time you try to retransmit and encounter a collision, you double your dice size. Thus, when the first collision is experienced you start with [0, 1] as being your dice (or number set if you want to be mathematical). The next collision you can randomly choose from [0, 1, 2, 3], and so on. The network should stabilize according to the number of nodes and the amount of offered traffic – mathematically, the dice range will stabilize to account for the number of collisions being experienced. In modern Ethernet, which is typically Switched Ethernet, there are almost no collisions, and so even though the devices/interfaces are operating as CSMA/CD, the Backoff is not very likely to take effect.

- 5.2 Wi-Fi and Collision Avoidance

While Wi-Fi uses CSMA, there are two reasons why Collision Detection is difficult while the packet is in flight. The first and more debilitating reason is that early on the 802.11 standardizers decided to make Wi-Fi half-duplex, i.e. a Wi-Fi radio is capable of transmitting or receiving at a given instant of time but cannot do both. So, even if the transmission is garbled or there is a simultaneous transmission from some other node, the transmitting node has no way of detecting this.

From its beginnings, Wi-Fi was made to reduce cost and power consumption; however, it also kept in mind the future evolution of the technology for making critical, far-reaching decisions. The second reason why collision detection is difficult for a packet-in-flight has to do with the nature of the Wireless domain. There is a problem wherein a transmitter cannot hear another transmission, either because of distance or because of topography: both transmissions collide at a receiver who can hear both transmitters, but neither transmitter is within hearing range of the other, which is known as the hidden node problem.

wirelesspro2_diagram2
Figure 2: The Distributed Coordination Function (DCF) uses a CSMA/CA with binary exponential backoff algorithm. When a station is ready to send it begins sensing the medium. If the medium is free during an IFS, the station starts sending. If the medium is busy, the station has to wait for a free IFS, and then the station must wait a random backoff time.

To deal with being unable to detect collisions, Wi-Fi takes the approach of using CSMA with Collision Avoidance (CSMA/CA). The probability of collisions is reduced by using Randomized Exponential Backoff (REB) right away. In other words, you're assuming that there might be other nodes that are ready to send information at the same time as the channel is perceived to be idle and thus you do not wait for a collision to begin playing the game of dice. The number set or dice is called a Contention Window. The size of the Contention Window is controlled by a CWmin parameter, which is typically set to 15. Thus, Wi-Fi starts the Exponential Backoff with a number set of [0, 15] right from the start. Thereafter, the Contention Window is usually doubled each time there is a collision up to a CWmax (typically 1023)1.

1 There are always more details in a standard the size of 802.11. The increase in Contention Window size is actually controlled by a Persistence Factor that is typically set to 2. 802.11e, which was developed to support Quality of Service (QoS) on Wi-Fi, and prescribes different CW parameters for different classes of traffic.

6. Coordination Functions and Wi-Fi Topologies

Back to Top

The CSMA/CA scheme discussed above is what is used by default in Wi-Fi, and is part of the Distributed Coordination Function (DCF). DCF is default inasmuch as every access point (AP) and device is required to support it. We will discuss DCF in a little bit more detail shortly, once we have made a brief mention of some optional components of the standards.

- 6.1 Point Coordination Function (PCF)

Like many other standards, Wi-Fi has optional pieces that some devices/APs can choose to deploy. Like many other standards, the optional pieces are almost never used. One of those pieces is Point Coordination Function (PCF). DCF is in contrast to the Point Coordination Function (PCF), in which the AP controls the channel by assigning transmit slots to nodes. Apart from being optional, PCF is almost never used because it is designed to be used in conjunction with DCF, and, in practice, results in the AP being late in sending beacon frames (See section 6.4), which are the frames assigning the time slots in the first place.

- 6.2 Request-to-Send/Clear-to-Send (RTS/CTS)

In DCF, there is an optional Request-to-Send/Clear-to-Send (RTS/CTS) feature to alleviate the hidden node problem. Since the receiver sends the CTS message, the transmitter can be confident that no one else is going to transmit simultaneously; if there were a hidden node transmission, then the CTS would not be sent; if there were a hidden node looking to transmit, a CTS would be an indication to it to hold off. However, it is a significant performance overhead and still susceptible to problems.

- 6.3 Acknowledgement Message (ACK)

With half duplex radios, how does a node know if its transmission has succeeded? How are collisions inferred? These lingering questions are answered by means of an acknowledgement (ACK) message. The receiver whom the message was meant for will respond with an ACK if it successfully received the message. If an ACK is not received, then that indicates that the packet was garbled. This may be due to a collision, due to interference from other Wi-Fi sources (not part of the BSS but on the same channel), or interference from other non-Wi-Fi sources in the unlicensed band. There is no way to tell these apart. The response is always going to be to adjust the contention window (CW). We discussed earlier that CWmax is set to 1023, i.e., once the dice is [0, 1023] you do not expand it further. It is likely that if there is something untoward occurring on the channel (i.e., popcorn in the microwave) causing not only the original packet's transmissions to fail, then its retransmissions may fail as well, leading to repeated failures. To ensure this doesn't continue for too long, a retransmission limit for an individual packet is set to 7. After that many tries, Wi-Fi gives up, and the packet is lost.

The bigger issue is intermittent interference, because then all the repeated transmissions might fail. As such, if when a node is ready to transmit, it finds the medium BUSY (either because of a Wi-Fi transmission, or otherwise), then it will refrain from doing anything until the medium is found to be IDLE. Something like a microwave or other non-Wi-Fi interference can pose a significant problem because the channel is not necessarily perceived as BUSY all of the time that the microwave is going – home microwaves in particular only work for one cycle of the alternating current (AC), which means that while the microwave is ON, 50% of the time it is not emitting radiation in the 2.4 GHz band; additionally, the emitted power level will also vary with the rising and falling of the AC sinewave. In short, it's complicated. One thing that Spread Spectrum enables is that it makes the Wi-Fi signal more resistant to narrow-band interference by spreading out the signal over the 22 MHz, but a microwave emission is easily wider than a Wi-Fi channel wide and may overlap all 3 non-overlapping Wi-Fi channels (see section 9.1).

ACK frames are given priority through a timing mechanism. Even though we said earlier that a node checks to see if the channel is idle before it begins a REB, it actually needs to wait for a DCF Interframe Spacing (DIFS) time period before it can begin that. There is a Short Interframe Spacing (SIFS) which is used to send ACKs, and a PCF Interframe Spacing (PIFS) that can be used by the AP to take control of the channel.  The relationship between the 3 time periods is thus:

SIFS < PIFS (SIFS + 1 slot time) < DIFS (SIFS + 2 slot times)

 

DIFS
image
Channel Busy Channel Busy Channel Busy
Node 1 (6) 6 5 4 3 2 1 Packet
Rx Ack
Node 2 (3) 3 2 1 Packet
Node 3 (12) 12 11 10 SIFS
image
DIFS
image
9 8 7*
(Channel IDLE)
image
Figure 3: An illustration of DCF CSMA/CA with Randomized Exponential Backoff.
*Countdown will resume at 6 when channel is IDLE (i.e., no transmission for a DIFS period).

Figure 3 shows three nodes (1, 2, 3) are ready to transmit and detect the channel as IDLE simultaneously. Since each one picks from the CW of [0.31] at random, node 1 picks 6, node 2 picks 3, and node 3 picks 12. Node 2 counts down to 0 quickest and is able to transmit. Once Node 2 begins transmitting, the other 2 nodes pause their countdowns (otherwise the game of dice would be really unfair). After the packet is received by the receiver Rx, it acknowledges (ACK) after a SIFS time period. Thereafter, after a DIFS period, when the channel is detected as IDLE again, the countdowns for node 1 and node 3 resume at their paused values.

In the meantime, it is possible that a 4th node became ready to transmit, in which case, it would pick a number from the CW. It could potentially be smaller than 9 or 3 (the paused count), in which case it will get precedence. If a failure occurs at any point (i.e. no ACK is received for a packet,) the failed transmitter will double its CW.

Note that although there is some reduction in efficiency, the 3 nodes that are simultaneously ready to transmit do not result in collisions because of the Collision Avoidance REB mechanism.

- 6.4 Beacon Frames

As we can see from the above example, timing is crucial in a Wi-Fi network. An AP periodically sends out a Beacon frame (typically 10 times per second) that announces its presence and which BSS/ESS it is servicing. This lets a device know that there are BSSs available at a given spot. (Note: This is typically what is used, and there are many variations possible.) For example, an AP may not want to advertise its BSS for security reasons.  Again, the vastness of all 802.11/Wi-Fi possibilities is beyond the scope of even a 600-page book!  The Beacon frame also allows all nodes in the BSS to resynchronize their clocks with that of the AP. Clock Drift is a major issue in networks of all kinds. In fact, every frame that is sent on Wi-Fi has a preamble portion that is part of the Wi-Fi PLCP (Physical Layer Convergence Protocol) that enables the receiver to synchronize to the transmitter's clock. One last thing worth mentioning here is that the Wi-Fi header announces how long a packet is going to be so that receivers other than the intended destination can choose to go to sleep to save power.

- 6.5 Ad Hoc Mode

wirelesspro2_diagram3
Figure 4: Ad Hoc Mode vs Infrastructure Mode

Depending on your operating system, Wi-Fi can also work in ad hoc mode without an AP. Two devices can communicate directly with each other in ad hoc or peer mode. In this case, one of the devices acts as a temporary AP sending beacons to keep the connection alive. Ad hoc mode is also used in Wi-Fi Direct in which a secondary device (such as a remote) communicates with a primary (TV/Roku). Whether you are in ad hoc mode when using wireless streaming depends on the underlying technology.  Even if your operating system does not allow you to create an ad hoc network with another computer, it may still use ad hoc mode with something like Wi-Fi Direct.

7. Wi-Fi Evolution: Alphabet Soup

Back to Top

The first version of Wi-Fi (1997) did not arrive with an alphabet subscript and had a data rate of 1 Mbps or 2 Mbps. The alphabets have been added as the technology and standard have evolved. Here's a summary of the Wi-Fi versions with subscripts:

  • 802.11b (1999): Enhanced the modulation for the DSSS variant at 2.4 GHz to support data rates up to 11 Mbps.
  • 802.11a (1999): Added an Orthogonal Frequency Division Multiplexing (OFDM) PHY at 5.8 GHz. This variant did not become common until after 802.11g. Data rates up to 54 Mbps.
  • 802.11g (2003): Brought OFDM from 802.11a to the 2.4-GHz band. Data rates up to 54 Mbps. Following the advent of g, it was extremely common to have 802.11b/g compliant devices, and over time 802.11a/b/g compliant devices (which were dual band – 2.4 and 5.8 GHz).
  • 802.11n (2009): Added Multiple Input Multiple Output (MIMO) antenna capabilities to Wi-Fi. Data rates of up to 600 Mbps. Prior to n, in 2007 letters a-j (except f) were merged into the base standard. MIMO enables the use of beamforming and Spatial multiplexing, thereby increasing the data rates (depending on antenna configuration). A similar merging occurred in 2012 as well.
  • 802.11ac (2013): This is the standard today. Data rates up to 1300 Mbps are possible with the use of wider channels along with Spatial multiplexing at the 5 GHz band.

Other subscripts of interest:

  • 802.11af: White-Fi: Use of Wi-Fi in TV White spaces.
  • 802.11ah: Use of Wi-Fi in sub-1GHz applications.
  • 802.11ad/ay: Use of Wi-Fi in 60 GHz. aj is ad at 45 GHz.
  • 802.11ax: The next mainstream version is currently under development with a goal of increasing data rates by up to 4 times.

8. Wi-Fi Security: WEP, WPA, and Beyond

Back to Top

In a broadcast medium such as Wi-Fi, where all transmissions can be heard by everyone, it is critical to have security to ensure privacy and integrity. During the time of 802.11b, security was available through a mechanism known as Wired Equivalent Privacy (WEP). WEP was extremely limited and had several problems, most egregious of which was that in Shared Key authentication, the AP sent clear text to the node requesting to authenticate, and the node was authenticated when it sent back an encrypted version of that clear text. Thus, the still overblown paranoia about Wi-Fi networks being open for all to hear (play your favorite radio commercial in your head).

WEP was deprecated when Wi-Fi Protected Access (WPA) was introduced as part the 802.11i draft in 2003. WPA was designed such that it could be implemented via a firmware upgrade. WPA was designed to bring Wi-Fi up to the security standards of the day, including 64-bit and 128-bit encryption and Temporal Key Integrity Protocol (TKIP). The base version of WPA has pre-shared keys (WPA-PSK). Intended for home use, WPA does not require the use of an authentication server. WPA-Enterprise requires the use of a RADIUS (Remote Authentication Dial-in User Service) Server. WPA-Enterprise supports a variety of EAP (Extensible Authentication Protocol) extensions.

WPA2 was the ratified standard version of 802.11i, circa 2004. There aren’t many differences as compared to WPA, apart from the fact that WPA2 support is mandatory for products to be Wi-Fi certified and WPA2 has support for CCMP (Counter Mode Cipher Block Chaining Message Authentication Code Protocol/Counter Mode CBC-MAC protocol).

WPA3 was introduced earlier this year and enhances WPA/WPA2. WPA3 uses 128-bit encryption in personal mode and 192-bit encryption in Enterprise mode. WPA3 adds Forward Secrecy.

9. Other Wi-Fi Considerations and Some Explanations

Back to Top

This last section of the module provides a commentary on overlapping channel considerations, password security and spatial multiplexing.

- 9.1 Overlapping Channels in the 2.4 GHz band

Some of you may use the default settings on a new Wi-Fi router/AP. One of the default settings is that of the default channel. This is often set to channel 6.

wirelesspro2_diagram4
Figure 5: 2.4 GHz Channels (Source: Cisco)

When in the 2.4 GHz band, channel considerations are quite important. Worldwide, the Wi-Fi standard will say that there are 14 channels in the 2.4 GHz band, the lower 13 of which are in use in Europe, and the bottom 11 in the US. So, 11 channels, right? Pretty nice capacity. But the 2.4 GHz band, by definition, is 100 MHz. Wi-Fi channels are 22 MHz, then how does one get more than 5 channels from 100 MHz total? In fact, in the US, the Wi-Fi band stretches from 2401 MHz to 2473 MHz. That’s about 70 MHz. The reason why this is possible is because the 11 channels are overlapping.

The center frequencies for Wi-Fi channels begin at 2412 MHz and go up in 5 MHz increments. This naturally means that there will be interference from adjacent channels. There will actually be interference from all overlapping channels to varying degrees. For example, Channel 6, which is the default, would receive a lot of interference from Channel 5 and Channel 7, a bit less from Channel 4 and 8, and so on, and no interference from Channel 1 and Channel 11. It is typical, therefore, to only use the 3 effective channels, both to improve your performance, but also to play nice with others.

Of the 3 effective channels (1, 6, 11) which one should you use? Should you remain with the default? The answer depends, but there is a good chance that your neighbors are using the default, so 6 may be a bad choice. When there are multiple BSSs on the same channel, the DCF works in such a way that all BSSs end up sharing the effective bandwidth.

The correct approach is to conduct a Site Survey using any number of free or open source tools to figure out what is the least occupied channel in your neighborhood and set your router to that channel. Note that contemporary routers often have the capacity to autodetect the least occupied channel; it is wise to make sure that it is automatic in such a way and not a default channel selection.

At 5 GHz, there is much less to worry about: not only is there an abundance of channels, but there are also non-overlapping channels (phew!).

In enterprise networks or ESSs, it is typical to configure nearby routers to have different channels in a rotating fashion.

- 9.2 Wi-Fi Passwords

We have noted some of the security in Section 8, WPA and beyond. When setting up your Wi-Fi network it is important to note that the encryption key is based off the Wi-Fi password that you setup (in WPA-PSK). The password can be 8-63 characters long (ASCII, or 64 hex digits), and the the password along with the SSID is used to compute the 256 bit encryption key. The problem is that if your password is too short then it will be easier to attempt a brute force attack. So your password should be as long as possible; security experts recommend 15 characters or more. Long phrases are good.

- 9.3 MIMO and Spatial Multiplexing

We have mentioned MIMO, beamforming, and Spatial Multiplexing in section 7 on Wi-Fi evolution. It is worth discussing briefly in layperson terms to get an intuition of how it works. Older Wi-Fi antennas used to be omni-directional (that is, the signal transmitted and received is from all directions). This made sense since the relative positioning of transmitters and receivers could be anywhere, bearing in mind obstacles and reflections.

wirelesspro2_diagram5
Figure 6: Spatial Multiplexing

With the advent of better antennas and the use of antenna arrays, it became feasible to have directionality with antennas such that they transmit and receive from specific directions. When a transmitter and receiver are tuned in such a way then a radio-beam is being transmitted that does not spread in all directions (a directional beam). This allows for the use of multiple beams simultaneously in different directions, thus allowing for multiple simultaneous communications (multiplexing) spatially (Spatial Multiplexing). You can get an intuitive feel for Spatial Multiplexing by looking at a Cellphone tower near you. The multiple antennas (of the same type/size) are breaking the geographic range of the tower by directions.

*Trademark. Cypress is a trademark of Cypress Semiconductor Corporation. Other logos, product and/or company names may be trademarks of their respective owners.
Profile image
Shop our wide range of Wi-Fi chipsets, evaluation kits, development boards, expansion boards, and other accessories.
Shop Now

Test Your Knowledge

Back to Top

Wireless Protocol 2

Wireless Protocol 2
Complete our Essentials: Wireless Protocol 2 course, rate the document, earn 100% on the quiz...

Are you ready to demonstrate your Wi-Fi wireless protocol knowledge? Then take a quick 15-question multiple choice quiz to see how much you've learned from this Wireless Protocol 2 Learning Module.

To earn the Wireless Protocol 2 Badge, read through the module to learn all about wi-fi wireless protocol, attain 100% in the quiz at the bottom, and leave us some feedback in the comments section.

For more wireless protocol modules click on the next button

  • wirelss protocols
  • infineon
  • wifi
  • wi-fi
  • wi-fi protocols
  • wifi standards
  • cypress
  • wifi protocols
  • wireless protocol
  • ess_module
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • Gough Lui
    Gough Lui over 7 years ago +8
    A decent module - but I'd have to dispute a few questions - The question which refers to the bands 802.11ac operates in. In reality, 802.11ac operates only in the 5Ghz bands as 802.11ac requires the use…
  • Gough Lui
    Gough Lui over 7 years ago in reply to phoenixcomm +8
    Thanks for pointing that out too - rightly said phoenixcomm . Unfortunately, I didn't actually read most of the module prior to attempting the quiz as I'm also fairly familiar with Wi-Fi. After taking…
  • Gough Lui
    Gough Lui over 7 years ago in reply to koudelad +7
    I didn't spot that but that is almost certainly not correct. WEP, WPA/WPA2 are fixed key length encryption systems. For WEP, keys could be either put in as 5 or 13 characters or 10/26 hex higits. WPA/WPA2…
Parents
  • phoenixcomm
    phoenixcomm over 7 years ago

    This was a good module Gough is correct with his comments. I have one more to toss in the ring. I have been a member of the WiFi Alliance for many a year. And have installed numerous  Routers and Access Points, Bridges, etc. Even though you talk about BSS and I found a page in the Wikipedia, To my knowledge, it as never been called this and instead it has been always called ESSID. You are confusing the BSS (a MAC like number) and the ESSID which is the name that you see and set.

    This is what you wrote:

    When an access point is set up, it is usually set up as part of a local network. In Wi-Fi terminology, such a network is called a Basic Service Set (BSS), and the network is identified by a BSS id, which is the name that you see pop up when your device informs you that there are Wi-Fi networks available.

    This is from the Wikipedia:

    Service sets are arranged hierarchically,: basic service sets (BSS) are units of devices operating with the same medium access characteristics (i.e. radio frequency, modulation scheme etc.), while extended service sets (ESS) are logical units of one or more basic service sets on the same logical network segment (i.e. IP subnet, VLAN etc.). There are two classes of basic service sets: those that are formed by infrastructure mode redistribution points (access points or mesh nodes), and those that are formed by independent stations in a peer-to-peer ad hoc topology. Basic service sets are identified by BSSIDs, which are 48-bit labels that conform to MAC-48 conventions. Logical networks (including extended service sets) are identified by SSIDs, which serve as "network names" and are typically natural language labels.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Gough Lui
    Gough Lui over 7 years ago in reply to phoenixcomm

    Thanks for pointing that out too - rightly said phoenixcomm. Unfortunately, I didn't actually read most of the module prior to attempting the quiz as I'm also fairly familiar with Wi-Fi. After taking a more detailed look at the module, it seems there are a number of issues and a lot of vague explanations. I'll skip the latter but focus on some of the more bothersome claims:

    Both an AP and a Router provide wireless access. The only difference is that a Router will have Ethernet ports in addition to providing wireless access through Wi-Fi. Thus, it is an AP with Ethernet ports. You should note that the term Router in networking means something very specific, that is, the capability to participate in a Routing Protocol (ex: Internet Routers participate in the Internet Protocol or IP). Since a Wireless Router performs no Routing function, it should not be called a Router. A Wireless/Ethernet Hub or Switch (depending on the AP device's capability) would be a better name. However, marketing/sales specialists have determined that the device is to be called Wireless Router, thus we are stuck with that term despite its lack of technical exactness.

    I'm not sure what happens in the USA, but when we say wireless router, we mean wireless router. A wireless router is not the same thing as an access point, as it provides routing features - the most common of these is NAT which allows sharing an internet connection. NAT is a L3 routing technology. A wireless AP does not and merely bridges the wireless devices over to the Ethernet port. Both devices have Ethernet ports - otherwise what would a wireless AP connect to? (With the exception of Mesh/WDS APs which use wireless as a backhaul). Consumers may not understand the difference, but "gateway" as you have defined in italics is what we would term a wireless modem-router especially where the other Layer 1 access medium is POTS/ADSL/VSDL/HFC/UMTS/LTE.

    Something like a microwave or other non-Wi-Fi interference can pose a significant problem because the channel is not necessarily perceived as BUSY all of the time that the microwave is going – home microwaves in particular only work for one cycle of the alternating current (AC), which means that while the microwave is ON, 50% of the time it is not emitting radiation in the 2.4 GHz band; additionally, the emitted power level will also vary with the rising and falling of the AC sinewave. In short, it's complicated.

    Right to say that intermittent interference can be complicated to manage, but it seems a little bit of a refusal to actually delve into the details. Other forms of interference are also not mentioned - but Wi-Fi can still operate to some extent through a range of mitigations such as retransmissions, reducing the MAC frame size and consequently introducing fragmentation to fit "in-between" bursts, or reducing modulation rate so that burst-induced corruption can still be repaired sufficiently by the FEC and as the SNR remains high enough through most of the burst energy. Likewise, upper layer retransmissions also help.

    In fact, every frame that is sent on Wi-Fi has a preamble portion that is part of the Wi-Fi PLCP (Physical Layer Convergence Protocol) that enables the receiver to synchronize to the transmitter's clock.

    As far as I'm concerned, the preamble portion is not for synchronizing to the transmitter's clock - this is what the timestamp in the beacon frame is for (so that sleeping clients, especially, know when to wake up to receive the next beacon with DTIM flag so as to know if the AP is holding any frames for that client). The purpose of the preamble portion (which comes in both long and short varieties) is mainly to allow the transmitter's RF amplifier to ramp-up to full power and to allow the receivers enough time to train their equalizers and adjust their tuning to ensure a good decode of the incoming frame.

     

    In the discussion about Wi-Fi security, I think it might be important to start with Open (unencrypted) and Open System WEP rather than jumping into Shared Key WEP. The Open System WEP and Shared Key WEP have slightly different vulnerabilities - while the algorithm itself is weak and the design is prone to prior-knowledge based attack, the mechanisms are slightly different.

    One of the default settings is that of the default channel. This is often set to channel 6.

    Most modern AP's I've found tend to do worse - they're set to "AUTO" resulting in the AP scanning and choosing a frequency of its own accord, without care as to the 1-6-11 rule.

     

    Also of minor consequence is that one major contributor to degradation is not mentioned - multipath. The constructive/destructive interference cause signal fades which can be deep and frequency-specific leading to reduced SNR. Another thing is to note that RTS/CTS can be abused to "jam" Wi-Fi channels by other "co-channel users" of 2.4Ghz. Likewise, one major contribution to improved performance was not mentioned too - namely the improvement in mixed signal IC designs, better printed antennas/board mounted antennas and RF amplifiers. This has led to some modern commercial APs claiming sensitivity levels down to -100dBm for a 9% PER in 802.11b whereas they were at about -94dBm in the mid-802.11b era, which is a whopping 6dB advantage right there. Other improvements lie in the use of LDPC based error correction which is more optimal in regards to overhead vs. corrected bits, better throughput through frame bursting. While commonly claimed that 2.4Ghz propagates better than 5Ghz (it does), I've found that 2.4Ghz and 5Ghz have similar service "areas" due to the fact that 2.4Ghz is often "noise floor limited" as the interference tends to limit the achieved SNR, whereas 5Ghz might show a weaker signal but still maintain a decent SNR as the noise floor is lower. Modern cards with improved 5Ghz-centric designs also help, as early 802.11a/n gear often had compromise antennas with <2.1dBi on 5Ghz.

     

    - Gough

    • Cancel
    • Vote Up +8 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • rscasny
    rscasny over 7 years ago in reply to Gough Lui

    I spoke with the author of the learning module, and he wanted to share with you a response:

     

    Thank you for your comment, you make several important points.

     

    We would like to make a few clarifications:

     

    A Router in Internet terminology, specifically refers to a device that is capable of participating in the Internet Protocol (IP v4 and/or IP v6). In general the term router is applied to any device participating in a routing function or routing protocol. These are also sometimes called Layer 3 devices because in both the OSI and TCP/IP models the routing function takes place in Layer 3. Devices sold as Wireless Routers do not participate in any routing function, do not perform IP routing, nor any Layer 3 functions and therefore should not be called routers.

     

    NAT (Network Address Translation), like DHCP, is a mechanism for dealing with the limited address space in IP ver. 4 (IPv4). Depending on the manufacturer and model, both Wireless APs and Routers provide varying degrees of NAT and DHCP functionality. We will avoid getting too much into the weeds about what is and isn't DHCP etc. Suffice to say that NAT and DHCP are used to provide the capability of 1 public IP address (provided by your Internet Service Provider or ISP) to be shared among multiple devices in your network.

     

    To clarify the distinction between Wireless AP and Wireless Router -- as marketed -- the distinction is that the Wireless AP does not have Ethernet ports available for the user and the Wireless Router does. You are correct in pointing out that an AP will have an Ethernet port for connecting to the Internet via a gateway (ex: cable modem). We apologize if that was unclear in the text.

     

    And yes, you are correct, that the Wireless AP/Router is often co-located with the gateway these days.

     

    Finally, you make an excellent point about multipath, we elected to skip multipath in our discussion because it is a complex topic, and it is less of an issue in 802.11ac than say back in the day. We would also like to point out that we have referred to the complex unlicensed band picture before in the Essentials series and in general we try to balance providing information but not overburdening the reader with details. It is a delicate act and it is true sometimes we err on one side or another, so it is helpful to have more descriptive comments from users such as yourself.

     

    Finally, as for the PLCP, it is quite complex and we will not be able to discuss the details here. However, we would like to reiterate that the Preamble is in fact used for synchronization, in addition to other things.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Gough Lui
    Gough Lui over 7 years ago in reply to rscasny

    Dear rscasny and the author of the learning module -

     

    I would, respectfully, still beg to differ on some of your points. I don't take this lightly, but this is an area for which I am fairly knowledgeable about for which the dissemination of confusing information would probably hinder, rather than help, consumers and the broader public. This comment has involved a fairly substantial effort on my behalf - I hope that you can see the issue from my perspective:

    • You claim that wireless routers do not participate in any routing function, do not perform IP routing, nor any Layer 3 functions is rather contentious and depends on how you define routing. Wireless APs do not, but wireless routers (as sold) do to some degree depending on how you define routing function.
    • I can understand if the author has an objection to the use of the term "routing" for a consumer grade device that doesn't participate in the broader sense of operating as a router which defines the routing table in a "global" sense through exchanging messages with other routers through use of BGP and offering multi-path routing, but only those who are advertising autonomous systems (AS) to their ISP and have a corporate peering/transit link need this functionality. There are only about 100,000 A/Ses in the world today. This is not something most SOHO users could even obtain from their ISPs and is generally irrelevant unless dealing with corporation-sized internet connections. That's not to say that consumer routers don't at least offer RIPv1/v2 (most Netgear products do - even see this configuration screen and some TP-Link products also offer RIP), and my Mikrotik hAP series router certainly offers OSPF and BGP (and is probably the lowest cost device to do so at the consumer level). Routing Information Protocol (RIP) is the most basic of IP Routing protocols - while its usefulness is rather low compared to OSPF/BGP, it is still relevant for small networks and for purposes of discussion.
    • However, the assertion that it does not perform any Layer 3 functions is definitely questionable. Without any layer 3 activities - it would be merely as "dumb" as a switch or a regular Wireless AP. A wireless router is NOT a Wireless AP. The distinction lies in NAT, which itself operates at Layer 3 as it involves rewriting IP headers - this directly contravenes your claim that wireless routers do not perform any layer 3 functions. NAT is performed by the wireless router so as to be the gateway on the network and route packets either out of the LAN or WAN links (most commonly Ethernet) based on their addresses. IP Routing is distinctly concerned with choosing a route for the traffic - and while a wireless router used at home generally only operates with one WAN side link, it is still technically a router as it is the gateway for the network. While it may not participate in IP Routing "between" neighbour routers, it still serves a gatewaying function.
    • If you don't agree that NAT is a function of a router, see Cisco's NAT FAQ document which states:
      • Network Address Translation (NAT) is designed for IP address conservation. It enables private IP networks that use unregistered IP addresses to connect to the Internet. NAT operates on a router, usually connecting two networks together, and translates the private (not globally unique) addresses in the internal network into legal addresses, before packets are forwarded to another network.
    • Many consumer-level routers and gateways also feature DNS Proxying, SPI Firewall, Application-Layer Gateways (ALGs) which actively rewrite the headers of FTP, SIP, etc protocols as they traverse the NAT to ensure that such multi-port based protocols do not break. In fact, many wireless routers nowadays go even further - they also offer traffic filtering based on destination, keyword, and the NAT features configurable/dynamic port forwarding. They also host services such as uPnP, SMB file/print sharing. These all operate at Layer 3 or above.
    • DHCP is a mechanism for allocating addresses and configuring hosts over a local Ethernet segment/subnet automatically. While it facilitates sharing a single public address through the use of a NAT gateway, its purpose is NOT complicated nor directly related to NAT. NAT works equally well with static IP addressing.

     

    One of the possible issues is that the author seems to equate wireless-AP and wireless-router as being equivalent sans the addition of user-facing Ethernet ports (ala, a Layer 2 switch) and this being distinct from the network gateway. While from a network topological standpoint, this can be a helpful way of thinking about it, but the problem lies in integration. The Wireless Router products as sold by vendors (at least, in Australia) combines the radios (i.e. AP) with an SoC running firmware that performs the NAT routing function (i.e. gateway). These are not distinct units. If you purchased an Access Point (in Australia), that would only have the radios with an SoC that performs a Layer 2 bridging function, you would need to rely on a (possibly cabled) gateway elsewhere on the network to provide internet access. There is no equivalency from the perspective of function - although you could configure a Wireless Router to be a Wireless AP by disabling the NAT feature (as offered by Belkin) or by bridging LAN-side ports together. In essence, a Wireless AP is hence a subset of the functionality provided by a Wireless Router.

     

    Note the Belkin text when converting their Wireless Router to Access Point states:

    "ADVANCED FEATURE! The Router can be configured to act strictly as an Access Point, bypassing all of the routing and firewall functions." - if this is not a clear indication that their Wireless Router is a router, beyond the evidence I have provided above, I don't know what is.

     

    As for the PLCP preamble - I suppose you can say that it is used to synchronize with the bit-clock of the transmitter for decoding of the modulated data, in which case I would agree, although it is not used for synchronisation (timing-wise) of slave devices to the AP for co-ordination purposes (to my knowledge) which is carried in the beacon frame as a timestamp.

     

    As a result, I conclude with the following:

    • Wireless Routers and Wireless APs are distinct. Wireless Routers integrate a gatewaying function within the unit, commonly NAT, optionally with other services operating at Layer 3 or above, whereas Wireless APs operate at Layer 2, performing a bridging function only.
    • Whether you consider a Wireless Router a router depends on your definition of router - while most won't have more demanding IP Routing protocols (e.g. OSPF/BGP) and only support basic RIP with a single WAN, it still performs the NAT gateway function which is considered the role of a router.

     

    I hope I have made my points crystal clear - unless your vendors do something strange over in the USA, selling APs as Routers and vice-versa, this shouldn't be a point of confusion.

     

    Respectfully,

    Gough.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • Gough Lui
    Gough Lui over 7 years ago in reply to rscasny

    Dear rscasny and the author of the learning module -

     

    I would, respectfully, still beg to differ on some of your points. I don't take this lightly, but this is an area for which I am fairly knowledgeable about for which the dissemination of confusing information would probably hinder, rather than help, consumers and the broader public. This comment has involved a fairly substantial effort on my behalf - I hope that you can see the issue from my perspective:

    • You claim that wireless routers do not participate in any routing function, do not perform IP routing, nor any Layer 3 functions is rather contentious and depends on how you define routing. Wireless APs do not, but wireless routers (as sold) do to some degree depending on how you define routing function.
    • I can understand if the author has an objection to the use of the term "routing" for a consumer grade device that doesn't participate in the broader sense of operating as a router which defines the routing table in a "global" sense through exchanging messages with other routers through use of BGP and offering multi-path routing, but only those who are advertising autonomous systems (AS) to their ISP and have a corporate peering/transit link need this functionality. There are only about 100,000 A/Ses in the world today. This is not something most SOHO users could even obtain from their ISPs and is generally irrelevant unless dealing with corporation-sized internet connections. That's not to say that consumer routers don't at least offer RIPv1/v2 (most Netgear products do - even see this configuration screen and some TP-Link products also offer RIP), and my Mikrotik hAP series router certainly offers OSPF and BGP (and is probably the lowest cost device to do so at the consumer level). Routing Information Protocol (RIP) is the most basic of IP Routing protocols - while its usefulness is rather low compared to OSPF/BGP, it is still relevant for small networks and for purposes of discussion.
    • However, the assertion that it does not perform any Layer 3 functions is definitely questionable. Without any layer 3 activities - it would be merely as "dumb" as a switch or a regular Wireless AP. A wireless router is NOT a Wireless AP. The distinction lies in NAT, which itself operates at Layer 3 as it involves rewriting IP headers - this directly contravenes your claim that wireless routers do not perform any layer 3 functions. NAT is performed by the wireless router so as to be the gateway on the network and route packets either out of the LAN or WAN links (most commonly Ethernet) based on their addresses. IP Routing is distinctly concerned with choosing a route for the traffic - and while a wireless router used at home generally only operates with one WAN side link, it is still technically a router as it is the gateway for the network. While it may not participate in IP Routing "between" neighbour routers, it still serves a gatewaying function.
    • If you don't agree that NAT is a function of a router, see Cisco's NAT FAQ document which states:
      • Network Address Translation (NAT) is designed for IP address conservation. It enables private IP networks that use unregistered IP addresses to connect to the Internet. NAT operates on a router, usually connecting two networks together, and translates the private (not globally unique) addresses in the internal network into legal addresses, before packets are forwarded to another network.
    • Many consumer-level routers and gateways also feature DNS Proxying, SPI Firewall, Application-Layer Gateways (ALGs) which actively rewrite the headers of FTP, SIP, etc protocols as they traverse the NAT to ensure that such multi-port based protocols do not break. In fact, many wireless routers nowadays go even further - they also offer traffic filtering based on destination, keyword, and the NAT features configurable/dynamic port forwarding. They also host services such as uPnP, SMB file/print sharing. These all operate at Layer 3 or above.
    • DHCP is a mechanism for allocating addresses and configuring hosts over a local Ethernet segment/subnet automatically. While it facilitates sharing a single public address through the use of a NAT gateway, its purpose is NOT complicated nor directly related to NAT. NAT works equally well with static IP addressing.

     

    One of the possible issues is that the author seems to equate wireless-AP and wireless-router as being equivalent sans the addition of user-facing Ethernet ports (ala, a Layer 2 switch) and this being distinct from the network gateway. While from a network topological standpoint, this can be a helpful way of thinking about it, but the problem lies in integration. The Wireless Router products as sold by vendors (at least, in Australia) combines the radios (i.e. AP) with an SoC running firmware that performs the NAT routing function (i.e. gateway). These are not distinct units. If you purchased an Access Point (in Australia), that would only have the radios with an SoC that performs a Layer 2 bridging function, you would need to rely on a (possibly cabled) gateway elsewhere on the network to provide internet access. There is no equivalency from the perspective of function - although you could configure a Wireless Router to be a Wireless AP by disabling the NAT feature (as offered by Belkin) or by bridging LAN-side ports together. In essence, a Wireless AP is hence a subset of the functionality provided by a Wireless Router.

     

    Note the Belkin text when converting their Wireless Router to Access Point states:

    "ADVANCED FEATURE! The Router can be configured to act strictly as an Access Point, bypassing all of the routing and firewall functions." - if this is not a clear indication that their Wireless Router is a router, beyond the evidence I have provided above, I don't know what is.

     

    As for the PLCP preamble - I suppose you can say that it is used to synchronize with the bit-clock of the transmitter for decoding of the modulated data, in which case I would agree, although it is not used for synchronisation (timing-wise) of slave devices to the AP for co-ordination purposes (to my knowledge) which is carried in the beacon frame as a timestamp.

     

    As a result, I conclude with the following:

    • Wireless Routers and Wireless APs are distinct. Wireless Routers integrate a gatewaying function within the unit, commonly NAT, optionally with other services operating at Layer 3 or above, whereas Wireless APs operate at Layer 2, performing a bridging function only.
    • Whether you consider a Wireless Router a router depends on your definition of router - while most won't have more demanding IP Routing protocols (e.g. OSPF/BGP) and only support basic RIP with a single WAN, it still performs the NAT gateway function which is considered the role of a router.

     

    I hope I have made my points crystal clear - unless your vendors do something strange over in the USA, selling APs as Routers and vice-versa, this shouldn't be a point of confusion.

     

    Respectfully,

    Gough.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • Gough Lui
    Gough Lui over 7 years ago in reply to Gough Lui

    Furthermore, for the avoidance of doubt - I am using the term gateway in the strict networking sense - namely, the host on a network that peers send packets destined to subnets other than the one they are currently configured in, commonly a router which forwards the packets to other gateways based on their routing table.

     

    The author seems to exchange the use of the term gateway for "modem" or (as we sometimes term) CPE (customer premesis equipment), whose job is to provide an Ethernet bridge to a different physical layer medium (HFC, GPON, etc) and may handle remote provisioning and authentication/encryption internally.

     

    Generally a network may use a wireless router with the modem together, with the wireless router performing NAT routing. Or if the ISP supplies an IGD (Integrated Gateway Device), then alternatively, an AP can be used as the IGD performs NAT, DHCP etc. If a Wireless Router is used with an IGD, a double-NAT can be the result, causing end to end connectivity issues for certain protocols, especially those requiring UDP inbound access. Many people who do not know which device is providing NAT tend to make this mistake and complain that port forwarding isn't working. Older CPEs were less likely to integrate any smarts, relying on the externally attached NAT router (wireless or not) to perform authentication - hence you will find WAN configuration for PPPoE/PPPoA/etc in most routers. You won't find this on an AP though.

     

    - Gough

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube