History log of /frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b070203c5923ffb7f1bca5379979fa69ac2c6e34 04-May-2016 mukesh agrawal <quiche@google.com> wifi_hal_stub: add stubs for packet fate

If the vendor's Wifi HAL does not provide packet fate
functions, then WifiServiceImpl (and hence, system server)
will crash when WifiLogger calls packet fate functions.

Fix this, by providing stub implementations. These will
be automatically overriden by vendor-provided implementations.

BUG=28565646
TEST=manual

Manual test:
- repeat for angler and bullhead:
- try to connect to WPA-2 network with wrong password
$ adb shell dumpsys > /tmp/dumpsys
- verify that dumpsys contains "Last failed connection fates"
- verify that dumpsys shows Authentication messages
- on bullhead
- hack up HAL, so that packet fate functions are not registered
$ adb logcat -d | grep 'Failed to start packet fate'
-> should see matching lines
(with the hacked up HAL, and without this patch, the call to
startPktFateMonitoring() causes a SIGSEGV, instead of just a
clean failure message)

Change-Id: I86ce34784dea396f9e8741353395cab1ec6e0913
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
d0cb2fae195ebb9f658095667f3c7b7b8d69a204 07-Apr-2016 mukesh agrawal <quiche@google.com> wifi service: add support for driver dump HAL API

Implement the framework side of the driver dump HAL API:
- When a bugreport is generated, ask the HAL to provide
a driver memory dump.
- When dumping a bugreport, include the driver memory
dump (if available).

Along the way: add a stub implementation of the driver
dump HAL API, in case a particular vendor HAL does not
implement the API.

While there: declare the (existing) callback for
firmware memory dumps as static. There's no need for
on_firmware_memory_dump() to be visible outside of
com_android_server_wifi_WifiNative.cpp. (Modules
that need access to on_firmware_memory_dump() will be
provided with a pointer; they don't need to reference
the function by name.)

BUG=27554392
TEST=unit tests
TEST=bullhead: dumpsys + verify that driver dump is present
TEST=angler: dumpsys + verify we properly handle unimplemented API

Change-Id: I619b9c819a41a795c1119a8c2fa22447f0c44b56
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
208f92c4d8457374ff507996d58ffa5586d1ecd5 25-Feb-2016 Mitchell Wills <mwills@google.com> Add some more jni compiler errors

Bug: 27360209
Change-Id: I01575f17a37e34aae9f158133bff9baed8fd8ab1
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
342457d535beadd74d140128f5563139704e642a 01-Mar-2016 Wei Wang <weiwa@google.com> Fix a typo in get_available_channel API.

Change-Id: I7112d077a109a6ddb31e6c5e3eb3afc82a79ca24
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
68cb8c02b4ad079c54a2ffd4407da921d18c7af9 25-Jan-2016 Wei Wang <weiwa@google.com> Enable Rtt Responder Role(2/4).

Change-Id: Ib18af94fbba21c833c47336f7a92afe918dc9a89
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
e36f5903f5d236a29dc94c8bdb215807ae75f5a1 03-Feb-2016 Etan Cohen <etancohen@google.com> NAN: Add NAN HAL capability

Query NAN HAL for its capabilities and propagate to WifiNanStateManager for
storage (usage is TBD).

BUG=26564631
Change-Id: Icb4223c5a03cb65fba1781d0ebe78d70110d3a86
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
be62c038644a39d9441b70cfafb95f9518878541 03-Feb-2016 Etan Cohen <etancohen@google.com> Move stub initialization to stub library.

Decouples stub library from JNI library (allowing use elsewhere).

Bug: 26979983
Change-Id: I4cb01e497b5964d9c9c34bf7b6a3d7e3350bd16c
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
82d71934e5bc69902254faef16eb565d7dc9c488 01-Feb-2016 Erik Kline <ek@google.com> Merge "Add stub support for wifi_configure_nd_offload()" into mm-wireless-dev
c0d77321e4fe6058017125606fa7da558cfe3c33 26-Jan-2016 Paul Jensen <pauljensen@google.com> Add stub support for WiFi packet filtering

Bug: 26238573
Change-Id: Iaa1ae8482325a63784468eaa560d402434641375
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
2a6d76f0899289cd3b96e3428f02076fdbc0363e 17-Dec-2015 Mitchell Wills <mwills@google.com> Updates for gscan HAL updates in N

This will compile, but all new functionality may not work

Change-Id: Ia87dbc753e146cd47adb814063ac217508d6caa2
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
b6e8d98d1af299afe8ee0cb2e00563fdf54f7339 20-Jan-2016 Erik Kline <ek@google.com> Add stub support for wifi_configure_nd_offload()

Bug: 18085352
Bug: 26238390
Change-Id: I608e42a0c6f1be3626087c1bf7a4f5c69a66ae86
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
956f54b391677d78379729dd14518edddf3c7660 29-Sep-2015 Etan Cohen <etancohen@google.com> NAN: initial service implementation for discovery

Initial NAN service implementation. Supports:
- Configuration
- Publish/Subscribe = Discovery
- Message passing
- Notifications

Bug: 26216681
Change-Id: I1f84a6006cec3c3ed9a4566a79b1b4f8dcecde08
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
bf3fe9cc00c04f1438ceee8dbb7f8c5568c1f804 15-Dec-2015 Prerepa Viswanadham <dham@google.com> JNI interface to obtain wlan wake reasons.

