Skip to content

drivers/kw2xrf: finish ongoing transmission before sending next frame#8304

Merged
miri64 merged 1 commit intoRIOT-OS:masterfrom
PeterKietzmann:pr_drivers_kw2x_txbusy
Jan 9, 2018
Merged

drivers/kw2xrf: finish ongoing transmission before sending next frame#8304
miri64 merged 1 commit intoRIOT-OS:masterfrom
PeterKietzmann:pr_drivers_kw2x_txbusy

Conversation

@PeterKietzmann
Copy link
Copy Markdown
Member

Contribution description

As described in below referenced issues, the KW2XRF driver currently does not wait for ongoing transmissions to finish before sending a next frame. If the device is busy, the second frame will simply be ignored. Problems usually occur with 6LoWPAN-fragmented IPv6 packets. This PR provides a fix. Now ping6 between a Phytec node an Atmel node with payloads up to 900.

@gebart I added you as author because this is actually your solution from #7107. D'accord?

Issues/PRs references

(Partly) fixes #4822; relates to #7474; fix taken from #7107

@PeterKietzmann PeterKietzmann added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Area: drivers Area: Device drivers CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Dec 20, 2017
@PeterKietzmann PeterKietzmann added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Dec 20, 2017
@jnohlgard jnohlgard self-assigned this Dec 20, 2017
@jnohlgard
Copy link
Copy Markdown
Member

I can't test on actual hardware because I don't have a phytec board, but I will do a review

@smlng smlng self-assigned this Dec 21, 2017
@smlng smlng added this to the Release 2018.01 milestone Dec 21, 2017
@smlng
Copy link
Copy Markdown
Member

smlng commented Dec 21, 2017

tested with 2 PhyNodes: works like charm. Even with remote-rev there is an improvement, but cannot get beyond 90B pings -> buts a problem with the remotes.

Copy link
Copy Markdown
Member

@smlng smlng left a comment

Choose a reason for hiding this comment

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

tested ACK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: drivers Area: Device drivers CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

kw2xrf: packet loss when packets get fragmented

4 participants