thermal/drivers/hisi: Set the thermal zone private data to the sensor pointer
[linux/fpc-iii.git] / drivers / staging / vt6656 / wcmd.h
blob4a96f4de980daab48d682906d90456ef966f764f
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
4 * All rights reserved.
6 * File: wcmd.h
8 * Purpose: Handles the management command interface functions
10 * Author: Lyndon Chen
12 * Date: May 8, 2002
16 #ifndef __WCMD_H__
17 #define __WCMD_H__
19 #include "device.h"
21 /* Command code */
22 enum vnt_cmd {
23 WLAN_CMD_INIT_MAC80211,
24 WLAN_CMD_SETPOWER,
25 WLAN_CMD_TBTT_WAKEUP,
26 WLAN_CMD_BECON_SEND,
27 WLAN_CMD_CHANGE_ANTENNA
30 #define CMD_Q_SIZE 32
32 /* Command state */
33 enum vnt_cmd_state {
34 WLAN_CMD_INIT_MAC80211_START,
35 WLAN_CMD_SETPOWER_START,
36 WLAN_CMD_TBTT_WAKEUP_START,
37 WLAN_CMD_BECON_SEND_START,
38 WLAN_CMD_CHANGE_ANTENNA_START,
39 WLAN_CMD_IDLE
42 struct vnt_private;
44 void vnt_reset_command_timer(struct vnt_private *priv);
46 int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd);
48 void vnt_run_command(struct work_struct *work);
50 #endif /* __WCMD_H__ */