/*prepare configuration packet*/
        strWID.id = (u16)WID_CURRENT_CHANNEL;
        strWID.type = WID_CHAR;
-       strWID.ps8WidVal = (char *)&(pstrHostIFSetChan->u8SetChan);
+       strWID.val = (char *)&(pstrHostIFSetChan->u8SetChan);
        strWID.size = sizeof(char);
 
        PRINT_D(HOSTINF_DBG, "Setting channel\n");
        /*prepare configuration packet*/
        strWID.id = (u16)WID_SET_DRV_HANDLER;
        strWID.type = WID_INT;
-       strWID.ps8WidVal = (s8 *)&(pstrHostIfSetDrvHandler->u32Address);
+       strWID.val = (s8 *)&(pstrHostIfSetDrvHandler->u32Address);
        strWID.size = sizeof(u32);
 
        /*Sending Cfg*/
        /*prepare configuration packet*/
        strWID.id = (u16)WID_SET_OPERATION_MODE;
        strWID.type = WID_INT;
-       strWID.ps8WidVal = (s8 *)&(pstrHostIfSetOperationMode->u32Mode);
+       strWID.val = (s8 *)&(pstrHostIfSetOperationMode->u32Mode);
        strWID.size = sizeof(u32);
 
        /*Sending Cfg*/
        /*prepare configuration packet*/
        strWID.id = (u16)WID_IP_ADDRESS;
        strWID.type = WID_STR;
