blob: 6ba1be768e56ad1c255118cd41eb0630f55b2760 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#ifndef _WLAN_STATION
2#define _WLAN_STATION
3
4#include <linux/rtc.h>
5#include <sys/ioctl.h>
6#include <stdio.h>
7#include <errno.h>
8#include <string.h>
9#include <stdlib.h>
10#include <sys/types.h>
11#include <sys/stat.h>
12#include <fcntl.h>
13#include <netinet/in.h>
14#include <unistd.h>
15#include <sys/ipc.h>
16#include <sys/msg.h>
17#include <pthread.h>
18#include <syslog.h>
19#include <signal.h>
20#include <sys/time.h>
21#include <time.h>
22#include "../include/softap_api.h"
23//#include "../include/errorcode.h"
24//#include "../include/netapi.h"
25
xf.li84027492024-04-09 00:17:51 -070026typedef struct
27{
28 int freq;
29 int ch;
30} wlan_sta_freq_ch_t;
31
lh9ed821d2023-04-07 01:36:19 -070032void wlan_station_init(void);
33BOOL wlan_station_is_station_msg(unsigned short msg);
34void wlan_station_msg_handle(MSG_BUF *pMsg);
35void Delete_connect_timeout_timer(void);
36void wifi_station_close();
xf.li6c8fc1e2023-08-12 00:11:09 -070037void wifi_station_cancel_scan(void);
lh9ed821d2023-04-07 01:36:19 -070038
39void wlan_statemachine_init();
40void wlan_station_open();
41
42#endif
43