-
Notifications
You must be signed in to change notification settings - Fork 2.1k
kw2xrf: CSMA support missing in driver #10364
Description
Originally posted by @PeterKietzmann in #10355
Well, we're all short in time but we (HAW Hamburg) have certain interest in that radio so it might be us to do the follow-up. @gebart, @bergzand could you please open a feature request issue?
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.