Commit Graph

44 Commits

Author SHA1 Message Date
Andreas Schultz ff290d80b5 add RFC 7494 CAPWAP elements 2016-08-17 11:55:56 +02:00
Andreas Schultz a488af66cf add vendor VSA to set additional key and IGTK support
IGTK == Management Frame Protection
2016-08-15 15:30:29 +02:00
Andreas Schultz ac135e16c4 add VSA to report supported ciphers per radio 2016-08-12 12:08:06 +02:00
Andreas Schultz b0aaaa4436 replace memcmp on message id struct with direct compare
cset 3761122c fixed one place, but a few others remained.
This should take care of them all and fix a missing
IE in Add WLAN responses.
2016-05-06 17:52:39 +02:00
Andreas Schultz baf1ccbc73 add Vendor TP WTP Timestamp to Echo Request 2016-04-08 15:18:53 +02:00
Moritz Rosenthal 3761122c83 Bugfix for memcmp of struct failing on PPC hardware 2016-03-31 15:54:27 +02:00
Andreas Schultz 29ed6544c5 switch everything to new log API and drop old one 2016-03-30 14:47:57 +02:00
Andreas Schultz 2109c62b80 implement basic 802.11n support
Add suport to enable 80211n support on the BSS and set
station parameters through the "Add Station" procedure.

Setting 802.11n radio parameters is rudementary and does
not work yet.
2016-03-24 17:15:11 +01:00
Andreas Schultz 730f110a25 [wtp] implement vendor specific elements 2016-03-24 17:15:11 +01:00
Andreas Schultz 471d1058c4 [wtp] prepare message elements for vendor element handling
convert message element type into a struct{ vendor, type }.
Vendor will be 0 for all RFC types.
2016-03-08 10:21:51 +01:00
Andreas Schultz 140be9b143 simplify element list handling
Doing all the work to create a list element only to fail when we can
not decode the element is a waste of effort.
Decode the element first and only on success handle the list operations.
2016-03-07 18:25:49 +01:00
Andreas Schultz 38f7681608 constify capwap_message_elements_ops 2016-03-07 18:25:49 +01:00
Andreas Schultz 627a38a556 move the category setting into the element ops
this prepares the element ops for decoding vendor
ies into seperate types.

It also makes sense to keep all information about a IE
in one place.
2016-03-07 18:09:13 +01:00
Andreas Schultz 1436fc9e5f rename overly verbose capwap_message_elements_ops
The struct is already conveys the scope of the operations,
repeating it in the name of ops again is redundant and
bloats the resulting source code.

Rename the opt to shorter versions.
2016-03-07 17:12:48 +01:00
Andreas Schultz 78a8a75c6b start 802.11n 2016-03-07 16:23:49 +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 f6711c3b14 Vendor Payload can appear multiple times, make it a list element 2016-02-08 17:31:40 +01:00
vemax78 8d9985fdea The capwap data channel migrated from userspace to kernalspace 2014-09-10 21:58:23 +02:00
vemax78 fbd717b779 Added Delete Station Message Element into Station Configuration Message. 2014-04-15 22:26:31 +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 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 4c466d68be Added the function to extract the frame from CAPWAP data packet 2014-03-23 22:24:59 +01:00
vemax78 4c1a532221 Fix validation data packet 2014-02-16 15:41:44 +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 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 fb5327a713 Fix 2013-09-30 13:08:33 +02:00
vemax78 ba699429bf Fix code 2013-09-30 12:19:03 +02:00
vemax78 7ddb32d217 Added the code that handles the result code of a request. 2013-08-11 18:38:23 +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 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 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 6c55b4d71f Improve memory administration for tx/rx packet manager 2013-05-27 21:33:23 +02:00
vemax78 bb449e7ec6 implement several 80211 element 2013-05-11 15:07:30 +02:00
vemax78 7dd6d43954 First commit 2013-05-01 14:52:55 +02:00