CTS 131: 802.11 Authentication and Association




Clear To Send: Wireless Network Engineering show

Summary: What frame exchanges are part of a device joining an SSID?<br> CWS &amp; CWT Book Giveaway<br> We’re raffling off a two bundles of the <a href="https://amzn.to/2K8nFtb" target="_blank" rel="nofollow noopener">CWS</a> &amp; <a href="https://amzn.to/2K6gWzT" target="_blank" rel="nofollow noopener">CWT</a> 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.<br> Meet Dustin Johnson<br> 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.<br> <br> 802.11 Authentication and Association<br> 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.<br> We have one STA connecting to an open SSID. The summary of it all is as follows:<br> <br> * STA is unauthenticated and unassociated<br> * STA becomes authenticated and unassociated<br> * STA becomes authenticated and associated<br> * STA clears security requirements such as 802.1X, if required<br> <br> <br> Beacon/Probe<br> 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.<br> The beacon frame is a type of management frame defined in 802.11-2016. It includes capability information and parameters.<br> 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.<br> <a href="http://www.cleartosend.net/wp-content/uploads/2018/07/802.11-authentication-and-association.png"></a><br> Authentication<br> 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.<br> 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.<br> <br> * Unauthenticated or authenticated.<br> * Unassociated or associated.<br> <br> 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.<br> 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.<br> Access point sends an Authentication frame with a state of 2, for Successful.<br> Association<br> 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.<br> After the the access point sends an Acknowledgement to the STA’s Authentication Response, the STA sends an Association Request.<br> The Association Request is Acknowledged by the access point which then sends an Association Response frame to the STA.<br> If the association is successful, the access point’s Association Response frame will contain a Status code: Successful.<br> The details within an Association Response include:<br> <br> * Capabilities Information such as<br> <br>