-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General 802.15.4/CC2538 RF driver dislikes fast ACKs #7304
Comments
Quick notice: the same happened to me on the AT86RF2XX where I tried to send packages as fast as possible which resulted in missing Interrupts and strange behaviours. |
Thanks for the feedback, so it looke like a more general issue. I am currently on the 2017.04 Release (as additional information). |
FYI: the cc2538 does not handle ACKs, they are currently filtered out - cause the device cannot handle them, which has to be done in a software MAC layer. In general, you get strange behaviour when sending either to fast, i.e., lots of small packets or large packets that get fragmented by 6LoWPAN for instance. |
It looks like the cc2538 is able to do hardware acks - or am I mistaken? I don't have much experience on that field but Contiki and OpenThread are simply setting the |
IIRC that's the case in RIOT as well, if a frame with ACK flag set is received the cc2538 sends an ACK back. The problem is rather the other way around, when the cc2538 sends a frame with ACK flags set and the receiver sends an ACK back, the cc2538 does not have any routines to handle the ACK internally but would pass it up to the (software) driver, that is RIOT. Currently, there is no software MAC for the cc2538 enabled that would handle such ACKs. Please also see #5869 and reference discussion in their for further information on this. |
Ah thanks, for the heads up. Now I'm getting it and it makes sense though. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
IMO this is still present so I'm reopening it. @jia200x I'm mentioning you just so you're aware of this. |
Given #7304 (comment) this might be related to #11256. |
@miri64 I would be happy to run some tests on this! |
waits several month with reply @roberthartung That would be great! |
ping? |
Could have been solved with the move to 802.15.4 HAL. However, this should be tested. @jia200x maybe? |
this is definitely not present anymore, as we have performed severe stress tests and never saw an issue like that. |
Hey,
I'm using two CC2538DK, one with the gnrc_border_router fw and another with my own. However as soon as I configure both with the AUTOACK and ACK_REQ options I get problems when I am sending packets fast.
E.g. when I send two packets immediately from the client to the router, the router/slip only sends one ACK for the second packet.
Has anyone tested that?
The text was updated successfully, but these errors were encountered: