P2P: Add wpas_notify_p2p_sd_request

Signed-off-by: Konguraj(Raj) Kulanthaivel <konguraj.kulanthaivel@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Konguraj(Raj) Kulanthaivel 2011-02-24 22:45:39 +02:00 committed by Jouni Malinen
parent 5ccdf84f0d
commit e1653cac23
3 changed files with 15 additions and 0 deletions

View file

@ -387,4 +387,12 @@ void wpas_notify_p2p_invitation_result(struct wpa_supplicant *wpa_s,
{ {
} }
void wpas_notify_p2p_sd_request(struct wpa_supplicant *wpa_s,
int freq, const u8 *sa, u8 dialog_token,
u16 update_indic, const u8 *tlvs,
size_t tlvs_len)
{
}
#endif /* CONFIG_P2P */ #endif /* CONFIG_P2P */

View file

@ -91,5 +91,9 @@ void wpas_notify_p2p_go_neg_completed(struct wpa_supplicant *wpa_s,
int status); int status);
void wpas_notify_p2p_invitation_result(struct wpa_supplicant *wpa_s, void wpas_notify_p2p_invitation_result(struct wpa_supplicant *wpa_s,
int status, const u8 *bssid); int status, const u8 *bssid);
void wpas_notify_p2p_sd_request(struct wpa_supplicant *wpa_s,
int freq, const u8 *sa, u8 dialog_token,
u16 update_indic, const u8 *tlvs,
size_t tlvs_len);
#endif /* NOTIFY_H */ #endif /* NOTIFY_H */

View file

@ -1582,6 +1582,9 @@ void wpas_sd_request(void *ctx, int freq, const u8 *sa, u8 dialog_token,
} }
done: done:
wpas_notify_p2p_sd_request(wpa_s, freq, sa, dialog_token,
update_indic, tlvs, tlvs_len);
wpas_p2p_sd_response(wpa_s, freq, sa, dialog_token, resp); wpas_p2p_sd_response(wpa_s, freq, sa, dialog_token, resp);
wpabuf_free(resp); wpabuf_free(resp);