-       strWID.ps8WidVal = (u8 *)pu8IPAddr;
+       strWID.val = (u8 *)pu8IPAddr;
        strWID.size = IP_ALEN;
 
        s32Error = send_config_pkt(SET_CFG, &strWID, 1,
        /*prepare configuration packet*/
        strWID.id = (u16)WID_IP_ADDRESS;
        strWID.type = WID_STR;
-       strWID.ps8WidVal = kmalloc(IP_ALEN, GFP_KERNEL);
+       strWID.val = kmalloc(IP_ALEN, GFP_KERNEL);
        strWID.size = IP_ALEN;
 
        s32Error = send_config_pkt(GET_CFG, &strWID, 1,
                                   get_id_from_handler(pstrWFIDrv));
 
-       PRINT_INFO(HOSTINF_DBG, "%pI4\n", strWID.ps8WidVal);
+       PRINT_INFO(HOSTINF_DBG, "%pI4\n", strWID.val);
 
-       memcpy(gs8GetIP[idx], strWID.ps8WidVal, IP_ALEN);
+       memcpy(gs8GetIP[idx], strWID.val, IP_ALEN);
 
        /*get the value by searching the local copy*/
-       kfree(strWID.ps8WidVal);
+       kfree(strWID.val);
 
        if (memcmp(gs8GetIP[idx], gs8SetIP[idx], IP_ALEN) != 0)
                host_int_setup_ipaddress(pstrWFIDrv, gs8SetIP[idx], idx);
        /*prepare configuration packet*/
        strWID.id = (u16)WID_MAC_ADDR;
        strWID.type = WID_STR;
-       strWID.ps8WidVal = mac_buf;
+       strWID.val = mac_buf;
        strWID.size = ETH_ALEN;
-       PRINT_D(GENERIC_DBG, "mac addr = :%pM\n", strWID.ps8WidVal);
+       PRINT_D(GENERIC_DBG, "mac addr = :%pM\n", strWID.val);
        /*Sending Cfg*/
        s32Error = send_config_pkt(SET_CFG, &strWID, 1,
                                   get_id_from_handler(pstrWFIDrv));
        /*prepare configuration packet*/
        strWID.id = (u16)WID_MAC_ADDR;
        strWID.type = WID_STR;
-       strWID.ps8WidVal = pstrHostIfGetMacAddress->u8MacAddress;
+       strWID.val = pstrHostIfGetMacAddress->u8MacAddress;
        strWID.size = ETH_ALEN;
 
        /*Sending Cfg*/
                /* validate input then copy>> need to check value 4 and 5 */
                if (strHostIFCfgParamAttr->pstrCfgParamVal.bss_type < 6) {
                        strWIDList[u8WidCnt].id = WID_BSS_TYPE;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.bss_type;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.bss_type;
                        strWIDList[u8WidCnt].type = WID_CHAR;
                        strWIDList[u8WidCnt].size = sizeof(char);
                        pstrWFIDrv->strCfgValues.bss_type = (u8)strHostIFCfgParamAttr->pstrCfgParamVal.bss_type;
                /*validate Possible values*/
                if ((strHostIFCfgParamAttr->pstrCfgParamVal.auth_type) == 1 || (strHostIFCfgParamAttr->pstrCfgParamVal.auth_type) == 2 || (strHostIFCfgParamAttr->pstrCfgParamVal.auth_type) == 5) {
                        strWIDList[u8WidCnt].id = WID_AUTH_TYPE;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.auth_type;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.auth_type;
                        strWIDList[u8WidCnt].type = WID_CHAR;
                        strWIDList[u8WidCnt].size = sizeof(char);
                        pstrWFIDrv->strCfgValues.auth_type = (u8)strHostIFCfgParamAttr->pstrCfgParamVal.auth_type;
                /* range is 1 to 65535. */
                if (strHostIFCfgParamAttr->pstrCfgParamVal.auth_timeout > 0 && strHostIFCfgParamAttr->pstrCfgParamVal.auth_timeout < 65536) {
                        strWIDList[u8WidCnt].id = WID_AUTH_TIMEOUT;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.auth_timeout;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.auth_timeout;
                        strWIDList[u8WidCnt].type = WID_SHORT;
                        strWIDList[u8WidCnt].size = sizeof(u16);
                        pstrWFIDrv->strCfgValues.auth_timeout = strHostIFCfgParamAttr->pstrCfgParamVal.auth_timeout;
                /*----------------------------------------------------------*/
                if (strHostIFCfgParamAttr->pstrCfgParamVal.power_mgmt_mode < 5) {
                        strWIDList[u8WidCnt].id = WID_POWER_MANAGEMENT;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.power_mgmt_mode;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.power_mgmt_mode;
                        strWIDList[u8WidCnt].type = WID_CHAR;
                        strWIDList[u8WidCnt].size = sizeof(char);
                        pstrWFIDrv->strCfgValues.power_mgmt_mode = (u8)strHostIFCfgParamAttr->pstrCfgParamVal.power_mgmt_mode;
                /* range from 1 to 256 */
                if ((strHostIFCfgParamAttr->pstrCfgParamVal.short_retry_limit > 0) && (strHostIFCfgParamAttr->pstrCfgParamVal.short_retry_limit < 256)) {
                        strWIDList[u8WidCnt].id = WID_SHORT_RETRY_LIMIT;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.short_retry_limit;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.short_retry_limit;
                        strWIDList[u8WidCnt].type = WID_SHORT;
                        strWIDList[u8WidCnt].size = sizeof(u16);
                        pstrWFIDrv->strCfgValues.short_retry_limit = strHostIFCfgParamAttr->pstrCfgParamVal.short_retry_limit;
                /* range from 1 to 256 */
                if ((strHostIFCfgParamAttr->pstrCfgParamVal.long_retry_limit > 0) && (strHostIFCfgParamAttr->pstrCfgParamVal.long_retry_limit < 256)) {
                        strWIDList[u8WidCnt].id = WID_LONG_RETRY_LIMIT;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.long_retry_limit;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.long_retry_limit;
 
                        strWIDList[u8WidCnt].type = WID_SHORT;
                        strWIDList[u8WidCnt].size = sizeof(u16);
 
                if (strHostIFCfgParamAttr->pstrCfgParamVal.frag_threshold > 255 && strHostIFCfgParamAttr->pstrCfgParamVal.frag_threshold < 7937) {
                        strWIDList[u8WidCnt].id = WID_FRAG_THRESHOLD;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.frag_threshold;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.frag_threshold;
                        strWIDList[u8WidCnt].type = WID_SHORT;
                        strWIDList[u8WidCnt].size = sizeof(u16);
                        pstrWFIDrv->strCfgValues.frag_threshold = strHostIFCfgParamAttr->pstrCfgParamVal.frag_threshold;
                /* range 256 to 65535 */
                if (strHostIFCfgParamAttr->pstrCfgParamVal.rts_threshold > 255 && strHostIFCfgParamAttr->pstrCfgParamVal.rts_threshold < 65536) {
                        strWIDList[u8WidCnt].id = WID_RTS_THRESHOLD;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.rts_threshold;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.rts_threshold;
                        strWIDList[u8WidCnt].type = WID_SHORT;
                        strWIDList[u8WidCnt].size = sizeof(u16);
                        pstrWFIDrv->strCfgValues.rts_threshold = strHostIFCfgParamAttr->pstrCfgParamVal.rts_threshold;
                /*------------------------------------------------------*/
                if (strHostIFCfgParamAttr->pstrCfgParamVal.preamble_type < 3) {
                        strWIDList[u8WidCnt].id = WID_PREAMBLE;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.preamble_type;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.preamble_type;
                        strWIDList[u8WidCnt].type = WID_CHAR;
                        strWIDList[u8WidCnt].size = sizeof(char);
                        pstrWFIDrv->strCfgValues.preamble_type = strHostIFCfgParamAttr->pstrCfgParamVal.preamble_type;
        if (strHostIFCfgParamAttr->pstrCfgParamVal.u32SetCfgFlag & SHORT_SLOT_ALLOWED) {
                if (strHostIFCfgParamAttr->pstrCfgParamVal.short_slot_allowed < 2) {
                        strWIDList[u8WidCnt].id = WID_SHORT_SLOT_ALLOWED;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.short_slot_allowed;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.short_slot_allowed;
                        strWIDList[u8WidCnt].type = WID_CHAR;
                        strWIDList[u8WidCnt].size = sizeof(char);
                        pstrWFIDrv->strCfgValues.short_slot_allowed = (u8)strHostIFCfgParamAttr->pstrCfgParamVal.short_slot_allowed;
                /*Input Values: 1 for enable and 0 for disable.                                                 */
                if (strHostIFCfgParamAttr->pstrCfgParamVal.txop_prot_disabled < 2) {
                        strWIDList[u8WidCnt].id = WID_11N_TXOP_PROT_DISABLE;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.txop_prot_disabled;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.txop_prot_disabled;
                        strWIDList[u8WidCnt].type = WID_CHAR;
                        strWIDList[u8WidCnt].size = sizeof(char);
                        pstrWFIDrv->strCfgValues.txop_prot_disabled = (u8)strHostIFCfgParamAttr->pstrCfgParamVal.txop_prot_disabled;
                /* range is 1 to 65535. */
                if (strHostIFCfgParamAttr->pstrCfgParamVal.beacon_interval > 0 && strHostIFCfgParamAttr->pstrCfgParamVal.beacon_interval < 65536) {
                        strWIDList[u8WidCnt].id = WID_BEACON_INTERVAL;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.beacon_interval;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.beacon_interval;
                        strWIDList[u8WidCnt].type = WID_SHORT;
                        strWIDList[u8WidCnt].size = sizeof(u16);
                        pstrWFIDrv->strCfgValues.beacon_interval = strHostIFCfgParamAttr->pstrCfgParamVal.beacon_interval;
                /* range is 1 to 255. */
                if (strHostIFCfgParamAttr->pstrCfgParamVal.dtim_period > 0 && strHostIFCfgParamAttr->pstrCfgParamVal.dtim_period < 256) {
                        strWIDList[u8WidCnt].id = WID_DTIM_PERIOD;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.dtim_period;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.dtim_period;
                        strWIDList[u8WidCnt].type = WID_CHAR;
                        strWIDList[u8WidCnt].size = sizeof(char);
                        pstrWFIDrv->strCfgValues.dtim_period = strHostIFCfgParamAttr->pstrCfgParamVal.dtim_period;
                /*----------------------------------------------------------------------*/
                if (strHostIFCfgParamAttr->pstrCfgParamVal.site_survey_enabled < 3) {
                        strWIDList[u8WidCnt].id = WID_SITE_SURVEY;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.site_survey_enabled;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.site_survey_enabled;
                        strWIDList[u8WidCnt].type = WID_CHAR;
                        strWIDList[u8WidCnt].size = sizeof(char);
                        pstrWFIDrv->strCfgValues.site_survey_enabled = (u8)strHostIFCfgParamAttr->pstrCfgParamVal.site_survey_enabled;
                /* range is 1 to 65535. */
                if (strHostIFCfgParamAttr->pstrCfgParamVal.site_survey_scan_time > 0 && strHostIFCfgParamAttr->pstrCfgParamVal.site_survey_scan_time < 65536) {
                        strWIDList[u8WidCnt].id = WID_SITE_SURVEY_SCAN_TIME;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.site_survey_scan_time;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.site_survey_scan_time;
                        strWIDList[u8WidCnt].type = WID_SHORT;
                        strWIDList[u8WidCnt].size = sizeof(u16);
                        pstrWFIDrv->strCfgValues.site_survey_scan_time = strHostIFCfgParamAttr->pstrCfgParamVal.site_survey_scan_time;
                /* range is 1 to 65535. */
                if (strHostIFCfgParamAttr->pstrCfgParamVal.active_scan_time > 0 && strHostIFCfgParamAttr->pstrCfgParamVal.active_scan_time < 65536) {
                        strWIDList[u8WidCnt].id = WID_ACTIVE_SCAN_TIME;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.active_scan_time;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.active_scan_time;
                        strWIDList[u8WidCnt].type = WID_SHORT;
                        strWIDList[u8WidCnt].size = sizeof(u16);
                        pstrWFIDrv->strCfgValues.active_scan_time = strHostIFCfgParamAttr->pstrCfgParamVal.active_scan_time;
                /* range is 1 to 65535. */
                if (strHostIFCfgParamAttr->pstrCfgParamVal.passive_scan_time > 0 && strHostIFCfgParamAttr->pstrCfgParamVal.passive_scan_time < 65536) {
                        strWIDList[u8WidCnt].id = WID_PASSIVE_SCAN_TIME;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.passive_scan_time;
+                       strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->pstrCfgParamVal.passive_scan_time;
                        strWIDList[u8WidCnt].type = WID_SHORT;
                        strWIDList[u8WidCnt].size = sizeof(u16);
                        pstrWFIDrv->strCfgValues.passive_scan_time = strHostIFCfgParamAttr->pstrCfgParamVal.passive_scan_time;
                    || curr_tx_rate == MBPS_18 || curr_tx_rate == MBPS_24
                    || curr_tx_rate == MBPS_36 || curr_tx_rate == MBPS_48 || curr_tx_rate == MBPS_54) {
                        strWIDList[u8WidCnt].id = WID_CURRENT_TX_RATE;
-                       strWIDList[u8WidCnt].ps8WidVal = (s8 *)&curr_tx_rate;
+                       strWIDList[u8WidCnt].val = (s8 *)&curr_tx_rate;
                        strWIDList[u8WidCnt].type = WID_SHORT;
                        strWIDList[u8WidCnt].size = sizeof(u16);
                        pstrWFIDrv->strCfgValues.curr_tx_rate = (u8)curr_tx_rate;
        for (i = 0; i < pstrHostIFscanAttr->strHiddenNetwork.u8ssidnum; i++)
                valuesize += ((pstrHostIFscanAttr->strHiddenNetwork.pstrHiddenNetworkInfo[i].u8ssidlen) + 1);
        pu8HdnNtwrksWidVal = kmalloc(valuesize + 1, GFP_KERNEL);
-       strWIDList[u32WidsCount].ps8WidVal = pu8HdnNtwrksWidVal;
-       if (strWIDList[u32WidsCount].ps8WidVal != NULL) {
-               pu8Buffer = strWIDList[u32WidsCount].ps8WidVal;
+       strWIDList[u32WidsCount].val = pu8HdnNtwrksWidVal;
+       if (strWIDList[u32WidsCount].val != NULL) {
+               pu8Buffer = strWIDList[u32WidsCount].val;
 
                *pu8Buffer++ = pstrHostIFscanAttr->strHiddenNetwork.u8ssidnum;
 
                /* IEs to be inserted in Probe Request */
                strWIDList[u32WidsCount].id = WID_INFO_ELEMENT_PROBE;
                strWIDList[u32WidsCount].type = WID_BIN_DATA;
-               strWIDList[u32WidsCount].ps8WidVal = pstrHostIFscanAttr->pu8IEs;
+               strWIDList[u32WidsCount].val = pstrHostIFscanAttr->pu8IEs;
                strWIDList[u32WidsCount].size = pstrHostIFscanAttr->IEsLen;
                u32WidsCount++;
        }
        strWIDList[u32WidsCount].id = WID_SCAN_TYPE;
        strWIDList[u32WidsCount].type = WID_CHAR;
        strWIDList[u32WidsCount].size = sizeof(char);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&(pstrHostIFscanAttr->u8ScanType));
+       strWIDList[u32WidsCount].val = (s8 *)(&(pstrHostIFscanAttr->u8ScanType));
        u32WidsCount++;
 
        /*list of channels to be scanned*/
                }
        }
 
-       strWIDList[u32WidsCount].ps8WidVal = pstrHostIFscanAttr->pu8ChnlFreqList;
+       strWIDList[u32WidsCount].val = pstrHostIFscanAttr->pu8ChnlFreqList;
        strWIDList[u32WidsCount].size = pstrHostIFscanAttr->u8ChnlListLen;
        u32WidsCount++;
 
        strWIDList[u32WidsCount].id = WID_START_SCAN_REQ;
        strWIDList[u32WidsCount].type = WID_CHAR;
        strWIDList[u32WidsCount].size = sizeof(char);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&(pstrHostIFscanAttr->u8ScanSource));
+       strWIDList[u32WidsCount].val = (s8 *)(&(pstrHostIFscanAttr->u8ScanSource));
        u32WidsCount++;
 
        /*keep the state as is , no need to change it*/
                u8abort_running_scan = 1;
                strWID.id = (u16)WID_ABORT_RUNNING_SCAN;
                strWID.type = WID_CHAR;
-               strWID.ps8WidVal = (s8 *)&u8abort_running_scan;
+               strWID.val = (s8 *)&u8abort_running_scan;
                strWID.size = sizeof(char);
 
                /*Sending Cfg*/
        strWIDList[u32WidsCount].id = WID_SUCCESS_FRAME_COUNT;
        strWIDList[u32WidsCount].type = WID_INT;
        strWIDList[u32WidsCount].size = sizeof(u32);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&(dummyval));
+       strWIDList[u32WidsCount].val = (s8 *)(&(dummyval));
        u32WidsCount++;
 
        strWIDList[u32WidsCount].id = WID_RECEIVED_FRAGMENT_COUNT;
        strWIDList[u32WidsCount].type = WID_INT;
        strWIDList[u32WidsCount].size = sizeof(u32);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&(dummyval));
+       strWIDList[u32WidsCount].val = (s8 *)(&(dummyval));
        u32WidsCount++;
 
        strWIDList[u32WidsCount].id = WID_FAILED_COUNT;
        strWIDList[u32WidsCount].type = WID_INT;
        strWIDList[u32WidsCount].size = sizeof(u32);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&(dummyval));
+       strWIDList[u32WidsCount].val = (s8 *)(&(dummyval));
        u32WidsCount++;
 
        /* if((gWFiDrvHandle->strWILC_UsrConnReq.pu8ConnReqIEs != NULL) && */
                /* IEs to be inserted in Association Request */
                strWIDList[u32WidsCount].id = WID_INFO_ELEMENT_ASSOCIATE;
                strWIDList[u32WidsCount].type = WID_BIN_DATA;
-               strWIDList[u32WidsCount].ps8WidVal = pstrWFIDrv->strWILC_UsrConnReq.pu8ConnReqIEs;
+               strWIDList[u32WidsCount].val = pstrWFIDrv->strWILC_UsrConnReq.pu8ConnReqIEs;
                strWIDList[u32WidsCount].size = pstrWFIDrv->strWILC_UsrConnReq.ConnReqIEsLen;
                u32WidsCount++;
 
        strWIDList[u32WidsCount].id = (u16)WID_11I_MODE;
        strWIDList[u32WidsCount].type = WID_CHAR;
        strWIDList[u32WidsCount].size = sizeof(char);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&(pstrWFIDrv->strWILC_UsrConnReq.u8security));
+       strWIDList[u32WidsCount].val = (s8 *)(&(pstrWFIDrv->strWILC_UsrConnReq.u8security));
        u32WidsCount++;
 
        if (memcmp("DIRECT-", pstrHostIFconnectAttr->pu8ssid, 7))
        strWIDList[u32WidsCount].id = (u16)WID_AUTH_TYPE;
        strWIDList[u32WidsCount].type = WID_CHAR;
        strWIDList[u32WidsCount].size = sizeof(char);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&pstrWFIDrv->strWILC_UsrConnReq.tenuAuth_type);
+       strWIDList[u32WidsCount].val = (s8 *)(&pstrWFIDrv->strWILC_UsrConnReq.tenuAuth_type);
        u32WidsCount++;
 
        if (memcmp("DIRECT-", pstrHostIFconnectAttr->pu8ssid, 7))
 
        /*Sending NoA attributes during connection*/
        strWIDList[u32WidsCount].size = 112; /* 79; */
-       strWIDList[u32WidsCount].ps8WidVal = kmalloc(strWIDList[u32WidsCount].size, GFP_KERNEL);
+       strWIDList[u32WidsCount].val = kmalloc(strWIDList[u32WidsCount].size, GFP_KERNEL);
 
        if (memcmp("DIRECT-", pstrHostIFconnectAttr->pu8ssid, 7)) {
                gu32FlushedJoinReqSize = strWIDList[u32WidsCount].size;
                gu8FlushedJoinReq = kmalloc(gu32FlushedJoinReqSize, GFP_KERNEL);
        }
-       if (strWIDList[u32WidsCount].ps8WidVal == NULL) {
+       if (strWIDList[u32WidsCount].val == NULL) {
                s32Error = -EFAULT;
                goto ERRORHANDLER;
        }
 
-       pu8CurrByte = strWIDList[u32WidsCount].ps8WidVal;
+       pu8CurrByte = strWIDList[u32WidsCount].val;
 
 
        if (pstrHostIFconnectAttr->pu8ssid != NULL) {
                PRINT_D(HOSTINF_DBG, "NOA not present\n");
 
        /* keep the buffer at the start of the allocated pointer to use it with the free*/
-       pu8CurrByte = strWIDList[u32WidsCount].ps8WidVal;
+       pu8CurrByte = strWIDList[u32WidsCount].val;
        u32WidsCount++;
 
        /* A temporary workaround to avoid handling the misleading MAC_DISCONNECTED raised from the
        /* IEs to be inserted in Association Request */
        strWIDList[u32WidsCount].id = WID_INFO_ELEMENT_ASSOCIATE;
        strWIDList[u32WidsCount].type = WID_BIN_DATA;
-       strWIDList[u32WidsCount].ps8WidVal = gu8FlushedInfoElemAsoc;
+       strWIDList[u32WidsCount].val = gu8FlushedInfoElemAsoc;
        strWIDList[u32WidsCount].size = gu32FlushedInfoElemAsocSize;
        u32WidsCount++;
 
        strWIDList[u32WidsCount].id = (u16)WID_11I_MODE;
        strWIDList[u32WidsCount].type = WID_CHAR;
        strWIDList[u32WidsCount].size = sizeof(char);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&(gu8Flushed11iMode));
+       strWIDList[u32WidsCount].val = (s8 *)(&(gu8Flushed11iMode));
        u32WidsCount++;
 
 
        strWIDList[u32WidsCount].id = (u16)WID_AUTH_TYPE;
        strWIDList[u32WidsCount].type = WID_CHAR;
        strWIDList[u32WidsCount].size = sizeof(char);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&gu8FlushedAuthType);
+       strWIDList[u32WidsCount].val = (s8 *)(&gu8FlushedAuthType);
        u32WidsCount++;
 
        strWIDList[u32WidsCount].id = (u16)WID_JOIN_REQ_EXTENDED;
        strWIDList[u32WidsCount].type = WID_STR;
        strWIDList[u32WidsCount].size = gu32FlushedJoinReqSize;
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)gu8FlushedJoinReq;
-       pu8CurrByte = strWIDList[u32WidsCount].ps8WidVal;
+       strWIDList[u32WidsCount].val = (s8 *)gu8FlushedJoinReq;
+       pu8CurrByte = strWIDList[u32WidsCount].val;
 
        pu8CurrByte += FLUSHED_BYTE_POS;
        *(pu8CurrByte) = FLUSHED_JOIN_REQ;
         *   WID_DISCONNECT} */
        strWID.id = (u16)WID_DISCONNECT;
        strWID.type = WID_CHAR;
-       strWID.ps8WidVal = (s8 *)&u16DummyReasonCode;
+       strWID.val = (s8 *)&u16DummyReasonCode;
        strWID.size = sizeof(char);
 
        PRINT_D(HOSTINF_DBG, "Sending disconnect request\n");
                        strWIDList[0].id = (u16)WID_11I_MODE;
                        strWIDList[0].type = WID_CHAR;
                        strWIDList[0].size = sizeof(char);
-                       strWIDList[0].ps8WidVal = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwepAttr.u8mode));
+                       strWIDList[0].val = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwepAttr.u8mode));
 
                        strWIDList[1].id = WID_AUTH_TYPE;
                        strWIDList[1].type = WID_CHAR;
                        strWIDList[1].size = sizeof(char);
-                       strWIDList[1].ps8WidVal = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwepAttr.tenuAuth_type));
+                       strWIDList[1].val = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwepAttr.tenuAuth_type));
 
                        strWIDList[2].id = (u16)WID_KEY_ID;
                        strWIDList[2].type = WID_CHAR;
 
-                       strWIDList[2].ps8WidVal = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx));
+                       strWIDList[2].val = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx));
                        strWIDList[2].size = sizeof(char);
 
 
                        strWIDList[3].id = (u16)WID_WEP_KEY_VALUE;
                        strWIDList[3].type = WID_STR;
                        strWIDList[3].size = pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwepAttr.u8WepKeylen;
