summaryrefslogtreecommitdiff
path: root/hostapd
diff options
context:
space:
mode:
authorVinay Gannevaram <quic_vganneva@quicinc.com>2022-10-30 18:40:07 +0530
committerJouni Malinen <j@w1.fi>2022-11-04 00:52:17 +0200
commit78c5bb7f5099216a247eb049ad407bf4c6505743 (patch)
tree365b5555235f6746af93fdfb3a06e6ddeaf5acc8 /hostapd
parentc7edfce79a421e699286e4d8573264460cd937b3 (diff)
downloadhostap-78c5bb7f5099216a247eb049ad407bf4c6505743.tar.gz
PASN: Move responder functionality into a separate file
PASN responder validates auth 1 frame and sends auth 2 frame to the initiator. It analyses the auth 3 frame and verifies successful authentication. Wi-Fi Aware modules can reuse this functionality through a shared library libpasn.so generated from this code. Move the PASN functionality that is now decoupled from the hapd context into a separate file in a common directory to make it easier to build such a library. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Android.mk1
-rw-r--r--hostapd/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 02abf740d..3a243d13b 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -1037,6 +1037,7 @@ ifdef NEED_AP_MLME
OBJS += src/ap/wmm.c
OBJS += src/ap/ap_list.c
OBJS += src/ap/comeback_token.c
+OBJS += src/pasn/pasn_responder.c
OBJS += src/ap/ieee802_11.c
OBJS += src/ap/hw_features.c
OBJS += src/ap/dfs.c
diff --git a/hostapd/Makefile b/hostapd/Makefile
index f37d48c12..51702439c 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -1183,6 +1183,7 @@ ifdef NEED_AP_MLME
OBJS += ../src/ap/wmm.o
OBJS += ../src/ap/ap_list.o
OBJS += ../src/ap/comeback_token.o
+OBJS += ../src/pasn/pasn_responder.o
OBJS += ../src/ap/ieee802_11.o
OBJS += ../src/ap/hw_features.o
OBJS += ../src/ap/dfs.o