History log of /hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0d0fb634ec3a3aaf823e639b60e33fa5d3cbc5b8 25-Apr-2017 Randy Pan <zpan@google.com> Merge changes from topic 'fuguWifi' into oc-dev

* changes:
Improve logger feature set handling
Add capabilities for wifi_hal_legacy
08d1df4d99f8326e6748d48f2d37a8f0b3437041 20-Apr-2017 Roshan Pius <rpius@google.com> wifi(implementation): Turn on DFS flag for STA

DFS flag needs to be turned on in the legacy HAL for STA operations. So,
initialize this flag on creation of STA iface.
PS: Not adding an explicit HIDL API for this since there is no need to
toggle this from framework and since the HIDL API's are frozen now.

Bug: 36169790
Test: Verified the fix with regression tests: b/37528903.
Change-Id: I214097fcb399cef7fc0cbd2c278622fac259a3e3
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
dbb3102bdd1c6692c6b0d3b210b87d8ddcff7222 20-Apr-2017 Randy Pan <zpan@google.com> Improve logger feature set handling

Some devices don't support querying logger feature set. In that
case set the logger feature set value to 0 instead of failing
the query for regular WiFi feature set.

Bug: 37105075
Bug: 37483427
Test: get battery stats on Fugu.
Change-Id: I3e162f8ddeaaa1965b41518592a253c6c90ddfa7
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
8c0c8e9aa030c8bdc2922a24c8304ddaed43a615 24-Feb-2017 Roshan Pius <rpius@google.com> wifi: Few minor interface changes

Changes in the CL:
1. Add the buckets scanned bitmask to bgscan.
2. exposed the legacy HAL constants for Bgscan in the HIDL interface.
3. Add a stop method for ring buffer logging.

Bug: 35752950
Bug: 33194311
Test: Compiles
Change-Id: Idb2031c33c5a237d7447410fb733f8e408a17288
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
7f4574d2a1764df195ad9c16f149a73b93b825d3 22-Feb-2017 Roshan Pius <rpius@google.com> wifi: Duplicate getValidChannelsForBand in AP iface

This functionality is needed even for AP iface. So, duplicate this
method.

Changes in the CL:
1. Add getValidChannelsForBand() in IWifiApIface.
2. Rename StaBackgroundScanBan to WifiBand to make it a more generic
name.
3. Change the existing method name in IWifiStaIface to match with the
one in IWifiApIface.

While there,
Fix indentation in hidl_callback_util.h

Bug: 35663149
Test: Compiles
Change-Id: Iaeb6c323e13eedf2f98de92fea77e327c76ffa5b
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
d37341f1e57b91a5f8bf6fe85b99861717720e5f 31-Jan-2017 Roshan Pius <rpius@google.com> wifi(implementation): Callback death handler

Add a new utility to handle callback death notifications. The new class
HidlCallbackHandler will be used by all the HIDL interface objects to
manage callbacks. Any dead clients will automatically removed from the
cb list by the utility class.

Bug: 34840719
Test: Compiles
Test: Verified that the cbs are deleted on crashing the framework
manually
Change-Id: I0f7ba8b3ed717c2e8e8fbf744a2501d0ad2d48c8
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
bc662205c6d946638436455be903a109551704df 31-Jan-2017 Roshan Pius <rpius@google.com> wifi(implementation): Add status check for all cb invocation

Bug: 34820508
Test: Compiles
Change-Id: I7e7258e782142bae7373fa0543e6c17184b043a9
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
795bb81596098d336bdbf8f4c7f45c33578573aa 01-Feb-2017 Roshan Pius <rpius@google.com> wifi: Add scanning mac oui setter

Bug: 34886995
Test: Compiles
Change-Id: I55d4cf55d1832f27de975f97c2e739012ddacc28
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
32fc12ea4f38224a18b124434da49a56c6d83f86 26-Jan-2017 Roshan Pius <rpius@google.com> wifi: Fixing Nits

Changes in the CL to fix bugs found while integrating
with framework:
1. Added IWifiApIface.setCountryCode()
Bug: 34682168
2. Fixed documentation nits in .hal files.
Bug: 34468218
3. Changed roaming state enum values.
Bug: 34715231
4. Added log for EBUSY in legacyErrorToString()
Bug: 34715469
5. Remove "-Wno-unused parameter" from Android.mk
Bug: 34611289
6. Remove the erroneous |onFailure| callback invocation in wifi.cpp.
7. Add null terminations to strings passed to legacy HAL API's
8. Remove unused |IWifiStaIface.stopDebugPacketFateMonitoring|.

