When the PASN implementation is used as a library for Wi-Fi Aware
applications there is need to allow the Responder to set the noauth
parameter to support opportunistic pairing method using PASN AKMP. Add
pasn_set_noauth() to address this.
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
}
+void pasn_set_noauth(struct pasn_data *pasn, bool noauth)
+{
+ if (!pasn)
+ return;
+ pasn->noauth = noauth;
+}
+
+
int pasn_get_akmp(struct pasn_data *pasn)
{
if (!pasn)
int pasn_set_pt(struct pasn_data *pasn, struct sae_pt *pt);
/* Responder */
+void pasn_set_noauth(struct pasn_data *pasn, bool noauth);
void pasn_set_password(struct pasn_data *pasn, const char *password);
void pasn_set_wpa_key_mgmt(struct pasn_data *pasn, int key_mgmt);
void pasn_set_rsn_pairwise(struct pasn_data *pasn, int rsn_pairwise);