]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Add wpas_notify_p2p_sd_request
authorKonguraj(Raj) Kulanthaivel <konguraj.kulanthaivel@intel.com>
Thu, 24 Feb 2011 20:45:39 +0000 (22:45 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 24 Feb 2011 20:45:39 +0000 (22:45 +0200)
Signed-off-by: Konguraj(Raj) Kulanthaivel <konguraj.kulanthaivel@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
wpa_supplicant/notify.c
wpa_supplicant/notify.h
wpa_supplicant/p2p_supplicant.c

index ef77fc5983daac74527130da02b2be68a344dca9..5740bf720ebc0c76dfc4303e2434ced378234322 100644 (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 */
index 0bdc926085b2442528bb0e5839ef74cf6c10e054..3cea8f94b7501deed402dd37f8e1d34ad8fa3ca2 100644 (file)
@@ -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 */
index ec3a8e3c2b113ce66f2e2343eb12f3d75dd591ff..e2e374515c577e7d32f2402242be8171996cea40 100644 (file)
@@ -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);