History log of /hardware/interfaces/wifi/1.0/IWifiStaIface.hal
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c788891d5b5d02c686a2813087ad96cfdabd1a9c 27-Mar-2017 Roshan Pius <rpius@google.com> wifi(interface): Add links to APF docs

Bug: 32119512
Test: Compiles
Change-Id: Iadb68a2a649b120b607735e4d88617b11740832f
/hardware/interfaces/wifi/1.0/IWifiStaIface.hal
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/IWifiStaIface.hal
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/IWifiStaIface.hal
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/IWifiStaIface.hal
5c3a0d9666ea8f61e893791a115304819a816fd0 18-Jan-2017 Roshan Pius <rpius@google.com> wifi(interface): Use the "bitfield" type for masks

Change all the variables representing masks to the new bitfield type
in all the Wifi HIDL interfaces.
The generated code will still produce the underlying type of enum as
param. So, no changes are needed in the implementation.

Bug: 33358724
Test: Compiles
Change-Id: Id2e5dee2ce1f1ec8e744aa1c81d3cb9c66e7fc39
/hardware/interfaces/wifi/1.0/IWifiStaIface.hal
656f82054a24627dd3a25ad1a1b1c870c8e03272 17-Jan-2017 Roshan Pius <rpius@google.com> wifi: Add capabilitiy flag for ND offload

Bug: 34224734
Test: Compiles
Change-Id: If4e6303fdff792a9dd576551fd84a741d8183798
/hardware/interfaces/wifi/1.0/IWifiStaIface.hal
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/IWifiStaIface.hal
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/IWifiStaIface.hal
a2d369dd033541e77ca27df9bcfbbf9d7b3e701c 16-Dec-2016 Roshan Pius <rpius@google.com> wifi: Add remaining capability flags from legacy HAL

While there,
1. Remove the _SUPPORTED flag from all the capabailities to make it
consistent.
2. Correct the docstring for |create*Iface|.

Bug: 33673826
Test: Compiles
Change-Id: I26f6de3d681dec133b51ba5dd7f21a29c92ea238
/hardware/interfaces/wifi/1.0/IWifiStaIface.hal
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/IWifiStaIface.hal
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/IWifiStaIface.hal
fe9ad36cb272d346b42e54d51ff8aa089554f9e7 20-Oct-2016 Roshan Pius <rpius@google.com> wifi(interface): Add wifi debug packet fate related interface

The packet fate debug mechanism is used to track the state of all the
packets transmitted/received during the association process.

Also,
Add the various debug capabilities in the respective interfaces.
All ring buffer, driver/firmware dump, etc related capabilities are in
IWifiChip object.
The packet fate capability is exposed in IWifiStaIface object.

Bug: 32221997
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: Ic6bf49d682b70a1cdcd18c69fc25a544921bd548
/hardware/interfaces/wifi/1.0/IWifiStaIface.hal
5e25466ebf7282bfbbe58e5f1f741c9a05993602 26-Oct-2016 Roshan Pius <rpius@google.com> wifi(interface): Move all StaIface types to types.hal

Some of these structs are used in the debug framework and hence needs to
live in types.hal. Add a |Sta| prefix to differentiate them from other
types similar to what is done for Nan and Rtt types.

Bug: 31991459
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: Idc49b28447609c4334b0a086481c404c06a63fea
/hardware/interfaces/wifi/1.0/IWifiStaIface.hal
18eec81adc49e363a97e6cd9b95c004d7b62ec6d 14-Oct-2016 Roshan Pius <rpius@google.com> wifi(interface): Rtt controller HIDL interface

Bug: 31991232
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: I53b95e85ee8a71bcb0494420913c9511f87908c0
/hardware/interfaces/wifi/1.0/IWifiStaIface.hal
120f94c594cb524d4f84673630d779fc0d6aff16 13-Oct-2016 Roshan Pius <rpius@google.com> wifi(interface): NAN HIDL interface

