Commit Graph

142 Commits

Author SHA1 Message Date
Andreas Schultz
385832a010 start with network namespace support
This is incomplete. There are several places left where a global
variable is used (e.g. there can only be one AC session).
2016-02-05 17:43:15 +01:00
Andreas Schultz
69ca3d3256 change __genl_const to const
__genl_const was depreciated some time ago.
2016-02-05 17:42:43 +01:00
Andreas Schultz
8c20d78941 remove dos style newlines 2016-02-05 17:38:49 +01:00
vemax78
58c63bbc4e Fix error in retrasmisson packets 2016-02-05 17:33:09 +01:00
vemax78
8042cd2e04 Merge 2015-01-24 13:14:05 +01:00
Alexis La Goutte
49f7ba41df Fix Dead Store (Dead increment) found by Clang Analyzer
---
 src/wtp/binding/ieee80211/wifi_drivers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-01-22 10:19:38 +01:00
Alexis La Goutte
d12d15d67d Fix Dead Store (Dead Assignment) found by Clang Analyzer
---
 src/wtp/wtp_dfa.c | 2 --
 1 file changed, 2 deletions(-)
2015-01-22 10:19:38 +01:00
Alexis La Goutte
e5f1fbd992 Fix Dead Store (Dead Assignment) found by Clang Analyzer
---
 src/wtp/binding/ieee80211/wifi_nl80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-01-22 10:19:38 +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
