summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Mahaveer <vishalm@ti.com>2016-09-06 16:57:32 -0400
committerVishal Mahaveer <vishalm@ti.com>2016-09-06 17:09:02 -0400
commit419996bb80d88f39e4587c746cb45c3af9a7eef3 (patch)
tree8c68873babd5423fcb010fd1769891c5eb77597e
parent4ba8edfbd44814d2e2c7b8167401344ddd8f2736 (diff)
downloadwlan-d-nougat-release.tar.gz
Fix build issues with Android N. With Android N, COMMON_GLOBAL_CFLAGS cannot be defiend in device's BoardConfig.mk file anymore. Previously these dummy APIs were exercised by defining ANDROID_P2P_STUB global flag in BoardCOnfig.mk Instead of changing AOSP wpa_supplicant_8 project, it is simpler to add it to TI WLAN tree. Change-Id: I16b219932d4f876479bb43a4e797a968db5b358a Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r--mac80211/wpa_supplicant_lib/driver_mac80211_nl.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/mac80211/wpa_supplicant_lib/driver_mac80211_nl.c b/mac80211/wpa_supplicant_lib/driver_mac80211_nl.c
index fa8d1b4a..f457d5cf 100644
--- a/mac80211/wpa_supplicant_lib/driver_mac80211_nl.c
+++ b/mac80211/wpa_supplicant_lib/driver_mac80211_nl.c
@@ -97,3 +97,28 @@ int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf,
}
return ret;
}
+
+int wpa_driver_set_p2p_noa(void *priv, u8 count, int start, int duration)
+{
+ return 0;
+}
+
+
+int wpa_driver_get_p2p_noa(void *priv, u8 *buf, size_t len)
+{
+ return 0;
+}
+
+
+int wpa_driver_set_p2p_ps(void *priv, int legacy_ps, int opp_ps, int ctwindow)
+{
+ return -1;
+}
+
+
+int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon,
+ const struct wpabuf *proberesp,
+ const struct wpabuf *assocresp)
+{
+ return 0;
+}