nuttx-apps/include
chao.an 623a668baa wapi: Extend "WAPI_ESSID_DELAY_ON" flag to support customized connection behavior
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>
2021-01-30 20:19:10 -08:00
..
builtin Move apps/builtins/builtin_forindex.c to nuttx/libs/libc/builtin since it is required by kernel logic as well. Other changes account for movement of builtin.h from nuttx/include/nuttx/binfmt/built.h to nuttx/include/lib/builtin.h. 2019-08-23 09:12:45 -06:00
canutils Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00
fsutils Incorporate IP configuration files into netinit. 2020-10-06 10:42:35 -07:00
gpsutils apps/gpsutils/minmea: Re-released under the NuttX BSD license with permission from the author 2016-02-22 08:00:24 -06:00
graphics graphics/nxwidgets: Fix type mismatches 2020-11-13 05:51:23 -08:00
industry industry/abnt_codi, include/industry/abnt_code.h, examples.abntcodi: Adds support for ABNT CODI library. This is an energy meter protocol used in Brazil. 2019-06-15 08:38:04 -06:00
interpreters Ensure all source code end with one and only one newline 2020-02-09 08:14:49 -06:00
modbus Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
netutils netutils/ntpclient: add more features 2021-01-26 03:23:27 -08:00
nshlib nshlib: Fix nxstyle warning 2020-04-19 08:07:06 -06:00
platform apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE 2020-07-01 10:03:12 -06:00
system include/system/prun.h: remove leftover file 2021-01-22 17:50:13 +01:00
testing Ensure all source code end with one and only one newline 2020-02-09 08:14:49 -06:00
wireless wapi: Extend "WAPI_ESSID_DELAY_ON" flag to support customized connection behavior 2021-01-30 20:19:10 -08:00
.gitignore Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00