net/mgmt/wifi: Add dedicated net mgmt hooks for WiFi offload devices

Exposing connect, disconnect and scan for now.

In case the iface is an instance of a WiFi offload device, the way it
manages scanning, connecting and disconnecting will be specific to that
device (not the mgmt interface obviously). In such case the device will
have to export relevantly a dedicated bunch of function to serve the
mgmt interface in a generic way.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2017-12-04 13:17:42 +01:00 committed by Anas Nashif
commit eab3f168fd
5 changed files with 171 additions and 1 deletions

View file

@ -36,4 +36,11 @@ config WIFI_INIT_PRIORITY
Note that the priority needs to be lower than the net stack
so that it can start before the networking sub-system.
config WIFI_OFFLOAD
bool "Support offloaded WiFi device drivers"
default n
select NET_OFFLOAD
help
Enable support for Full-MAC WiFi devices.
endif # WIFI