ArticleslgStudy

computer science

Wi-Fi Protected Setup

Wi-Fi Protected Setup is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Wi-Fi Protected Setup rather than just read about it. In short: Wi‑Fi Protected Setup (WPS), referred to as Wi‑Fi Simple Configuration in the specification, and branded as WPS, is a standard designed to ease the setup of Wi‑Fi networks in home and small office environments. Created by Wi‑Fi Alliance, the purpose of the protocol is to allow home users who know little of wireless security and may be intimidated by the available security options to set up Wi‑Fi Protected Access, as…

Wi-Fi Protected Setup — main illustration
Wi-Fi Protected Setup — illustration

Key takeaways

  • Wi-Fi Protected Setup belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Wi-Fi Protected Setup to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Wi-Fi Protected Setup from memory before moving on to harder problems.

Reference excerpt

Wi‑Fi Protected Setup (WPS), referred to as Wi‑Fi Simple Configuration in the specification, and branded as WPS, is a standard designed to ease the setup of Wi‑Fi networks in home and small office environments. Created by Wi‑Fi Alliance, the purpose of the protocol is to allow home users who know little of wireless security and may be intimidated by the available security options to set up Wi‑Fi Protected Access, as well as making it easy to add new devices to an existing network without entering long passphrases. It is used by devices made by HP, Brother, and Canon, especially for their printers. WPS is a wireless method that is used to connect certain Wi‑Fi devices, such as printers and security cameras, to the Wi‑Fi network without using any password. In addition, another way to connect is called WPS PIN; this is used by some devices to connect to the wireless network. A major security flaw was revealed in December 2011 that affects wireless routers with the WPS PIN feature, which most recent models have enabled by default. The flaw allows a remote attacker to recover the WPS PIN in 4–10 hours with a brute-force attack and, with the WPS PIN, the network's WPA/WPA2 pre-shared key (PSK). Users have been urged to turn off the WPS PIN feature, although this may not be possible on some router models.

Modes The standard emphasizes usability and security, and allows four modes in a home network for adding a new device to the network:

PIN method In which a PIN has to be read from either a sticker or display on the new wireless device. This PIN must then be entered at the "representant" of the network, usually the network's access point. Alternately, a PIN provided by the access point may be entered into the new device. This method is the mandatory baseline mode and everything must support it. The Wi‑Fi Direct specification supersedes this requirement by stating that all devices with a keypad or display must support the PIN method. Push button method In which the user has to push a button, either an actual or virtual one, on both the access point and the new wireless client device. On most devices, this discovery mode turns itself off as soon as a connection is established or after a delay (typically 2 minutes or less), whichever comes first, thereby minimizing its vulnerability. Support of this mode is mandatory for access points and optional for connecting devices. The Wi‑Fi Direct specification supersedes this requirement by stating that all devices must support the push button method. Near-field communication method In which the user has to bring the new client close to the access point to allow a near-field communication between the devices. NFC Forum–compliant RFID tags can also be used. Support of this mode is optional. USB method In which the user uses a USB flash drive to transfer data between the new client device and the network's access point. Support of this mode is optional, but deprecated. The last two modes are usually referred to as out-of-band methods as there is a transfer of information by a channel other than the Wi‑Fi channel itself. Only the first two modes are currently covered by the WPS certification. The USB method has been deprecated and is not part of the Alliance's certification testing. Some wireless access points have a dual-function WPS button, and holding this button down for a shorter or longer time may have other functions, such as factory-reset or toggling WiFi. Some manufacturers, such as Netgear, use a different logo and/or name for Wi‑Fi Protected Setup; the Wi‑Fi Alliance recommends the use of the Wi‑Fi Protected Setup Identifier Mark on the hardware button for this function.

Technical architecture The WPS protocol defines three types of devices in a network:

Registrar A device with the authority to issue and revoke access to a network; it may be integrated into a wireless access point (AP), or provided as a separate device. Enrollee A client device seeking to join a wireless network. AP An access point functioning as a proxy between a registrar and an enrollee. The WPS standard defines three basic scenarios that involve components listed above:

AP with integrated registrar capabilities configures an enrollee station (STA) In this case, the session will run on the wireless medium as a series of EAP request/response messages, ending with the AP disassociating from the STA and waiting for the STA to reconnect with its new configuration (handed to it by the AP just before). Registrar STA configures the AP as an enrollee This case is subdivided in two aspects: first, the session could occur on either a wired or wireless medium, and second, the AP could already be configured by the time the registrar found it. In the case of a wired connection between the devices, the protocol runs over Universal Plug and Play (UPnP), and both devices will have to support UPnP for that purpose. When running over UPnP, a shortened version of the protocol is run (only two messages) as no authentication is required other than that of the joined wired medium. In the case of a wireless medium, the session of the protocol is very similar to the internal registrar scenario, but with opposite roles. As to the configuration state of the AP, the registrar is expected to ask the user whether to reconfigure the AP or keep its current settings, and can decide to reconfigure it even if the AP describes itself as configured. Multiple registrars should have the ability to connect to the AP. UPnP is intended to apply only to a wired medium, while actually it applies to any interface to which an IP connection can be set up. Thus, having manually set up a wireless connection, the UPnP can be used over it in the same manner as with the wired connection. Registrar STA configures enrollee STA In this case the AP stands in the middle and acts as an authenticator, meaning it only proxies the relevant messages from side to side.

Protocol

… excerpt ends here. Continue reading the full article.

Illustrations

Wi-Fi Protected Setup: The WPS push button (center, blue) on a wireless router showing the symbol defined by the Wi‑Fi Alliance for this function.
The WPS push button (center, blue) on a wireless router showing the symbol defined by the Wi‑Fi Alliance for this function.
Wi-Fi Protected Setup: A Telstra 4GX Advanced III mobile broadband device showing WPS pairing options for a particular radio/band.
A Telstra 4GX Advanced III mobile broadband device showing WPS pairing options for a particular radio/band.
Wi-Fi Protected Setup: A generic service bulletin regarding physical security for wireless access points
A generic service bulletin regarding physical security for wireless access points
Wi-Fi Protected Setup: A wireless router showing printed preset security information including the free Wi‑Fi
A wireless router showing printed preset security information including the free Wi‑Fi

Worked examples

Example 1 — a first encounter with Wi-Fi Protected Setup

Start with the simplest possible case. Write down what Wi-Fi Protected Setup claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Wi-Fi Protected Setup before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Wi-Fi Protected Setup ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Wi-Fi Protected Setup

In research
Wi-Fi Protected Setup appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Wi-Fi Protected Setup in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Wi-Fi Protected Setup is common in secondary-school and first-year university syllabi. It links to neighbouring topics Broken cryptographic algorithms, Cryptographic protocols, Wi-Fi, so understanding it makes those chapters shorter.
In everyday life
Look for Wi-Fi Protected Setup outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Wi-Fi Protected Setup” →

How to study Wi-Fi Protected Setup in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Wi-Fi Protected Setup means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Wi-Fi Protected Setup out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Wi-Fi Protected Setup in simple terms?

Wi‑Fi Protected Setup (WPS), referred to as Wi‑Fi Simple Configuration in the specification, and branded as WPS, is a standard designed to ease the setup of Wi‑Fi networks in home and small office environments. Created by Wi‑Fi Alliance, the purpose of the protocol is to allow home users who know l…

Why does Wi-Fi Protected Setup matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Wi-Fi Protected Setup?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Wi-Fi Protected Setup.

Tags

  • Broken cryptographic algorithms
  • Cryptographic protocols
  • Wi-Fi

Keep exploring