aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonguraj(Raj) Kulanthaivel <konguraj.kulanthaivel@intel.com>2011-02-24 20:45:39 (GMT)
committerJouni Malinen <j@w1.fi>2011-02-24 20:45:39 (GMT)
commite1653cac23abd576f6fc7a06fd3ccb2f37debce3 (patch)
tree8ea4b75e824b66b1f185278abf4ad9f8967204a3
parent5ccdf84f0d96c00a0277f16a26c83fc670809dfa (diff)
downloadhostap-e1653cac23abd576f6fc7a06fd3ccb2f37debce3.zip
hostap-e1653cac23abd576f6fc7a06fd3ccb2f37debce3.tar.gz
hostap-e1653cac23abd576f6fc7a06fd3ccb2f37debce3.tar.bz2
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>
-rw-r--r--wpa_supplicant/notify.c8
-rw-r--r--wpa_supplicant/notify.h4
-rw-r--r--wpa_supplicant/p2p_supplicant.c3
3 files changed, 15 insertions, 0 deletions
diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c
index ef77fc5..5740bf7 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -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 */
diff --git a/wpa_supplicant/notify.h b/wpa_supplicant/notify.h
index 0bdc926..3cea8f9 100644
--- a/wpa_supplicant/notify.h
+++ b/wpa_supplicant/notify.h
@@ -91,5 +91,9 @@ void wpas_notify_p2p_go_neg_completed(struct wpa_supplicant *wpa_s,
int status);
void wpas_notify_p2p_invitation_result(struct wpa_supplicant *wpa_s,
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 */
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index ec3a8e3..e2e3745 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -1582,6 +1582,9 @@ void wpas_sd_request(void *ctx, int freq, const u8 *sa, u8 dialog_token,
}
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);
wpabuf_free(resp);