mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-18 01:58:56 +00:00
42 lines
1.2 KiB
C
42 lines
1.2 KiB
C
|
|
/**************************************************************************************************************
|
||
|
|
* altobeam RTOS wifi hmac source code
|
||
|
|
*
|
||
|
|
* Copyright (c) 2018, altobeam.inc All rights reserved.
|
||
|
|
*
|
||
|
|
* The source code contains proprietary information of AltoBeam, and shall not be distributed,
|
||
|
|
* copied, reproduced, or disclosed in whole or in part without prior written permission of AltoBeam.
|
||
|
|
*****************************************************************************************************************/
|
||
|
|
|
||
|
|
|
||
|
|
#ifndef __ATBM_API_H__
|
||
|
|
#define __ATBM_API_H__
|
||
|
|
|
||
|
|
enum atbmwifi_event{
|
||
|
|
ATBM_WIFI_DEAUTH_EVENT=0,
|
||
|
|
ATBM_WIFI_JOIN_EVENT=1,
|
||
|
|
ATBM_WIFI_AUTH_EVENT=2,
|
||
|
|
ATBM_WIFI_ASSOC_EVENT=3,
|
||
|
|
ATBM_WIFI_ASSOCRSP_TXOK_EVENT=4,
|
||
|
|
ATBM_WIFI_DEASSOC_EVENT=5,
|
||
|
|
ATBM_WIFI_SCANSTART_EVENT=6,
|
||
|
|
ATBM_WIFI_SCANDONE_EVENT=7,
|
||
|
|
ATBM_WIFI_ENABLE_NET_EVENT=8,
|
||
|
|
ATBM_WIFI_DISENABLE_NET_EVENT=9,
|
||
|
|
ATBM_WIFI_SMARTCONFIG_SUCCESS = 10,
|
||
|
|
ATBM_WIFI_WPS_SUCCESS = 11,
|
||
|
|
|
||
|
|
};
|
||
|
|
|
||
|
|
/*
|
||
|
|
event up to wpa_supplicant
|
||
|
|
event up to hostapd
|
||
|
|
event up to os
|
||
|
|
|
||
|
|
param: must copy to malloc buffer, will free
|
||
|
|
|
||
|
|
*/
|
||
|
|
int atbm_wifiScan(void);
|
||
|
|
|
||
|
|
int atbmwifi_event_uplayer(struct atbmwifi_vif *priv,int eventid,atbm_uint8 *param);
|
||
|
|
#endif //__ATBM_API_H__
|