c66dc85c04
add hexdump log formater
2016-02-29 14:23:41 +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
cae859e42f
[debug] add debug trace logging for some procedures
2016-02-17 11:56:03 +01:00
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
3a9a673d71
register pernet support befor anything else
2016-02-08 17:33:31 +01:00
1ee42c1881
unsigned long is 64bit on some platforms, use the 32bit datatype instead
2016-02-08 17:33:00 +01:00
f6711c3b14
Vendor Payload can appear multiple times, make it a list element
2016-02-08 17:31:40 +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
93cb64ca6f
convert (partially) to wolfssl
2016-02-05 17:33:57 +01:00
7e0b977fcd
fix strict aliasing errors
2016-02-05 17:33:57 +01:00
58c63bbc4e
Fix error in retrasmisson packets
2016-02-05 17:33:09 +01:00
729ed4f768
Use the capwap_exit instead of exit
2015-01-24 13:17:47 +01:00
8042cd2e04
Merge
2015-01-24 13:14:05 +01:00
28112ee228
Fix Branch condition evaluates to a garbage value found by Clang Analyzer
...
---
src/ac/ac_backend.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
2015-01-22 10:19:38 +01:00
63189997df
Fix Uninitialized argument value found by Clang Analyzer
...
(Need to be confirmed)
---
src/ac/ac_dfa_join.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2015-01-22 10:19:38 +01:00
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
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
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
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
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
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
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
32a25aa34e
Remove printk
2015-01-11 22:17:59 +01:00
5fb61094d7
Update patch to last trunk version of OpenWRT/Compat Wireless
2015-01-06 22:56:10 +01:00
c7fa31ce56
Fix data channel defrag
2015-01-04 21:31:25 +01:00
ceb6ee2322
Fix data channel defrag
2015-01-04 21:30:28 +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
b64d563e33
Fix macro
2014-12-28 15:48:15 +01:00
f05c7acdcf
Fix sequence number of control messages
2014-12-27 19:10:08 +01:00
2894b2c7aa
Fix error management to send socket functions
2014-12-27 18:45:09 +01:00
98069694c5
Teardown connection if receive packet in unknown state
2014-12-26 15:37:30 +01:00
6b1deb48aa
Remove debug dump
2014-12-26 14:55:09 +01:00
80b1780d92
Add critical section on netlink send message
2014-12-24 13:31:24 +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
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
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
71006a9121
Fix minor bug.
...
Add draft of ac kernel module.
2014-06-15 09:09:48 +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