Test: Compiles
Change-Id: If3a3e2f360a378c59dc56b8bbe3a0c6d400b3bd8
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
9a9869a759eb65bcd63e755727d38156564ef280 12-Jan-2017 Roshan Pius <rpius@google.com> wifi: Add keep alive packet sending functionality

Bug: 34233272
Test: Compiles
Change-Id: Ia9b1d24cccf3ec6a09bbb6b6e9d1f4bc13623767
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
af727c0cc8c90a4ca435b6b28f3a88cde847313a 12-Jan-2017 Roshan Pius <rpius@google.com> wifi: Add nd offload functionality

Bug: 34224734
Test: Compiles
Change-Id: I86980cd27ea97216c9431878bb9a922c8942b361
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
26801cb4ce5f7f09fbc9569ba54b3c87ae5542c5 13-Dec-2016 Roshan Pius <rpius@google.com> wifi: Port over O features to HIDL

Porting over the 3 new features added to legacy HAL for O to HIDL
interface:
1. Firmware roaming control.
2. Scan randomizations support.
3. Probe IE whitelisting for privacy enhancements.

Bug:32638647
Test: Compiles
Change-Id: Ia4666e3824186bbcfb8599b337eee7c81f256503
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
d476754bc094a4b5e59b72e0903bcbc2eb6e2300 06-Dec-2016 Roshan Pius <rpius@google.com> wifi: Add support for RSSI monitoring

Bug: 31991459
Test: Compiles
Change-Id: I8794cea12a0d1c727bd0e37123152c8da11eeabf
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
970f031170f26f81a879764d369b76185b1e5cb8 06-Dec-2016 Roshan Pius <rpius@google.com> wifi: Add method implementations in IWifiStaIface

Hookup the legacy HAL functions to the corresponding HIDL methods in
WifiStaIface and perform the necessary struct conversions.

Bug: 31991459
Test: Compiles
Change-Id: I8c0b9be2e375dd7147408e41a88de3f1c6f98d08
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
6cedc97e95b3b3ee49fe0860ac8cfd8c5de2a2ab 28-Oct-2016 Roshan Pius <rpius@google.com> wifi: Move legacy hal types to a new namespace (2/2)

Changes in HIDL interface obejcts to use the new namespace for legacy
HAL.

Bug: 32242225
Test: Compiles
Change-Id: I7d0e9cee8656bd779a24d9eaede415317dceaf9b
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
a04ba3fcb85758329c046d543745fbe8159d79a3 27-Oct-2016 Roshan Pius <rpius@google.com> wifi: Stub implementation of WifiStaIface methods

Bug: 32221997
Bug: 31991459
Test: Compiles
Change-Id: Iefc68958befc549fd9100b29f84cb6e6d73efe95
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
907d4a234da9806cde5169c17236a0501805b70a 27-Oct-2016 Roshan Pius <rpius@google.com> wifi: Use hidl_return_util functions in Iface/Rtt

Modify the WifiIface & WifiRttController methods to the use the new helper
functions.

Bug: 32337072
Test: Compiles
Change-Id: I8ce5450f3012ea3ad699db3c780c0bf985492aad
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
734fea0d98213d2f721f8f8988114d0cf397d436 11-Oct-2016 Roshan Pius <rpius@google.com> wifi: Make methods deliver status synchronously (3/3)

Make all the |IWifiIface|/|IWifiRttController| HIDL interface
methods return a synchronous status code. Change from using the event
callbacks to the synchronous callbacks for delivering status.

While there,
Use the default std::string to hidl_string constructor in status
callbacks.

Bug: 32056230
Bug: 32061909
Test: Compiles
Change-Id: Ifa06a11afb085bfd6684f7b997fb730d192018ea
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp
3e2d671a4cd81dc7f13fa3465494b547ed5a5626 06-Oct-2016 Roshan Pius <rpius@google.com> wifi: Add the various iface object implementation

This CL adds the implementation classes for the various iface HIDL
interfaces defined. These classes implement the
|getName| & |getType| methods in the Iface HIDL interface.

Integration of these objects with WifiChip class is implemented in the
next CL.

Bug: 31943042
Test: Compiles
Change-Id: I219afd6441e15c76cf7c61f7bcd2b3568dba2b98
/hardware/interfaces/wifi/1.0/default/wifi_sta_iface.cpp