Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /* include/net/virt_wifi.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  * Define the extension interface for the network data simulation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  * Copyright (C) 2019 Google, Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  * Author: lesl@google.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #ifndef __VIRT_WIFI_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define __VIRT_WIFI_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct virt_wifi_network_simulation {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	void (*notify_device_open)(struct net_device *dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	void (*notify_device_stop)(struct net_device *dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	void (*notify_scan_trigger)(struct wiphy *wiphy,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 				    struct cfg80211_scan_request *request);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	int (*generate_virt_scan_result)(struct wiphy *wiphy);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) int virt_wifi_register_network_simulation(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	    struct virt_wifi_network_simulation *ops);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) int virt_wifi_unregister_network_simulation(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)