-                       strWIDList[3].ps8WidVal = (s8 *)pu8keybuf;
+                       strWIDList[3].val = (s8 *)pu8keybuf;
 
 
                        s32Error = send_config_pkt(SET_CFG, strWIDList, 4,
 
                        strWID.id = (u16)WID_ADD_WEP_KEY;
                        strWID.type = WID_STR;
-                       strWID.ps8WidVal        = (s8 *)pu8keybuf;
+                       strWID.val = (s8 *)pu8keybuf;
                        strWID.size = pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwepAttr.u8WepKeylen + 2;
 
                        s32Error = send_config_pkt(SET_CFG, &strWID, 1,
                        strWID.type = WID_STR;
 
                        s8idxarray[0] = (s8)pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx;
-                       strWID.ps8WidVal = s8idxarray;
+                       strWID.val = s8idxarray;
                        strWID.size = 1;
 
                        s32Error = send_config_pkt(SET_CFG, &strWID, 1,
                } else {
                        strWID.id = (u16)WID_KEY_ID;
                        strWID.type = WID_CHAR;
-                       strWID.ps8WidVal        = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx));
+                       strWID.val = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx));
                        strWID.size = sizeof(char);
 
                        PRINT_D(HOSTINF_DBG, "Setting default key index\n");
                        strWIDList[0].id = (u16)WID_11I_MODE;
                        strWIDList[0].type = WID_CHAR;
                        strWIDList[0].size = sizeof(char);
