zephyr/include/net/wifi.h
Tomasz Bursztyka eab3f168fd 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>
2018-04-12 09:56:07 -04:00

27 lines
421 B
C

/*
* Copyright (c) 2018 Texas Instruments, Incorporated
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief General WiFi Definitions
*/
#ifndef __WIFI_H__
#define __WIFI_H__
enum wifi_security_type {
WIFI_SECURITY_TYPE_NONE = 0,
WIFI_SECURITY_TYPE_PSK,
};
#define WIFI_SSID_MAX_LEN 32
#define WIFI_PSK_MAX_LEN 64
#define WIFI_CHANNEL_MAX 14
#define WIFI_CHANNEL_ANY 255
#endif /* __WIFI_H__ */