struct connect_attr con_info;
        struct rcvd_net_info net_info;
        struct rcvd_async_info async_info;
-       struct key_attr strHostIFkeyAttr;
+       struct key_attr key_info;
        struct cfg_param_attr strHostIFCfgParamAttr;
        struct set_channel strHostIFSetChan;
        struct get_channel strHostIFGetChan;
                        break;
 
                case HOST_IF_MSG_KEY:
-                       Handle_Key(msg.drvHandler, &msg.body.strHostIFkeyAttr);
+                       Handle_Key(msg.drvHandler, &msg.body.key_info);
                        break;
 
                case HOST_IF_MSG_CFG_PARAMS:
 
 
        msg.id = HOST_IF_MSG_KEY;
-       msg.body.strHostIFkeyAttr.enuKeyType = WEP;
-       msg.body.strHostIFkeyAttr.u8KeyAction = REMOVEKEY;
+       msg.body.key_info.enuKeyType = WEP;
+       msg.body.key_info.u8KeyAction = REMOVEKEY;
        msg.drvHandler = hWFIDrv;
 
 
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx = u8keyIdx;
 
        /* send the message */
 
 
        msg.id = HOST_IF_MSG_KEY;
-       msg.body.strHostIFkeyAttr.enuKeyType = WEP;
-       msg.body.strHostIFkeyAttr.u8KeyAction = DEFAULTKEY;
+       msg.body.key_info.enuKeyType = WEP;
+       msg.body.key_info.u8KeyAction = DEFAULTKEY;
        msg.drvHandler = hWFIDrv;
 
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx = u8Index;
 
        /* send the message */
 
 
        msg.id = HOST_IF_MSG_KEY;
-       msg.body.strHostIFkeyAttr.enuKeyType = WEP;
-       msg.body.strHostIFkeyAttr.u8KeyAction = ADDKEY;
+       msg.body.key_info.enuKeyType = WEP;
+       msg.body.key_info.u8KeyAction = ADDKEY;
        msg.drvHandler = hWFIDrv;
 
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwepAttr.pu8WepKey = kmalloc(u8WepKeylen, GFP_KERNEL);
 
-       memcpy(msg.body.strHostIFkeyAttr.uniHostIFkeyAttr.strHostIFwepAttr.pu8WepKey,
+       memcpy(msg.body.key_info.uniHostIFkeyAttr.strHostIFwepAttr.pu8WepKey,
                    pu8WepKey, u8WepKeylen);
 
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwepAttr.u8WepKeylen = (u8WepKeylen);
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx = u8Keyidx;
 
        /* send the message */
                        PRINT_INFO(HOSTAPD_DBG, "KEY is %x\n", pu8WepKey[i]);
        }
        msg.id = HOST_IF_MSG_KEY;
