WIPIVERSE All articles

SoftAP

SoftAP (an abbreviation of "software-enabled access point," also written "software access point" or "soft AP") is a wireless networking term describing the use of software to make a device function as a Wi-Fi access point, even though the device was not purpose-built as a router. It is frequently used interchangeably with the related terms "virtual router," "virtual Wi-Fi," and "virtual access point."

Meaning and terminology

The term denotes an access point implemented primarily in software rather than as dedicated hardware. A device with a Wi-Fi radio that supports the necessary operating mode can be configured to broadcast its own wireless network (an SSID), accept client associations, and relay or route traffic. Because the access point function is generated by the device's own wireless interface plus driver and software support, it is called "software-enabled."

History

SoftAP software dates to the Windows XP era. Ralink is credited with shipping an early SoftAP implementation for its Wi-Fi cards, which allowed a card to act as a wireless access point. While operating in that mode, the card could not simultaneously remain connected as a client, so Internet connectivity had to be supplied by another interface, such as Ethernet. Other vendors, including Edimax, later released similar software. These early implementations were largely discontinued for Windows Vista because of that release's new driver model, and the category lay dormant until Windows 7 (2009).

Windows 7 introduced native support through the Wireless Hosted Network feature, which virtualizes a physical wireless adapter into multiple logical adapters, allowing a single adapter to act as both a client station and a software access point. This functionality was initially exposed mainly through the netsh command-line interface. With Windows 10, a graphical user interface for creating a hotspot was added, and the built-in "Mobile Hotspot" feature continued in Windows 11.

Technical mechanisms

Implementations vary by platform:

  • Linux: The hostapd daemon is the common means of establishing the Wi-Fi link layer for a software access point, typically in combination with nl80211-compatible drivers. The wireless device must report AP among its supported interface modes (verifiable with iw list). Network configuration is handled either by bridging the access point interface to an existing network or by using NAT with IP forwarding, masquerading, and a DHCP service. Some wireless devices support simultaneous station and access point operation, enabling a single radio to act as a wireless repeater.
  • Windows: The Wireless Hosted Network implements a software access point using a virtual AP adapter. It requires a driver conforming to the relevant Windows wireless LAN driver model and uses WPA2-PSK/AES for protection. Microsoft documentation notes that this SoftAP is not intended to replace hardware-based access points, does not provide DNS resolution by itself, and does not automatically restart after the host computer sleeps, hibernates, or restarts. SoftAP and ad hoc networking are mutually exclusive on the same physical adapter.
  • Android: Android's networking stack exposes SoftAP functionality through the WifiManager class, including capabilities such as tethering hotspots and "local-only hotspot" reservations, with SoftApConfiguration and SoftApCallback interfaces available to applications.

Purpose and use cases

SoftAP is a common method for configuring Wi-Fi products that lack a display or input device, such as smart home products, security cameras, appliances, and other IoT devices. A typical provisioning sequence is: the headless device starts a SoftAP hotspot; the user runs a vendor application on a smartphone; the phone connects to that hotspot; the application obtains the user's home network name (SSID) and passkey and transmits them to the device; and the device then leaves the SoftAP network and joins the user's private network. SoftAP is also used for general connection sharing, for example turning a laptop or a USB Wi-Fi adapter into a hotspot when a separate router or access point is unavailable.

Limitations and alternatives

Reported drawbacks of SoftAP-based provisioning include the need for users to manually connect to the SoftAP network, difficulty recovering from an incorrectly entered passkey or an interrupted connection, and inconsistent behavior across different phone hardware and operating system versions. Partly for these reasons, some manufacturers supplement or replace SoftAP provisioning with alternatives such as Bluetooth Low Energy (BLE), data-over-sound, or other mechanisms.

Commercial and platform context

Vendors associated with SoftAP software have included Connectify, Edimax, and Ralink. Platform support has been documented on Linux, Windows 7 through Windows 11, Android, iOS, macOS, and Windows Phone platforms, subject to hardware and driver support for access point operation.

References (as consulted)

  • Wikipedia, "SoftAP"
  • ArchWiki, "Software access point"
  • Microsoft Learn, "About the Wireless Hosted Network"
  • Android Open Source Project, "Wi-Fi hotspot (Soft AP)"; Android Developers, WifiManager API reference
  • Vendor and documentation sources including Lantronix, Espressif (ESP-Techpedia), Nordic Semiconductor (nRF Connect SDK), and Digi
Browse

More topics to explore

    Browse all articles