-                       strWIDList[0].ps8WidVal = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwpaAttr.u8Ciphermode));
+                       strWIDList[0].val = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwpaAttr.u8Ciphermode));
 
                        strWIDList[1].id = (u16)WID_ADD_RX_GTK;
                        strWIDList[1].type = WID_STR;
-                       strWIDList[1].ps8WidVal = (s8 *)pu8keybuf;
+                       strWIDList[1].val = (s8 *)pu8keybuf;
                        strWIDList[1].size = RX_MIC_KEY_MSG_LEN;
 
                        s32Error = send_config_pkt(SET_CFG, strWIDList, 2,
 
                        strWID.id = (u16)WID_ADD_RX_GTK;
                        strWID.type = WID_STR;
-                       strWID.ps8WidVal        = (s8 *)pu8keybuf;
+                       strWID.val = (s8 *)pu8keybuf;
                        strWID.size = RX_MIC_KEY_MSG_LEN;
 
                        s32Error = send_config_pkt(SET_CFG, &strWID, 1,
                        strWIDList[0].id = (u16)WID_11I_MODE;
                        strWIDList[0].type = WID_CHAR;
                        strWIDList[0].size = sizeof(char);
-                       strWIDList[0].ps8WidVal = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwpaAttr.u8Ciphermode));
+                       strWIDList[0].val = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFwpaAttr.u8Ciphermode));
 
                        strWIDList[1].id = (u16)WID_ADD_PTK;
                        strWIDList[1].type = WID_STR;
