623a668baa
The current essid setting(SIOCSIWESSID) are not satisfactory in case of specified bssid connection, if there are multiple essids with same name, we need additional bssid information to connect to the specified softap. The extended flag "WAPI_ESSID_DELAY_ON" instructs the driver to delay the connection behavior of essid, so that which can accept more accurate information before generating a connection. About flow of wapi command, drivers that support WAPI_ESSID_DELAY_ON semantics will have the following behavior changes: 1. Station mode without bssid set: $ ifup wlan0 $ wapi mode wlan0 2 $ wapi psk wlan0 12345678 3 $ wapi essid wlan0 archer 1 $ renew wlan0 2. Station mode with bssid set: $ ifup wlan0 $ wapi mode wlan0 2 $ wapi psk wlan0 12345678 3 $ wapi essid wlan0 archer 2 <----- WAPI_ESSID_DELAY_ON will indicate the driver delay $ the connection event late to bssid set (SIOCSIWAP). $ wapi ap wlan0 ec:41:18:e0:76:7e $ renew wlan0 Signed-off-by: chao.an <anchao@xiaomi.com> |
||
---|---|---|
.. | ||
ieee802154.h | ||
iwpan.h | ||
wapi.h |