From 844b6964dc1e85d2e373092a9ba1cfad595d76ce Mon Sep 17 00:00:00 2001 From: root Date: Wed, 11 Mar 2020 22:46:30 +0000 Subject: [PATCH] Added stuff for primary discovery FossilOrigin-Name: 7d168c9495177d441ee09d53dd3aa87e961f9dceccb2ffd42393ef9a121cc2b7 --- src/mod/cisco/cisco_actions_ac.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/mod/cisco/cisco_actions_ac.c b/src/mod/cisco/cisco_actions_ac.c index dd215c28..566988f5 100644 --- a/src/mod/cisco/cisco_actions_ac.c +++ b/src/mod/cisco/cisco_actions_ac.c @@ -1637,6 +1637,26 @@ static struct cw_MsgDef messages[] = { discovery_response_elements, }, + + { + NULL, /* name */ + CAPWAP_MSG_PRIMARY_DISCOVERY_REQUEST, /* type */ + CW_ROLE_AC, /* role */ + NULL, /* states */ + discovery_request_elements, /* elements */ + NULL, /* preprocess fun */ + postprocess_discovery /* postprocess fun */ + }, + { + NULL, /* name */ + CAPWAP_MSG_PRIMARY_DISCOVERY_RESPONSE, /* type */ + CW_ROLE_WTP, + NULL, + discovery_response_elements, + + }, + + { NULL, /* name */ CAPWAP_MSG_JOIN_REQUEST, /* type */ @@ -1875,4 +1895,4 @@ static int preprocess_join_request(struct conn *conn) } } return 1; -} \ No newline at end of file +}