-                       strWIDList[1].ps8WidVal = (s8 *)pu8keybuf;
+                       strWIDList[1].val = (s8 *)pu8keybuf;
                        strWIDList[1].size = PTK_KEY_MSG_LEN + 1;
 
                        s32Error = send_config_pkt(SET_CFG, strWIDList, 2,
 
                        strWID.id = (u16)WID_ADD_PTK;
                        strWID.type = WID_STR;
-                       strWID.ps8WidVal        = (s8 *)pu8keybuf;
+                       strWID.val = (s8 *)pu8keybuf;
                        strWID.size = PTK_KEY_MSG_LEN;
 
                        s32Error = send_config_pkt(SET_CFG, &strWID, 1,
 
                strWID.id = (u16)WID_PMKID_INFO;
                strWID.type = WID_STR;
-               strWID.ps8WidVal = (s8 *)pu8keybuf;
+               strWID.val = (s8 *)pu8keybuf;
                strWID.size = (pstrHostIFkeyAttr->uniHostIFkeyAttr.strHostIFpmkidAttr.numpmkid * PMKSA_KEY_LEN) + 1;
 
                s32Error = send_config_pkt(SET_CFG, &strWID, 1,
 
        strWID.id = (u16)WID_DISCONNECT;
        strWID.type = WID_CHAR;
-       strWID.ps8WidVal = (s8 *)&u16DummyReasonCode;
+       strWID.val = (s8 *)&u16DummyReasonCode;
        strWID.size = sizeof(char);
 
 
 
        strWID.id = (u16)WID_CURRENT_CHANNEL;
        strWID.type = WID_CHAR;
-       strWID.ps8WidVal = (s8 *)&gu8Chnl;
+       strWID.val = (s8 *)&gu8Chnl;
        strWID.size = sizeof(char);
 
        PRINT_D(HOSTINF_DBG, "Getting channel value\n");
 
        strWID.id = (u16)WID_RSSI;
        strWID.type = WID_CHAR;
-       strWID.ps8WidVal = &gs8Rssi;
+       strWID.val = &gs8Rssi;
        strWID.size = sizeof(char);
 
        /*Sending Cfg*/
 
        strWID.id = (u16)WID_LINKSPEED;
        strWID.type = WID_CHAR;
-       strWID.ps8WidVal = &gs8lnkspd;
+       strWID.val = &gs8lnkspd;
        strWID.size = sizeof(char);
        /*Sending Cfg*/
        PRINT_D(HOSTINF_DBG, "Getting LINKSPEED value\n");
        strWIDList[u32WidsCount].id = WID_LINKSPEED;
        strWIDList[u32WidsCount].type = WID_CHAR;
        strWIDList[u32WidsCount].size = sizeof(char);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&(pstrStatistics->u8LinkSpeed));
+       strWIDList[u32WidsCount].val = (s8 *)(&(pstrStatistics->u8LinkSpeed));
        u32WidsCount++;
 
        strWIDList[u32WidsCount].id = WID_RSSI;
        strWIDList[u32WidsCount].type = WID_CHAR;
        strWIDList[u32WidsCount].size = sizeof(char);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&(pstrStatistics->s8RSSI));
+       strWIDList[u32WidsCount].val = (s8 *)(&(pstrStatistics->s8RSSI));
        u32WidsCount++;
 
        strWIDList[u32WidsCount].id = WID_SUCCESS_FRAME_COUNT;
        strWIDList[u32WidsCount].type = WID_INT;
        strWIDList[u32WidsCount].size = sizeof(u32);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&(pstrStatistics->u32TxCount));
