Commit Graph

23 Commits

Author SHA1 Message Date
Andreas Schultz ac135e16c4 add VSA to report supported ciphers per radio 2016-08-12 12:08:06 +02:00
Andreas Schultz 29ed6544c5 switch everything to new log API and drop old one 2016-03-30 14:47:57 +02:00
Andreas Schultz 9572de350a switch timeout processing to libev
Rework the timeout and network code to use libev.
2016-03-30 14:06:43 +02:00
Andreas Schultz 43dde134b7 simplify if statement in wtp_dfa_state_discovery 2016-03-29 11:51:39 +02:00
Andreas Schultz 4117ab1f71 move discovery request generation into function 2016-03-29 11:51:39 +02:00
Andreas Schultz 067f920d81 reformat some overly long code lines 2016-03-29 11:48:28 +02:00
Moritz Rosenthal f9bb716dac Changed name of addr_capwap.socket to addr_capwap.sockaddr
Changed FQDN size from 128 to 256 according to RFC1035
2016-03-25 12:41:43 +01:00
Moritz Rosenthal 7b9f515bd7 If there is no DNS available on system start the capwap-wtp will stop while evaluating the configuration. I fixed that by checking if the address was yet translated on every address access. If not a DNS request is started before continuing. 2016-03-24 07:09:29 +01:00
Andreas Schultz 8dc30ae3c4 rework socket and discovery handling
Swtich sockets to connected when talking to a specific AC. Use
unconnected UDP sockets only during DISCOVERY.

In JOIN, we need send our local address. The old, routing table
based local address discovery is broken for many reasons (VRF,
policy routing, ...). With a connected socket, we can the same
information with a simple getsockname.

During DISCOVERY we are talking to all potential AC's at once.
So using an unconnected socket makes still sense.
2016-03-02 15:13:56 +01:00
Alexis La Goutte addf009bae Fix equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] when build with Clang
---
 src/wtp/wtp_dfa_discovery.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-01-22 10:19:38 +01:00
vemax78 f05c7acdcf Fix sequence number of control messages 2014-12-27 19:10:08 +01:00
vemax78 8d9985fdea The capwap data channel migrated from userspace to kernalspace 2014-09-10 21:58:23 +02:00
vemax78 6042161d75 Reengineering the timeout manager. Allows to create an arbitrary number of timer
with the possibility to invoke a callback function on timeout.
2014-03-02 19:31:27 +01:00
vemax78 ea02d7379e Refactoring timeout functions, change functions name and add timeout handler
into session.
2014-02-19 19:16:33 +01:00
vemax78 516f129fce Cleaning WTP DFA code 2013-11-07 22:06:29 +01:00
vemax78 4474087f15 Added all message element that still need to be included in requests 2013-08-21 23:00:54 +02:00
vemax78 7ddb32d217 Added the code that handles the result code of a request. 2013-08-11 18:38:23 +02:00
vemax78 00cd4f8511 Fix management controlip message element into discovery state 2013-06-09 21:46:38 +02:00
vemax78 794a8e72d2 Improved handling of message elements parsed. Reduces the memory occupied but
it introduces a small overhead in retrieving of message elements parsed.
2013-06-09 17:41:52 +02:00
vemax78 4f119771c0 Inserted zeroed param into create array function 2013-06-08 17:26:10 +02:00
vemax78 6c55b4d71f Improve memory administration for tx/rx packet manager 2013-05-27 21:33:23 +02:00
vemax78 0a2ae76acc first features of mac80211 driver 2013-05-11 15:08:28 +02:00
vemax78 7dd6d43954 First commit 2013-05-01 14:52:55 +02:00