asuswrt-merlin.ng/release/src-rt-5.02axhnd/router-sysdep.rt-ax92u/dpsta/dpsta.h
2022-10-02 16:38:00 +02:00

37 lines
844 B
C

/*
* $ Copyright Open Broadcom Corporation $
*
*
* <<Broadcom-WL-IPTag/Open:>>
*
* $Id: dpsta.h 763596 2018-05-21 06:30:44Z cl953171 $
*/
#ifndef _DPSTA_H_
#define _DPSTA_H_
typedef enum {
DPSTA_MODE_PSTA = 1,
DPSTA_MODE_DWDS = 2,
DPSTA_MODE_WET = 3
} dpsta_mode_e;
typedef struct psta_if psta_if_t;
/* Proxy STA instance data and exported functions */
typedef struct psta_if_api {
void *wl;
void *psta;
void *bsscfg;
bool (*is_ds_sta)(void *wl, void *psta, struct ether_addr *ea);
void *(*psta_find)(void *wl, void *psta, uint8 *ea);
bool (*bss_auth)(void *wl, void *bsscfg);
dpsta_mode_e mode;
} psta_if_api_t;
extern psta_if_t *dpsta_register(uint32 unit, psta_if_api_t *inst);
extern int32 dpsta_unregister(uint32 unit);
extern int32 dpsta_recv(void *p);
extern void dpsta_flush_stalist(void);
#endif /* _DPSTA_H_ */