-
Notifications
You must be signed in to change notification settings - Fork 2.1k
kw2xrf: CSMA support missing in driver #10364
Copy link
Copy link
Open
Labels
Area: driversArea: Device driversArea: Device driversArea: networkArea: NetworkingArea: NetworkingCommunity: help wantedThe contributors require help from other members of the communityThe contributors require help from other members of the communityPlatform: ARMPlatform: This PR/issue effects ARM-based platformsPlatform: This PR/issue effects ARM-based platformsState: don't staleState: Tell state-bot to ignore this issueState: Tell state-bot to ignore this issueType: new featureThe issue requests / The PR implemements a new feature for RIOTThe issue requests / The PR implemements a new feature for RIOT
Metadata
Metadata
Assignees
Labels
Area: driversArea: Device driversArea: Device driversArea: networkArea: NetworkingArea: NetworkingCommunity: help wantedThe contributors require help from other members of the communityThe contributors require help from other members of the communityPlatform: ARMPlatform: This PR/issue effects ARM-based platformsPlatform: This PR/issue effects ARM-based platformsState: don't staleState: Tell state-bot to ignore this issueState: Tell state-bot to ignore this issueType: new featureThe issue requests / The PR implemements a new feature for RIOTThe issue requests / The PR implemements a new feature for RIOT
Originally posted by @PeterKietzmann in #10355
The kw2xrf driver does not support NETOPT_CSMA, but it does support NETOPT_AUTOCCA instead (and is currently the only driver which supports that flag)
The kw41z radio also does not support CSMA in hardware but only automatic CCA before TX (i.e. no automatic backoff and retry). The kw41zrf driver (#7107) implements CSMA exponential backoff and retry in software but utilizing the autocca hardware support. The same method could be used in the kw2xrf driver.
Whether the implementations can be shared between the two drivers or if it is better to reimplement the same behavior is left as an exercise to the reader.