VOID AndesRxProcessCmdMsg(RTMP_ADAPTER *ad, struct cmd_msg *rx_msg) { #ifdef MT_MAC RX_BLK RxBlk; if (ad->chipCap.hif_type == HIF_MT) { parse_rx_packet_type(ad, &RxBlk, rx_msg->net_pkt); } #endif /* MT_MAC */ #ifdef RLT_MAC if (ad->chipCap.hif_type == HIF_RLT) { AndesRltRxProcessCmdMsg(ad, rx_msg); } #endif /* RLT_MAC */ }
VOID AndesRxProcessCmdMsg(RTMP_ADAPTER *ad, struct cmd_msg *rx_msg) { UINT32 rx_hw_hdr_len = 0; #ifdef MT_MAC if (ad->chipCap.hif_type == HIF_MT) { rx_hw_hdr_len = parse_rx_packet_type(ad, NULL, rx_msg->net_pkt); } #endif /* MT_MAC */ #ifdef RLT_MAC if (ad->chipCap.hif_type == HIF_RLT) { AndesRltRxProcessCmdMsg(ad, rx_msg); } #endif /* RLT_MAC */ }