staging: wilc1000: remove unused marco related to HIF commands
After removing the multiplexing of hif commands in hif_if_work() macros prefix with 'HOST_IF_MSG_' are not required. Also 'id' field in host_if_msg is not required anymore. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7233be314e
commit
02f08321d0
@ -1,41 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "wilc_wfi_netdevice.h"
|
||||
|
||||
#define HOST_IF_MSG_SCAN 0
|
||||
#define HOST_IF_MSG_CONNECT 1
|
||||
#define HOST_IF_MSG_RCVD_GNRL_ASYNC_INFO 2
|
||||
#define HOST_IF_MSG_KEY 3
|
||||
#define HOST_IF_MSG_RCVD_NTWRK_INFO 4
|
||||
#define HOST_IF_MSG_RCVD_SCAN_COMPLETE 5
|
||||
#define HOST_IF_MSG_CFG_PARAMS 6
|
||||
#define HOST_IF_MSG_SET_CHANNEL 7
|
||||
#define HOST_IF_MSG_DISCONNECT 8
|
||||
#define HOST_IF_MSG_GET_RSSI 9
|
||||
#define HOST_IF_MSG_ADD_BEACON 11
|
||||
#define HOST_IF_MSG_DEL_BEACON 12
|
||||
#define HOST_IF_MSG_ADD_STATION 13
|
||||
#define HOST_IF_MSG_DEL_STATION 14
|
||||
#define HOST_IF_MSG_EDIT_STATION 15
|
||||
#define HOST_IF_MSG_SCAN_TIMER_FIRED 16
|
||||
#define HOST_IF_MSG_CONNECT_TIMER_FIRED 17
|
||||
#define HOST_IF_MSG_POWER_MGMT 18
|
||||
#define HOST_IF_MSG_GET_INACTIVETIME 19
|
||||
#define HOST_IF_MSG_REMAIN_ON_CHAN 20
|
||||
#define HOST_IF_MSG_REGISTER_FRAME 21
|
||||
#define HOST_IF_MSG_LISTEN_TIMER_FIRED 22
|
||||
#define HOST_IF_MSG_SET_WFIDRV_HANDLER 24
|
||||
#define HOST_IF_MSG_GET_MAC_ADDRESS 26
|
||||
#define HOST_IF_MSG_SET_OPERATION_MODE 27
|
||||
#define HOST_IF_MSG_SET_IPADDRESS 28
|
||||
#define HOST_IF_MSG_GET_IPADDRESS 29
|
||||
#define HOST_IF_MSG_GET_STATISTICS 31
|
||||
#define HOST_IF_MSG_SET_MULTICAST_FILTER 32
|
||||
#define HOST_IF_MSG_DEL_BA_SESSION 34
|
||||
#define HOST_IF_MSG_DEL_ALL_STA 36
|
||||
#define HOST_IF_MSG_SET_TX_POWER 38
|
||||
#define HOST_IF_MSG_GET_TX_POWER 39
|
||||
#define HOST_IF_MSG_EXIT 100
|
||||
|
||||
#define HOST_IF_SCAN_TIMEOUT 4000
|
||||
#define HOST_IF_CONNECT_TIMEOUT 9500
|
||||
|
||||
@ -180,7 +145,6 @@ union message_body {
|
||||
};
|
||||
|
||||
struct host_if_msg {
|
||||
u16 id;
|
||||
union message_body body;
|
||||
struct wilc_vif *vif;
|
||||
struct work_struct work;
|
||||
|
Loading…
x
Reference in New Issue
Block a user