• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2024 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include <stdlib.h>
17 #include <stdio.h>
18 #include <stdarg.h>
19 #include <unistd.h>
20 #include <string.h>
21 #include <assert.h>
22 #include <stdbool.h>
23 #include <sys/types.h>
24 #include <sys/socket.h>
25 #include <netinet/in.h>
26 #include <arpa/inet.h>
27 #include <signal.h>
28 #include <sys/time.h>
29 #include "utils/common.h"
30 #include "wapi_asue_i.h"
31 #include "common/defs.h"
32 
wapi_config_free(struct wapi_config * config)33 void wapi_config_free(struct wapi_config *config)
34 {
35 }
36 
wapi_config_init(struct wpa_supplicant * wpa_s,struct wpa_ssid * ssid)37 struct wapi_config *wapi_config_init(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
38 {
39 	return NULL;
40 }
41 
wapi_asue_init()42 int wapi_asue_init()
43 {
44 	return 0;
45 }
46 
wapi_asue_deinit()47 int wapi_asue_deinit()
48 {
49 	return 0;
50 }
51 
wapi_asue_update_iface(void * iface)52 int wapi_asue_update_iface(void *iface)
53 {
54 	return 0;
55 }
56 
wapi_asue_event(enum wapi_event_type action,const u8 * pBSSID,const u8 * pLocalMAC,unsigned char * assoc_ie,unsigned char assoc_ie_len)57 void wapi_asue_event(enum wapi_event_type action, const u8 *pBSSID, const u8 *pLocalMAC,
58 	unsigned char *assoc_ie, unsigned char assoc_ie_len)
59 {
60 }
61 
wapi_asue_rx_wai(void * ctx,const u8 * src_addr,const u8 * buf,size_t len)62 void wapi_asue_rx_wai(void *ctx, const u8 *src_addr, const u8 *buf, size_t len)
63 {
64 }
65