<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>IEEE802.15.4: received frames without destination address aren&amp;#39;t acked since zephyr v2.7.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81435/ieee802-15-4-received-frames-without-destination-address-aren-t-acked-since-zephyr-v2-7-0</link><description>Hello, 
 we developed a proprietary protocol on top of IEEE 802.15.4 user zephyr on a nRF52833. Everything was fine with hal_nordic on commit 74b3b21f60aa3dc9a4364ffc28dbb47ad8b699a9. After updating to zephyr v2.7.0 the radio doesn&amp;#39;t ack frames without</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Dec 2021 09:57:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81435/ieee802-15-4-received-frames-without-destination-address-aren-t-acked-since-zephyr-v2-7-0" /><item><title>RE: IEEE802.15.4: received frames without destination address aren't acked since zephyr v2.7.0</title><link>https://devzone.nordicsemi.com/thread/344537?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 09:57:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05ecc0fa-6bfa-4763-9833-82c228595a36</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For information regarding roadmap, please contact our regional sales manager in your area. If you do not know who that is or do not have their contact information, please let me know and I can send it to you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IEEE802.15.4: received frames without destination address aren't acked since zephyr v2.7.0</title><link>https://devzone.nordicsemi.com/thread/344420?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 15:37:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5053930d-c85d-491f-874e-737397c2f489</guid><dc:creator>MeisterBob</dc:creator><description>&lt;p&gt;I was busy in an other project, now I&amp;#39;m back into 802.15.4 things.&lt;/p&gt;
