Commit Graph

358 Commits

Author SHA1 Message Date
vemax78 8042cd2e04 Merge 2015-01-24 13:14:05 +01:00
Massimo Vellucci 86998ce2da Merged in alagoutte/smartcapwap/clang (pull request #2)
Fix build with clang and warning found by Clang Analyzer
2015-01-24 13:13:10 +01:00
Alexis La Goutte 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
Alexis La Goutte 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
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 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
Alexis La Goutte 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
Alexis La Goutte 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
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
Alexis La Goutte 0cfead4e09 Add .gitignore (based on .hgignore)
---
 .gitignore | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 .gitignore
2015-01-22 10:19:38 +01:00
Alexis La Goutte 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
Alexis La Goutte df9db3f130 Remove -Werror to automake (fix build for Ubuntu)
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-01-22 10:19:38 +01:00
alagoutte 5c8092bfd0 Created new branch clang 2015-01-22 09:08:51 +00:00
vemax78 32a25aa34e Remove printk 2015-01-11 22:17:59 +01:00
vemax78 5fb61094d7 Update patch to last trunk version of OpenWRT/Compat Wireless 2015-01-06 22:56:10 +01:00
vemax78 c7fa31ce56 Fix data channel defrag 2015-01-04 21:31:25 +01:00
vemax78 ceb6ee2322 Fix data channel defrag 2015-01-04 21:30:28 +01:00
vemax78 21ffd7cd23 Fix data channel fragmentation 2014-12-28 20:49:21 +01:00
vemax78 0c27172ca6 Separate netlink socket for receive message and send event 2014-12-28 16:14:19 +01:00
vemax78 b05d6631f4 Fix reset data session 2014-12-28 15:53:11 +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 f05c7acdcf Fix sequence number of control messages 2014-12-27 19:10:08 +01:00
vemax78 2894b2c7aa Fix error management to send socket functions 2014-12-27 18:45:09 +01:00
vemax78 98069694c5 Teardown connection if receive packet in unknown state 2014-12-26 15:37:30 +01:00
vemax78 6b1deb48aa Remove debug dump 2014-12-26 14:55:09 +01:00
vemax78 80b1780d92 Add critical section on netlink send message 2014-12-24 13:31:24 +01:00
vemax78 33ea96d9f5 Added functionality into capwap data channel kernel module 2014-12-23 21:12:25 +01:00
vemax78 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
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 63f5fcea19 Fix fragment error
Add stub for virtual interfaces of data packet
2014-09-21 11:20:35 +02:00
Massimo Vellucci 4c8750f128 README.md edited online with Bitbucket 2014-09-16 19:58:48 +00:00
Massimo Vellucci 4c86c553c8 README.md edited online with Bitbucket 2014-09-16 19:58:31 +00:00
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