zephyr/drivers/wifi/simplelink
Vincent Wan 252ab55923 drivers: wifi: simplelink: Add static IP address support
Change the SimpleLink wifi driver to use static IP address instead of
DHCP when it is set by NET_CONFIG_MY_IPV4_ADDR. We also support setting
gateway and netmask via NET_CONFIG_MY_IPV4_GW and
NET_CONFIG_MY_IPV4_NETMASK.

This feature is tested out-of-tree against the echo sample after
modifying its prj.conf file to set the static IP address:

CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.168.1.191"

and after commenting out these lines in its board-specific config
file for cc3220sf_launchxl:

so that the NET_CONFIG_SETTINGS are not overridden.

The wifi sample is also verified to run correctly after running the
echo sample.

Fixes #14588

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
2019-05-10 22:42:16 +03:00
..
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig.simplelink doc: fix mentions of Wi-Fi trademark name 2019-05-06 20:10:59 -04:00
simplelink.c drivers: Rename reserved function names 2019-04-03 17:31:00 -04:00
simplelink_log.h net: sockets: Get socket offload to build after net logging overhaul. 2018-10-11 15:51:57 +03:00
simplelink_sockets.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
simplelink_sockets.h drivers: wifi: simplelink: Implement offloaded getaddrinfo() 2018-10-12 13:06:53 +03:00
simplelink_support.c drivers: wifi: simplelink: Add static IP address support 2019-05-10 22:42:16 +03:00
simplelink_support.h drivers: Rename reserved function names 2019-04-03 17:31:00 -04:00