int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk,
                     u8 ptk_key_len, const u8 *mac_addr,
                     const u8 *rx_mic, const u8 *tx_mic,
-                    u8 mode, u8 cipher_mode, u8 u8Idx)
+                    u8 mode, u8 cipher_mode, u8 index)
 {
        int result = 0;
        struct host_if_msg msg;
        msg.body.key_info.type = WPA_PTK;
        if (mode == AP_MODE) {
                msg.body.key_info.action = ADDKEY_AP;
-               msg.body.key_info.attr.wpa.index = u8Idx;
+               msg.body.key_info.attr.wpa.index = index;
        }
        if (mode == STATION_MODE)
                msg.body.key_info.action = ADDKEY;
 
 int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk,
                     u8 ptk_key_len, const u8 *mac_addr,
                     const u8 *rx_mic, const u8 *tx_mic,
-                    u8 mode, u8 cipher_mode, u8 u8Idx);
+                    u8 mode, u8 cipher_mode, u8 index);
 s32 host_int_get_inactive_time(struct host_if_drv *hWFIDrv, const u8 *mac,
                               u32 *pu32InactiveTime);
 s32 host_int_add_rx_gtk(struct host_if_drv *hWFIDrv, const u8 *pu8RxGtk,