commit | e65edb1b73a36886d0c49397a1ce9fa281f89d9f | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Tue Nov 22 13:02:01 2016 -0800 |
committer | Roshan Pius <rpius@google.com> | Fri Dec 02 08:31:33 2016 -0800 |
tree | ac7c0a292540f42e02fe55b597ae23911797a7a7 | |
parent | 13be232d7be38602306ba25c1906d5405b47c1f2 [diff] |
wifi: Add utility for struct conversions Add a new utility file (hidl_struct_util) which would contain helper functions to convert legacy HAL structures to HIDL structures and vice versa. Added utility functions to convert: 1. Background scan params from HIDL to legacy. 2. Scan Result from legacy to HIDL. 3. Cached Scan results from legacy to HIDL. 4. Link layer stats from legacy to HIDL. Bug: 31991459 Test: Compiles Change-Id: I48a49b43d425f8cc3059241c4bd652b2346f2381