#ifndef __WIIF__HAL_H__ | |
#define __WIIF__HAL_H__ | |
extern int capturemactimer_create; | |
extern int g_wifi_state; | |
extern int g_wps_state; | |
extern int g_va1_state; | |
extern int g_tsw_sleep_flag; | |
extern int g_tsw_wake_flag; | |
#define STATION_ACCESS_CHECK_PERIOD 3000 // 1000-->3000, avoid not sleep | |
#define WIFI_INIT_TIMEOUT_VAL 300000 | |
#define TIMER_FLAG_RESTART 1 | |
#define TIMER_GET_COUNT 30 | |
#define TIMER_WIFI_INIT 31 | |
#define WIFI_MODULE_ID 1000 | |
#define ACL_TIMER_ID 10001 | |
#ifndef OK | |
#define OK 0 | |
#endif | |
#ifndef ERROR | |
#define ERROR 1 | |
#endif | |
void handle_wps_mac(MSG_BUF *pstMsg); | |
//TODO: ÕâÁ½¸öº¯ÊýûÓÐʵÏÖÌå | |
void wlan_config_pwr_save_enable(); | |
void wlan_config_pwr_save_disable(); | |
//void remove_all_acl_timer(); | |
void wlan_netlink_parse_msg(int event_type); | |
int captureWlanStaInfo(); | |
void wps_off(); | |
void wps_up(); | |
void wps_down(MSG_BUF* pMsg); | |
void acl_set_mac(char *athx); | |
#ifdef __ACL_MAC__ | |
void wlan_acl_set_mac_timer(MSG_BUF *pstMsg); | |
void wlan_del_mac_from_acl_time_list(MSG_BUF *pstMsg); | |
#endif | |
#ifdef __WIFI_LTE__ | |
void basic_deal_for_lte(); | |
extern int g_need_for_change_channel_for_deal; | |
//extern int g_need_for_change_channel_for_wps; | |
#endif | |
void wlan_init(void); | |
void acl_set_process(); | |
LONG wlan_get_wps_sta(); | |
#endif |