chao.an
3061dbf2f8
wireless/wapi: add option to associate with bssid
...
Change-Id: I68ef42edfc50ef5baf0f02a570d0e7f79669659f
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-09-19 04:20:43 -07:00
chao.an
a0f6b14c0d
wireless/wapi: add scan partial channel support
...
Change-Id: I2279406a9ca0cc3a9535ce79fbf651dbaf14ad4c
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-09-19 01:14:45 -07:00
chao.an
40f559bffc
wireless/wapi: ignore the fail case
...
do not break the show process if some cases failure
Change-Id: I5d5768ba116a9e8a8ea62ae9455d773838328bd5
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-09-19 01:12:04 -07:00
Xiang Xiao
6a26547dec
build: Move INCDIROPT to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:37:24 -06:00
chao.an
7cb5bc3b76
wapi: fix nxstyle warning
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-04-03 13:29:19 +01:00
chao.an
df1d0e73f8
wireless/wapi: add save_config/reconnect support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-04-03 13:29:19 +01:00
chao.an
6bafe90db4
wireless/wapi: independent scan and scan_results
...
add scan <ssid> support
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-04-03 13:29:19 +01:00
chao.an
52ad01f0bf
netutils: save wapi config to file system
...
save and reload the wapi config from file system
2020-02-26 16:11:46 +00:00
chao.an
ee615f0568
net/wapi: remove unnecessary cast
2020-02-26 16:11:39 +00:00
Xiang Xiao
d660492289
Run codespell -w against all files
...
and fix the wrong correction
2020-02-22 14:41:36 -06:00
Xiang Xiao
e0dcfa0c55
Remove extra whitespace from files ( #43 )
...
* Remove multiple newlines at the end of file
* Remove the white space from the end of line
2020-01-31 08:29:24 -06:00
chao.an
7612221df6
apps/wireless/wapi/scan: Add frequency/rssi printf
...
Scan print layout:
nsh> wapi scan wlan0
bssid / frequency / signal level / ssid
**:**:**:**:**:** 2437 -38 <ssid>
**:**:**:**:**:** 2427 -36 <ssid>
...
2020-01-22 07:53:02 -06:00
Xiang Xiao
6d22dd0013
Author: Gregory Nutt <gnutt@nuttx.org>
...
Run all .c and .h files in last PR through nxstyle and fix all complaints.
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Wapi improvement (#16 )
* wireless: add passphrase control
* wireless: add disconnect control
2020-01-16 12:21:45 -06:00
Gregory Nutt
64bc8f5b7f
Run all .c and .h files modified in last PR through nxstyle.
2019-12-31 10:57:34 -06:00
Xiang Xiao
49c997501a
Wapi simplify ( #1 )
...
apps/wireless/wapi: Simplify usage of command line. Remove duplicate extensions
2019-12-31 10:39:53 -06:00
Gregory Nutt
438777cd38
netutils/netlib/netlib_getroute.c: Add function to retrieve routing tables using netlink.
2019-11-10 12:36:34 -06:00
Xiang Xiao
e806097c70
Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard.
2019-10-06 06:14:56 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -06:00
anchao
220653f21c
Squashed commit of the following:
...
Author: anchao <anchao@pinecone.net>
apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
Loadable apps/: Correct loadable symbol table generate
apps/system/ubloxmodem: Fix build break
apps/examples/ostest: start restart/waitpid/user test from main loop
apps/nshlib: Expand reboot and poweroff commands to include a second, optional mode argument
Author: Gregory Nutt <gnutt@nuttx.org>
An attempt to fix build issues. Does not work.
apps/examples/ostest: Fix some inappropriate renaming of static functions introduced with recent patches.
apps/builtin/exec_builtin.c: Fix a error introduced by recent comments. Found in build testing.
Author: anchao <anchao@pinecone.net>
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-23 11:06:15 -06:00
Gregory Nutt
2f982e9c77
Revert "Squashed commit of the following:"
...
This reverts commit 25b92edd9ff5f7d37cc7f201294f3215e5ac6332.
2018-08-22 12:06:32 -06:00
anchao
25b92edd9f
Squashed commit of the following:
...
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -06:00
Gregory Nutt
a8ab2f7505
Remove dangling whitespace
2017-06-15 10:51:25 -06:00
Simon Piriou
523d7645c4
wapi: add basic wapi_event_stream_extract implementation
2017-05-21 16:24:49 +02:00
Gregory Nutt
8380447e1a
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-08 14:31:54 -06:00
Gregory Nutt
0376019c35
WPA associate: NSH was not setting the algorithm parameter.
2017-05-08 13:28:08 -06:00
Gregory Nutt
6ec8e56f89
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-06 11:30:48 -06:00
Gregory Nutt
a0915850b9
wireless/wapi: wpa_driver_wext_associate() now accepts a configuration parameter that can be used to specify the wireless properties. nshlib: NSH now has configuration options to select the wireless properties. It builds the configuration structure and passes this to wpa_driver_wext_associate() so that it will setwork the network as configured.
2017-05-06 11:28:11 -06:00
Gregory Nutt
f12d857f0a
Move wireless/wext into wireless/wapi/src. Update some naming for better follow the NuttX coding style.
2017-05-06 09:40:09 -06:00
Gregory Nutt
0d1a7d1e18
Merge branch 'ieee802154' of https://bitbucket.org/nuttx/apps into ieee802154
2017-04-26 15:18:05 -06:00
Gregory Nutt
b9a552013f
wireless/wapi: Improve error reporting IOCTL failures.
2017-04-26 12:34:50 -06:00
Gregory Nutt
0e1fd20646
A little more iwpan logic.
2017-04-21 17:41:02 -06:00
Gregory Nutt
067d705b98
Minor clean of functino prototypes, iwpan help, spelling.
2017-04-21 13:43:01 -06:00
Gregory Nutt
58da85523d
wireless/wapi: Improve some output.
2017-04-12 07:09:37 -06:00
Gregory Nutt
d9a02dd742
apps/wireless/wapi: Consolidate some duplicate logic.
2017-04-11 16:34:50 -06:00
Gregory Nutt
568e932e80
apps/wireless/wapi: Some changes from initial debug.
2017-04-11 12:42:15 -06:00
Gregory Nutt
1a470c6480
wireless/wapi: Re-write of wapi tool UI.
2017-04-11 10:22:47 -06:00
Gregory Nutt
dae395cb8e
Beginning real design of wapi application based on Wapi sample code.
2017-04-10 18:50:50 -06:00
Gregory Nutt
2c53872a42
wireless/wapi: Fix a few more compilation problems.
2017-04-10 16:14:49 -06:00
Gregory Nutt
322ffe193b
wireless/wapi: Remove functionality that depends on the Linux procfs: This includes only 1) listing of available interfaces and 2) listing of all routes.
2017-04-10 16:02:17 -06:00
Gregory Nutt
aeb37c12b2
apps/wireless/wapi: Fix problems in build support. Fix some initial compile isses (still does not compile).
2017-04-10 14:57:33 -06:00
Gregory Nutt
806d2c731a
wireless/wapi: Remove logic that depnds on Linux netlink. Add (untested) build support.
2017-04-10 14:00:21 -06:00
Gregory Nutt
eeb143415a
wireless/wapi: Quick port of Wapi wireless services. No build support yet. This also depends on features not supported by NuttX. This is a work in progress.
2017-04-10 13:28:32 -06:00