wifi: put WIFI_RXQueuePacket under EXPERIMENTAL_WIFI_COMM
This commit is contained in:
parent
35bde51221
commit
4134d2556b
|
@ -792,6 +792,7 @@ static void WIFI_RXPutWord(u16 val)
|
||||||
wifiMac.RXTXAddr = wifiMac.RXWriteCursor;
|
wifiMac.RXTXAddr = wifiMac.RXWriteCursor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef EXPERIMENTAL_WIFI_COMM
|
||||||
static void WIFI_RXQueuePacket(u8* packet, u32 len)
|
static void WIFI_RXQueuePacket(u8* packet, u32 len)
|
||||||
{
|
{
|
||||||
if (!(wifiMac.RXCnt & 0x8000)) return;
|
if (!(wifiMac.RXCnt & 0x8000)) return;
|
||||||
|
@ -803,6 +804,7 @@ static void WIFI_RXQueuePacket(u8* packet, u32 len)
|
||||||
pkt.NotStarted = true;
|
pkt.NotStarted = true;
|
||||||
wifiMac.RXPacketQueue.push(pkt);
|
wifiMac.RXPacketQueue.push(pkt);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
template<int stat> static void WIFI_IncrementRXStat()
|
template<int stat> static void WIFI_IncrementRXStat()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue