diff options
author | Jouni Malinen <j@w1.fi> | 2014-11-22 16:04:21 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2014-11-22 16:40:03 (GMT) |
commit | d0b9ab69f6b73d61fe7054ea98110015cf8dcf17 (patch) | |
tree | 13671e71ac326b7a820b50115e893ffcfc4313af /wpa_supplicant/wnm_sta.h | |
parent | 279b5486a6caad1d5eb69e7a39ebf846546d7d79 (diff) | |
download | hostap-d0b9ab69f6b73d61fe7054ea98110015cf8dcf17.zip hostap-d0b9ab69f6b73d61fe7054ea98110015cf8dcf17.tar.gz hostap-d0b9ab69f6b73d61fe7054ea98110015cf8dcf17.tar.bz2 |
WNM: Move transition candidate list processing to normal scan
This makes it easier to optimize transition request processing.
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wnm_sta.h')
-rw-r--r-- | wpa_supplicant/wnm_sta.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/wpa_supplicant/wnm_sta.h b/wpa_supplicant/wnm_sta.h index a118b01..a45a695 100644 --- a/wpa_supplicant/wnm_sta.h +++ b/wpa_supplicant/wnm_sta.h @@ -58,4 +58,18 @@ int wnm_send_bss_transition_mgmt_query(struct wpa_supplicant *wpa_s, u8 query_reason); void wnm_deallocate_memory(struct wpa_supplicant *wpa_s); + +#ifdef CONFIG_WNM + +int wnm_scan_process(struct wpa_supplicant *wpa_s); + +#else /* CONFIG_WNM */ + +static inline int wnm_scan_process(struct wpa_supplicant *wpa_s) +{ + return 0; +} + +#endif /* CONFIG_WNM */ + #endif /* WNM_STA_H */ |