Commit Graph

147 Commits

Author SHA1 Message Date
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
vemax78
fa69ae9bba Fix code 2013-09-30 17:37:34 +02:00
vemax78
b94c128a38 Add function to convert macaddress into string 2013-09-30 17:36:43 +02:00
vemax78
fb5327a713 Fix 2013-09-30 13:08:33 +02:00
vemax78
ba699429bf Fix code 2013-09-30 12:19:03 +02:00
vemax78
d33daeba4e Fix value 2013-09-24 19:14:27 +02:00
vemax78
210e84a453 Added controls 2013-09-22 22:28:07 +02:00
vemax78
aea53d4e8a Remove dummy string in release build 2013-08-19 22:29:18 +02:00
vemax78
e53808c0d6 Use string into Descriptor Data Sub Message Element 2013-08-19 22:28:41 +02:00
vemax78
d34e98fc2c Implicitly inserted capwap_outofmemory() into the capwap_alloc().
capwap_alloc() can never return NULL.
2013-08-18 19:07:19 +02:00
vemax78
17a0bb2f5f Fix type 2013-08-13 16:10:28 +02:00
vemax78
0d34eaa9af Fix 2013-08-11 23:04:24 +02:00
vemax78
badad6e71d Implicit out of memory check in Release Mode 2013-08-11 22:50:12 +02:00
vemax78
7ddb32d217 Added the code that handles the result code of a request. 2013-08-11 18:38:23 +02:00
vemax78
6b424c5406 Add support to HTTPS SOAP request 2013-08-06 22:15:19 +02:00
vemax78
deb453f0be Fix dtls 2013-08-05 21:35:03 +02:00
vemax78
73c3354e50 Fix wifi messages 2013-07-27 22:46:17 +02:00
vemax78
05203dcea2 Add socket helper function for management non-blocking connection 2013-07-20 17:36:13 +02:00
vemax78
79cb575548 Improved network function 2013-07-15 18:48:47 +02:00
vemax78
2c3c552973 Fix 2013-07-07 11:55:30 +02:00
vemax78
75dcf51496 Rejects the join with the same identifier of the WTP 2013-06-18 22:38:56 +02:00
vemax78
99b6373cd7 Allow daemon mode 2013-06-16 12:09:57 +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
d9e02ded5a Use mnemonic macro of macaddress size 2013-06-09 17:29:50 +02:00
vemax78
4f119771c0 Inserted zeroed param into create array function 2013-06-08 17:26:10 +02:00
vemax78
49bf2dc5c9 Improved the WTP application to exit 2013-06-05 19:39:03 +02:00
vemax78
4d2292b7f0 Fix data keepalive message init length 2013-06-05 19:28:46 +02:00
vemax78
acd937c3aa Fix array resize with zeroed option 2013-06-05 19:02:02 +02:00
vemax78
444f1e7e92 Complete all message elements 2013-06-02 22:21:49 +02:00
vemax78
4e01450d5c Add message elements 2013-06-01 19:43:28 +02:00
vemax78
ad666966e1 Complete 802.11 message elements 2013-06-01 15:02:56 +02:00
vemax78
214fa54535 Add 80211 message elements 2013-05-31 22:24:58 +02:00
vemax78
cd9fc8b54d Fix error 2013-05-30 22:32:22 +02:00
vemax78
01f3dbd66c Add 80211 message elements 2013-05-30 22:32:08 +02:00
vemax78
96eda13334 Fix control & data keep alive message 2013-05-29 22:35:11 +02:00
vemax78
b99a52ee9d Add also 80211 message element 2013-05-28 23:06:57 +02:00
vemax78
37e60bb755 If not set into wtp.conf the client bind to any port 2013-05-28 22:22:16 +02:00
vemax78
16fe0bb6bd Enable presharedkey SSL 2013-05-27 23:10:49 +02:00
vemax78
6c55b4d71f Improve memory administration for tx/rx packet manager 2013-05-27 21:33:23 +02:00
vemax78
8df566f36e fix thread-safe openssl 2013-05-23 22:38:48 +02:00
vemax78
bb449e7ec6 implement several 80211 element 2013-05-11 15:07:30 +02:00
vemax78
cc630c36ae improve ssl 2013-05-05 19:25:58 +02:00
vemax78
b69929938d improve array clone 2013-05-04 09:31:25 +02:00
vemax78
9082a7855c multiple update 2013-05-03 22:28:06 +02:00
vemax78
f2dda6e115 fix indent 2013-05-02 22:30:47 +02:00
vemax78
a0c8bc73df stub ap wireless 2013-05-02 21:32:03 +02:00
vemax78
ff305fcc3a clean endian check 2013-05-02 18:38:38 +02:00
vemax78
01123ec594 add udplite check into configure 2013-05-02 18:37:36 +02:00
vemax78
05ab7a3787 stub binding wifi engine 2013-05-01 21:33:54 +02:00
vemax78
f1915a4a39 fix capwap_logging_printf with logging disabled 2013-05-01 21:31:11 +02:00
vemax78
7dd6d43954 First commit 2013-05-01 14:52:55 +02:00