projects
/
wpasupplicant
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new wpa_supplicant driver op for setting 802.1X port status
[wpasupplicant]
/
src
/
eapol_supp
/
eapol_supp_sm.h
diff --git
a/src/eapol_supp/eapol_supp_sm.h
b/src/eapol_supp/eapol_supp_sm.h
index
57d7bc1
..
e6e8cc6
100644
(file)
--- a/
src/eapol_supp/eapol_supp_sm.h
+++ b/
src/eapol_supp/eapol_supp_sm.h
@@
-215,6
+215,13
@@
struct eapol_ctx {
*/
void (*eap_param_needed)(void *ctx, const char *field,
const char *txt);
*/
void (*eap_param_needed)(void *ctx, const char *field,
const char *txt);
+
+ /**
+ * port_cb - Set port authorized/unauthorized callback (optional)
+ * @ctx: Callback context (ctx)
+ * @authorized: Whether the supplicant port is now in authorized state
+ */
+ void (*port_cb)(void *ctx, int authorized);
};
};