static bool rtl_phydm_c2h_content_parsing(struct rtl_priv *rtlpriv, u8 cmd_id, u8 cmd_len, u8 *content) { struct phy_dm_struct *dm = rtlpriv_to_phydm(rtlpriv); if (phydm_c2H_content_parsing(dm, cmd_id, cmd_len, content)) return true; return false; }
VOID _C2HContentParsing8881A( struct rtl8192cd_priv *priv, u1Byte c2hCmdId, u1Byte c2hCmdLen, pu1Byte tmpBuf ) { switch(c2hCmdId) { case C2H_8881A_TX_RATE: #ifdef TXREPORT C2HTxTxReportHandler_8881A(priv, tmpBuf, c2hCmdLen); #ifdef TXRETRY_CNT requestTxRetry88XX(priv); #else requestTxReport88XX(priv); #endif #endif break; #ifdef TXRETRY_CNT case C2H_8881A_TX_RETRY: C2HTxTxRetryHandler(priv, tmpBuf); requestTxReport88XX(priv); break; #endif default: if(!(phydm_c2H_content_parsing(ODMPTR, c2hCmdId, c2hCmdLen, tmpBuf))) { printk("[C2H], Unkown packet!! CmdId(%#X)!\n", c2hCmdId); } break; } }