&lt;p&gt;According to the IEEE standard it&amp;#39;s absolutely valid to have frames without destination address, so the frame should pass the filter. But it doesn&amp;#39;t because in&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/blob/master/drivers/nrf_802154/driver/src/mac_features/nrf_802154_filter.c#L415"&gt;https://github.com/zephyrproject-rtos/hal_nordic/blob/master/drivers/nrf_802154/driver/src/mac_features/nrf_802154_filter.c#L415&lt;/a&gt;&amp;nbsp;it is discard. Even the comment a few lines below mentions that it should let frames without destination address pass the filter (under the right conditions).&amp;nbsp;This bug is already fixed in&amp;nbsp;the nRF Connect SDK (&lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/main/nrf_802154/driver/src/mac_features/nrf_802154_filter.c#L415"&gt;https://github.com/nrfconnect/sdk-nrfxlib/blob/main/nrf_802154/driver/src/mac_features/nrf_802154_filter.c#L415&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;When can we expect an update of the radio driver in zephyrs hal_nordic?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IEEE802.15.4: received frames without destination address aren't acked since zephyr v2.7.0</title><link>https://devzone.nordicsemi.com/thread/338090?ContentTypeID=1</link><pubDate>Tue, 09 Nov 2021 09:45:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3f829c9-3334-465e-8653-eb2151677bc2</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="MeisterBob"]num_data_bytes gets changed in&amp;nbsp;dst_addressing_end_offset_get() -&amp;gt;&amp;nbsp;dst_addressing_end_offset_get_2006() from 3 to&amp;nbsp;PANID_CHECK_OFFSET (6) and so m_flags.frame_filtered isn&amp;#39;t set to true.[/quote]
&lt;p&gt;This is expected behavior. Since the frame does not have any destination address, it will not pass all the steps of the filtering procedure:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;2. When destination address fields (PAN ID and address) are present and received (second BCMATCH event), the driver checks if the frame is destined to this node (broadcast or unicast).&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;As mentioned earlier, in order for the MAC layer to automatically send ACK frames, the frame must pass all filter steps. However, the driver will notify the higher layer that it received a frame regardless of destination address in promiscuous mode. In this case, the next higher layer should send the ack.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IEEE802.15.4: received frames without destination address aren't acked since zephyr v2.7.0</title><link>https://devzone.nordicsemi.com/thread/337929?ContentTypeID=1</link><pubDate>Mon, 08 Nov 2021 13:29:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fabd901c-99ae-4dd5-a08c-7bb95434c2f0</guid><dc:creator>MeisterBob</dc:creator><description>&lt;p&gt;The frame I&amp;#39;m trying to ack looks like this:&lt;/p&gt;
&lt;p&gt;23 d0 6c cd ab 20 00 00 2f da c2 50 00 00 88 ef&amp;nbsp;be 00 80&lt;/p&gt;
&lt;p&gt;2 bytes fcf (Command Frame, ACK Requested, Version 2006, Long Src Address)&lt;br /&gt;1 byte sequence number&lt;br /&gt;2 bytes PAN id (0xABCD)&lt;br /&gt;8 bytes src address (00:50:c2:da:2f:00:00:20)&lt;br /&gt;1 byte command identifier (0x00)&lt;br /&gt;5 bytes payload&lt;/p&gt;
&lt;p&gt;in&amp;nbsp;&lt;span&gt;nrf_802154_trx_receive_frame_bcmatched&lt;/span&gt;&lt;span&gt;() the&amp;nbsp;filter_result after&amp;nbsp;&lt;/span&gt;nrf_802154_filter_frame_part() is&amp;nbsp; NRF_802154_RX_ERROR_NONE but&amp;nbsp; num_data_bytes gets changed in&amp;nbsp;dst_addressing_end_offset_get() -&amp;gt;&amp;nbsp;dst_addressing_end_offset_get_2006() from 3 to&amp;nbsp;PANID_CHECK_OFFSET (6) and so m_flags.frame_filtered isn&amp;#39;t set to true.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IEEE802.15.4: received frames without destination address aren't acked since zephyr v2.7.0</title><link>https://devzone.nordicsemi.com/thread/337900?ContentTypeID=1</link><pubDate>Mon, 08 Nov 2021 12:04:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c360029e-f293-4734-a327-db365e3d07e1</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Does the frame pass the filter? In order to send ACK, the received frame must pass the steps of the filtering procedure (see&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.1/nrfxlib/nrf_802154/doc/feature_description.html#receiving-and-filtering-frames"&gt;Receiving and filtering frames&lt;/a&gt;), even if you have enabled promiscuous mode. When using promiscuous mode, the frame can pass only step 3 and the frame will still be reported to the MAC layer. However, the driver will not automatically transmit an ACK if any of the steps fail.&lt;/p&gt;
&lt;p&gt;The source code of the 802.15.4 Radio Driver, as well as documentation, was added to nRF Connect SDK in v1.6.0. You can now find the source code in &amp;lt;ncs_root&amp;gt;/nrfxlib/nrf_802154 now, and&amp;nbsp;the documentation and API can be found here:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.1/nrfxlib/nrf_802154/README.html"&gt;nRF 802.15.4 Radio Driver&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.1/nrfxlib/nrf_802154/doc/api.html"&gt;nRF 802.15.4 Radio Driver » API documentation&lt;/a&gt;.&lt;/p&gt;
[quote user=""]Everything was fine with&amp;nbsp;hal_nordic on commit&amp;nbsp;74b3b21f60aa3dc9a4364ffc28dbb47ad8b699a9. After updating to zephyr v2.7.0 the radio doesn&amp;#39;t ack frames without destination address.[/quote]
&lt;p&gt;You can find the changelog for the nRF5 802.15.4 Radio Driver&amp;nbsp;in our documentation, see&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.1/nrfxlib/nrf_802154/doc/CHANGELOG.html"&gt;nRF 802.15.4 Radio Driver » Changelog&lt;/a&gt;. The latest version of the nRF Connect SDK use Zephyr v2.6.99, so there might be changes in Zephyr v2.7.0 that are not in the latest version of nRF Connect SDK yet.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IEEE802.15.4: received frames without destination address aren't acked since zephyr v2.7.0</title><link>https://devzone.nordicsemi.com/thread/337716?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 13:49:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:362ee18d-fbda-40e1-82da-09856266c883</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have started looking into your issue, and I will come back to you at the beginning of next week.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>