Commit Graph

123 Commits

Author SHA1 Message Date
Andreas Schultz
484002b3e6 add support for CAPWAP IEEE 802.11 Information Element to AssocResponse 2016-02-29 15:30:54 +01:00
Andreas Schultz
a85f07f18a change buffer data type in hexdump logging to unsigned char 2016-02-29 15:30:19 +01:00
Andreas Schultz
e4a5abba65 add support for CAPWAP IEEE 802.11 Information Element 2016-02-29 14:32:02 +01:00
Andreas Schultz
9fee37a994 rework wifi type and rate logic
Hard coding basic rates is wrong. Each Wifi types does expect
some default basic rates. However those rates are not set in
stone and the AC is permited to set then to whatever it deems
ok. This might prevent client from connecting, but it still is
the AC decission to do so.

This is first step towards a more flexible basic rate handling.
2016-02-29 14:26:13 +01:00
Andreas Schultz
3bfd0c5642 logging: add alternate log syntax 2016-02-29 14:23:58 +01:00
Andreas Schultz
c66dc85c04 add hexdump log formater 2016-02-29 14:23:41 +01:00
Andreas Schultz
cae859e42f [debug] add debug trace logging for some procedures 2016-02-17 11:56:03 +01:00
Andreas Schultz
c71a9db6ed remove IEEE 802.11 WTP Radio Information from responses
RFC 5416 does require IEEE 802.11 WTP Radio Information for
Discovery and Join Response Messages in Chapter 5. However
Chapter 6.25 indicates that this IE should only be included
in the request messages.
2016-02-17 11:52:59 +01:00
Andreas Schultz
1ee42c1881 unsigned long is 64bit on some platforms, use the 32bit datatype instead 2016-02-08 17:33:00 +01:00
Andreas Schultz
f6711c3b14 Vendor Payload can appear multiple times, make it a list element 2016-02-08 17:31:40 +01:00
Andreas Schultz
8c20d78941 remove dos style newlines 2016-02-05 17:38:49 +01:00
Andreas Schultz
93cb64ca6f convert (partially) to wolfssl 2016-02-05 17:33:57 +01:00
Andreas Schultz
7e0b977fcd fix strict aliasing errors 2016-02-05 17:33:57 +01:00
vemax78
729ed4f768 Use the capwap_exit instead of exit 2015-01-24 13:17:47 +01:00
Alexis La Goutte
4d1b60a6c1 Fix Dead Store (Dead increment) found by Clang Analyzer
---
 src/common/binding/ieee80211/ieee80211.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2015-01-22 10:19:38 +01:00
Alexis La Goutte
3a51803eba Fix Dead Store (Dead Assignment) found by Clang Analyzer
---
 src/common/capwap_protocol.c | 2 --
 1 file changed, 2 deletions(-)
2015-01-22 10:19:38 +01:00
Alexis La Goutte
1ba7fc2355 Add exit(1) when ASSERT()
Move to 520 issues found by Clang Analyzer to only 18 !
---
 src/common/capwap_debug.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-01-22 10:19:38 +01:00
vemax78
5fb61094d7 Update patch to last trunk version of OpenWRT/Compat Wireless 2015-01-06 22:56:10 +01:00
vemax78
7c9ecebe7d Add debug output messages 2014-12-28 15:48:52 +01:00
vemax78
b64d563e33 Fix macro 2014-12-28 15:48:15 +01:00
vemax78
2894b2c7aa Fix error management to send socket functions 2014-12-27 18:45:09 +01: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
8d9985fdea The capwap data channel migrated from userspace to kernalspace 2014-09-10 21:58:23 +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
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