android_kernel_xiaomi_sm8450/include/net/virt_wifi.h
Jordan Crouse c7f16608d4 include: Fixup headers to pass KERNEL_HEADER_TEST
Fix up a bunch of headers so that they pass KERNEL_HEADER_TEST to ensure
that they are self-contained.

Change-Id: Ic0dedbad91f70263452c9a809333fe93c8ee2266
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:08 -07:00

30 lines
768 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/* include/net/virt_wifi.h
*
* Define the extension interface for the network data simulation
*
* Copyright (C) 2019 Google, Inc.
*
* Author: lesl@google.com
*/
#ifndef __VIRT_WIFI_H
#define __VIRT_WIFI_H
struct net_device;
struct wiphy;
struct cfg80211_scan_request;
struct virt_wifi_network_simulation {
void (*notify_device_open)(struct net_device *dev);
void (*notify_device_stop)(struct net_device *dev);
void (*notify_scan_trigger)(struct wiphy *wiphy,
struct cfg80211_scan_request *request);
int (*generate_virt_scan_result)(struct wiphy *wiphy);
};
int virt_wifi_register_network_simulation(
struct virt_wifi_network_simulation *ops);
int virt_wifi_unregister_network_simulation(void);
#endif