I thought it was hard to pair device by WPS with OpenWRT, but I was wrong. According to the official wiki, it could be simply configured by adding some lines and packages.
A minimal process to start WPS Push Button pairing starts with a full version of
hostapd-utils package installed:
/etc/config/wireless to ensure only your chosen
wifi-iface to include a
wps_pushbutton option and set the value to
Restart network service using
service network restart to make sure the change takes effect. When everything is ready and the wireless is up again, get the device into WPS Push Button pairing mode, then initiate the process in OpenWRT console:
Or just push the WPS button if it is configured on the OpenWRT box. And that is all! The next step is to wait for the device to pick up the signal and connect to the Wi-Fi network.