Change-Id: I25bed1acd66b68a6552b634caf68a22e0d916b9e
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
370ad50a5f1dd907de8f4d201f73eb7139f79dd4 13-Jul-2015 Jerry Lee <jerrylee@broadcom.com> Clean up bad command implementation

b/22349265

Change-Id: I3d5e0e3c6d06a86f9c59b00754bfc9e5677fe9e7
Signed-off-by: Jerry Lee <jerrylee@broadcom.com>
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
2723d997840a21379ac1c1224bf07e5026559603 19-Jun-2015 Ecco Park <eccopark@broadcom.com> Add wifi offload feature: mkeep_alive

b/21405946

Change-Id: I0bbe294d52e97d9609d35d788410fd0bb4c6d5f7
Signed-off-by: JerryLee <jerrylee@broadcom.com>
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
32cbc7acce70697ccf7881324bf8a6861905e899 18-Jun-2015 JerryLee <jerrylee@broadcom.com> Add a debuggability interface: stop logging

bug: 21730601

Change-Id: I4dd4c6bae10b9e8ad7c8cabc887b8d51c07eff01
Signed-off-by: JerryLee <jerrylee@broadcom.com>
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
e5bf4b884cbbb435dc9268dff61955bcc2b81471 14-May-2015 Vinit Deshpande <vinitd@google.com> am 03ba4a5..ed3f1dd from mirror-m-wireless-internal-release

ed3f1dd Fix permissions check on WifiScanner APIs
f4b30aa Don't pause/restart scans across network connections
ad99846 Remove old (KK based) batched scan API support
fc42a2c Introduce battery blaming for WifiScanner
87df79e make autojoin more deterministic
d79bb0e Merge "enable background scan as soon as screen is off Bug:20909311" into m-wireless-dev
9ac124e enable background scan as soon as screen is off Bug:20909311
6d0cd10 change wifi Logging header
d4c25fd 5GHz roam configuration

Change-Id: Ib7621b11ca851236f9003947c24c5d84670fac94
6d0cd10057e479dfcb8c9e290b9d1d433644dc06 05-May-2015 xinhe <xinhe@google.com> change wifi Logging header

Allocate the memory at JNI layer. Thus, instead pass
down ** , pass * down

Bug:20853404
Change-Id: I0827a0b311566df9231c96d6a8f1dc4c982d8ca3
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
d4c25fd76644d5490700ae69fada4669de5193a1 17-Apr-2015 Pierre Vandwalle <vandwalle@google.com> 5GHz roam configuration

Change-Id: I34a59b6de90bda5198e42c3ecf24e978efc73c93
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
7ea679c65dd903b1eca6b68019784244a5a369f4 01-May-2015 Prerepa Viswanadham <dham@google.com> Merge commit '624b4e2' into master_merge

Change-Id: Iaf46e8490ccb35519aaa7db6873db6abf93d48a0
21602b3d7fc39a4dfa32b174c93ba77990f9e777 24-Apr-2015 xinhe <xinhe@google.com> Fix halutil build error [DO NOT MERGE]

Change-Id: I0bafc698aab75606ab550b86389f4bd231dc06b0
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
78057ef03352033a9a5fb718f52323e67fcaa1f0 24-Apr-2015 xinhe <xinhe@google.com> Fix halutil build error

Change-Id: I0bafc698aab75606ab550b86389f4bd231dc06b0
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
d57f630f6a7a5fca872d2b96fc4cce1905daee5d 15-Apr-2015 xinhe <xinhe@google.com> TDLS enhancement HAL interface update

Bug:15152152
Change-Id: I6ef4924f8db85244723cdee89166811f058fd675
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
5ee18dc63952ff80f4ea21296a0df4f7b27eafe6 15-Apr-2015 Vinit Deshpande <vinitd@google.com> am f24e3d7..a547460 from mirror-m-wireless-internal-release

a547460 Fix incorrect matching of Passpoint networks
93a1dbd fix RTT crashes runtime This is due to local referencs have been used up Bug:20143987
5faa29d changes to support wifi_logger.h API changes
a7ead3d Corrected and tightened up MO tree and mapping from/to configs.
71cd814 Merge "Use PasspointMatchInfo to select good passpoint network" into m-wireless-dev
0c14982 Merge "Store PasspointMatchInfo in ScanDetailCache" into m-wireless-dev
8eefaf2 Use PasspointMatchInfo to select good passpoint network
4d381bc Store PasspointMatchInfo in ScanDetailCache

Change-Id: If9ce95af4968cee4a458dddf21151eaf015880dc
5faa29da989a82096e1e17c46126604eecfc0780 10-Apr-2015 Pierre Vandwalle <vandwalle@google.com> changes to support wifi_logger.h API changes

Change-Id: I31e7116b47ccb76e8def50516a9532a296a2f557
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
628199920e1d1fa86caabaf13874e7dc601e7b06 03-Apr-2015 xinhe <xinhe@google.com> Wifi HAL should not require stubs for all functions [Do not merge]

Bug:19949178
Change-Id: I7bdef880c3f975370e2c99080b375fb2f245d243
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp
ec61e7731968be994a23f2bd138f6761c8aea498 31-Mar-2015 xinhe <xinhe@google.com> Add general stubs for wifi hal

Bug:19949178
Change-Id: I51ecdf4fecd3584fa86be9a0c2299dc910e3ca59
/frameworks/opt/net/wifi/service/lib/wifi_hal_stub.cpp