-       msg.body.strHostIFkeyAttr.enuKeyType = WEP;
-       msg.body.strHostIFkeyAttr.u8KeyAction = ADDKEY_AP;
+       msg.body.key_info.enuKeyType = WEP;
+       msg.body.key_info.u8KeyAction = ADDKEY_AP;
        msg.drvHandler = hWFIDrv;
 
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwepAttr.pu8WepKey = kmalloc(u8WepKeylen, GFP_KERNEL);
 
 
-       memcpy(msg.body.strHostIFkeyAttr.uniHostIFkeyAttr.strHostIFwepAttr.pu8WepKey,
+       memcpy(msg.body.key_info.uniHostIFkeyAttr.strHostIFwepAttr.pu8WepKey,
                    pu8WepKey, (u8WepKeylen));
 
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwepAttr.u8WepKeylen = (u8WepKeylen);
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx = u8Keyidx;
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwepAttr.u8mode = u8mode;
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwepAttr.tenuAuth_type = tenuAuth_type;
        /* send the message */
        s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
 
 
        msg.id = HOST_IF_MSG_KEY;
-       msg.body.strHostIFkeyAttr.enuKeyType = WPAPtk;
+       msg.body.key_info.enuKeyType = WPAPtk;
        if (mode == AP_MODE) {
-               msg.body.strHostIFkeyAttr.u8KeyAction = ADDKEY_AP;
-               msg.body.strHostIFkeyAttr.
+               msg.body.key_info.u8KeyAction = ADDKEY_AP;
+               msg.body.key_info.
                uniHostIFkeyAttr.strHostIFwpaAttr.u8keyidx = u8Idx;
        }
        if (mode == STATION_MODE)
-               msg.body.strHostIFkeyAttr.u8KeyAction = ADDKEY;
+               msg.body.key_info.u8KeyAction = ADDKEY;
 
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwpaAttr.pu8key = kmalloc(u8PtkKeylen, GFP_KERNEL);
 
 
-       memcpy(msg.body.strHostIFkeyAttr.uniHostIFkeyAttr.strHostIFwpaAttr.pu8key,
+       memcpy(msg.body.key_info.uniHostIFkeyAttr.strHostIFwpaAttr.pu8key,
                    pu8Ptk, u8PtkKeylen);
 
        if (pu8RxMic != NULL) {
 
-               memcpy(msg.body.strHostIFkeyAttr.uniHostIFkeyAttr.strHostIFwpaAttr.pu8key + 16,
+               memcpy(msg.body.key_info.uniHostIFkeyAttr.strHostIFwpaAttr.pu8key + 16,
                            pu8RxMic, RX_MIC_KEY_LEN);
                if (INFO) {
                        for (i = 0; i < RX_MIC_KEY_LEN; i++)
        }
        if (pu8TxMic != NULL) {
 
-               memcpy(msg.body.strHostIFkeyAttr.uniHostIFkeyAttr.strHostIFwpaAttr.pu8key + 24,
+               memcpy(msg.body.key_info.uniHostIFkeyAttr.strHostIFwpaAttr.pu8key + 24,
                            pu8TxMic, TX_MIC_KEY_LEN);
                if (INFO) {
                        for (i = 0; i < TX_MIC_KEY_LEN; i++)
                }
        }
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwpaAttr.u8Keylen = u8KeyLen;
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwpaAttr.u8Ciphermode = u8Ciphermode;
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwpaAttr.pu8macaddr = mac_addr;
        msg.drvHandler = hWFIDrv;
 
        if (pu8TxMic != NULL)
                u8KeyLen += TX_MIC_KEY_LEN;
        if (KeyRSC != NULL) {
-               msg.body.strHostIFkeyAttr.
+               msg.body.key_info.
                uniHostIFkeyAttr.strHostIFwpaAttr.pu8seq = kmalloc(u32KeyRSClen, GFP_KERNEL);
 
-               memcpy(msg.body.strHostIFkeyAttr.uniHostIFkeyAttr.strHostIFwpaAttr.pu8seq,
+               memcpy(msg.body.key_info.uniHostIFkeyAttr.strHostIFwpaAttr.pu8seq,
                            KeyRSC, u32KeyRSClen);
        }
 
 
        msg.id = HOST_IF_MSG_KEY;
-       msg.body.strHostIFkeyAttr.enuKeyType = WPARxGtk;
+       msg.body.key_info.enuKeyType = WPARxGtk;
        msg.drvHandler = hWFIDrv;
 
        if (mode == AP_MODE) {
-               msg.body.strHostIFkeyAttr.u8KeyAction = ADDKEY_AP;
-               msg.body.strHostIFkeyAttr.uniHostIFkeyAttr.strHostIFwpaAttr.u8Ciphermode = u8Ciphermode;
+               msg.body.key_info.u8KeyAction = ADDKEY_AP;
+               msg.body.key_info.uniHostIFkeyAttr.strHostIFwpaAttr.u8Ciphermode = u8Ciphermode;
        }
        if (mode == STATION_MODE)
-               msg.body.strHostIFkeyAttr.u8KeyAction = ADDKEY;
+               msg.body.key_info.u8KeyAction = ADDKEY;
 
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwpaAttr.pu8key = kmalloc(u8KeyLen, GFP_KERNEL);
 
-       memcpy(msg.body.strHostIFkeyAttr.uniHostIFkeyAttr.strHostIFwpaAttr.pu8key,
+       memcpy(msg.body.key_info.uniHostIFkeyAttr.strHostIFwpaAttr.pu8key,
                    pu8RxGtk, u8GtkKeylen);
 
        if (pu8RxMic != NULL) {
 
-               memcpy(msg.body.strHostIFkeyAttr.uniHostIFkeyAttr.strHostIFwpaAttr.pu8key + 16,
+               memcpy(msg.body.key_info.uniHostIFkeyAttr.strHostIFwpaAttr.pu8key + 16,
                            pu8RxMic, RX_MIC_KEY_LEN);
 
        }
        if (pu8TxMic != NULL) {
 
-               memcpy(msg.body.strHostIFkeyAttr.uniHostIFkeyAttr.strHostIFwpaAttr.pu8key + 24,
+               memcpy(msg.body.key_info.uniHostIFkeyAttr.strHostIFwpaAttr.pu8key + 24,
                            pu8TxMic, TX_MIC_KEY_LEN);
 
        }
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwpaAttr.u8keyidx = u8KeyIdx;
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwpaAttr.u8Keylen = u8KeyLen;
 
-       msg.body.strHostIFkeyAttr.
+       msg.body.key_info.
        uniHostIFkeyAttr.strHostIFwpaAttr.u8seqlen = u32KeyRSClen;
 
 
        memset(&msg, 0, sizeof(struct host_if_msg));
 
        msg.id = HOST_IF_MSG_KEY;
-       msg.body.strHostIFkeyAttr.enuKeyType = PMKSA;
-       msg.body.strHostIFkeyAttr.u8KeyAction = ADDKEY;
+       msg.body.key_info.enuKeyType = PMKSA;
+       msg.body.key_info.u8KeyAction = ADDKEY;
        msg.drvHandler = hWFIDrv;
 
        for (i = 0; i < pu8PmkidInfoArray->numpmkid; i++) {
 
-               memcpy(msg.body.strHostIFkeyAttr.uniHostIFkeyAttr.strHostIFpmkidAttr.pmkidlist[i].bssid, &pu8PmkidInfoArray->pmkidlist[i].bssid,
+               memcpy(msg.body.key_info.uniHostIFkeyAttr.strHostIFpmkidAttr.pmkidlist[i].bssid, &pu8PmkidInfoArray->pmkidlist[i].bssid,
                            ETH_ALEN);
 
-               memcpy(msg.body.strHostIFkeyAttr.uniHostIFkeyAttr.strHostIFpmkidAttr.pmkidlist[i].pmkid, &pu8PmkidInfoArray->pmkidlist[i].pmkid,
+               memcpy(msg.body.key_info.uniHostIFkeyAttr.strHostIFpmkidAttr.pmkidlist[i].pmkid, &pu8PmkidInfoArray->pmkidlist[i].pmkid,
                            PMKID_LEN);
        }