On Wed, Jan 18, 2017 at 09:57:15AM +0100, Tomasz Bursztyka wrote:Good to know. Does it behave like that because it can do some/all of the<snip>For example, if the hardware can automatically perform CCA before the TXNo. L2 has to call that, unless hw can perform part or all of the radio
CSMA job directly?
For now I'd say disable auto-CCA in driver by default, then.
Basically manual CCA is meant for the fully soft-CSMA radio strategy,
as it is right now.
If only auto-cca does not mess up with the manual one, then keep it enabled.
But soon, we'll have to figure out a way to hand-over CSMA parts to
relevant hw that can
Hum, MAC and L2 in our case is the same. What I call L2 here isWhat if the MAC needs full control over L2 retransmissions (e.g. in a TDMA- IEEE802154_HW_FRAME_RETRIESUp to the driver to handle it. L2 does not have to care about it.
ieee802.15.4 soft-MAC L2 stack.
Anyway, TDMA is not part of IEEE 802.15.4 <= 2011, so we can put it aside.
TSCH is for IEEE 802.15.4 >= 2012. So at this point we can put it aside.Same as above. For some MAC protocols (e.g. IEEE 802.15.4 TSCH mode) this isIn addition, I would insert following flags:Always enable it if the hw supports it.
Or is your point only about setting these capabilities at runtime? Is it stillWe had autoack, and crc and all being disabled at compile time for a
while. But at this stage
it was just useless, so it got removed.