32a25aa34e Remove printk 2015-01-11 22:17:59 +01:00
vemax78
c7fa31ce56 Fix data channel defrag 2015-01-04 21:31:25 +01:00
vemax78
21ffd7cd23 Fix data channel fragmentation 2014-12-28 20:49:21 +01:00
vemax78
0c27172ca6 Separate netlink socket for receive message and send event 2014-12-28 16:14:19 +01:00
vemax78
b05d6631f4 Fix reset data session 2014-12-28 15:53:11 +01:00
vemax78
7c9ecebe7d Add debug output messages 2014-12-28 15:48:52 +01:00
vemax78
f05c7acdcf Fix sequence number of control messages 2014-12-27 19:10:08 +01:00
vemax78
98069694c5 Teardown connection if receive packet in unknown state 2014-12-26 15:37:30 +01:00
vemax78
6b1deb48aa Remove debug dump 2014-12-26 14:55:09 +01:00
vemax78
33ea96d9f5 Added functionality into capwap data channel kernel module 2014-12-23 21:12:25 +01:00
vemax78
e2dea6b3de Improved session management into kernel module. A session is now indexed by
ip address and session id.
2014-10-20 19:53:32 +02:00
vemax78
8937ded1d3 Improved the management of soap request/response.
The director has the opportunity to change the configuration of AC in join
connection. The virtual interfaces which encapsulate the wifi stations is
managed dynamically by the Director.
The AC must request authorization from Director for associate a station.
2014-10-19 21:37:22 +02:00
vemax78
63f5fcea19 Fix fragment error
Add stub for virtual interfaces of data packet
2014-09-21 11:20:35 +02:00
vemax78
8d9985fdea The capwap data channel migrated from userspace to kernalspace 2014-09-10 21:58:23 +02:00
vemax78
71006a9121 Fix minor bug.
Add draft of ac kernel module.
2014-06-15 09:09:48 +02:00
vemax78
2d6c4c4dd8 Check netlink file descriptor only if receive IEEE 802.11 packets in usermode. 2014-06-14 14:52:02 +02:00
vemax78
c3865e4cbb Change WTP Kernel Module path 2014-06-10 22:34:38 +02:00
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
92c86462dc Created a patch for mac80211 that allows to capture the raw IEEE80211 packets
(management, control, data) of one or more wireless interfaces.
Not necessary the monitor interface. The patch allows to discriminate which
IEEE802.11 types and IEEE802.11 subtypes capture.
2014-06-04 22:58:34 +02:00
vemax78
0ebf1a434f Add skeleton code for CAPWAP Data Channel kernel module.
The IEEE802.11 data packets will embedded into CAPWAP Data Channel directly in
kernel mode. The CAPWAP Data Channel in usermode be used only for compatibility
reasons.
2014-06-01 16:32:30 +02:00
vemax78
289fbe01c7 Fix error into wifi change frequency 2014-05-28 22:49:03 +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
d4d7649f3b Removed the necessity of having to calculate each time the string of
macaddress stations.
2014-04-23 22:39:19 +02:00
vemax78
1c810c2d72 Fix disconnect station in local mac.
Fix management of AC IEEE802.11 management packet to station.
2014-04-23 22:11:24 +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
21661277a0 Add station timer. Fix multiple bug. 2014-04-15 21:59:35 +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
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
eee74744d0 Changed the scope of stations. Now the stations are managed on a global level. 2014-03-23 20:42:59 +01:00
vemax78
0873967b88 Fix code 2014-03-22 21:31:09 +01:00
vemax78
684a829158 Added the ability to manage timeouts inside the wireless module 2014-03-16 21:36:01 +01:00
vemax78
738a5d9c93 The IEEE 802.11 Management packages can be sent into CAPWAP Data Channel only
in native format
2014-03-16 21:34:29 +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
ea02d7379e Refactoring timeout functions, change functions name and add timeout handler
into session.
2014-02-19 19:16:33 +01:00
vemax78
196d165119 First actions to send managements frame into data channel 2014-02-16 15:28:27 +01:00
vemax78
e1e4748367 The preparation for sending IEEE802.11 management packets to the AC by data
channel. Support both Local Mac and Split Mac.
2014-02-09 21:55:10 +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
254ef26ed6 Added ACL of stations 2014-01-18 19:13:10 +01:00
vemax78
d2c01ad82a Improved the management of the IEEE802.11 Beacon and add the management of
IEEE802.11 Probe Response.
2014-01-10 13:25:28 +01:00
vemax78
66019df158 Send only one from DSSS and OFDM Control Message Element 2014-01-07 16:22:44 +01:00
vemax78
022585f3a1 Add nl80211 handler message events 2013-12-21 23:50:15 +01:00
vemax78
bef31786ce The first beacon of SmartCAPWAP 2013-12-20 23:14:34 +01:00
vemax78
dcbf837b7a Add basic function for management wlan configuration 2013-12-07 18:14:32 +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
df4161dae7 Add management backend for close WTP sessions or reset a WTP 2013-11-10 22:11:56 +01:00
vemax78
516f129fce Cleaning WTP DFA code 2013-11-07 22:06:29 +01:00
vemax78
059f6d9dc9 Add reference of IEEE802.11 message type 2013-10-20 17:33:57 +02:00
vemax78
f0e7a37cca Filter message element 2013-10-14 18:09:46 +02:00
vemax78
5da4cd4a03 Remove radio channel from wtp configuration 2013-10-14 18:09:09 +02:00
vemax78
fa69ae9bba Fix code 2013-09-30 17:37:34 +02:00
vemax78
5e3856cd9c Add ieee 80211 message element to configure request 2013-09-25 21:22:09 +02:00
vemax78
45ca636d6f Add radio configuration with physical information 2013-09-24 19:14:57 +02:00
vemax78
8ed0a76617 Improve radio configuration 2013-09-22 22:28:59 +02:00
vemax78
2aa926fff8 Fix 2013-09-19 21:17:17 +02:00
vemax78
08a8af0a70 Drop packets if connection is teardown 2013-09-16 22:10:37 +02:00
vemax78
4474087f15 Added all message element that still need to be included in requests 2013-08-21 23:00:54 +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
f81afd5e8c Fix request/response message 2013-08-13 17:53:04 +02:00
vemax78
7ddb32d217 Added the code that handles the result code of a request. 2013-08-11 18:38:23 +02:00
vemax78
7b5b9be58b Ignore SIGPIPE 2013-08-06 22:13:00 +02:00
vemax78
73c3354e50 Fix wifi messages 2013-07-27 22:46:17 +02:00
vemax78
99b6373cd7 Allow daemon mode 2013-06-16 12:09:57 +02:00
vemax78
7b6bd52f48 Centralized control of the AC IP address into recv function 2013-06-09 21:49:43 +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
49bf2dc5c9 Improved the WTP application to exit 2013-06-05 19:39:03 +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
0a2ae76acc first features of mac80211 driver 2013-05-11 15:08:28 +02:00
vemax78
bb449e7ec6 implement several 80211 element 2013-05-11 15:07:30 +02:00
vemax78
9082a7855c multiple update 2013-05-03 22:28:06 +02:00
vemax78
05ab7a3787 stub binding wifi engine 2013-05-01 21:33:54 +02:00
vemax78
7dd6d43954 First commit 2013-05-01 14:52:55 +02:00