X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=wpa_supplicant%2Fwnm_sta.h;h=81d815359634ecaeedfaf20bf748494365438001;hb=02022564a0179cd6696d28742772aa6e17a58073;hp=a118b016d575d6fe66ebaf7b1ad3ef51d9037f5c;hpb=6900b6d96f6355776587447c5b9a41744a809bbd;p=mech_eap.git diff --git a/wpa_supplicant/wnm_sta.h b/wpa_supplicant/wnm_sta.h index a118b01..81d8153 100644 --- a/wpa_supplicant/wnm_sta.h +++ b/wpa_supplicant/wnm_sta.h @@ -45,6 +45,7 @@ struct neighbor_report { unsigned int bss_term_present:1; struct measurement_pilot *meas_pilot; struct multiple_bssid *mul_bssid; + int freq; }; @@ -55,7 +56,22 @@ void ieee802_11_rx_wnm_action(struct wpa_supplicant *wpa_s, const struct ieee80211_mgmt *mgmt, size_t len); int wnm_send_bss_transition_mgmt_query(struct wpa_supplicant *wpa_s, - u8 query_reason); + u8 query_reason, int cand_list); void wnm_deallocate_memory(struct wpa_supplicant *wpa_s); + +#ifdef CONFIG_WNM + +int wnm_scan_process(struct wpa_supplicant *wpa_s, int reply_on_fail); + +#else /* CONFIG_WNM */ + +static inline int wnm_scan_process(struct wpa_supplicant *wpa_s, + int reply_on_fail) +{ + return 0; +} + +#endif /* CONFIG_WNM */ + #endif /* WNM_STA_H */