Commit graph

22 commits

Author SHA1 Message Date
Colin Cross
6e3fffeca6 DO NOT MERGE: Revert "delete libnl_2"
This reverts commit 7097f052d9.

libnl_2 needs to stay in AOSP for now for compatibility with
GPL test builds.
2014-06-04 08:15:48 -07:00
Colin Cross
7097f052d9 delete libnl_2
libnl_2 has been replaced by external/libnl

Change-Id: I1fa964f4fdc24511f497ebadcb4aa3e786fc8456
2014-03-20 13:07:22 -07:00
Elliott Hughes
5d9fe779c8 system/core LP64 cleanup.
Fixes -Wint-to-pointer and -Wpointer-to-int warnings, plus various -Wformat
warnings.

Change-Id: I6c5eea6b4273d82d28b8e5d2925f3e5457511b17
2014-02-05 18:02:11 -08:00
Elliott Hughes
7e014ce6de am cdc4a400: am cb71ed30: am 50e2555d: Merge "Always include <sys/socket.h> before <linux/netlink.h>."
* commit 'cdc4a400b3a47564887ac1220bfb7f6f8312a71e':
  Always include <sys/socket.h> before <linux/netlink.h>.
2012-09-12 11:08:42 -07:00
Elliott Hughes
b77d3d7249 Always include <sys/socket.h> before <linux/netlink.h>.
Newer kernel headers files aren't stand alone. (This has long been true of
glibc's copy, but we only recently updated external/kernel-headers.)

Change-Id: Iebcb40902b2f29fe509e207e2f3a9d02a7e40602
2012-09-12 10:10:20 -07:00
Jouni Malinen
831cbc9d29 libnl: Add nla_put_u8/u16/u32/u64() wrapper
Change-Id: I9c07bbff1f678b5c406dbd455c830363af093703
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-08-09 14:38:47 -07:00
Ed Heyl
3cac204d35 Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-dev 2012-07-28 11:48:12 -07:00
Dmitry Shmidt
2d9a6281ca libnl_2: Extend genl_ctrl_resolve() to support "nl80211" name
Change-Id: I46759ba55bdf42baef7c1f43de845b0dc846d502
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-07-10 17:49:22 -07:00
Dmitry Shmidt
de92239055 libnl_2: Add nl_socket_set_cb() and nl_socket_get_cb()
Change-Id: Ibc2b4dc9528bd43d3fc85491c4838a33c916330e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-07-10 10:47:48 -07:00
Iliyan Malchev
db7462f8d1 libnl_2: compile as shared library as well
Change-Id: I103155b08a16b512a582ee2c4ffc9d6f8a1e1c6a
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-06-11 14:18:45 -07:00
Dmitry Shmidt
d99fe5ec96 libnl_2: Fix memory leaks
BUG: b/5532633

Change-Id: I271168764e26dc465d2442f5015338a3e9a479b8
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-01 15:56:22 -07:00
Dmitry Shmidt
e5de9ee491 libnl_2: Fix getting family_id
Change-Id: I27b2495fb96852e960f647f032a5fcd446ec742b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-09-30 12:39:48 -07:00
Dmitry Shmidt
1e144548aa Merge "libnl_2: Update README" 2011-08-12 14:52:16 -07:00
Dmitry Shmidt
806ed3ce4a libnl_2: Update README
Change-Id: I8501dc01782fa2cfeabb9d27b9c48caa50b74f37
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-08-12 14:46:33 -07:00
Dmitry Shmidt
5fbf404d72 Merge "libnl_2: Fix nested attribute setting" 2011-08-11 09:31:13 -07:00
Dmitry Shmidt
64f17e85b4 libnl_2: Fix nested attribute setting
Change-Id: I9dbf72a25e8a939ab6aa35eaf4adbf86d9ed97a1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-08-10 15:25:51 -07:00
Jean-Baptiste Queru
c4fcd8a68a Move libnl headers to their own project
Change-Id: If3f20575507431afa7a79aee6b99823a2d1df324
2011-08-08 12:43:25 -07:00
Frank Maker
e065872503 libnl: Added more detailed information to README
Change-Id: I330a215a02535521b6bdd613eae50c34e47a8835
2011-08-04 15:41:47 -07:00
Frank Maker
69bc179b20 libnl: BUGFIX to support wpa_supplicant p2p_find
Close socket file descriptor when nl_msg freed
Correct nested attribute container size when closing nest
2011-08-02 15:30:44 -07:00
Frank Maker
c28b79a6c2 libnl: nl_socket_alloc() Bugfix
Clear memory and allow kernel to set local socket pid

Change-Id: I274156fa7bcf8d2fe78f719fb2eb32d963682931
2011-07-06 22:15:34 -07:00
Frank Maker
1b53483949 BUGFIX: libnl_2
Fixed return value for nla_put.

Change-Id: If1ae33bb38c0e88ca7a9220e90ae35dfb0b44b86
2011-06-30 17:39:54 -07:00
Frank Maker
ed6b39cc77 Cleanroom libnl_2 library
By overriding the netlink cache pointer, able to pass nl80211 family id.
Scan and connecting open access point work
Added legal stuff to headers

Change-Id: I1c60452f35fdd1f80edebc03fef33067722d0543
2011-06-28 13:28:02 -07:00