Commit Graph

100 Commits

Author SHA1 Message Date
vemax78 089a044f3f Fix capwap protocol and optional wireless information header.
Complete IEEE802.11 frames tunnel WTP side.
Now WTP can send data packets to the AC.
2014-06-09 22:30:04 +02:00
vemax78 67daa8dcbb Permit to forward IEEE802.11 Data Packet from kernel space to user space bypass
kernel network stack.
2014-06-07 22:37:19 +02:00
vemax78 3573dd4251 Removing the OpenSSL library for CyaSSL.
OpenSSL license was not compatible with the GPL license.
2014-05-15 21:43:21 +02:00
vemax78 e1023a388e Add business logic of Authentication/Association in SplitMAC mode. 2014-04-25 22:05:36 +02:00
vemax78 ebb4eb0c98 Fix function/variable name
Prepared to management the IEEE802.11 Management Frame coming from the AC.
2014-04-22 23:02:49 +02:00
vemax78 7668ab7c7c Moved the management of the AP and Stations from nl80211 driver to generic wifi. 2014-04-21 23:16:56 +02:00
vemax78 fbd717b779 Added Delete Station Message Element into Station Configuration Message. 2014-04-15 22:26:31 +02:00
vemax78 3e06393469 Change the location of binding file. 2014-04-15 16:45:39 +02:00
vemax78 3569267283 Big update with type fix and minor new function.
Complete the IEEE802.11 Station Association with interation of AC in LocalMAC mode.
After the IEEE802.11 Authorization / Association is complete, the AC can now
authorize the WTP to accept data station packets with Station Configuration Message.
2014-04-14 22:33:12 +02:00
vemax78 127d2f944c Removed obsolete functions 2014-04-09 18:45:22 +02:00
vemax78 539fa51e69 Fix functions and logic.
Add new functions
Add logic into AC for create/destroy station
2014-04-06 17:02:31 +02:00
vemax78 ae97e96f57 Started implementing the packet management of IEEE802.11 by AC side.
Made it clear some constants.
2014-04-02 22:40:04 +02:00
vemax78 4c466d68be Added the function to extract the frame from CAPWAP data packet 2014-03-23 22:24:59 +01:00
vemax78 884130dff1 Fix packetlength value when packet is fragment 2014-03-23 21:59:57 +01:00
vemax78 1a3e02ac50 Fix param type 2014-03-20 20:22:17 +01:00
vemax78 3dff1dc28b Remove assertion and permit to call timeout functions with unset index timeout 2014-03-16 22:10:28 +01:00
vemax78 72dc064a23 Fix warning "value computed is not used" when call BIO_dgram_get_peer and
BIO_dgram_set_peer.

Issue signaled by Udaya Bhaskar Reddy Panditi
2014-03-16 12:48:40 +01: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 aa87719432 Move capwap timeout functions into new file 2014-02-20 21:34:41 +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 4c1a532221 Fix validation data packet 2014-02-16 15:41:44 +01:00
vemax78 5db686194c Merge 2014-02-16 15:29:08 +01:00
vemax78 196d165119 First actions to send managements frame into data channel 2014-02-16 15:28:27 +01:00
Alexis La Goutte 30f6c9fa9e Fix build
../../src/common/capwap_logging.c: In function ‘capwap_logging_printf’:
../../src/common/capwap_logging.c:124:4: error: format not a string literal and no format arguments [-Werror=format-security]
    fprintf(output, prefix);
    ^
2014-02-15 11:54:47 +01:00
vemax78 025880583c Changed the management of the wireless interfaces, from creation to usage.
The virtual interfaces are created at the startup of the wtp to reduce the time
required to configure a wireless interface.
Applied some patches to build the WTP on OpenWRT trunk
2014-02-08 18:03:38 +01:00
vemax78 0790fb511a Improved the management of authentication and association of the stations 2014-01-21 19:54:59 +01:00
vemax78 42293aad04 Fix capability mask 2014-01-19 21:25:22 +01:00
vemax78 9dbd940a00 Update capwap hash 2014-01-18 19:11:07 +01:00
vemax78 e342d5c1a3 Fix capwap_clone function type 2014-01-18 19:10:27 +01:00
vemax78 81284d4c62 Add Hash data type with AVL tree list 2014-01-17 19:01:01 +01:00
vemax78 bef31786ce The first beacon of SmartCAPWAP 2013-12-20 23:14:34 +01:00
vemax78 29ba25e434 Add helper function 2013-12-14 12:32:42 +01:00
vemax78 64784fb460 Fix code 2013-12-07 18:13:42 +01:00
vemax78 7253e60aed Fix code and improve wlan configuration functionality 2013-12-04 22:25:16 +01:00
vemax78 1459c78143 Missing IEEE802.11 Request Control Message 2013-12-01 22:45:57 +01:00
vemax78 ebb0ca0dd3 Helper function for convert from int/long to string 2013-11-24 16:34:54 +01:00
vemax78 9a6589b636 Into multithread logging also threadid 2013-11-19 23:25:07 +01:00
vemax78 5f635602ce Add debug information into mutex calls 2013-11-10 22:10:40 +01:00
vemax78 bd6e6547b7 It is not necessary that the mutex is recursive 2013-11-10 22:10:10 +01:00
vemax78 db29a6228e Add backtrace call stack for debugging 2013-11-10 22:07:55 +01:00
vemax78 3eedd13d8b Remove unusable DFA state 2013-11-07 22:07:05 +01:00
vemax78 c07d643ec0 Fix DFA 2013-11-06 23:23:30 +01:00
vemax78 5e29d9241c Fix 2013-11-06 23:23:16 +01:00
vemax78 6ee885f9b6 Divided the logic of the capwap_recvfrom function into two distinct functions:
poll (capwap_wait_recvready) and recv (capwap_recvfrom_fd)
2013-11-02 19:08:05 +01:00
vemax78 769d0f414e Add support for rwlock 2013-11-02 19:04:56 +01:00
vemax78 3147abc9bc Before create new session check if receive DTLS Client Hello 2013-10-21 18:44:37 +02:00
vemax78 059f6d9dc9 Add reference of IEEE802.11 message type 2013-10-20 17:33:57 +02:00
vemax78 680354c842 Add convertion function from string to macaddress 2013-10-06 22:36:29 +02:00
vemax78 a7e9ab26a1 Update code 2013-10-03 18:47:36 +02:00
vemax78 b0fac2068e Add feature to clone message element 2013-10-01 16:39:27 +02:00