lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] lwip_write() eventually blocks


From: alhadpalkar
Subject: Re: [lwip-users] lwip_write() eventually blocks
Date: Wed, 18 Nov 2015 16:12:52 -0700 (MST)

we eventually figured out what the problem was. our low_level_output()
function which is passed a pbuf by lwip was adding a vendor header to each
pbuf in the chain instead of combining all the pbufs in the chain first.
this was causing the wireless chip to send malformed packets whenever there
were 2 or more pbufs in the chain. when this happened on a retransmission
the LWIP stack got stuck in an infinite loop of sending out malformed data,
and was never able to proceed beyond that point. 

fixing the output() function to combine the data first fixes the problem

Thanks,
Alhad



--
View this message in context: 
http://lwip.100.n7.nabble.com/lwip-write-eventually-blocks-tp25368p25386.html
Sent from the lwip-users mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]