+       strWIDList[u32WidsCount].val = (s8 *)(&(pstrStatistics->u32TxCount));
        u32WidsCount++;
 
        strWIDList[u32WidsCount].id = WID_RECEIVED_FRAGMENT_COUNT;
        strWIDList[u32WidsCount].type = WID_INT;
        strWIDList[u32WidsCount].size = sizeof(u32);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&(pstrStatistics->u32RxCount));
+       strWIDList[u32WidsCount].val = (s8 *)(&(pstrStatistics->u32RxCount));
        u32WidsCount++;
 
        strWIDList[u32WidsCount].id = WID_FAILED_COUNT;
        strWIDList[u32WidsCount].type = WID_INT;
        strWIDList[u32WidsCount].size = sizeof(u32);
-       strWIDList[u32WidsCount].ps8WidVal = (s8 *)(&(pstrStatistics->u32TxFailureCount));
+       strWIDList[u32WidsCount].val = (s8 *)(&(pstrStatistics->u32TxFailureCount));
        u32WidsCount++;
 
        s32Error = send_config_pkt(GET_CFG, strWIDList, u32WidsCount,
        strWID.id = (u16)WID_SET_STA_MAC_INACTIVE_TIME;
        strWID.type = WID_STR;
        strWID.size = ETH_ALEN;
-       strWID.ps8WidVal = kmalloc(strWID.size, GFP_KERNEL);
+       strWID.val = kmalloc(strWID.size, GFP_KERNEL);
 
 
-       stamac = strWID.ps8WidVal;
+       stamac = strWID.val;
        memcpy(stamac, strHostIfStaInactiveT->mac, ETH_ALEN);
 
 
 
        strWID.id = (u16)WID_GET_INACTIVE_TIME;
        strWID.type = WID_INT;
-       strWID.ps8WidVal = (s8 *)&gu32InactiveTime;
+       strWID.val = (s8 *)&gu32InactiveTime;
        strWID.size = sizeof(u32);
 
 
        strWID.id = (u16)WID_ADD_BEACON;
        strWID.type = WID_BIN;
        strWID.size = pstrSetBeaconParam->u32HeadLen + pstrSetBeaconParam->u32TailLen + 16;
-       strWID.ps8WidVal = kmalloc(strWID.size, GFP_KERNEL);
-       if (strWID.ps8WidVal == NULL)
+       strWID.val = kmalloc(strWID.size, GFP_KERNEL);
+       if (strWID.val == NULL)
                goto ERRORHANDLER;
 
-       pu8CurrByte = strWID.ps8WidVal;
+       pu8CurrByte = strWID.val;
        *pu8CurrByte++ = (pstrSetBeaconParam->u32Interval & 0xFF);
        *pu8CurrByte++ = ((pstrSetBeaconParam->u32Interval >> 8) & 0xFF);
        *pu8CurrByte++ = ((pstrSetBeaconParam->u32Interval >> 16) & 0xFF);
                PRINT_ER("Failed to send add beacon config packet\n");
 
 ERRORHANDLER:
-       kfree(strWID.ps8WidVal);
+       kfree(strWID.val);
        kfree(pstrSetBeaconParam->pu8Head);
        kfree(pstrSetBeaconParam->pu8Tail);
 }
        strWID.id = (u16)WID_DEL_BEACON;
        strWID.type = WID_CHAR;
        strWID.size = sizeof(char);
-       strWID.ps8WidVal = &gu8DelBcn;
+       strWID.val = &gu8DelBcn;
 
-       if (strWID.ps8WidVal == NULL)
+       if (strWID.val == NULL)
                return;
 
-       pu8CurrByte = strWID.ps8WidVal;
+       pu8CurrByte = strWID.val;
 
        PRINT_D(HOSTINF_DBG, "Deleting BEACON\n");
        /* TODO: build del beacon message*/
        strWID.type = WID_BIN;
        strWID.size = WILC_ADD_STA_LENGTH + pstrStationParam->u8NumRates;
 
-       strWID.ps8WidVal = kmalloc(strWID.size, GFP_KERNEL);
-       if (strWID.ps8WidVal == NULL)
+       strWID.val = kmalloc(strWID.size, GFP_KERNEL);
+       if (strWID.val == NULL)
                goto ERRORHANDLER;
 
-       pu8CurrByte = strWID.ps8WidVal;
+       pu8CurrByte = strWID.val;
        pu8CurrByte += WILC_HostIf_PackStaParam(pu8CurrByte, pstrStationParam);
 
        /*Sending Cfg*/
 
 ERRORHANDLER:
        kfree(pstrStationParam->pu8Rates);
-       kfree(strWID.ps8WidVal);
+       kfree(strWID.val);
 }
 
 /**
 
        PRINT_D(HOSTINF_DBG, "Handling delete station\n");
 
-       strWID.ps8WidVal = kmalloc((pstrDelAllStaParam->u8Num_AssocSta * ETH_ALEN) + 1, GFP_KERNEL);
-       if (strWID.ps8WidVal == NULL)
+       strWID.val = kmalloc((pstrDelAllStaParam->u8Num_AssocSta * ETH_ALEN) + 1, GFP_KERNEL);
+       if (strWID.val == NULL)
                goto ERRORHANDLER;
 
-       pu8CurrByte = strWID.ps8WidVal;
+       pu8CurrByte = strWID.val;
 
        *(pu8CurrByte++) = pstrDelAllStaParam->u8Num_AssocSta;
 
                PRINT_ER("Failed to send add station config packet\n");
 
 ERRORHANDLER:
-       kfree(strWID.ps8WidVal);
+       kfree(strWID.val);
 
        up(&hWaitResponse);
 }
 
        PRINT_D(HOSTINF_DBG, "Handling delete station\n");
 
-       strWID.ps8WidVal = kmalloc(strWID.size, GFP_KERNEL);
-       if (strWID.ps8WidVal == NULL)
+       strWID.val = kmalloc(strWID.size, GFP_KERNEL);
+       if (strWID.val == NULL)
                goto ERRORHANDLER;
 
-       pu8CurrByte = strWID.ps8WidVal;
+       pu8CurrByte = strWID.val;
 
        memcpy(pu8CurrByte, pstrDelStaParam->au8MacAddr, ETH_ALEN);
 
                PRINT_ER("Failed to send add station config packet\n");
 
 ERRORHANDLER:
-       kfree(strWID.ps8WidVal);
+       kfree(strWID.val);
 }
 
 
        strWID.size = WILC_ADD_STA_LENGTH + pstrStationParam->u8NumRates;
 
        PRINT_D(HOSTINF_DBG, "Handling edit station\n");
-       strWID.ps8WidVal = kmalloc(strWID.size, GFP_KERNEL);
-       if (strWID.ps8WidVal == NULL)
+       strWID.val = kmalloc(strWID.size, GFP_KERNEL);
+       if (strWID.val == NULL)
                goto ERRORHANDLER;
 
-       pu8CurrByte = strWID.ps8WidVal;
+       pu8CurrByte = strWID.val;
        pu8CurrByte += WILC_HostIf_PackStaParam(pu8CurrByte, pstrStationParam);
 
        /*Sending Cfg*/
 
 ERRORHANDLER:
        kfree(pstrStationParam->pu8Rates);
