summaryrefslogtreecommitdiff
path: root/cld80211-lib
AgeCommit message (Collapse)Author
2020-10-23cld80211: Fix makefile to build as vendor moduleMohammad Asaad Akram
cld80211-lib is an opensource, and needs to be build as a vendor module. Change-Id: Iffed7230a86a27003d520c2fb3f902e3bd54b811 CRs-Fixed: 2797960
2020-10-05Remove LOCAL_COPY_HEADERS to make libcld80211 treble compliantMohammad Asaad Akram
This patch removes local_copy_headers and instead use local_export_c_include_dirs to make the module cld80211 treble compliant. Change-Id: I6034674bae1eb266cd71159afeb72ac4e515df03 CRs-Fixed: 2792452
2020-08-17cld80211_lib: Make cld80211_remove_mcast_group empty functionHu Wang
cld80211_remove_mcast_group intents to drop from multicast group membership when cld80211 cleanup. However cld80211_remove_mcast_group is not mandatory for cleanup, and it has risk to cause thread hang if driver stopped prior to cleanup. Ideally cld80211_remove_mcast_group can be removed from functional perspective, but it is public function and widely used by other modules, so make it an empty function to keep compiler happy. Change-Id: Ib1ab18e9aa1c166faa039853f269e75ac7470608 CRs-Fixed: 2752447
2020-08-17Revert "cld80211lib: Remove sendmsg to driver during cleanup"Hu Wang
This reverts commit 111c8ab79807364ea73359b84951031c43a1ec4a. The commit to be reverted intents to fix get_multicast_id hang when driver stopped prior to cleanup. But it causes cld80211_remove_mcast_group always return -ENOENT with an error message, and nl_socket_drop_membership never has a change to be called. "[ERROR] Could not find group XXXXX, errno: 2 id: -2" Change-Id: I469b329dfcfcb66fc442c4a49617ba7aa0eff23c CRs-Fixed: 2752447
2020-06-11cld80211-lib: add null check for pointer *nla_dataRongjing Liao
The code logic should be checking the return value of function 'nla_nest_start'. And code which invokes function 'cld80211_msg_alloc' will dereference pointer '*nla_data'. To aovid null pointer dereference, need to add null check before use. Change-Id: Iaac52b4615e5d9103477ed50afc9d5718671c66a CRs-Fixed: 2664794
2020-04-16cld80211_lib: Add new attributes for cld80211 attr listVinay Gannevaram
CLD80211_ATTR_CMD and CLD80211_ATTR_CMD_TAG_DATA are new attributes that are allowed for cld80211 family msgs CLD80211_ATTR_CMD has cld80211 vendor sub command in it, while CLD80211_ATTR_CMD_TAG_DATA has nested sub attributes of specified sub command CRs-Fixed: 2637778 Change-Id: I17d820d9e97d316b1c02091e56d669338ec01c3d
2019-10-15cld80211_lib: Add void in cld80211_init() argumentVinay Gannevaram
Adding void keyword in cld80211_init() argument so as to avoid type mismatch issue and a resultant crash when this lib is used by any C++ code. CRs-Fixed: 2545658 Change-Id: Ic4e22316caf04fd41d6e3ed5327d225ef1ae04d4
2018-06-27cld80211_lib: Fix error in the makefileGustavo Solaira
Makefile was installing the cld80211 header file twice, remove one of the references. Change-Id: I46ff97938e0b4710222ab99f4ea3c97b8ca3f61d
2018-06-06cld80211_lib: Add support for building cld80211-lib for LEGustavo Solaira
Add autotools files for building cld80211_lib in LE. Change-Id: I280128deca402d83e989c4e9ad054659a85a2d8f
2018-02-06Mark wifihal and cld80211_lib as vendor modulesSrinivas Girigowda
Mark wifihal and cld80211_lib as vendor modules. Binaries generated after compilation would be saved at /vendor/lib* only. Change-Id: I346e2f61ee4c459a879bb9bba195a5381b43bdd4 CRs-Fixed: 2184654
2018-01-31WiFiHal: Bring wlan-aosp.lnx.4.0 in sync with AOSPSrinivas Girigowda
Bring wlan-aosp.lnx.4.0 in sync with AOSP label PPR1.180125.002. AOSP git history. 959ab4e Wifi-Hal: Add support for NAN debug commands 5c8b7a4 Wifi-Hal: Add support for new NAN debug commands 543806c Add -Wno-error to compile with global -Werror. e37749f Wifi-Hal: Modify range measurements from cm to mm 0a8de31 Wifi-Hal: Modify range measurements from cm to mm Change-Id: Id225b5b16d403ceff77a05215050ade0e0e0e6d6 CRs-Fixed: 2180470
2017-09-25cld80211_lib: Add CLD80211_ATTR_META_DATA vendor attributeNaveen Rawat
Add CLD80211_ATTR_META_DATA vendor attribute, which will be used by userspace RTT application to send meta data to wlan driver allowing it to peek into RTT request message without opening up complete definition of RTT message. Change-Id: Ib5b198b3b701f7572b528fda5754be76da5a1301 CRs-Fixed: 2114184
2017-06-12Move libcld80211 to /vendorVara Prasad A V S G
Change-Id: I09e95250cfe96c932234246a8700fd050b72a69c
2017-03-09cld80211-lib: Create cld80211 lib for communication with driverSrinivas Dasari
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