Synchronous function to transmit a WIFI RAW packet while the implementation of this packet is left to the application developer.
Functions | |
NMI_API sint8 | m2m_wifi_send_wlan_pkt (uint8 *pu8WlanPacket, uint16 u16WlanHeaderLength, uint16 u16WlanPktSize) |
NMI_API sint8 m2m_wifi_send_wlan_pkt | ( | uint8 * | pu8WlanPacket, |
uint16 | u16WlanHeaderLength, | ||
uint16 | u16WlanPktSize | ||
) |
[in] | pu8WlanPacket | Pointer to a buffer holding the whole WIFI frame. |
[in] | u16WlanHeaderLength | The size of the WIFI packet header ONLY. |
[in] | u16WlanPktSize | The size of the whole bytes in packet. |
References hif_send(), M2M_REQ_DATA_PKT, M2M_REQ_GRP_WIFI, M2M_WIFI_REQ_SEND_WIFI_PACKET, NM_BSP_B_L_16, NULL, tstrM2MWifiTxPacketInfo::u16HeaderLength, and tstrM2MWifiTxPacketInfo::u16PacketSize.
Referenced by os_m2m_wifi_send_wlan_pkt_imp().