Commit 2482a79f authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: rename the member variable, drvHandler of host_if_msg

This patch renames drvHandler of struct host_if_msg to drv.
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 441dc609
...@@ -403,7 +403,7 @@ union message_body { ...@@ -403,7 +403,7 @@ union message_body {
struct host_if_msg { struct host_if_msg {
u16 id; /*!< Message ID */ u16 id; /*!< Message ID */
union message_body body; /*!< Message body */ union message_body body; /*!< Message body */
struct host_if_drv *drvHandler; struct host_if_drv *drv;
}; };
typedef struct _tstrWidJoinReqExt { typedef struct _tstrWidJoinReqExt {
...@@ -3656,7 +3656,7 @@ static void ListenTimerCB(unsigned long arg) ...@@ -3656,7 +3656,7 @@ static void ListenTimerCB(unsigned long arg)
/* prepare the Timer Callback message */ /* prepare the Timer Callback message */
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_LISTEN_TIMER_FIRED; msg.id = HOST_IF_MSG_LISTEN_TIMER_FIRED;
msg.drvHandler = pstrWFIDrv; msg.drv = pstrWFIDrv;
msg.body.remain_on_ch.u32ListenSessionID = pstrWFIDrv->strHostIfRemainOnChan.u32ListenSessionID; msg.body.remain_on_ch.u32ListenSessionID = pstrWFIDrv->strHostIfRemainOnChan.u32ListenSessionID;
/* send the message */ /* send the message */
...@@ -3914,7 +3914,7 @@ static int hostIFthread(void *pvArg) ...@@ -3914,7 +3914,7 @@ static int hostIFthread(void *pvArg)
while (1) { while (1) {
wilc_mq_recv(&gMsgQHostIF, &msg, sizeof(struct host_if_msg), &u32Ret); wilc_mq_recv(&gMsgQHostIF, &msg, sizeof(struct host_if_msg), &u32Ret);
pstrWFIDrv = (struct host_if_drv *)msg.drvHandler; pstrWFIDrv = (struct host_if_drv *)msg.drv;
if (msg.id == HOST_IF_MSG_EXIT) { if (msg.id == HOST_IF_MSG_EXIT) {
PRINT_D(GENERIC_DBG, "THREAD: Exiting HostIfThread\n"); PRINT_D(GENERIC_DBG, "THREAD: Exiting HostIfThread\n");
break; break;
...@@ -3942,40 +3942,40 @@ static int hostIFthread(void *pvArg) ...@@ -3942,40 +3942,40 @@ static int hostIFthread(void *pvArg)
break; break;
case HOST_IF_MSG_SCAN: case HOST_IF_MSG_SCAN:
Handle_Scan(msg.drvHandler, &msg.body.scan_info); Handle_Scan(msg.drv, &msg.body.scan_info);
break; break;
case HOST_IF_MSG_CONNECT: case HOST_IF_MSG_CONNECT:
Handle_Connect(msg.drvHandler, &msg.body.con_info); Handle_Connect(msg.drv, &msg.body.con_info);
break; break;
case HOST_IF_MSG_FLUSH_CONNECT: case HOST_IF_MSG_FLUSH_CONNECT:
Handle_FlushConnect(msg.drvHandler); Handle_FlushConnect(msg.drv);
break; break;
case HOST_IF_MSG_RCVD_NTWRK_INFO: case HOST_IF_MSG_RCVD_NTWRK_INFO:
Handle_RcvdNtwrkInfo(msg.drvHandler, &msg.body.net_info); Handle_RcvdNtwrkInfo(msg.drv, &msg.body.net_info);
break; break;
case HOST_IF_MSG_RCVD_GNRL_ASYNC_INFO: case HOST_IF_MSG_RCVD_GNRL_ASYNC_INFO:
Handle_RcvdGnrlAsyncInfo(msg.drvHandler, &msg.body.async_info); Handle_RcvdGnrlAsyncInfo(msg.drv, &msg.body.async_info);
break; break;
case HOST_IF_MSG_KEY: case HOST_IF_MSG_KEY:
Handle_Key(msg.drvHandler, &msg.body.key_info); Handle_Key(msg.drv, &msg.body.key_info);
break; break;
case HOST_IF_MSG_CFG_PARAMS: case HOST_IF_MSG_CFG_PARAMS:
Handle_CfgParam(msg.drvHandler, &msg.body.cfg_info); Handle_CfgParam(msg.drv, &msg.body.cfg_info);
break; break;
case HOST_IF_MSG_SET_CHANNEL: case HOST_IF_MSG_SET_CHANNEL:
Handle_SetChannel(msg.drvHandler, &msg.body.channel_info); Handle_SetChannel(msg.drv, &msg.body.channel_info);
break; break;
case HOST_IF_MSG_DISCONNECT: case HOST_IF_MSG_DISCONNECT:
Handle_Disconnect(msg.drvHandler); Handle_Disconnect(msg.drv);
break; break;
case HOST_IF_MSG_RCVD_SCAN_COMPLETE: case HOST_IF_MSG_RCVD_SCAN_COMPLETE:
...@@ -3986,124 +3986,124 @@ static int hostIFthread(void *pvArg) ...@@ -3986,124 +3986,124 @@ static int hostIFthread(void *pvArg)
if (!linux_wlan_get_num_conn_ifcs()) if (!linux_wlan_get_num_conn_ifcs())
chip_sleep_manually(INFINITE_SLEEP_TIME); chip_sleep_manually(INFINITE_SLEEP_TIME);
Handle_ScanDone(msg.drvHandler, SCAN_EVENT_DONE); Handle_ScanDone(msg.drv, SCAN_EVENT_DONE);
if (pstrWFIDrv->u8RemainOnChan_pendingreq) if (pstrWFIDrv->u8RemainOnChan_pendingreq)
Handle_RemainOnChan(msg.drvHandler, &msg.body.remain_on_ch); Handle_RemainOnChan(msg.drv, &msg.body.remain_on_ch);
break; break;
case HOST_IF_MSG_GET_RSSI: case HOST_IF_MSG_GET_RSSI:
Handle_GetRssi(msg.drvHandler); Handle_GetRssi(msg.drv);
break; break;
case HOST_IF_MSG_GET_LINKSPEED: case HOST_IF_MSG_GET_LINKSPEED:
Handle_GetLinkspeed(msg.drvHandler); Handle_GetLinkspeed(msg.drv);
break; break;
case HOST_IF_MSG_GET_STATISTICS: case HOST_IF_MSG_GET_STATISTICS:
Handle_GetStatistics(msg.drvHandler, (tstrStatistics *)msg.body.data); Handle_GetStatistics(msg.drv, (tstrStatistics *)msg.body.data);
break; break;
case HOST_IF_MSG_GET_CHNL: case HOST_IF_MSG_GET_CHNL:
Handle_GetChnl(msg.drvHandler); Handle_GetChnl(msg.drv);
break; break;
case HOST_IF_MSG_ADD_BEACON: case HOST_IF_MSG_ADD_BEACON:
Handle_AddBeacon(msg.drvHandler, &msg.body.beacon_info); Handle_AddBeacon(msg.drv, &msg.body.beacon_info);
break; break;
case HOST_IF_MSG_DEL_BEACON: case HOST_IF_MSG_DEL_BEACON:
Handle_DelBeacon(msg.drvHandler); Handle_DelBeacon(msg.drv);
break; break;
case HOST_IF_MSG_ADD_STATION: case HOST_IF_MSG_ADD_STATION:
Handle_AddStation(msg.drvHandler, &msg.body.add_sta_info); Handle_AddStation(msg.drv, &msg.body.add_sta_info);
break; break;
case HOST_IF_MSG_DEL_STATION: case HOST_IF_MSG_DEL_STATION:
Handle_DelStation(msg.drvHandler, &msg.body.del_sta_info); Handle_DelStation(msg.drv, &msg.body.del_sta_info);
break; break;
case HOST_IF_MSG_EDIT_STATION: case HOST_IF_MSG_EDIT_STATION:
Handle_EditStation(msg.drvHandler, &msg.body.edit_sta_info); Handle_EditStation(msg.drv, &msg.body.edit_sta_info);
break; break;
case HOST_IF_MSG_GET_INACTIVETIME: case HOST_IF_MSG_GET_INACTIVETIME:
Handle_Get_InActiveTime(msg.drvHandler, &msg.body.mac_info); Handle_Get_InActiveTime(msg.drv, &msg.body.mac_info);
break; break;
case HOST_IF_MSG_SCAN_TIMER_FIRED: case HOST_IF_MSG_SCAN_TIMER_FIRED:
PRINT_D(HOSTINF_DBG, "Scan Timeout\n"); PRINT_D(HOSTINF_DBG, "Scan Timeout\n");
Handle_ScanDone(msg.drvHandler, SCAN_EVENT_ABORTED); Handle_ScanDone(msg.drv, SCAN_EVENT_ABORTED);
break; break;
case HOST_IF_MSG_CONNECT_TIMER_FIRED: case HOST_IF_MSG_CONNECT_TIMER_FIRED:
PRINT_D(HOSTINF_DBG, "Connect Timeout\n"); PRINT_D(HOSTINF_DBG, "Connect Timeout\n");
Handle_ConnectTimeout(msg.drvHandler); Handle_ConnectTimeout(msg.drv);
break; break;
case HOST_IF_MSG_POWER_MGMT: case HOST_IF_MSG_POWER_MGMT:
Handle_PowerManagement(msg.drvHandler, &msg.body.pwr_mgmt_info); Handle_PowerManagement(msg.drv, &msg.body.pwr_mgmt_info);
break; break;
case HOST_IF_MSG_SET_WFIDRV_HANDLER: case HOST_IF_MSG_SET_WFIDRV_HANDLER:
Handle_SetWfiDrvHandler(msg.drvHandler, Handle_SetWfiDrvHandler(msg.drv,
&msg.body.drv); &msg.body.drv);
break; break;
case HOST_IF_MSG_SET_OPERATION_MODE: case HOST_IF_MSG_SET_OPERATION_MODE:
Handle_SetOperationMode(msg.drvHandler, &msg.body.mode); Handle_SetOperationMode(msg.drv, &msg.body.mode);
break; break;
case HOST_IF_MSG_SET_IPADDRESS: case HOST_IF_MSG_SET_IPADDRESS:
PRINT_D(HOSTINF_DBG, "HOST_IF_MSG_SET_IPADDRESS\n"); PRINT_D(HOSTINF_DBG, "HOST_IF_MSG_SET_IPADDRESS\n");
Handle_set_IPAddress(msg.drvHandler, msg.body.ip_info.au8IPAddr, msg.body.ip_info.idx); Handle_set_IPAddress(msg.drv, msg.body.ip_info.au8IPAddr, msg.body.ip_info.idx);
break; break;
case HOST_IF_MSG_GET_IPADDRESS: case HOST_IF_MSG_GET_IPADDRESS:
PRINT_D(HOSTINF_DBG, "HOST_IF_MSG_SET_IPADDRESS\n"); PRINT_D(HOSTINF_DBG, "HOST_IF_MSG_SET_IPADDRESS\n");
Handle_get_IPAddress(msg.drvHandler, msg.body.ip_info.au8IPAddr, msg.body.ip_info.idx); Handle_get_IPAddress(msg.drv, msg.body.ip_info.au8IPAddr, msg.body.ip_info.idx);
break; break;
case HOST_IF_MSG_SET_MAC_ADDRESS: case HOST_IF_MSG_SET_MAC_ADDRESS:
Handle_SetMacAddress(msg.drvHandler, &msg.body.set_mac_info); Handle_SetMacAddress(msg.drv, &msg.body.set_mac_info);
break; break;
case HOST_IF_MSG_GET_MAC_ADDRESS: case HOST_IF_MSG_GET_MAC_ADDRESS:
Handle_GetMacAddress(msg.drvHandler, &msg.body.get_mac_info); Handle_GetMacAddress(msg.drv, &msg.body.get_mac_info);
break; break;
case HOST_IF_MSG_REMAIN_ON_CHAN: case HOST_IF_MSG_REMAIN_ON_CHAN:
PRINT_D(HOSTINF_DBG, "HOST_IF_MSG_REMAIN_ON_CHAN\n"); PRINT_D(HOSTINF_DBG, "HOST_IF_MSG_REMAIN_ON_CHAN\n");
Handle_RemainOnChan(msg.drvHandler, &msg.body.remain_on_ch); Handle_RemainOnChan(msg.drv, &msg.body.remain_on_ch);
break; break;
case HOST_IF_MSG_REGISTER_FRAME: case HOST_IF_MSG_REGISTER_FRAME:
PRINT_D(HOSTINF_DBG, "HOST_IF_MSG_REGISTER_FRAME\n"); PRINT_D(HOSTINF_DBG, "HOST_IF_MSG_REGISTER_FRAME\n");
Handle_RegisterFrame(msg.drvHandler, &msg.body.reg_frame); Handle_RegisterFrame(msg.drv, &msg.body.reg_frame);
break; break;
case HOST_IF_MSG_LISTEN_TIMER_FIRED: case HOST_IF_MSG_LISTEN_TIMER_FIRED:
Handle_ListenStateExpired(msg.drvHandler, &msg.body.remain_on_ch); Handle_ListenStateExpired(msg.drv, &msg.body.remain_on_ch);
break; break;
case HOST_IF_MSG_SET_MULTICAST_FILTER: case HOST_IF_MSG_SET_MULTICAST_FILTER:
PRINT_D(HOSTINF_DBG, "HOST_IF_MSG_SET_MULTICAST_FILTER\n"); PRINT_D(HOSTINF_DBG, "HOST_IF_MSG_SET_MULTICAST_FILTER\n");
Handle_SetMulticastFilter(msg.drvHandler, &msg.body.multicast_info); Handle_SetMulticastFilter(msg.drv, &msg.body.multicast_info);
break; break;
case HOST_IF_MSG_ADD_BA_SESSION: case HOST_IF_MSG_ADD_BA_SESSION:
Handle_AddBASession(msg.drvHandler, &msg.body.session_info); Handle_AddBASession(msg.drv, &msg.body.session_info);
break; break;
case HOST_IF_MSG_DEL_ALL_RX_BA_SESSIONS: case HOST_IF_MSG_DEL_ALL_RX_BA_SESSIONS:
Handle_DelAllRxBASessions(msg.drvHandler, &msg.body.session_info); Handle_DelAllRxBASessions(msg.drv, &msg.body.session_info);
break; break;
case HOST_IF_MSG_DEL_ALL_STA: case HOST_IF_MSG_DEL_ALL_STA:
Handle_DelAllSta(msg.drvHandler, &msg.body.del_all_sta_info); Handle_DelAllSta(msg.drv, &msg.body.del_all_sta_info);
break; break;
default: default:
...@@ -4124,7 +4124,7 @@ static void TimerCB_Scan(unsigned long arg) ...@@ -4124,7 +4124,7 @@ static void TimerCB_Scan(unsigned long arg)
/* prepare the Timer Callback message */ /* prepare the Timer Callback message */
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.drvHandler = pvArg; msg.drv = pvArg;
msg.id = HOST_IF_MSG_SCAN_TIMER_FIRED; msg.id = HOST_IF_MSG_SCAN_TIMER_FIRED;
/* send the message */ /* send the message */
...@@ -4138,7 +4138,7 @@ static void TimerCB_Connect(unsigned long arg) ...@@ -4138,7 +4138,7 @@ static void TimerCB_Connect(unsigned long arg)
/* prepare the Timer Callback message */ /* prepare the Timer Callback message */
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.drvHandler = pvArg; msg.drv = pvArg;
msg.id = HOST_IF_MSG_CONNECT_TIMER_FIRED; msg.id = HOST_IF_MSG_CONNECT_TIMER_FIRED;
/* send the message */ /* send the message */
...@@ -4204,7 +4204,7 @@ int host_int_remove_wep_key(struct host_if_drv *wfi_drv, u8 index) ...@@ -4204,7 +4204,7 @@ int host_int_remove_wep_key(struct host_if_drv *wfi_drv, u8 index)
msg.id = HOST_IF_MSG_KEY; msg.id = HOST_IF_MSG_KEY;
msg.body.key_info.enuKeyType = WEP; msg.body.key_info.enuKeyType = WEP;
msg.body.key_info.u8KeyAction = REMOVEKEY; msg.body.key_info.u8KeyAction = REMOVEKEY;
msg.drvHandler = wfi_drv; msg.drv = wfi_drv;
msg.body.key_info. msg.body.key_info.
uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx = index; uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx = index;
...@@ -4250,7 +4250,7 @@ s32 host_int_set_WEPDefaultKeyID(struct host_if_drv *hWFIDrv, u8 u8Index) ...@@ -4250,7 +4250,7 @@ s32 host_int_set_WEPDefaultKeyID(struct host_if_drv *hWFIDrv, u8 u8Index)
msg.id = HOST_IF_MSG_KEY; msg.id = HOST_IF_MSG_KEY;
msg.body.key_info.enuKeyType = WEP; msg.body.key_info.enuKeyType = WEP;
msg.body.key_info.u8KeyAction = DEFAULTKEY; msg.body.key_info.u8KeyAction = DEFAULTKEY;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
msg.body.key_info. msg.body.key_info.
...@@ -4304,7 +4304,7 @@ s32 host_int_add_wep_key_bss_sta(struct host_if_drv *hWFIDrv, const u8 *pu8WepKe ...@@ -4304,7 +4304,7 @@ s32 host_int_add_wep_key_bss_sta(struct host_if_drv *hWFIDrv, const u8 *pu8WepKe
msg.id = HOST_IF_MSG_KEY; msg.id = HOST_IF_MSG_KEY;
msg.body.key_info.enuKeyType = WEP; msg.body.key_info.enuKeyType = WEP;
msg.body.key_info.u8KeyAction = ADDKEY; msg.body.key_info.u8KeyAction = ADDKEY;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
msg.body.key_info. msg.body.key_info.
...@@ -4370,7 +4370,7 @@ s32 host_int_add_wep_key_bss_ap(struct host_if_drv *hWFIDrv, const u8 *pu8WepKey ...@@ -4370,7 +4370,7 @@ s32 host_int_add_wep_key_bss_ap(struct host_if_drv *hWFIDrv, const u8 *pu8WepKey
msg.id = HOST_IF_MSG_KEY; msg.id = HOST_IF_MSG_KEY;
msg.body.key_info.enuKeyType = WEP; msg.body.key_info.enuKeyType = WEP;
msg.body.key_info.u8KeyAction = ADDKEY_AP; msg.body.key_info.u8KeyAction = ADDKEY_AP;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
msg.body.key_info. msg.body.key_info.
...@@ -4486,7 +4486,7 @@ s32 host_int_add_ptk(struct host_if_drv *hWFIDrv, const u8 *pu8Ptk, u8 u8PtkKeyl ...@@ -4486,7 +4486,7 @@ s32 host_int_add_ptk(struct host_if_drv *hWFIDrv, const u8 *pu8Ptk, u8 u8PtkKeyl
uniHostIFkeyAttr.strHostIFwpaAttr.u8Ciphermode = u8Ciphermode; uniHostIFkeyAttr.strHostIFwpaAttr.u8Ciphermode = u8Ciphermode;
msg.body.key_info. msg.body.key_info.
uniHostIFkeyAttr.strHostIFwpaAttr.pu8macaddr = mac_addr; uniHostIFkeyAttr.strHostIFwpaAttr.pu8macaddr = mac_addr;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
/* send the message */ /* send the message */
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -4547,7 +4547,7 @@ s32 host_int_add_rx_gtk(struct host_if_drv *hWFIDrv, const u8 *pu8RxGtk, u8 u8Gt ...@@ -4547,7 +4547,7 @@ s32 host_int_add_rx_gtk(struct host_if_drv *hWFIDrv, const u8 *pu8RxGtk, u8 u8Gt
msg.id = HOST_IF_MSG_KEY; msg.id = HOST_IF_MSG_KEY;
msg.body.key_info.enuKeyType = WPARxGtk; msg.body.key_info.enuKeyType = WPARxGtk;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
if (mode == AP_MODE) { if (mode == AP_MODE) {
msg.body.key_info.u8KeyAction = ADDKEY_AP; msg.body.key_info.u8KeyAction = ADDKEY_AP;
...@@ -4637,7 +4637,7 @@ s32 host_int_set_pmkid_info(struct host_if_drv *hWFIDrv, struct host_if_pmkid_at ...@@ -4637,7 +4637,7 @@ s32 host_int_set_pmkid_info(struct host_if_drv *hWFIDrv, struct host_if_pmkid_at
msg.id = HOST_IF_MSG_KEY; msg.id = HOST_IF_MSG_KEY;
msg.body.key_info.enuKeyType = PMKSA; msg.body.key_info.enuKeyType = PMKSA;
msg.body.key_info.u8KeyAction = ADDKEY; msg.body.key_info.u8KeyAction = ADDKEY;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
for (i = 0; i < pu8PmkidInfoArray->numpmkid; i++) { for (i = 0; i < pu8PmkidInfoArray->numpmkid; i++) {
...@@ -4743,7 +4743,7 @@ s32 host_int_get_MacAddress(struct host_if_drv *hWFIDrv, u8 *pu8MacAddress) ...@@ -4743,7 +4743,7 @@ s32 host_int_get_MacAddress(struct host_if_drv *hWFIDrv, u8 *pu8MacAddress)
msg.id = HOST_IF_MSG_GET_MAC_ADDRESS; msg.id = HOST_IF_MSG_GET_MAC_ADDRESS;
msg.body.get_mac_info.u8MacAddress = pu8MacAddress; msg.body.get_mac_info.u8MacAddress = pu8MacAddress;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
/* send the message */ /* send the message */
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (s32Error) { if (s32Error) {
...@@ -4777,7 +4777,7 @@ s32 host_int_set_MacAddress(struct host_if_drv *hWFIDrv, u8 *pu8MacAddress) ...@@ -4777,7 +4777,7 @@ s32 host_int_set_MacAddress(struct host_if_drv *hWFIDrv, u8 *pu8MacAddress)
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_SET_MAC_ADDRESS; msg.id = HOST_IF_MSG_SET_MAC_ADDRESS;
memcpy(msg.body.set_mac_info.u8MacAddress, pu8MacAddress, ETH_ALEN); memcpy(msg.body.set_mac_info.u8MacAddress, pu8MacAddress, ETH_ALEN);
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (s32Error) if (s32Error)
...@@ -4923,7 +4923,7 @@ s32 host_int_set_join_req(struct host_if_drv *hWFIDrv, u8 *pu8bssid, ...@@ -4923,7 +4923,7 @@ s32 host_int_set_join_req(struct host_if_drv *hWFIDrv, u8 *pu8bssid,
msg.body.con_info.pfConnectResult = pfConnectResult; msg.body.con_info.pfConnectResult = pfConnectResult;
msg.body.con_info.pvUserArg = pvUserArg; msg.body.con_info.pvUserArg = pvUserArg;
msg.body.con_info.pJoinParams = pJoinParams; msg.body.con_info.pJoinParams = pJoinParams;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
if (pu8bssid != NULL) { if (pu8bssid != NULL) {
msg.body.con_info.pu8bssid = kmalloc(6, GFP_KERNEL); /* will be deallocated by the receiving thread */ msg.body.con_info.pu8bssid = kmalloc(6, GFP_KERNEL); /* will be deallocated by the receiving thread */
...@@ -4995,7 +4995,7 @@ s32 host_int_flush_join_req(struct host_if_drv *hWFIDrv) ...@@ -4995,7 +4995,7 @@ s32 host_int_flush_join_req(struct host_if_drv *hWFIDrv)
} }
msg.id = HOST_IF_MSG_FLUSH_CONNECT; msg.id = HOST_IF_MSG_FLUSH_CONNECT;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
/* send the message */ /* send the message */
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -5033,7 +5033,7 @@ s32 host_int_disconnect(struct host_if_drv *hWFIDrv, u16 u16ReasonCode) ...@@ -5033,7 +5033,7 @@ s32 host_int_disconnect(struct host_if_drv *hWFIDrv, u16 u16ReasonCode)
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_DISCONNECT; msg.id = HOST_IF_MSG_DISCONNECT;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
/* send the message */ /* send the message */
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -5213,7 +5213,7 @@ int host_int_set_mac_chnl_num(struct host_if_drv *wfi_drv, u8 channel) ...@@ -5213,7 +5213,7 @@ int host_int_set_mac_chnl_num(struct host_if_drv *wfi_drv, u8 channel)
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_SET_CHANNEL; msg.id = HOST_IF_MSG_SET_CHANNEL;
msg.body.channel_info.u8SetChan = channel; msg.body.channel_info.u8SetChan = channel;
msg.drvHandler = wfi_drv; msg.drv = wfi_drv;
result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (result) { if (result) {
...@@ -5257,7 +5257,7 @@ int host_int_set_wfi_drv_handler(struct host_if_drv *address) ...@@ -5257,7 +5257,7 @@ int host_int_set_wfi_drv_handler(struct host_if_drv *address)
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_SET_WFIDRV_HANDLER; msg.id = HOST_IF_MSG_SET_WFIDRV_HANDLER;
msg.body.drv.u32Address = get_id_from_handler(address); msg.body.drv.u32Address = get_id_from_handler(address);
msg.drvHandler = address; msg.drv = address;
result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (result) { if (result) {
...@@ -5279,7 +5279,7 @@ int host_int_set_operation_mode(struct host_if_drv *wfi_drv, u32 mode) ...@@ -5279,7 +5279,7 @@ int host_int_set_operation_mode(struct host_if_drv *wfi_drv, u32 mode)
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_SET_OPERATION_MODE; msg.id = HOST_IF_MSG_SET_OPERATION_MODE;
msg.body.mode.u32Mode = mode; msg.body.mode.u32Mode = mode;
msg.drvHandler = wfi_drv; msg.drv = wfi_drv;
result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (result) { if (result) {
...@@ -5320,7 +5320,7 @@ s32 host_int_get_host_chnl_num(struct host_if_drv *hWFIDrv, u8 *pu8ChNo) ...@@ -5320,7 +5320,7 @@ s32 host_int_get_host_chnl_num(struct host_if_drv *hWFIDrv, u8 *pu8ChNo)
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_GET_CHNL; msg.id = HOST_IF_MSG_GET_CHNL;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
/* send the message */ /* send the message */
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -5365,7 +5365,7 @@ s32 host_int_get_inactive_time(struct host_if_drv *hWFIDrv, const u8 *mac, u32 * ...@@ -5365,7 +5365,7 @@ s32 host_int_get_inactive_time(struct host_if_drv *hWFIDrv, const u8 *mac, u32 *
mac, ETH_ALEN); mac, ETH_ALEN);
msg.id = HOST_IF_MSG_GET_INACTIVETIME; msg.id = HOST_IF_MSG_GET_INACTIVETIME;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
/* send the message */ /* send the message */
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -5446,7 +5446,7 @@ s32 host_int_get_rssi(struct host_if_drv *hWFIDrv, s8 *ps8Rssi) ...@@ -5446,7 +5446,7 @@ s32 host_int_get_rssi(struct host_if_drv *hWFIDrv, s8 *ps8Rssi)
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_GET_RSSI; msg.id = HOST_IF_MSG_GET_RSSI;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
/* send the message */ /* send the message */
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -5483,7 +5483,7 @@ s32 host_int_get_link_speed(struct host_if_drv *hWFIDrv, s8 *ps8lnkspd) ...@@ -5483,7 +5483,7 @@ s32 host_int_get_link_speed(struct host_if_drv *hWFIDrv, s8 *ps8lnkspd)
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_GET_LINKSPEED; msg.id = HOST_IF_MSG_GET_LINKSPEED;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
/* send the message */ /* send the message */
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -5518,7 +5518,7 @@ s32 host_int_get_statistics(struct host_if_drv *hWFIDrv, tstrStatistics *pstrSta ...@@ -5518,7 +5518,7 @@ s32 host_int_get_statistics(struct host_if_drv *hWFIDrv, tstrStatistics *pstrSta
msg.id = HOST_IF_MSG_GET_STATISTICS; msg.id = HOST_IF_MSG_GET_STATISTICS;
msg.body.data = (char *)pstrStatistics; msg.body.data = (char *)pstrStatistics;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
/* send the message */ /* send the message */
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (s32Error) { if (s32Error) {
...@@ -5576,7 +5576,7 @@ s32 host_int_scan(struct host_if_drv *hWFIDrv, u8 u8ScanSource, ...@@ -5576,7 +5576,7 @@ s32 host_int_scan(struct host_if_drv *hWFIDrv, u8 u8ScanSource,
} else } else
PRINT_D(HOSTINF_DBG, "pstrHiddenNetwork IS EQUAL TO NULL\n"); PRINT_D(HOSTINF_DBG, "pstrHiddenNetwork IS EQUAL TO NULL\n");
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
msg.body.scan_info.u8ScanSource = u8ScanSource; msg.body.scan_info.u8ScanSource = u8ScanSource;
msg.body.scan_info.u8ScanType = u8ScanType; msg.body.scan_info.u8ScanType = u8ScanType;
msg.body.scan_info.pfScanResult = ScanResult; msg.body.scan_info.pfScanResult = ScanResult;
...@@ -5636,7 +5636,7 @@ s32 hif_set_cfg(struct host_if_drv *hWFIDrv, struct cfg_param_val *pstrCfgParamV ...@@ -5636,7 +5636,7 @@ s32 hif_set_cfg(struct host_if_drv *hWFIDrv, struct cfg_param_val *pstrCfgParamV
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_CFG_PARAMS; msg.id = HOST_IF_MSG_CFG_PARAMS;
msg.body.cfg_info.pstrCfgParamVal = *pstrCfgParamVal; msg.body.cfg_info.pstrCfgParamVal = *pstrCfgParamVal;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -5807,7 +5807,7 @@ static void GetPeriodicRSSI(unsigned long arg) ...@@ -5807,7 +5807,7 @@ static void GetPeriodicRSSI(unsigned long arg)
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_GET_RSSI; msg.id = HOST_IF_MSG_GET_RSSI;
msg.drvHandler = pstrWFIDrv; msg.drv = pstrWFIDrv;
/* send the message */ /* send the message */
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -6015,7 +6015,7 @@ s32 host_int_deinit(struct host_if_drv *hWFIDrv) ...@@ -6015,7 +6015,7 @@ s32 host_int_deinit(struct host_if_drv *hWFIDrv)
/* msleep(HOST_IF_CONNECT_TIMEOUT+1000); */ /* msleep(HOST_IF_CONNECT_TIMEOUT+1000); */
} }
msg.id = HOST_IF_MSG_EXIT; msg.id = HOST_IF_MSG_EXIT;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -6081,7 +6081,7 @@ void NetworkInfoReceived(u8 *pu8Buffer, u32 u32Length) ...@@ -6081,7 +6081,7 @@ void NetworkInfoReceived(u8 *pu8Buffer, u32 u32Length)
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_RCVD_NTWRK_INFO; msg.id = HOST_IF_MSG_RCVD_NTWRK_INFO;
msg.drvHandler = pstrWFIDrv; msg.drv = pstrWFIDrv;
msg.body.net_info.u32Length = u32Length; msg.body.net_info.u32Length = u32Length;
msg.body.net_info.pu8Buffer = kmalloc(u32Length, GFP_KERNEL); /* will be deallocated by the receiving thread */ msg.body.net_info.pu8Buffer = kmalloc(u32Length, GFP_KERNEL); /* will be deallocated by the receiving thread */
...@@ -6137,7 +6137,7 @@ void GnrlAsyncInfoReceived(u8 *pu8Buffer, u32 u32Length) ...@@ -6137,7 +6137,7 @@ void GnrlAsyncInfoReceived(u8 *pu8Buffer, u32 u32Length)
msg.id = HOST_IF_MSG_RCVD_GNRL_ASYNC_INFO; msg.id = HOST_IF_MSG_RCVD_GNRL_ASYNC_INFO;
msg.drvHandler = pstrWFIDrv; msg.drv = pstrWFIDrv;
msg.body.async_info.u32Length = u32Length; msg.body.async_info.u32Length = u32Length;
...@@ -6184,7 +6184,7 @@ void host_int_ScanCompleteReceived(u8 *pu8Buffer, u32 u32Length) ...@@ -6184,7 +6184,7 @@ void host_int_ScanCompleteReceived(u8 *pu8Buffer, u32 u32Length)
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_RCVD_SCAN_COMPLETE; msg.id = HOST_IF_MSG_RCVD_SCAN_COMPLETE;
msg.drvHandler = pstrWFIDrv; msg.drv = pstrWFIDrv;
/* will be deallocated by the receiving thread */ /* will be deallocated by the receiving thread */
...@@ -6242,7 +6242,7 @@ s32 host_int_remain_on_channel(struct host_if_drv *hWFIDrv, u32 u32SessionID, u3 ...@@ -6242,7 +6242,7 @@ s32 host_int_remain_on_channel(struct host_if_drv *hWFIDrv, u32 u32SessionID, u3
msg.body.remain_on_ch.pVoid = pvUserArg; msg.body.remain_on_ch.pVoid = pvUserArg;
msg.body.remain_on_ch.u32duration = u32duration; msg.body.remain_on_ch.u32duration = u32duration;
msg.body.remain_on_ch.u32ListenSessionID = u32SessionID; msg.body.remain_on_ch.u32ListenSessionID = u32SessionID;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (s32Error) if (s32Error)
...@@ -6282,7 +6282,7 @@ s32 host_int_ListenStateExpired(struct host_if_drv *hWFIDrv, u32 u32SessionID) ...@@ -6282,7 +6282,7 @@ s32 host_int_ListenStateExpired(struct host_if_drv *hWFIDrv, u32 u32SessionID)
/* prepare the timer fire Message */ /* prepare the timer fire Message */
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_LISTEN_TIMER_FIRED; msg.id = HOST_IF_MSG_LISTEN_TIMER_FIRED;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
msg.body.remain_on_ch.u32ListenSessionID = u32SessionID; msg.body.remain_on_ch.u32ListenSessionID = u32SessionID;
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -6332,7 +6332,7 @@ s32 host_int_frame_register(struct host_if_drv *hWFIDrv, u16 u16FrameType, bool ...@@ -6332,7 +6332,7 @@ s32 host_int_frame_register(struct host_if_drv *hWFIDrv, u16 u16FrameType, bool
} }
msg.body.reg_frame.u16FrameType = u16FrameType; msg.body.reg_frame.u16FrameType = u16FrameType;
msg.body.reg_frame.bReg = bReg; msg.body.reg_frame.bReg = bReg;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (s32Error) if (s32Error)
...@@ -6376,7 +6376,7 @@ s32 host_int_add_beacon(struct host_if_drv *hWFIDrv, u32 u32Interval, ...@@ -6376,7 +6376,7 @@ s32 host_int_add_beacon(struct host_if_drv *hWFIDrv, u32 u32Interval,
/* prepare the WiphyParams Message */ /* prepare the WiphyParams Message */
msg.id = HOST_IF_MSG_ADD_BEACON; msg.id = HOST_IF_MSG_ADD_BEACON;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
pstrSetBeaconParam->u32Interval = u32Interval; pstrSetBeaconParam->u32Interval = u32Interval;
pstrSetBeaconParam->u32DTIMPeriod = u32DTIMPeriod; pstrSetBeaconParam->u32DTIMPeriod = u32DTIMPeriod;
pstrSetBeaconParam->u32HeadLen = u32HeadLen; pstrSetBeaconParam->u32HeadLen = u32HeadLen;
...@@ -6439,7 +6439,7 @@ s32 host_int_del_beacon(struct host_if_drv *hWFIDrv) ...@@ -6439,7 +6439,7 @@ s32 host_int_del_beacon(struct host_if_drv *hWFIDrv)
/* prepare the WiphyParams Message */ /* prepare the WiphyParams Message */
msg.id = HOST_IF_MSG_DEL_BEACON; msg.id = HOST_IF_MSG_DEL_BEACON;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
PRINT_D(HOSTINF_DBG, "Setting deleting beacon message queue params\n"); PRINT_D(HOSTINF_DBG, "Setting deleting beacon message queue params\n");
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -6480,7 +6480,7 @@ s32 host_int_add_station(struct host_if_drv *hWFIDrv, ...@@ -6480,7 +6480,7 @@ s32 host_int_add_station(struct host_if_drv *hWFIDrv,
/* prepare the WiphyParams Message */ /* prepare the WiphyParams Message */
msg.id = HOST_IF_MSG_ADD_STATION; msg.id = HOST_IF_MSG_ADD_STATION;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
memcpy(pstrAddStationMsg, pstrStaParams, sizeof(struct add_sta_param)); memcpy(pstrAddStationMsg, pstrStaParams, sizeof(struct add_sta_param));
if (pstrAddStationMsg->u8NumRates > 0) { if (pstrAddStationMsg->u8NumRates > 0) {
...@@ -6529,7 +6529,7 @@ s32 host_int_del_station(struct host_if_drv *hWFIDrv, const u8 *pu8MacAddr) ...@@ -6529,7 +6529,7 @@ s32 host_int_del_station(struct host_if_drv *hWFIDrv, const u8 *pu8MacAddr)
/* prepare the WiphyParams Message */ /* prepare the WiphyParams Message */
msg.id = HOST_IF_MSG_DEL_STATION; msg.id = HOST_IF_MSG_DEL_STATION;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
if (pu8MacAddr == NULL) if (pu8MacAddr == NULL)
memset(pstrDelStationMsg->au8MacAddr, 255, ETH_ALEN); memset(pstrDelStationMsg->au8MacAddr, 255, ETH_ALEN);
...@@ -6573,7 +6573,7 @@ s32 host_int_del_allstation(struct host_if_drv *hWFIDrv, ...@@ -6573,7 +6573,7 @@ s32 host_int_del_allstation(struct host_if_drv *hWFIDrv,
/* prepare the WiphyParams Message */ /* prepare the WiphyParams Message */
msg.id = HOST_IF_MSG_DEL_ALL_STA; msg.id = HOST_IF_MSG_DEL_ALL_STA;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
/* Handling situation of deauthenticing all associated stations*/ /* Handling situation of deauthenticing all associated stations*/
for (i = 0; i < MAX_NUM_STA; i++) { for (i = 0; i < MAX_NUM_STA; i++) {
...@@ -6631,7 +6631,7 @@ s32 host_int_edit_station(struct host_if_drv *hWFIDrv, ...@@ -6631,7 +6631,7 @@ s32 host_int_edit_station(struct host_if_drv *hWFIDrv,
/* prepare the WiphyParams Message */ /* prepare the WiphyParams Message */
msg.id = HOST_IF_MSG_EDIT_STATION; msg.id = HOST_IF_MSG_EDIT_STATION;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
memcpy(pstrAddStationMsg, pstrStaParams, sizeof(struct add_sta_param)); memcpy(pstrAddStationMsg, pstrStaParams, sizeof(struct add_sta_param));
if (pstrAddStationMsg->u8NumRates > 0) { if (pstrAddStationMsg->u8NumRates > 0) {
...@@ -6672,7 +6672,7 @@ s32 host_int_set_power_mgmt(struct host_if_drv *hWFIDrv, bool bIsEnabled, u32 u3 ...@@ -6672,7 +6672,7 @@ s32 host_int_set_power_mgmt(struct host_if_drv *hWFIDrv, bool bIsEnabled, u32 u3
/* prepare the WiphyParams Message */ /* prepare the WiphyParams Message */
msg.id = HOST_IF_MSG_POWER_MGMT; msg.id = HOST_IF_MSG_POWER_MGMT;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
pstrPowerMgmtParam->bIsEnabled = bIsEnabled; pstrPowerMgmtParam->bIsEnabled = bIsEnabled;
pstrPowerMgmtParam->u32Timeout = u32Timeout; pstrPowerMgmtParam->u32Timeout = u32Timeout;
...@@ -6705,7 +6705,7 @@ s32 host_int_setup_multicast_filter(struct host_if_drv *hWFIDrv, bool bIsEnabled ...@@ -6705,7 +6705,7 @@ s32 host_int_setup_multicast_filter(struct host_if_drv *hWFIDrv, bool bIsEnabled
/* prepare the WiphyParams Message */ /* prepare the WiphyParams Message */
msg.id = HOST_IF_MSG_SET_MULTICAST_FILTER; msg.id = HOST_IF_MSG_SET_MULTICAST_FILTER;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
pstrMulticastFilterParam->bIsEnabled = bIsEnabled; pstrMulticastFilterParam->bIsEnabled = bIsEnabled;
pstrMulticastFilterParam->u32count = u32count; pstrMulticastFilterParam->u32count = u32count;
...@@ -6953,7 +6953,7 @@ s32 host_int_delBASession(struct host_if_drv *hWFIDrv, char *pBSSID, char TID) ...@@ -6953,7 +6953,7 @@ s32 host_int_delBASession(struct host_if_drv *hWFIDrv, char *pBSSID, char TID)
memcpy(pBASessionInfo->au8Bssid, pBSSID, ETH_ALEN); memcpy(pBASessionInfo->au8Bssid, pBSSID, ETH_ALEN);
pBASessionInfo->u8Ted = TID; pBASessionInfo->u8Ted = TID;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (s32Error) if (s32Error)
...@@ -6983,7 +6983,7 @@ s32 host_int_del_All_Rx_BASession(struct host_if_drv *hWFIDrv, char *pBSSID, cha ...@@ -6983,7 +6983,7 @@ s32 host_int_del_All_Rx_BASession(struct host_if_drv *hWFIDrv, char *pBSSID, cha
memcpy(pBASessionInfo->au8Bssid, pBSSID, ETH_ALEN); memcpy(pBASessionInfo->au8Bssid, pBSSID, ETH_ALEN);
pBASessionInfo->u8Ted = TID; pBASessionInfo->u8Ted = TID;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (s32Error) if (s32Error)
...@@ -7022,7 +7022,7 @@ s32 host_int_setup_ipaddress(struct host_if_drv *hWFIDrv, u8 *u16ipadd, u8 idx) ...@@ -7022,7 +7022,7 @@ s32 host_int_setup_ipaddress(struct host_if_drv *hWFIDrv, u8 *u16ipadd, u8 idx)
msg.id = HOST_IF_MSG_SET_IPADDRESS; msg.id = HOST_IF_MSG_SET_IPADDRESS;
msg.body.ip_info.au8IPAddr = u16ipadd; msg.body.ip_info.au8IPAddr = u16ipadd;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
msg.body.ip_info.idx = idx; msg.body.ip_info.idx = idx;
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -7059,7 +7059,7 @@ s32 host_int_get_ipaddress(struct host_if_drv *hWFIDrv, u8 *u16ipadd, u8 idx) ...@@ -7059,7 +7059,7 @@ s32 host_int_get_ipaddress(struct host_if_drv *hWFIDrv, u8 *u16ipadd, u8 idx)
msg.id = HOST_IF_MSG_GET_IPADDRESS; msg.id = HOST_IF_MSG_GET_IPADDRESS;
msg.body.ip_info.au8IPAddr = u16ipadd; msg.body.ip_info.au8IPAddr = u16ipadd;
msg.drvHandler = hWFIDrv; msg.drv = hWFIDrv;
msg.body.ip_info.idx = idx; msg.body.ip_info.idx = idx;
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment