-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cherrypick fixes for ACK header IE related bugs #1470
Cherrypick fixes for ACK header IE related bugs #1470
Conversation
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
9822ed9
to
6f4be47
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that the commit message of the revert refers to maciejbaczmanski@1da00e0 instead of 1da00e0. Please correct it to keep a valid reference to the commit in the future.
Other than that - lovely 👍
that's weird because commit message does not contain any remote references: |
…IE config" This reverts commit nrfconnect@1da00e0 Signed-off-by: Maciej Baczmanski <[email protected]>
- In `set_vendor_ie_header_lm`, case when `link_metrics_data_len == 0` has been ignored. This commit fixes that by setting `header_ie->length = 0` before returning. - current implementation of enh ACK header IE returns `-ENOTSUP` when `ack_ie.header_ie == NULL` or `ack_ie.header_ie->length == 0`. This commit fixes that by refactoring checks in `nrf5_configure`. Co-authored-by: Przemyslaw Bida <[email protected]> Signed-off-by: Maciej Baczmanski <[email protected]> (cherry picked from commit d76bcd3)
…4_config` `struct ieee802154_config config` is a struct containing an union. Members of `config` were accessed incorrectly in `otPlatRadioEnableCsl`. Fix by initializing `config` with `0` and accessing one member at a time. Signed-off-by: Maciej Baczmanski <[email protected]> (cherry picked from commit 36b7f44)
additionaly, implement `otPlatRadioResetCsl` functionality Signed-off-by: Maciej Baczmanski <[email protected]> (cherry picked from commit 0f1747e)
6f4be47
to
104e695
Compare
Revert hotfix from PR: #1441
Fix bugs in current implementation of ieee802154 driver:
set_vendor_ie_header_lm
, case whenlink_metrics_data_len == 0
has been ignored. Fixed by refactoring the code again.-ENOTSUP
returned). Fixed by implementingotPlatRadioResetCsl
in upstream OpenThread and addingclear_ie
flag.-ENOTSUP
whenack_ie.header_ie == NULL
(set when csl period set to 0 inotPlatRadioEnableCsl
), becauseieee802154_header_ie_get_element_id
accessedNULL
pointer.struct ieee802154_config config
is a struct containing an union. Members ofconfig
were accessed incorrectly inotPlatRadioEnableCsl
. Fixed by initializingconfig
with0
and accessing one member at a time.Cherry-picked from: