Commit Graph

29 Commits

Author SHA1 Message Date
02e8d534b5 preserve QoS tid for injected QoS data frames
The TX path will overwrite the TID based on the SKB
priority. Load the QoS TID from 802.11 frames into
the skb priority to preserve it during TX handling.
2016-08-02 15:46:07 +02:00
2ac3944e7a implement WPA2 Stations Key handling
Implement the required support for extrace the cipher
suite settings from the the RS Information Element and
set the station key based on the 802.11 Station Key
CAPWAP message element.

Group Key update handling is currently not implemented nor is
Station Key update handling.
2016-07-27 12:36:34 +02:00
0e19b53e28 forward PAE (IEEE 802.1X Authentication) frames as raw 802.11 frames to AC 2016-05-10 17:07:46 +02:00
973bf5eab7 disable IPv6 on WTP AP interface 2016-03-04 18:39:08 +01:00
0175052cf1 set transport header when injecting 802.3 frames
Resetting the headers is not enoug, we have to make sure
the transport header points the right position and the
skb->protocol is initialized to the payload protocol.
2016-03-04 17:05:56 +01:00
067eb8d11a remove socket.o reference from kernel build 2016-02-29 15:45:23 +01:00
e4a5abba65 add support for CAPWAP IEEE 802.11 Information Element 2016-02-29 14:32:02 +01:00
b80073b756 inject 802.11 frames through the normal device queue 2016-02-25 12:39:19 +01:00
0c19932b58 send 802.3 frames through the normal device TX path
Injecting 802.11 frames underneath the device logic bypasses
the queue logik and leads to delay. Pass 802.3 frames through
the normal device TX chain.

This has the added benefit that AF_PACKET sockets (e.g. tcpdump)
see the send frames.
2016-02-22 16:56:03 +01:00
f3119eec8d rework kernel socket handling to use udp tunnel infrastructure
Reimplmenting what is already there doesn't make sense. Switch
to the existing and UDP tunnel support code and handle the data
channel as a connected UDP socket
2016-02-22 16:54:54 +01:00
cc5b38f322 impelment station binding to wlanid
* add a kernel bash hash list to track station to
  radio and wlan id binding
* enforce binding on recv
* configure binding through netlink interface from
  WTP process
2016-02-18 19:36:22 +01:00
a6d0efe91a wtp: rework kernel socket handling
Switch to a connected UDP kernel socket. Comparing the
local and remote IPs is no longer required and handling
different IP versions and UDP types is automatic.

The WTP logic needs to reopen the socket on demand now.
2016-02-18 15:06:39 +01:00
3a9a673d71 register pernet support befor anything else 2016-02-08 17:33:31 +01:00
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
69ca3d3256 change __genl_const to const
__genl_const was depreciated some time ago.
2016-02-05 17:42:43 +01:00
8c20d78941 remove dos style newlines 2016-02-05 17:38:49 +01:00
32a25aa34e Remove printk 2015-01-11 22:17:59 +01:00
c7fa31ce56 Fix data channel defrag 2015-01-04 21:31:25 +01:00
21ffd7cd23 Fix data channel fragmentation 2014-12-28 20:49:21 +01:00
0c27172ca6 Separate netlink socket for receive message and send event 2014-12-28 16:14:19 +01:00
b05d6631f4 Fix reset data session 2014-12-28 15:53:11 +01:00
7c9ecebe7d Add debug output messages 2014-12-28 15:48:52 +01:00
6b1deb48aa Remove debug dump 2014-12-26 14:55:09 +01:00
33ea96d9f5 Added functionality into capwap data channel kernel module 2014-12-23 21:12:25 +01:00
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
63f5fcea19 Fix fragment error
Add stub for virtual interfaces of data packet
2014-09-21 11:20:35 +02:00
8d9985fdea The capwap data channel migrated from userspace to kernalspace 2014-09-10 21:58:23 +02:00
2d6c4c4dd8 Check netlink file descriptor only if receive IEEE 802.11 packets in usermode. 2014-06-14 14:52:02 +02:00
c3865e4cbb Change WTP Kernel Module path 2014-06-10 22:34:38 +02:00