return ret;
 }
 
-static void process_c2h_event(struct adapter *padapter, struct C2H_EVT_HDR *pC2hEvent, u8 *c2hBuf)
+static void process_c2h_event(struct adapter *padapter, struct c2h_evt_hdr_t *pC2hEvent, u8 *c2hBuf)
 {
        u8 index = 0;
 
 
 void C2HPacketHandler_8723B(struct adapter *padapter, u8 *pbuffer, u16 length)
 {
-       struct C2H_EVT_HDR      C2hEvent;
+       struct c2h_evt_hdr_t    C2hEvent;
        u8 *tmpBuf = NULL;
        C2hEvent.CmdID = pbuffer[0];
        C2hEvent.CmdSeq = pbuffer[1];
 
                                                RT_TRACE(_module_rtl871x_recv_c_, _drv_dump_, ("%s: rtw_recv_entry(precvframe) != _SUCCESS\n", __func__));
                                        }
                                } else if (pattrib->pkt_rpt_type == C2H_PACKET) {
-                                       struct C2H_EVT_HDR      C2hEvent;
+                                       struct c2h_evt_hdr_t    C2hEvent;
 
                                        u16 len_c2h = pattrib->pkt_len;
                                        u8 *pbuf_c2h = precvframe->u.hdr.rx_data;
 
 /* Description: Determine the types of C2H events that are the same in driver
  * and FW; First constructed by tynli. 2009.10.09.
  */
-enum C2H_EVT {
+enum c2h_evt {
        C2H_DBG = 0,
        C2H_TSF = 1,
        C2H_AP_RPT_RSP = 2,
        MAX_C2HEVENT
 };
 
-struct C2H_EVT_HDR {
+struct c2h_evt_hdr_t {
        u8 CmdID;
        u8 CmdLen;
        u8 CmdSeq;
 } __attribute__((__packed__));
 
-enum PACKAGE_TYPE_E { /* tag_Package_Definition */
+enum package_type_e { /* tag_Package_Definition */
        PACKAGE_DEFAULT,
        PACKAGE_QFN68,
        PACKAGE_TFBGA90,