History log of /system/netd/server/SoftapController.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
680d765b5f04c41ca81882af230d136ca945759c 21-Mar-2016 Dmitry Shmidt <dimitrysh@google.com> netd: softap: Ignore fwreload command if FW path is not defined

Some wlan solutions can not switch or do not need to switch FW.
In this case we don't want the function to fail and to prevent
Wifi to start in settings.

Bug: 27774657

Change-Id: I11f3cf709db6f17fc558454aa894e4a2211a9312
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/netd/server/SoftapController.cpp
bbd5626b3d0994ff0ecbfceac75f6dc4abfb55c6 05-Dec-2015 Elliott Hughes <enh@google.com> Track rename from base/ to android-base/.

Change-Id: Ice6d43c0f9b16b8fb441158a0f7344dfbf969dea
/system/netd/server/SoftapController.cpp
986d097bcacf51ec71f3b6905185e830a98df8ca 04-Nov-2015 Adam Langley <agl@google.com> system/netd: check return value of PKCS5_PBKDF2_HMAC_SHA1.

The function PKCS5_PBKDF2_HMAC_SHA1 can fail for a number of reasons and
thus its return value should be checked and handled.

Change-Id: I63bd1378e78926372309072c3fa821666cac1b01
/system/netd/server/SoftapController.cpp
5407e14fd3d81bb76f94221b4a359faa2806de65 16-Mar-2015 Dan Albert <danalbert@google.com> Revert "Revert "Update for libbase.""

This reverts commit 4a0ab5ff4a87cfc4a987da99546b01e44875a2e5.

(cherry picked from commit 3e87c785434fdfed2fb00496cb391c411a426bdd)

Change-Id: I042f485f3cc84206766298853491ddd26dbba13f
/system/netd/server/SoftapController.cpp
e298ded6ade9744f2a79cae045b5c324886262f4 16-Mar-2015 Nicolas Geoffray <ngeoffray@google.com> resolved conflicts for merge of 6066d418 to master

Change-Id: I2aa9721365e96c363648dd8e9e15718ed50e3c12
4a0ab5ff4a87cfc4a987da99546b01e44875a2e5 16-Mar-2015 Nicolas Geoffray <ngeoffray@google.com> Revert "Update for libbase."

Breaks internal master.

This reverts commit b67219a71d1d896bcb34c4a7a797824b88515b2c.

Change-Id: I43145f0724ad2d669b65d20b6fd6ccc44b8f0a4f
/system/netd/server/SoftapController.cpp
6d631575749406ad4d69ce14f59910bf5f186deb 15-Mar-2015 Dan Albert <danalbert@google.com> am e3734499: Merge "Update for libbase."

* commit 'e37344992f49c8e0e6e9b816f590afbd00a961ca':
Update for libbase.
b67219a71d1d896bcb34c4a7a797824b88515b2c 14-Mar-2015 Dan Albert <danalbert@google.com> Update for libbase.

StringPrintf and the string based file I/O are being moved to libbase.

Change-Id: I765d9e53f65a76d318d9d0d9503403fc092254d5
/system/netd/server/SoftapController.cpp
4674fae60573cf2ac43c4a3f8388853a3172510c 12-Feb-2015 Elliott Hughes <enh@google.com> resolved conflicts for merge of 64b816ba to master

Change-Id: Ie6348e38e90e48ffe115e63e5fde16640e2c3d92
64b816bafcb735dd06f4ddf233ba2bad8fd08f47 04-Feb-2015 Elliott Hughes <enh@google.com> am f48d6abf: Merge "Switch writing to <utils/file.h>."

* commit 'f48d6abfb701cedbf619fb530e69a4a245ad0697':
Switch writing to <utils/file.h>.
bd37832f1843ed78f64604e5627cf952ac9614ba 04-Feb-2015 Elliott Hughes <enh@google.com> Switch writing to <utils/file.h>.

Change-Id: Idb2de24414f4dd8e926e625b62e4d12152dc4527
/system/netd/server/SoftapController.cpp
fa18636462a4a3b32c68cd435108259fdc928687 03-Feb-2015 Nick Kralevich <nnk@google.com> am 69766c22: am 6c08cd6a: Merge "Avoid leaking file descriptors"

* commit '69766c22edb99338c3b703aeadbaa286f6b78334':
Avoid leaking file descriptors
69766c22edb99338c3b703aeadbaa286f6b78334 03-Feb-2015 Nick Kralevich <nnk@google.com> am 6c08cd6a: Merge "Avoid leaking file descriptors"

* commit '6c08cd6aa7aee66b973ee4861237ad36560e0239':
Avoid leaking file descriptors
53ea9cadf6cc5f8be1c16b5b6b660cd7366fd3f0 31-Jan-2015 Nick Kralevich <nnk@google.com> Avoid leaking file descriptors

Add O_CLOEXEC on open() calls, and SOCK_CLOEXEC on socket calls.
This avoids leaking file descriptors across execs.

Addresses the following SELinux denial:

audit(1422740213.283:8): avc: denied { read write } for pid=2597 comm="clatd" path="socket:[6709]" dev="sockfs" ino=6709 scontext=u:r:clatd:s0 tcontext=u:r:netd:s0 tclass=netlink_socket

and allows the removal of some other SELinux rules which were
inappropriately added because of leaking file descriptors.

Change-Id: I9c180488ea1969d610e488f967a7276a672bb477
/system/netd/server/SoftapController.cpp
237f0a5bea8abdd245671c69b8e3c33e149d3f44 06-Jan-2015 Dmitry Shmidt <dimitrysh@google.com> server: softap: Set hw_mode according to selected channel

Change-Id: If3d12d33e857b1438edd504ddbd5e5504673725c
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/netd/server/SoftapController.cpp
6fa06b78e31f9e99c4e61f2c4c8241823b781f89 06-Sep-2014 Dmitry Shmidt <dimitrysh@google.com> softap: Ensure entropy file creation

Bug: 17408011

Change-Id: I558270f1ce2603f305d38ad8604379ea533f0a47
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/netd/server/SoftapController.cpp
9e957530d8b2f68473f06c8b46f20e571b072578 04-Sep-2014 Dmitry Shmidt <dimitrysh@google.com> softap: Add wowlan_triggers=any parameter

New kernels in wiphy_suspend() will call cfg80211_leave_all()
that will eventually end up in cfg80211_stop_ap() unless
wowlan_triggers were set.

Bug: 17269024

Change-Id: I609d78f5bb573b4c6a9dae25a3b2a345499f6853
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/netd/server/SoftapController.cpp
56afacf838d24cf8e54d2cf0d8ab9182ab704125 29-May-2014 Sreeram Ramachandran <sreeram@google.com> Turn on C++11 and make all warnings into errors.

As a consequence:
+ Comment out the names of all unused parameters.
+ Remove all unused variables and functions.

In server/Android.mk, there are a couple of non-trivial changes:
+ Use libcxx instead of stlport. This is needed to fix a bunch of errors due to
specifying -std=c++11.
+ LOCAL_SHARED_LIBRARIES is sorted. Technically, the order in which libraries
are listed has an effect on linking, but nobody should be doing such brittle
things anyway.

Change-Id: I0aff5b745e04609da23144d0e8be4c5694321b8b
/system/netd/server/SoftapController.cpp
f4cfad361175a7f9ccf4d41e76a9b289c3c3da22 21-May-2014 Sreeram Ramachandran <sreeram@google.com> Move netd_client into netd.

Change-Id: Ie4b6b303225c93f2448a503d6ea9cebb552cbad5
/system/netd/server/SoftapController.cpp