What frame exchanges are part of a device joining an SSID?
CWS & CWT Book Giveaway
We’re raffling off a two bundles of the CWS & CWT books from CWNP. Two winners will get a copy of each book. If you’re getting into Wi-Fi or would like to know the fundamentals so you can sell Wi-Fi then this is a good resource to use. All you have to do is fill out the form below.
Meet Dustin Johnson
Our feature wireless engineer for this episode is Dustin Johnson. We ran into him at Cisco Live by accident and he happens to be a listener of the show! Listen to the episode to hear him answer François’ 10 questions.
802.11 Authentication and Association
How does the station (STA) and access point agree to this connection? We’re going to break down the steps and the frames that are part of a STA connecting to an access point.
We have one STA connecting to an open SSID. The summary of it all is as follows:
- STA is unauthenticated and unassociated
- STA becomes authenticated and unassociated
- STA becomes authenticated and associated
- STA clears security requirements such as 802.1X, if required
The STA begins the process by performing a passive or active scan. In passive mode, the STA is listening for beacons from an access point. The beacon frame contains the BSSID which is the MAC address of the radio sourcing from the access point.
The beacon frame is a type of management frame defined in 802.11-2016. It includes capability information and parameters.
A probe is sourced from the STA requesting to join a wireless network. This is a probe request management frame. The probe is responded by an access point using a probe response management frame.
The probing/scanning phase is part of the unauthenticated and unassociated step. The STA has not authenticated with the access point and also is not associated with the access point. Think of authentication as plugging a computer into a port on a switch.
The STA must be authenticated to the access point before it is associated. It sounds backwards. These are the two states in this phase and it must be done in this order.
- Unauthenticated or authenticated.
- Unassociated or associated.
To begin the Authentication step, the STA sends an Authentication wireless management frame to the access point. The access point responds with an Acknowledgement frame.
The access point will acknowledge the Authentication frame from the STA and upon successful authentication, the access point will send an authentication frame to the STA with an Authentication Sequence with a State of 2, for success.
Access point sends an Authentication frame with a state of 2, for Successful.
Once the STA is authenticated to the access point, the next step is to become Associated. The Association occurs after the Shared Key Authentication or Open System Authentication Algorithm. There cannot be a STA that is Associated but not Authenticated. If the STA fails Authentication, it does not move to Association.
After the the access point sends an Acknowledgement to the STA’s Authentication Response, the STA sends an Association Request.
The Association Request is Acknowledged by the access point which then sends an Association Response frame to the STA.
If the association is successful, the access point’s Association Response frame will contain a Status code: Successful.
The details within an Association Response include:
- Capabilities Information such as
- Supported Data Rates
- HT Capabilities
- HT Information such as the Primary Channel
- WMM information
- And more..
If the Status code is anything other than Successful, then the STA is deauthenticated.
Links And Resources
Join Clear To Send
Come join the Clear To Send community.