ieee802154/hal: adapt to latest changes of #13943#16946
Conversation
|
needs a rebase 😉 |
23789e9 to
0f19998
Compare
|
done! |
benpicco
left a comment
There was a problem hiding this comment.
Looks good, but Murdock is not happy
|
ping? |
|
addressed all comments |
|
Murdock still has some comments |
|
fixed it. 43e40f0 was wrong |
|
Murdock is still not happy |
|
ping @jia200x |
|
it should work now |
|
oh... I totally forgot the OpenWSN functions :/... I need to update that first |
|
@fjmolinas I updated the HAL port of OpenWSN. Could you please check if it still works as expected? |
|
looks like |
yup... luckily only an arrange of functions :) |
a40c888 to
01dad92
Compare
|
@benpicco I adapted Any idea? |
|
This is what fails. Looks like the HAL does not send packets with an empty payload. The RX test appears to fail because the address does not match anymore. Unfortunately the test is not run by CI because Murdock does not support IPv6, so it was not discovered earlier. This should be fixed with this patchThen specify the expected MAC address with |
|
Please squash, the test should be fixed now. |
Hmmm the HAL documentation states that the frame is a valid PSDU (full MAC frame). I'm not sure if an empty PSDU is a valid frame, but what I find strange is that the implementation should have (accidentally) handled that. |
|
squashed! |
01dad92 to
874a13e
Compare
|
awesome! thank you for the review! |
Contribution description
This PR implements the latest proposals of the Radio HAL described in #13943 (comment).
request_opandconfirm_opmechanism in order to simplify the TX logicxxx_transmitare not needed anymoreThis changes make drivers easier to implemented and provide extra guarantees to both the driver and upper layer. I tested this one with the ongoing port of OpenDSME and it seems to be compatible.
Testing procedure
A stress ping test would be optimal. Also, make sure
tests/ieee802154_halwork as expected.Here are some stress ping results:
cc2538_rf:
nrf802154:
Issues/PRs references
#13943
Although on-going Radio HAL PRs (e.g #16535 or #13943 would require a minor API change, this change should be straightforward.
Depends on #16821