Interface is mostly a replication of the wifi_nan.h HAL header file.
1. All the methods are in |IWifiNanIface|.
2. Moved all the callbacks to |IWifiNanIfaceEventCallback.hal|.
2. Moved all the data types to |types.hal|.
3. Changed all the variable size arrays to vecs.

Bug: 31991076
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: I2af0b0003cf30a0f2bfdcb56b69c492cf831745b
/hardware/interfaces/wifi/1.0/IWifiStaIface.hal
18680b7affe027388c0d299d9222c37c2833dda2 12-Oct-2016 Roshan Pius <rpius@google.com> wifi(interface): Link layer stats collection

Add HIDL methods for STA iface link layer stats.

While there,
Add the missing gscan API for fetching a list of channels for a given
band.

Bug:31991459
Test: Compiles
Change-Id: I5d448eb823faae4e8f5c25f746cf59e70df454cf
/hardware/interfaces/wifi/1.0/IWifiStaIface.hal
a52dc7322d39347c97c6b700bae6c7fa62090cd3 10-Oct-2016 Roshan Pius <rpius@google.com> wifi(interface): Make methods synchronous

Having all the HIDL methods asynchronous, makes it hard for the
calling code to keep track of the operation status/result.
There are some operations which will generate asynchronous results (like
bgscan), convert all the other methods to synchronous methods.

The |EventCallback| objects will now just broadcast important events
(needed for other clients to listen for state changes). This will no
longer be used to send responses to every command sent to the HAL.

Bug: 32061909
Test: `./hardware/interfaces/update-makefiles.sh`
Change-Id: Id2433f4c8e028268dd027cdeb239ba4082b157b5
/hardware/interfaces/wifi/1.0/IWifiStaIface.hal
1f9073cfcb1a9674beb839efa24046851dee0222 10-Oct-2016 Roshan Pius <rpius@google.com> wifi(interface): Add status for every method

Add a status parameter for every HIDL interface object method which can
possibly become invalid. This should help inform the caller that the
object being used is stale/invalid now.

While there,
Rename |CommandFailureReson| to |FailureReasonCode|.

NOTE: |FailureReason| will continue to indicate any errors during the
processing of the command via the corresponding |onFailure| callback.

Bug: 32056230
Test: Compiles
Change-Id: I2ec5af3075221e483579410f344bcedd6bf17a93
/hardware/interfaces/wifi/1.0/IWifiStaIface.hal
7b77747bb565f50ced457ad931e8d0206385d3a1 07-Oct-2016 Roshan Pius <rpius@google.com> wifi(interface): Add gscan/apf related API's

Changes in the CL:
1. Add gscan/APF related API's to |IWifiStaIface|.
2. Add a new callback HIDL interface (|IWifiStaIfaceEventCallback)
for all callbacks received from |IWifiStaIface|.

Bug: 31991459
Test: Compiles
Change-Id: Id9f2ded9e20bee393ab53d84efa814d52704cd2c
/hardware/interfaces/wifi/1.0/IWifiStaIface.hal
adcfba4b09b6d708cafe8d8e0cc35ed8888cde9c 05-Oct-2016 Roshan Pius <rpius@google.com> wifi(interface): Add Iface objects

Create a child object under IWifiChip to represent each interface
within the chip. Each iface object has a |type| & |ifname| which should
help us uniquely identify them. This should help us expose methods that
are applicable only to a specific interface type.

While there,
Assign a unique id to every chip on the device.
Add IWifi.listChipIds() to retrieve the list of chip Id's avaiable on the
device. IWifi.getChip() will now use the provided Id to retrieve the
corresponding IWifiChip object(because HIDL language doesn't support
vec<HIDL objects>).

Bug: 31943042
Bug: 32003988
Test: Interface compiles (not implementation)
Change-Id: I723007566ca4220362c02d0f452753fee4e31fce
/hardware/interfaces/wifi/1.0/IWifiStaIface.hal