build: set cmake min version to 3.0 to fix deprecation warning | Compatibility with CMake < 2.8.12 will be removed from a future version of | CMake. | | Update the VERSION argument <min> value or use a ...<max> suffix to tell | CMake that the project does not need compatibility with older versions. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
carl9170 firmware tools: fix compile errors in wol.c wol.c: In function ‘monitor_init’: wol.c:40:19: warning: implicit declaration of function ‘if_nametoindex’ ll.sll_ifindex = if_nametoindex(ifname); ^ wol.c:46:45: warning: implicit declaration of function ‘htons’ monitor_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); ^ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carl9170 tools: add attribute macros to host library file The macros [__packed, __aligned(x), ...] are already defined as part of newlib's sys/cdefs.h. However they are not part of standard libc which is used to compile the host tools. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carl9170: remove carlu The userspace utility will be become a separate project. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carl9170 firmware: add automatic BA filter BA are normally filtered to conserve bandwidth and cpu cycles. However, if the application has sent a BAR, the firmware has to escalate the BA accouting. Hence, for a brief period, the firmware has to let all BA temporarily pass through the filter. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carl9170 firmware: initial WoWLAN support Unlike the previous proof-of-concept implementation, this one supports nl80211's magic packet & disconnect wakeup triggers. Furthermore, the trigger can be enabled from userspace with "iw", so there's no need for a custom firmware anymore. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Merge branch 'master' of git://git./linux/kernel/git/chr/carl9170fw