<?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>802.15.4 problem with encryption and promiscuous mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32052/802-15-4-problem-with-encryption-and-promiscuous-mode</link><description>I have a problem with the 802.15.4 software part of my nRF52840 PDK. I wanted to replace our current 802.15.4 hardware parts from TI with the new nRF52840, due to the lack of support and missing gcc compatibility. 
 Therefore I tried to implement a working</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Mar 2018 11:09:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32052/802-15-4-problem-with-encryption-and-promiscuous-mode" /><item><title>RE: 802.15.4 problem with encryption and promiscuous mode</title><link>https://devzone.nordicsemi.com/thread/125137?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 11:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e253825-e836-4b6c-b7eb-cace0324bafe</guid><dc:creator>kapi</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Here is the information you asked for. I hope you find it helpful.&lt;br /&gt;&lt;br /&gt;Source and destination addresses cannot be populated (set to 0x00) when operating in promiscuous mode. According to the 802.15.4-2006 specification:&lt;br /&gt;&lt;br /&gt;&amp;quot;When in promiscuous mode, the MAC sublayer shall process received frames according to 7.5.6.2 and pass&lt;br /&gt;all frames correctly received to the next higher layer using the MCPS-DATA.indication primitive. The&lt;br /&gt;source and destination addressing mode parameters shall each be set to 0x00, the MSDU parameter shall&lt;br /&gt;contain the MHR concatenated with the MAC payload (see Figure 41), and the msduLength parameter shall&lt;br /&gt;contain the total number of octets in the MHR concatenated with the MAC payload. The mpduLinkQuality&lt;br /&gt;shall be valid.&amp;quot;&lt;br /&gt;&lt;br /&gt;And another fragment from the specification:&lt;br /&gt;&amp;quot;In promiscuous mode, the MAC sublayer shall pass all frames received after the first&lt;br /&gt;filter directly to the upper layers without applying any more filtering or processing.&amp;quot;&lt;br /&gt;&lt;br /&gt;FYI, the first filter just checks if CRC (FCS field, present in MAC frame) is correct. That&amp;#39;s why, in the promiscuous mode, you get raw messages without any field parsing. In this case you can ignore most of the fields that you receive in the indication (exceptions: msdu, link_quality, timestamp).&lt;br /&gt;&lt;br /&gt;Since there is little interpretation of incoming frame in promiscuous mode at MAC layer level, the msdu payload is not decrypted by the stack.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>