LwIP v2 support
This commit is contained in:
parent
1cfded6389
commit
cd23acaa4a
39 changed files with 1357 additions and 664 deletions
|
|
@ -56,6 +56,7 @@ uint32_t sdk_system_relative_time(uint32_t reltime);
|
|||
uint32_t sdk_system_get_checksum(uint8_t *, uint32_t);
|
||||
void sdk_wifi_softap_cacl_mac(uint8_t *, uint8_t *);
|
||||
void sdk_wifi_softap_set_default_ssid(void);
|
||||
bool sdk_wifi_softap_set_station_info(const uint8_t *hwaddr, ip4_addr_t *);
|
||||
|
||||
// xtensa_context.o
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ struct esf_buf *sdk_ieee80211_getmgtframe(void **arg0, uint32_t arg1, uint32_t a
|
|||
extern uint8_t sdk_TmpSTAAPCloseAP;
|
||||
extern uint8_t sdk_PendFreeBcnEb;
|
||||
void sdk_ieee80211_hostap_attach(struct sdk_g_ic_st *);
|
||||
void sdk_hostap_handle_timer(struct sdk_netif_conninfo *cnx_node);
|
||||
void sdk_hostap_handle_timer(struct sdk_cnx_node *cnx_node);
|
||||
bool sdk_wifi_softap_start();
|
||||
bool sdk_wifi_softap_stop();
|
||||
|
||||
|
|
@ -85,10 +85,10 @@ int sdk_chm_check_same_channel();
|
|||
extern ETSTimer sdk_sta_con_timer;
|
||||
extern void *sdk_g_cnx_probe_rc_list_cb;
|
||||
void sdk_cnx_sta_leave(struct sdk_g_ic_netif_info *netif_info, void *);
|
||||
void *sdk_cnx_node_search(uint8_t mac[6]);
|
||||
void sdk_cnx_node_leave(struct sdk_g_ic_netif_info *netif, struct sdk_netif_conninfo *conn);
|
||||
struct sdk_cnx_node *sdk_cnx_node_search(uint8_t mac[6]);
|
||||
void sdk_cnx_node_leave(struct sdk_g_ic_netif_info *netif, struct sdk_cnx_node *conn);
|
||||
void sdk_cnx_rc_update_state_metric(void *, int, int);
|
||||
void sdk_cnx_remove_rc(void *);
|
||||
void sdk_cnx_node_remove(struct sdk_cnx_node *cnx_node);
|
||||
void sdk_cnx_attach(struct sdk_g_ic_st *);
|
||||
|
||||
#endif /* _ESPLIBS_LIBNET80211_H */
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ extern uint8_t sdk_interface_mask;
|
|||
void sdk_ic_set_vif(int, int, uint8_t (*)[6], int, int);
|
||||
void sdk_ic_bss_info_update(int, uint8_t (*hwaddr)[], int, int);
|
||||
void sdk_ic_set_sta(int, int, void *, int, int, int, int, int);
|
||||
void sdk_ic_remove_key(uint32_t);
|
||||
|
||||
// lmac.o
|
||||
extern uint32_t sdk_lmacConfMib;
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ int sdk_os_get_random(uint8_t *dst, uint32_t size);
|
|||
|
||||
// wpa_auth.o
|
||||
uint32_t *sdk_wpa_init(uint8_t (*hwaddr)[], struct _unknown_wpa1 *, int);
|
||||
void sdk_wpa_auth_sta_deinit(void *);
|
||||
|
||||
// wpabuf.o
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@
|
|||
// useful for quickly troubleshooting whether a bug is due to the
|
||||
// reimplementation of Espressif libraries, or something else.
|
||||
|
||||
// Some source code is mandatory and these are not included as options here.
|
||||
// For example code referencing lwip structures and flags etc that has changed
|
||||
// since the initial binary code.
|
||||
|
||||
#ifndef OPEN_ESPLIBS
|
||||
#define OPEN_ESPLIBS 1
|
||||
#endif
|
||||
|
|
@ -32,8 +36,8 @@
|
|||
#ifndef OPEN_LIBMAIN_XTENSA_CONTEXT
|
||||
#define OPEN_LIBMAIN_XTENSA_CONTEXT (OPEN_LIBMAIN)
|
||||
#endif
|
||||
#ifndef OPEN_LIBMAIN_USER_INTERFACE
|
||||
#define OPEN_LIBMAIN_USER_INTERFACE (OPEN_LIBMAIN)
|
||||
#ifndef OPEN_LIBMAIN_ETS_TIMER
|
||||
#define OPEN_LIBMAIN_ETS_TIMER (OPEN_LIBMAIN)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBNET80211
|
||||
|
|
@ -42,18 +46,6 @@
|
|||
#ifndef OPEN_LIBNET80211_ETS
|
||||
#define OPEN_LIBNET80211_ETS (OPEN_LIBNET80211)
|
||||
#endif
|
||||
#ifndef OPEN_LIBNET80211_HOSTAP
|
||||
#define OPEN_LIBNET80211_HOSTAP (OPEN_LIBNET80211)
|
||||
#endif
|
||||
#ifndef OPEN_LIBNET80211_INPUT
|
||||
#define OPEN_LIBNET80211_INPUT (OPEN_LIBNET80211)
|
||||
#endif
|
||||
#ifndef OPEN_LIBNET80211_STA
|
||||
#define OPEN_LIBNET80211_STA (OPEN_LIBNET80211)
|
||||
#endif
|
||||
#ifndef OPEN_LIBNET80211_WL_CNX
|
||||
#define OPEN_LIBNET80211_WL_CNX (OPEN_LIBNET80211)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPHY
|
||||
#define OPEN_LIBPHY (OPEN_ESPLIBS)
|
||||
|
|
@ -115,8 +107,4 @@
|
|||
#define OPEN_LIBWPA_OS_XTENSA (OPEN_LIBWPA)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBWPA_WPA_MAIN
|
||||
#define OPEN_LIBWPA_WPA_MAIN (OPEN_LIBWPA)
|
||||
#endif
|
||||
|
||||
#endif /* _OPEN_ESPLIBS_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue