Compare commits
27 commits
d83403850a
...
622fb7ceea
Author | SHA1 | Date | |
---|---|---|---|
622fb7ceea | |||
|
147b061b73 | ||
|
843c3d3dfa | ||
|
fdbf864161 | ||
|
4d26a7c131 | ||
|
1e882cccdd | ||
|
242710e3d9 | ||
|
24a71ace30 | ||
|
8a169b7d33 | ||
|
82d6844ba7 | ||
|
2178cf6783 | ||
|
f21fb1dbed | ||
|
86762af84c | ||
|
edd770491c | ||
|
8270b93181 | ||
|
ebab213ee9 | ||
|
51f41b1bae | ||
|
26282200de | ||
|
5053d22938 | ||
|
e78fe74de9 | ||
|
3f092a624d | ||
|
deeead78b4 | ||
|
3105b6a569 | ||
|
98e6396f28 | ||
|
7d116edd0d | ||
|
a217be0d2b | ||
|
92bab5a5b4 |
2 changed files with 33 additions and 8 deletions
11
Android.bp
11
Android.bp
|
@ -1,6 +1,7 @@
|
|||
// Copyright 2006 The Android Open Source Project
|
||||
|
||||
package {
|
||||
default_team: "trendy_team_android_kernel",
|
||||
default_applicable_licenses: ["hardware_libhardware_legacy_license"],
|
||||
}
|
||||
|
||||
|
@ -45,12 +46,9 @@ cc_library {
|
|||
export_include_dirs: ["include"],
|
||||
shared_libs: ["android.system.suspend-V1-ndk"],
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
},
|
||||
apex_available: [
|
||||
"//apex_available:platform",
|
||||
"com.android.uwb",
|
||||
"//apex_available:platform",
|
||||
"com.android.uwb",
|
||||
],
|
||||
min_sdk_version: "Tiramisu",
|
||||
}
|
||||
|
@ -72,9 +70,6 @@ cc_library_shared {
|
|||
name: "libhardware_legacy",
|
||||
defaults: ["libpower_defaults"],
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
},
|
||||
|
||||
shared_libs: [
|
||||
"android.system.suspend-V1-ndk",
|
||||
|
|
|
@ -417,6 +417,24 @@ typedef struct {
|
|||
wifi_iface_combination iface_combinations[MAX_IFACE_COMBINATIONS];
|
||||
} wifi_iface_concurrency_matrix;
|
||||
|
||||
/* Wifi OUI data */
|
||||
typedef struct {
|
||||
/* OUI : 24-bit organizationally unique identifier to identify the Vendor/OEM */
|
||||
u32 oui;
|
||||
/* Length of the data buffer */
|
||||
u32 data_len;
|
||||
/* Vendor-specific data */
|
||||
const u8 *data;
|
||||
} oui_keyed_data;
|
||||
|
||||
/* Wifi Vendor data list */
|
||||
typedef struct {
|
||||
/* Number of OUI Keyed Data objects */
|
||||
u32 num_oui_keyed_data;
|
||||
/* List of OUI Keyed Data */
|
||||
oui_keyed_data *oui_data;
|
||||
} wifi_vendor_data;
|
||||
|
||||
/* Initialize/Cleanup */
|
||||
|
||||
wifi_error wifi_initialize(wifi_handle *handle);
|
||||
|
@ -1373,6 +1391,18 @@ typedef struct {
|
|||
*/
|
||||
wifi_error (*wifi_set_mlo_mode)(wifi_handle handle, wifi_mlo_mode mode);
|
||||
|
||||
/**@brief wifi_virtual_interface_create_with_vendor_data
|
||||
* Create new virtual interface using vendor data.
|
||||
* @param handle: global wifi_handle
|
||||
* @param ifname: name of interface to be created.
|
||||
* @param iface_type: one of interface types from wifi_interface_type.
|
||||
* @param vendor_data: vendor data to apply on this interface.
|
||||
* @return Synchronous wifi_error
|
||||
*/
|
||||
wifi_error (*wifi_virtual_interface_create_with_vendor_data)
|
||||
(wifi_handle handle, const char* ifname,
|
||||
wifi_interface_type iface_type, wifi_vendor_data* vendor_data);
|
||||
|
||||
/*
|
||||
* when adding new functions make sure to add stubs in
|
||||
* wifi_legacy_hal_stubs.cpp::initHalFuncTableWithStubs
|
||||
|
|
Loading…
Reference in a new issue