diff options
author | Srinivas Dasari <dasaris@codeaurora.org> | 2017-02-07 10:49:13 +0530 |
---|---|---|
committer | Ecco Park <eccopark@google.com> | 2017-03-09 17:23:39 +0000 |
commit | 0c7bbbd8052b712f6e3b3e8172e7334c63d123c0 (patch) | |
tree | d458fe91ff3cb2f06a6b5f05dde72af0ebd2e236 /cld80211-lib/Android.mk | |
parent | f58c12182ec6ff0a64c3ee7e2f8d3e6256751f16 (diff) | |
download | wlan-0c7bbbd8052b712f6e3b3e8172e7334c63d123c0.tar.gz |
cld80211-lib: Create cld80211 lib for communication with driver
Create netlink socket of type NETLINK_GENERIC and initialize with
netlink family cld80211.
Provide below APIs to the client,
1. Init and deinit of library
2. Subscribe/Unsubscribe for multicast groups
3. Send and recv of nlmsg to/from driver
Change-Id: I39bb5dac49dec5e0b011080ee3ffcb89d314c2b5
Diffstat (limited to 'cld80211-lib/Android.mk')
-rw-r--r-- | cld80211-lib/Android.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/cld80211-lib/Android.mk b/cld80211-lib/Android.mk new file mode 100644 index 0000000..d58edb8 --- /dev/null +++ b/cld80211-lib/Android.mk @@ -0,0 +1,27 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_MODULE := libcld80211 +LOCAL_CLANG := true +LOCAL_MODULE_TAGS := optional +LOCAL_C_INCLUDES += $(LOCAL_PATH) \ + external/libnl/include +LOCAL_SHARED_LIBRARIES := libcutils libnl liblog +LOCAL_SRC_FILES := cld80211_lib.c +LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter +LOCAL_COPY_HEADERS_TO := cld80211-lib +LOCAL_COPY_HEADERS := cld80211_lib.h +include $(BUILD_SHARED_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_MODULE := libcld80211 +LOCAL_CLANG := true +LOCAL_MODULE_TAGS := optional +LOCAL_C_INCLUDES += $(LOCAL_PATH) \ + external/libnl/include +LOCAL_SHARED_LIBRARIES := libcutils libnl liblog +LOCAL_SRC_FILES := cld80211_lib.c +LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter +LOCAL_COPY_HEADERS_TO := cld80211-lib +LOCAL_COPY_HEADERS := cld80211_lib.h +include $(BUILD_STATIC_LIBRARY) |