Skip to content
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

cc2538: disable l2 ack recv irq #5869

Merged
merged 1 commit into from Sep 27, 2016

Conversation

smlng
Copy link
Member

@smlng smlng commented Sep 27, 2016

This disables a filtering option that otherwise raises an recv IRQ when any layer 2 ACK is received, even if it does not match any pending ACK of the node iftself. This leads to a kernel panic caused by a failed assertion, as described in #5840 and further discussed in #5786.

@smlng smlng added Area: network Area: Networking Impact: major The PR changes a significant part of the code base. It should be reviewed carefully Area: drivers Area: Device drivers labels Sep 27, 2016
@smlng smlng added this to the Release 2016.10 milestone Sep 27, 2016
@smlng
Copy link
Member Author

smlng commented Sep 27, 2016

Btw. see datasheet page 716

@cgundogan
Copy link
Member

cgundogan commented Sep 27, 2016

In the long run we should adjust the recv() function to handle ACKs proprly in order to allow some sort of monitor mode (for wireshark sniffing etc.). But I am fine with disabling the ACK reception interrupt for now. Will test later at @ Hack'N'ACK

@cgundogan cgundogan added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Sep 27, 2016
Copy link
Member

@PeterKietzmann PeterKietzmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked the manual and tested if it fixes the bug described in #5840 (crash after receiving an external ACK frame). Additionally tested ICMPv6 and UDP traffic between a remote-reva and a samr21-xpro. Everything with success. ACK

@PeterKietzmann PeterKietzmann added the Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) label Sep 27, 2016
@PeterKietzmann PeterKietzmann merged commit bf6d700 into RIOT-OS:master Sep 27, 2016
@alignan
Copy link
Contributor

alignan commented Sep 27, 2016

That was fast! I was about to test :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: drivers Area: Device drivers Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Impact: major The PR changes a significant part of the code base. It should be reviewed carefully Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants