Commit Graph

224 Commits

Author SHA1 Message Date
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 2ec98ac74d Prepare for add station configuration message 2014-04-09 19:25:08 +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 7fd2d4357a Preparations to parse IEEE802.11 management packets 2014-03-26 21:35:52 +01:00
vemax78 4c466d68be Added the function to extract the frame from CAPWAP data packet 2014-03-23 22:24:59 +01:00
vemax78 bb85dc3e23 Fix value of IEEE802.11 MTU 2014-03-23 22:23:20 +01:00
vemax78 884130dff1 Fix packetlength value when packet is fragment 2014-03-23 21:59:57 +01: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 b48f7793cf First steps to handling stations timeout 2014-03-20 20:32:49 +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 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 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 2bdcac10ba Change file position of some ieee80211 functions 2014-02-20 21:23:18 +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 dff6ecb5e0 Removed unnecessary logging messages 2014-02-16 19:17:21 +01:00
vemax78 6590c50f5a Fix 2014-02-16 18:59:29 +01:00
vemax78 fd0805ff5c Fix debug log 2014-02-16 15:41:59 +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
Alexis La Goutte 85d32d1197 Add missing library to INSTALL 2014-02-15 11:33: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 152f869354 Add support to Probe response offload 2014-02-09 18:42:15 +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