mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 04:59:59 +08:00
wpa: Port to new files to RTEMS.
This commit is contained in:

committed by
Sebastian Huber

parent
b0f0b2f493
commit
bdc4f21c53
@@ -24,6 +24,7 @@
|
||||
#include "drivers/driver.h"
|
||||
#include "l2_packet/l2_packet.h"
|
||||
|
||||
#if defined(__rtems__) && defined(CONFIG_TDLS)
|
||||
#ifdef CONFIG_TDLS_TESTING
|
||||
#define TDLS_TESTING_LONG_FRAME BIT(0)
|
||||
#define TDLS_TESTING_ALT_RSN_IE BIT(1)
|
||||
@@ -3008,3 +3009,4 @@ int wpa_tdls_disable_chan_switch(struct wpa_sm *sm, const u8 *addr)
|
||||
peer->chan_switch_enabled = 0;
|
||||
return 0;
|
||||
}
|
||||
#endif /* __rtems__ && CONFIG_TDLS */
|
||||
|
@@ -26,6 +26,7 @@
|
||||
#define MAX_TFS_IE_LEN 1024
|
||||
#define WNM_MAX_NEIGHBOR_REPORT 10
|
||||
|
||||
#if defined(__rtems__) && defined(CONFIG_WNM)
|
||||
|
||||
/* get the TFS IE from driver */
|
||||
static int ieee80211_11_get_tfs_ie(struct wpa_supplicant *wpa_s, u8 *buf,
|
||||
@@ -1148,3 +1149,4 @@ void ieee802_11_rx_wnm_action(struct wpa_supplicant *wpa_s,
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif /* __rtems__ && CONFIG_WNM */
|
||||
|
Reference in New Issue
Block a user