-       kfree(strWID.ps8WidVal);
+       kfree(strWID.val);
 }
 
 /**
        strWID.id = (u16)WID_REMAIN_ON_CHAN;
        strWID.type = WID_STR;
        strWID.size = 2;
-       strWID.ps8WidVal = kmalloc(strWID.size, GFP_KERNEL);
+       strWID.val = kmalloc(strWID.size, GFP_KERNEL);
 
-       if (strWID.ps8WidVal == NULL) {
+       if (strWID.val == NULL) {
                s32Error = -ENOMEM;
                goto ERRORHANDLER;
        }
 
-       strWID.ps8WidVal[0] = u8remain_on_chan_flag;
-       strWID.ps8WidVal[1] = (s8)pstrHostIfRemainOnChan->u16Channel;
+       strWID.val[0] = u8remain_on_chan_flag;
+       strWID.val[1] = (s8)pstrHostIfRemainOnChan->u16Channel;
 
        /*Sending Cfg*/
        s32Error = send_config_pkt(SET_CFG, &strWID, 1,
        /*prepare configuration packet*/
        strWID.id = (u16)WID_REGISTER_FRAME;
        strWID.type = WID_STR;
-       strWID.ps8WidVal = kmalloc(sizeof(u16) + 2, GFP_KERNEL);
-       if (strWID.ps8WidVal == NULL)
+       strWID.val = kmalloc(sizeof(u16) + 2, GFP_KERNEL);
+       if (strWID.val == NULL)
                return -ENOMEM;
 
-       pu8CurrByte = strWID.ps8WidVal;
+       pu8CurrByte = strWID.val;
 
        *pu8CurrByte++ = pstrHostIfRegisterFrame->bReg;
        *pu8CurrByte++ = pstrHostIfRegisterFrame->u8Regid;
                strWID.id = (u16)WID_REMAIN_ON_CHAN;
                strWID.type = WID_STR;
                strWID.size = 2;
-               strWID.ps8WidVal = kmalloc(strWID.size, GFP_KERNEL);
+               strWID.val = kmalloc(strWID.size, GFP_KERNEL);
 
-               if (strWID.ps8WidVal == NULL)
+               if (strWID.val == NULL)
                        PRINT_ER("Failed to allocate memory\n");
 
-               strWID.ps8WidVal[0] = u8remain_on_chan_flag;
-               strWID.ps8WidVal[1] = FALSE_FRMWR_CHANNEL;
+               strWID.val[0] = u8remain_on_chan_flag;
+               strWID.val[1] = FALSE_FRMWR_CHANNEL;
 
                /*Sending Cfg*/
                s32Error = send_config_pkt(SET_CFG, &strWID, 1,
        else
                s8PowerMode = NO_POWERSAVE;
        PRINT_D(HOSTINF_DBG, "Handling power mgmt to %d\n", s8PowerMode);
-       strWID.ps8WidVal = &s8PowerMode;
+       strWID.val = &s8PowerMode;
        strWID.size = sizeof(char);
 
        PRINT_D(HOSTINF_DBG, "Handling Power Management\n");
        strWID.id = (u16)WID_SETUP_MULTICAST_FILTER;
        strWID.type = WID_BIN;
        strWID.size = sizeof(struct set_multicast) + ((strHostIfSetMulti->u32count) * ETH_ALEN);
-       strWID.ps8WidVal = kmalloc(strWID.size, GFP_KERNEL);
-       if (strWID.ps8WidVal == NULL)
+       strWID.val = kmalloc(strWID.size, GFP_KERNEL);
+       if (strWID.val == NULL)
                goto ERRORHANDLER;
 
-       pu8CurrByte = strWID.ps8WidVal;
+       pu8CurrByte = strWID.val;
        *pu8CurrByte++ = (strHostIfSetMulti->bIsEnabled & 0xFF);
        *pu8CurrByte++ = ((strHostIfSetMulti->bIsEnabled >> 8) & 0xFF);
        *pu8CurrByte++ = ((strHostIfSetMulti->bIsEnabled >> 16) & 0xFF);
                PRINT_ER("Failed to send setup multicast config packet\n");
 
 ERRORHANDLER:
-       kfree(strWID.ps8WidVal);
+       kfree(strWID.val);
 
 }
 
 
        strWID.id = (u16)WID_11E_P_ACTION_REQ;
        strWID.type = WID_STR;
-       strWID.ps8WidVal = kmalloc(BLOCK_ACK_REQ_SIZE, GFP_KERNEL);
+       strWID.val = kmalloc(BLOCK_ACK_REQ_SIZE, GFP_KERNEL);
        strWID.size = BLOCK_ACK_REQ_SIZE;
-       ptr = strWID.ps8WidVal;
+       ptr = strWID.val;
        /* *ptr++ = 0x14; */
        *ptr++ = 0x14;
        *ptr++ = 0x3;
        strWID.id = (u16)WID_11E_P_ACTION_REQ;
        strWID.type = WID_STR;
        strWID.size = 15;
-       ptr = strWID.ps8WidVal;
+       ptr = strWID.val;
        /* *ptr++ = 0x14; */
        *ptr++ = 15;
        *ptr++ = 7;
        s32Error = send_config_pkt(SET_CFG, &strWID, 1,
                                   get_id_from_handler(pstrWFIDrv));
 
-       if (strWID.ps8WidVal != NULL)
-               kfree(strWID.ps8WidVal);
+       if (strWID.val != NULL)
+               kfree(strWID.val);
 
        return s32Error;
 
 
        strWID.id = (u16)WID_DEL_ALL_RX_BA;
        strWID.type = WID_STR;
-       strWID.ps8WidVal = kmalloc(BLOCK_ACK_REQ_SIZE, GFP_KERNEL);
+       strWID.val = kmalloc(BLOCK_ACK_REQ_SIZE, GFP_KERNEL);
        strWID.size = BLOCK_ACK_REQ_SIZE;
-       ptr = strWID.ps8WidVal;
+       ptr = strWID.val;
        *ptr++ = 0x14;
        *ptr++ = 0x3;
        *ptr++ = 0x2;
                PRINT_D(HOSTINF_DBG, "Couldn't delete BA Session\n");
 
 
-       if (strWID.ps8WidVal != NULL)
-               kfree(strWID.ps8WidVal);
+       if (strWID.val != NULL)
+               kfree(strWID.val);
 
        up(&hWaitResponse);
 
 
        strWID.id = (u16)WID_REMOVE_KEY;
        strWID.type = WID_STR;
-       strWID.ps8WidVal        = (s8 *)pu8StaAddress;
+       strWID.val = (s8 *)pu8StaAddress;
        strWID.size = 6;
 
        return 0;
        strWID.id = (u16)WID_PMKID_INFO;
        strWID.type = WID_STR;
        strWID.size = u32PmkidInfoLen;
-       strWID.ps8WidVal = pu8PmkidInfoArray;
+       strWID.val = pu8PmkidInfoArray;
 
        return 0;
 }
        if ((u8Psklength > 7) && (u8Psklength < 65)) {
                strWID.id = (u16)WID_11I_PSK;
                strWID.type = WID_STR;
-               strWID.ps8WidVal        = pu8PassPhrase;
+               strWID.val = pu8PassPhrase;
                strWID.size = u8Psklength;
        }
 
        strWID.id = (u16)WID_11I_PSK;
        strWID.type = WID_STR;
        strWID.size = u8Psklength;
-       strWID.ps8WidVal        = pu8PassPhrase;
+       strWID.val = pu8PassPhrase;
 
        return 0;
 }
 
        strWID.id = (u16)WID_START_SCAN_REQ;
        strWID.type = WID_CHAR;
-       strWID.ps8WidVal = (s8 *)&scanSource;
+       strWID.val = (s8 *)&scanSource;
        strWID.size = sizeof(char);
 
        return 0;
 
        strWID.id = (u16)WID_START_SCAN_REQ;
        strWID.type = WID_CHAR;
-       strWID.ps8WidVal = (s8 *)pu8ScanSource;
+       strWID.val = (s8 *)pu8ScanSource;
        strWID.size = sizeof(char);
 
        return 0;
 
        strWID.id = (u16)WID_DISCONNECT;
        strWID.type = WID_CHAR;
-       strWID.ps8WidVal = (s8 *)&assoc_id;
+       strWID.val = (s8 *)&assoc_id;
        strWID.size = sizeof(char);
 
        return 0;
 
        strWID.id = (u16)WID_ASSOC_REQ_INFO;
        strWID.type = WID_STR;
-       strWID.ps8WidVal = pu8AssocReqInfo;
+       strWID.val = pu8AssocReqInfo;
        strWID.size = u32AssocReqInfoLen;
 
        return 0;
 
        strWID.id = (u16)WID_ASSOC_RES_INFO;
        strWID.type = WID_STR;
-       strWID.ps8WidVal = pu8AssocRespInfo;
+       strWID.val = pu8AssocRespInfo;
        strWID.size = u32MaxAssocRespInfoLen;
 
 
 
        strWID.id = (u16)WID_RX_POWER_LEVEL;
        strWID.type = WID_STR;
-       strWID.ps8WidVal = pu8RxPowerLevel;
+       strWID.val = pu8RxPowerLevel;
        strWID.size = u32RxPowerLevelLen;
 
        return 0;
 
        strWID.id = (u16)WID_MEMORY_ADDRESS;
        strWID.type = WID_INT;
-       strWID.ps8WidVal = (s8 *)pu32TestMemAddr;
+       strWID.val = (s8 *)pu32TestMemAddr;
        strWID.size = sizeof(u32);
 
        s32Error = send_config_pkt(GET_CFG, &strWID, 1,