<?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>The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124001/the-client-does-not-enter-sleep-mode-as-expected</link><description>We are using the Nordic Semiconductor nRF7002-DK . In this board, both PS-Poll and No-PS-Poll power-saving modes are working as expected. However, when running in TWT (Target Wake Time) power mode using the following command:- wifi twt setup 0 0 2 2 0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Nov 2025 11:56:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124001/the-client-does-not-enter-sleep-mode-as-expected" /><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/553291?ContentTypeID=1</link><pubDate>Tue, 04 Nov 2025 11:56:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36bd9242-ec08-4345-a18b-e0d1c81588d6</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you also follow:&lt;/p&gt;
[quote user="Marte.M"]If you get any errors, you might have to increase&amp;nbsp;CONFIG_ZVFS_OPEN_MAX and&amp;nbsp;CONFIG_NET_SOCKETS_POLL_MAX. You should also remove&amp;nbsp;CONFIG_NET_CONFIG_MY_IPV4_ADDR from prj.conf, as if you have this, zperf will try to use the address set there instead of the device&amp;#39;s actual address. You can see the device&amp;#39;s address in the log:[/quote]
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/552888?ContentTypeID=1</link><pubDate>Thu, 30 Oct 2025 11:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:514fcbd1-9724-4615-b8c2-dcc1a143f316</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Merte,&lt;/p&gt;
&lt;p&gt;Any update on this, please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/552591?ContentTypeID=1</link><pubDate>Tue, 28 Oct 2025 07:50:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:617d2ab3-a5f6-4a61-adec-a5c3c2796c4d</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Merte,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any update on this, please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/552322?ContentTypeID=1</link><pubDate>Fri, 24 Oct 2025 07:24:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b847780-018e-4f44-8048-9b7c1f40ef93</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;As you mentioned, we are getting logs in the TWT sample. However, in the Pcap capture, we are not able to see the client entering sleep mode. For your reference, I have attached the Pcap files&lt;/p&gt;
[quote userid="92402" url="~/f/nordic-q-a/124001/the-client-does-not-enter-sleep-mode-as-expected/551095"]&lt;p&gt;If you want to use the TWT sample I shared, you can enable zperf by adding the following in prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div class="evolution-code-editor theme-clouds" style="width:624px;height:45.3333px;position:relative;"&gt;&lt;a href="#" class="fullscreen"&gt;Fullscreen&lt;/a&gt;&lt;div class=" ace_editor ace-clouds" style="width:100%;height:44px;"&gt;&lt;div class="ace_gutter"&gt;&lt;div class="ace_layer ace_gutter-layer ace_folding-enabled" style="margin-top:0px;height:73.3333px;width:40px;"&gt;&lt;div class="ace_gutter-cell " style="height:14.6667px;"&gt;1&lt;/div&gt;&lt;div class="ace_gutter-cell " style="height:14.6667px;"&gt;2&lt;/div&gt;&lt;div class="ace_gutter-cell " style="height:14.6667px;"&gt;3&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_gutter-active-line" style="display:none;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_scroller" style="left:40px;right:0px;bottom:0px;"&gt;&lt;div class="ace_content" style="margin-top:0px;width:583px;height:73.3333px;margin-left:0px;"&gt;&lt;div class="ace_layer ace_print-margin-layer"&gt;&lt;div class="ace_print-margin" style="left:531.817px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_layer ace_marker-layer"&gt;&lt;/div&gt;&lt;div class="ace_layer ace_text-layer" style="padding:0px 4px;"&gt;&lt;div class="ace_line" style="height:14.666666984558105px;"&gt;CONFIG_NET_SHELL=y&lt;/div&gt;&lt;div class="ace_line" style="height:14.666666984558105px;"&gt;CONFIG_NET_ZPERF=y&lt;/div&gt;&lt;div class="ace_line" style="height:14.666666984558105px;"&gt;CONFIG_ZVFS_OPEN_MAX=12&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_layer ace_marker-layer"&gt;&lt;/div&gt;&lt;div class="ace_layer ace_cursor-layer ace_hidden-cursors"&gt;&lt;div class="ace_cursor" style="left:155.747px;top:29.3333px;width:6.59771px;height:14.6667px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_scrollbar ace_scrollbar-v" style="display:none;width:20px;bottom:0px;"&gt;&lt;div class="ace_scrollbar-inner" style="width:20px;height:44px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_scrollbar ace_scrollbar-h" style="display:none;height:20px;left:40px;right:0px;"&gt;&lt;div class="ace_scrollbar-inner" style="height:20px;width:583px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="height:auto;width:auto;top:0px;left:0px;position:absolute;white-space:pre;font:inherit;overflow:hidden;"&gt;&lt;div style="height:auto;width:auto;top:0px;left:0px;position:absolute;white-space:pre;font:inherit;overflow:visible;"&gt;&lt;/div&gt;&lt;div style="height:auto;width:auto;top:0px;left:0px;position:absolute;white-space:pre;font-style:inherit;font-size:inherit;line-height:inherit;font-family:inherit;overflow:visible;"&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="content-scrollable-wrapper" style="max-width:100%;overflow:auto;max-height:none;"&gt;&lt;pre class="ui-code" data-mode="text" style="display:none;"&gt;CONFIG_NET_SHELL=y
CONFIG_NET_ZPERF=y
CONFIG_ZVFS_OPEN_MAX=12&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As per your suggestion, I added the three lines to the &lt;strong data-start="342" data-end="354"&gt;prj.conf&lt;/strong&gt; file in the TWT sample. However, after making these changes, I encountered a new issue. Kindly find the logs below for your reference.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Please share the complete file with include these three lines.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Logs :&lt;/strong&gt;-&lt;/p&gt;
&lt;p&gt;:00:00.346,221] &amp;lt;inf&amp;gt; wifi_nrf: Management buffer offload enabled&lt;/p&gt;
&lt;p&gt;*** Booting nRF Connect SDK v2.9.2-4ab7b98fc76f ***&lt;br /&gt;*** Using Zephyr OS v3.7.99-aa34a5632971 ***&lt;br /&gt;[00:00:00.475,280] &amp;lt;inf&amp;gt; net_config: Initializing network&lt;br /&gt;[00:00:00.475,280] &amp;lt;inf&amp;gt; net_config: Waiting interface 1 (0x20001300) to be up...&lt;br /&gt;[00:00:00.475,463] &amp;lt;inf&amp;gt; net_config: IPv4 address: 192.168.1.99&lt;br /&gt;[00:00:00.475,494] &amp;lt;inf&amp;gt; net_config: Running dhcpv4 client...&lt;br /&gt;[00:00:00.475,738] &amp;lt;inf&amp;gt; twt: Starting nrf7002dk with CPU frequency: 64 MHz&lt;br /&gt;[00:00:00.477,386] &amp;lt;inf&amp;gt; wifi_supplicant: wpa_supplicant initialized&lt;br /&gt;[00:00:00.512,420] &amp;lt;err&amp;gt; wifi_supplicant: Failed to initialize supplicant control interface&lt;br /&gt;[00:00:01.475,860] &amp;lt;inf&amp;gt; twt: Static IP address (overridable): 192.168.1.99/255.255.255.0 -&amp;gt; 192.168.1.1&lt;br /&gt;[00:00:01.475,982] &amp;lt;err&amp;gt; wifi_mgmt_ext: Connection request failed&lt;/p&gt;
&lt;p&gt;[00:00:01.475,982] &amp;lt;err&amp;gt; twt: Connection request failed&lt;br /&gt;[00:00:01.476,013] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:01.776,092] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:02.076,202] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:02.376,312] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:02.676,483] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:02.976,593] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:03.276,702] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:03.576,812] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:03.876,983] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:04.177,062] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:04.477,233] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:04.777,313] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:05.077,484] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:05.377,593] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:05.677,703] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:05.977,813] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:06.277,984] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:06.578,094] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:06.878,204] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:07.178,314] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:07.478,485] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:07.778,594] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:08.078,704] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;[00:00:08.378,814] &amp;lt;inf&amp;gt; twt: Status request failed: -134&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a title="TWT" href="https://drive.google.com/file/d/14Fs-UamPPC6dTh4ZYP61TrN7U21sawLM/view?usp=drive_link"&gt;https://drive.google.com/file/d/14Fs-UamPPC6dTh4ZYP61TrN7U21sawLM/view?usp=drive_link&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks &amp;amp; Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Naveen P&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/551095?ContentTypeID=1</link><pubDate>Fri, 10 Oct 2025 09:30:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d25de4ed-ebcd-4df9-b1fc-5432a2291399</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Based on the logs with the TWT sample, the device enters sleep mode as it should, so this is most likely also the case when you use the shell sample. In other words, you can chose to use the TWT sample I shared or the Wi-Fi shell sample in the SDK for TWT.&lt;/p&gt;
&lt;p&gt;If you want to use the TWT sample I shared, you can enable zperf by adding the following in prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NET_SHELL=y
CONFIG_NET_ZPERF=y
CONFIG_ZVFS_OPEN_MAX=12&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This lets you use iperf/zperf as in the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.2/page/nrf/samples/wifi/throughput/README.html#testing"&gt;Wi-Fi Throughput&lt;/a&gt;&amp;nbsp;sample, i.e., you can use the following command on the nRF7002:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;zperf udp upload &amp;lt;ipaddress&amp;gt; 5001 10 1K 50M
zperf udp download 5001&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you get any errors, you might have to increase&amp;nbsp;CONFIG_ZVFS_OPEN_MAX and&amp;nbsp;CONFIG_NET_SOCKETS_POLL_MAX. You should also remove&amp;nbsp;CONFIG_NET_CONFIG_MY_IPV4_ADDR from prj.conf, as if you have this, zperf will try to use the address set there instead of the device&amp;#39;s actual address. You can see the device&amp;#39;s address in the log:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" title="" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1760088637397v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/551015?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2025 12:44:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5db1fff5-1f0c-4305-adf9-1c0f0269d050</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;div class="content full threaded-reply-content user-defined-markup" data-replyid="549987" data-userid="147707" data-permalink="~/f/nordic-q-a/124001/the-client-does-not-enter-sleep-mode-as-expected/549987"&gt;
&lt;div class="content"&gt;
&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p data-start="66" data-end="94"&gt;Any updates on this?&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/550758?ContentTypeID=1</link><pubDate>Tue, 07 Oct 2025 05:40:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0ed163e-3f40-4c0d-b8e4-fa59fee5ae5e</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
[quote userid="147707" url="~/f/nordic-q-a/124001/the-client-does-not-enter-sleep-mode-as-expected/550712"]we want to run ping traffic on this client.[/quote]
&lt;p&gt;And we want to run iperf or zperf.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/550712?ContentTypeID=1</link><pubDate>Mon, 06 Oct 2025 12:58:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:328d2fce-7bbc-415b-bea9-c29eaf2d343e</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
[quote userid="92402" url="~/f/nordic-q-a/124001/the-client-does-not-enter-sleep-mode-as-expected/550697"]&lt;p&gt;Did you set the credentials by changing these configs to the SSID and password for your network?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div class="evolution-code-editor theme-clouds" style="width:624px;height:30.6667px;position:relative;"&gt;&lt;a href="#" class="fullscreen"&gt;Fullscreen&lt;/a&gt;&lt;div class=" ace_editor ace-clouds" style="width:100%;height:29.3333px;"&gt;&lt;div class="ace_gutter"&gt;&lt;div class="ace_layer ace_gutter-layer ace_folding-enabled" style="margin-top:0px;height:58.6667px;width:40px;"&gt;&lt;div class="ace_gutter-cell " style="height:14.6667px;"&gt;1&lt;/div&gt;&lt;div class="ace_gutter-cell " style="height:14.6667px;"&gt;2&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_gutter-active-line" style="display:none;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_scroller" style="left:40px;right:0px;bottom:0px;"&gt;&lt;div class="ace_content" style="margin-top:0px;width:583px;height:58.6667px;margin-left:0px;"&gt;&lt;div class="ace_layer ace_print-margin-layer"&gt;&lt;div class="ace_print-margin" style="left:531.817px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_layer ace_marker-layer"&gt;&lt;/div&gt;&lt;div class="ace_layer ace_text-layer" style="padding:0px 4px;"&gt;&lt;div class="ace_line" style="height:14.666666984558105px;"&gt;CONFIG_WIFI_CREDENTIALS_STATIC_SSID=&amp;quot;MySSID&amp;quot;&lt;/div&gt;&lt;div class="ace_line" style="height:14.666666984558105px;"&gt;CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD=&amp;quot;MyPassword&amp;quot;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_layer ace_marker-layer"&gt;&lt;/div&gt;&lt;div class="ace_layer ace_cursor-layer ace_hidden-cursors"&gt;&lt;div class="ace_cursor" style="left:4px;top:0px;width:6.59771px;height:14.6667px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_scrollbar ace_scrollbar-v" style="display:none;width:20px;bottom:0px;"&gt;&lt;div class="ace_scrollbar-inner" style="width:20px;height:29.3333px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_scrollbar ace_scrollbar-h" style="display:none;height:20px;left:40px;right:0px;"&gt;&lt;div class="ace_scrollbar-inner" style="height:20px;width:583px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="height:auto;width:auto;top:0px;left:0px;position:absolute;white-space:pre;font:inherit;overflow:hidden;"&gt;&lt;div style="height:auto;width:auto;top:0px;left:0px;position:absolute;white-space:pre;font:inherit;overflow:visible;"&gt;&lt;/div&gt;&lt;div style="height:auto;width:auto;top:0px;left:0px;position:absolute;white-space:pre;font-style:inherit;font-size:inherit;line-height:inherit;font-family:inherit;overflow:visible;"&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="content-scrollable-wrapper" style="max-width:100%;overflow:auto;max-height:none;"&gt;&lt;pre class="ui-code" data-mode="text" style="display:none;"&gt;CONFIG_WIFI_CREDENTIALS_STATIC_SSID=&amp;quot;MySSID&amp;quot;
CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD=&amp;quot;MyPassword&amp;quot;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What kind of security does the network use? In prj.conf, in the sample I shared, I set&lt;/p&gt;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now the client is connected to the SSID and working as expected, but we want to run ping traffic on this client.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;span&gt;&lt;strong&gt;Please find the attached logs below for your reference:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;*** Booting nRF Connect SDK v2.9.2-4ab7b98fc76f ***&lt;br /&gt;*** Using Zephyr OS v3.7.99-aa34a5632971 ***&lt;br /&gt;[00:00:00.486,999] &amp;lt;inf&amp;gt; net_config: Initializing network&lt;br /&gt;[00:00:00.486,999] &amp;lt;inf&amp;gt; net_config: Waiting interface 1 (0x20001080) to be up...&lt;br /&gt;[00:00:00.487,182] &amp;lt;inf&amp;gt; net_config: IPv4 address: 192.168.1.99&lt;br /&gt;[00:00:00.487,213] &amp;lt;inf&amp;gt; net_config: Running dhcpv4 client...&lt;br /&gt;[00:00:00.487,457] &amp;lt;inf&amp;gt; twt: Starting nrf7002dk with CPU frequency: 64 MHz&lt;br /&gt;[00:00:00.489,349] &amp;lt;inf&amp;gt; wifi_supplicant: wpa_supplicant initialized&lt;br /&gt;[00:00:01.487,579] &amp;lt;inf&amp;gt; twt: Static IP address (overridable): 192.168.1.99/255.255.255.0 -&amp;gt; 192.168.1.1&lt;br /&gt;[00:00:03.419,860] &amp;lt;inf&amp;gt; wifi_mgmt_ext: Connection requested&lt;br /&gt;[00:00:03.419,891] &amp;lt;inf&amp;gt; twt: Connection requested&lt;br /&gt;[00:00:03.419,952] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:03.419,982] &amp;lt;inf&amp;gt; twt: State: SCANNING&lt;br /&gt;[00:00:03.720,123] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:03.720,153] &amp;lt;inf&amp;gt; twt: State: SCANNING&lt;br /&gt;[00:00:04.020,324] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:04.020,355] &amp;lt;inf&amp;gt; twt: State: SCANNING&lt;br /&gt;[00:00:04.320,495] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:04.320,495] &amp;lt;inf&amp;gt; twt: State: SCANNING&lt;br /&gt;[00:00:04.620,666] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:07.322,296] &amp;lt;inf&amp;gt; twt: State: AUTHENTICATING&lt;br /&gt;[00:00:07.622,436] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:07.622,467] &amp;lt;inf&amp;gt; twt: State: AUTHENTICATING&lt;br /&gt;[00:00:07.940,948] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:07.940,979] &amp;lt;inf&amp;gt; twt: State: ASSOCIATED&lt;br /&gt;[00:00:07.941,009] &amp;lt;inf&amp;gt; twt: Interface Mode: STATION&lt;br /&gt;[00:00:07.941,009] &amp;lt;inf&amp;gt; twt: Link Mode: WIFI 6 (802.11ax/HE)&lt;br /&gt;[00:00:07.941,040] &amp;lt;inf&amp;gt; twt: SSID: TWT&lt;br /&gt;[00:00:07.941,070] &amp;lt;inf&amp;gt; twt: BSSID: 00:33:58:AB:81:82&lt;br /&gt;[00:00:07.941,101] &amp;lt;inf&amp;gt; twt: Band: 5GHz&lt;br /&gt;[00:00:07.941,101] &amp;lt;inf&amp;gt; twt: Channel: 64&lt;br /&gt;[00:00:07.941,131] &amp;lt;inf&amp;gt; twt: Security: WPA2-PSK&lt;br /&gt;[00:00:07.941,131] &amp;lt;inf&amp;gt; twt: MFP: Optional&lt;br /&gt;[00:00:07.941,162] &amp;lt;inf&amp;gt; twt: RSSI: -56&lt;br /&gt;[00:00:07.941,162] &amp;lt;inf&amp;gt; twt: TWT: Supported&lt;br /&gt;[00:00:07.994,842] &amp;lt;inf&amp;gt; twt: Connected&lt;br /&gt;[00:00:08.248,474] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:08.248,504] &amp;lt;inf&amp;gt; twt: State: COMPLETED&lt;br /&gt;[00:00:08.248,535] &amp;lt;inf&amp;gt; twt: Interface Mode: STATION&lt;br /&gt;[00:00:08.248,565] &amp;lt;inf&amp;gt; twt: Link Mode: WIFI 6 (802.11ax/HE)&lt;br /&gt;[00:00:08.248,596] &amp;lt;inf&amp;gt; twt: SSID: TWT&lt;br /&gt;[00:00:08.248,626] &amp;lt;inf&amp;gt; twt: BSSID: 00:33:58:AB:81:82&lt;br /&gt;[00:00:08.248,626] &amp;lt;inf&amp;gt; twt: Band: 5GHz&lt;br /&gt;[00:00:08.248,657] &amp;lt;inf&amp;gt; twt: Channel: 64&lt;br /&gt;[00:00:08.248,657] &amp;lt;inf&amp;gt; twt: Security: WPA2-PSK&lt;br /&gt;[00:00:08.248,687] &amp;lt;inf&amp;gt; twt: MFP: Optional&lt;br /&gt;[00:00:08.248,687] &amp;lt;inf&amp;gt; twt: RSSI: -55&lt;br /&gt;[00:00:08.248,718] &amp;lt;inf&amp;gt; twt: TWT: Supported&lt;br /&gt;[00:00:09.273,620] &amp;lt;inf&amp;gt; net_dhcpv4: Received: 172.40.9.251&lt;br /&gt;[00:00:09.273,803] &amp;lt;inf&amp;gt; net_config: IPv4 address: 172.40.9.251&lt;br /&gt;[00:00:09.273,803] &amp;lt;inf&amp;gt; net_config: Lease time: 600 seconds&lt;br /&gt;[00:00:09.273,864] &amp;lt;inf&amp;gt; net_config: Subnet: 255.255.240.0&lt;br /&gt;[00:00:09.273,895] &amp;lt;inf&amp;gt; net_config: Router: 172.40.0.1&lt;br /&gt;[00:00:09.273,986] &amp;lt;inf&amp;gt; twt: DHCP IP address: 172.40.9.251&lt;br /&gt;[00:00:10.248,779] &amp;lt;inf&amp;gt; twt: AP is TWT capable, establishing TWT&lt;br /&gt;[00:00:10.256,622] &amp;lt;inf&amp;gt; twt: TWT setup requested&lt;br /&gt;[00:00:10.282,958] &amp;lt;inf&amp;gt; twt: TWT response: TWT accept&lt;br /&gt;[00:00:10.282,958] &amp;lt;inf&amp;gt; twt: == TWT negotiated parameters ==&lt;br /&gt;[00:00:10.282,989] &amp;lt;inf&amp;gt; twt: TWT Dialog token: 1&lt;br /&gt;[00:00:10.282,989] &amp;lt;inf&amp;gt; twt: TWT flow ID: 1&lt;br /&gt;[00:00:10.283,020] &amp;lt;inf&amp;gt; twt: TWT negotiation type: TWT individual negotiation&lt;br /&gt;[00:00:10.283,020] &amp;lt;inf&amp;gt; twt: TWT responder: true&lt;br /&gt;[00:00:10.283,050] &amp;lt;inf&amp;gt; twt: TWT implicit: true&lt;br /&gt;[00:00:10.283,081] &amp;lt;inf&amp;gt; twt: TWT announce: false&lt;br /&gt;[00:00:10.283,111] &amp;lt;inf&amp;gt; twt: TWT trigger: false&lt;br /&gt;[00:00:10.283,111] &amp;lt;inf&amp;gt; twt: TWT wake interval: 65024 us&lt;br /&gt;[00:00:10.283,111] &amp;lt;inf&amp;gt; twt: TWT interval: 524000 us&lt;br /&gt;[00:00:10.283,111] &amp;lt;inf&amp;gt; twt: ========================&lt;br /&gt;[00:00:10.283,264] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping&lt;br /&gt;[00:00:10.412,811] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake&lt;br /&gt;[00:00:10.477,783] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping&lt;br /&gt;[00:00:10.556,701] &amp;lt;inf&amp;gt; twt: TWT Setup success&lt;br /&gt;[00:00:10.937,164] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake&lt;br /&gt;[00:00:11.002,258] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping&lt;br /&gt;[00:00:11.461,486] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake&lt;br /&gt;[00:00:11.526,672] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping&lt;br /&gt;[00:00:11.985,809] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake&lt;br /&gt;[00:00:12.051,086] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Naveen P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/550697?ContentTypeID=1</link><pubDate>Mon, 06 Oct 2025 12:13:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e61ef4d-d452-4c62-a7fd-d5555dc094d2</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Naveen&lt;/p&gt;
[quote user="Naveen Pyda"]&lt;span style="font-family:inherit;"&gt;We also added the credentials in&lt;/span&gt;&lt;strong style="font-family:inherit;"&gt; &lt;em&gt;prj.conf&lt;/em&gt;&lt;/strong&gt;&lt;span style="font-family:inherit;"&gt;, but the client is not connecting to the SSID.&lt;/span&gt;[/quote]
&lt;p&gt;Did you set the credentials by changing these configs to the SSID and password for your network?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_WIFI_CREDENTIALS_STATIC_SSID=&amp;quot;MySSID&amp;quot;
CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD=&amp;quot;MyPassword&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;What kind of security does the network use? In prj.conf, in the sample I shared, I set CONFIG_WIFI_CREDENTIALS_STATIC_TYPE_PSK, which is used if a network uses a password and PSK security, which is the most standard. If your network uses something else, you need to change this config to match your network&amp;#39;s configuration. Here you can see the different config options for this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;CONFIG_WIFI_CREDENTIALS_STATIC_TYPE_OPEN - Wi-Fi network uses no password.&lt;/li&gt;
&lt;li&gt;CONFIG_WIFI_CREDENTIALS_STATIC_TYPE_PSK - Wi-Fi network uses a password and PSK security (default).&lt;/li&gt;
&lt;li&gt;CONFIG_WIFI_CREDENTIALS_STATIC_TYPE_PSK_SHA256 - Wi-Fi network uses a password and PSK-256 security.&lt;/li&gt;
&lt;li&gt;CONFIG_WIFI_CREDENTIALS_STATIC_TYPE_SAE - Wi-Fi network uses a password and SAE security.&lt;/li&gt;
&lt;/ul&gt;
[quote user="Naveen Pyda"]Could you please guide us on how to run the TWT setup command:&lt;strong&gt; &lt;code&gt;wifi twt setup 0 0 2 2 0 1 1 1 2000 60000000&lt;/code&gt;&lt;/strong&gt;?[/quote]
&lt;p&gt;You do not need to run this command in the sample I shared, as the sample sets up TWT in the code itself:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static int setup_twt(void)
{
	struct net_if *iface = net_if_get_first_wifi();
	struct wifi_twt_params params = { 0 };
	int ret;

	twt_flow_id = 1;
	params.operation = WIFI_TWT_SETUP;
	params.negotiation_type = WIFI_TWT_INDIVIDUAL;
	params.setup_cmd = WIFI_TWT_SETUP_CMD_REQUEST;
	params.dialog_token = 1;
	params.flow_id = twt_flow_id;
	params.setup.responder = 0;
	params.setup.trigger = IS_ENABLED(CONFIG_TWT_TRIGGER_ENABLE);
	params.setup.implicit = 1;
	params.setup.announce = IS_ENABLED(CONFIG_TWT_ANNOUNCED_MODE);
	params.setup.twt_wake_interval = CONFIG_TWT_WAKE_INTERVAL;
	params.setup.twt_interval = CONFIG_TWT_INTERVAL;

	ret = net_mgmt(NET_REQUEST_WIFI_TWT, iface, &amp;amp;params, sizeof(params));
	if (ret) {
		LOG_INF(&amp;quot;TWT setup failed: %d&amp;quot;, ret);
		return ret;
	}

	LOG_INF(&amp;quot;TWT setup requested&amp;quot;);

	return 0;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;When the device connects to the network, it will send a request to enable TWT on its own.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/550592?ContentTypeID=1</link><pubDate>Fri, 03 Oct 2025 12:57:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f75c19a-c940-48a2-984c-e24e1584b4e7</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;First of all, thank you for explaining everything clearly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;As per your advice, we erased and flashed the new build provided by you in &lt;/span&gt;&lt;em style="font-family:inherit;" data-start="139" data-end="156"&gt;privacy&lt;strong&gt; twt.zip&lt;/strong&gt;&lt;/em&gt;&lt;span style="font-family:inherit;"&gt;. We also added the credentials in&lt;/span&gt;&lt;strong style="font-family:inherit;"&gt; &lt;em data-start="191" data-end="201"&gt;prj.conf&lt;/em&gt;&lt;/strong&gt;&lt;span style="font-family:inherit;"&gt;, but the client is not connecting to the SSID.&lt;/span&gt;&lt;/p&gt;
[quote userid="92402" url="~/f/nordic-q-a/124001/the-client-does-not-enter-sleep-mode-as-expected/550584"]Please build and test the application I shared (twt.zip), not the sample in the SDK. The only change you need to make is to set the credentials in prj.conf.[/quote]
&lt;p&gt;Could you please guide us on how to run the TWT setup command:&lt;strong&gt; &lt;code data-start="300" data-end="343"&gt;wifi twt setup 0 0 2 2 0 1 1 1 2000 60000000&lt;/code&gt;&lt;/strong&gt;?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;strong&gt;Please find the attached logs below:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;*** Booting nRF Connect SDK v2.9.2-4ab7b98fc76f ***&lt;br /&gt;*** Using Zephyr OS v3.7.99-aa34a5632971 ***&lt;br /&gt;[00:00:00.271,972] &amp;lt;inf&amp;gt; net_config: Initializing network&lt;br /&gt;[00:00:00.272,003] &amp;lt;inf&amp;gt; net_config: Waiting interface 1 (0x20001080) to be up...&lt;br /&gt;[00:00:00.272,155] &amp;lt;inf&amp;gt; net_config: IPv4 address: 192.168.1.99&lt;br /&gt;[00:00:00.272,216] &amp;lt;inf&amp;gt; net_config: Running dhcpv4 client...&lt;br /&gt;[00:00:00.272,460] &amp;lt;inf&amp;gt; twt: Starting nrf7002dk with CPU frequency: 64 MHz&lt;br /&gt;[00:00:00.274,291] &amp;lt;inf&amp;gt; wifi_supplicant: wpa_supplicant initialized&lt;br /&gt;[00:00:00.277,221] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_set_key: rpu_ctx_zep is NULL&lt;br /&gt;[00:00:00.277,252] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_set_key: rpu_ctx_zep is NULL&lt;br /&gt;[00:00:00.277,282] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_set_key: rpu_ctx_zep is NULL&lt;br /&gt;[00:00:00.277,313] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_set_key: rpu_ctx_zep is NULL&lt;br /&gt;[00:00:00.277,313] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_set_key: rpu_ctx_zep is NULL&lt;br /&gt;[00:00:00.277,343] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_set_key: rpu_ctx_zep is NULL&lt;br /&gt;[00:00:01.272,583] &amp;lt;inf&amp;gt; twt: Static IP address (overridable): 192.168.1.99/255.255.255.0 -&amp;gt; 192.168.1.1&lt;br /&gt;[00:00:03.191,375] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_scan2: RPU context not initialized&lt;br /&gt;[00:00:03.192,871] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_scan2: RPU context not initialized&lt;br /&gt;[00:00:03.193,145] &amp;lt;inf&amp;gt; wifi_mgmt_ext: Connection requested&lt;br /&gt;[00:00:03.193,176] &amp;lt;inf&amp;gt; twt: Connection requested&lt;br /&gt;[00:00:03.193,237] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:03.193,267] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;br /&gt;[00:00:03.493,408] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:03.493,438] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;br /&gt;[00:00:03.793,579] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:03.793,579] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;br /&gt;[00:00:04.093,750] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:04.093,750] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;br /&gt;[00:00:04.193,603] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_scan2: RPU context not initialized&lt;br /&gt;[00:00:04.393,920] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:04.393,951] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;br /&gt;[00:00:04.694,122] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:04.694,152] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;br /&gt;[00:00:04.994,293] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:04.994,293] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;br /&gt;[00:00:05.194,305] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_scan2: RPU context not initialized&lt;br /&gt;[00:00:05.294,464] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:05.294,494] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;br /&gt;[00:00:05.594,635] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:05.594,635] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;br /&gt;[00:00:05.894,836] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:05.894,866] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;br /&gt;[00:00:06.195,068] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_scan2: RPU context not initialized&lt;br /&gt;[00:00:06.195,343] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:06.195,343] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;br /&gt;[00:00:06.495,513] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:06.495,513] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;br /&gt;[00:00:06.795,684] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:06.795,684] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;br /&gt;[00:00:07.095,886] &amp;lt;inf&amp;gt; twt: ==================&lt;br /&gt;[00:00:07.095,916] &amp;lt;inf&amp;gt; twt: State: DISCONNECTED&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks &amp;amp; Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Naveen P&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/550584?ContentTypeID=1</link><pubDate>Fri, 03 Oct 2025 11:47:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22153680-a2bd-41f2-8adf-58b2056b5264</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Naveen,&lt;/p&gt;
[quote user="Naveen Pyda"]As you advised, we made the same changes in &lt;code&gt;ncs/v2.9.2/nrf/samples/wifi/twt/src/main.c&lt;/code&gt;[/quote][quote user="Naveen Pyda"]All files were replaced with the twt.zip files in the path &lt;strong&gt;&lt;code&gt;ncs/v2.9.2/nrf/samples/wifi/twt/&lt;/code&gt;.&lt;/strong&gt; After that, we flashed the build using the commands below:[/quote]
&lt;p&gt;Please build and test the application I shared (twt.zip), not the sample in the SDK. The only change you need to make is to set the credentials in prj.conf.&lt;/p&gt;
[quote user="Naveen Pyda"]but we are not receiving any logs from the client side. I had previously shared screenshots and logs for this issue.[/quote]
&lt;p&gt;Just to make sure I understand correctly, do you not get any logs at all? With the TWT application I attached, you should get logs like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v2.9.2-4ab7b98fc76f ***
*** Using Zephyr OS v3.7.99-aa34a5632971 ***
[00:00:00.665,954] &amp;lt;inf&amp;gt; net_config: Initializing network
[00:00:00.665,954] &amp;lt;inf&amp;gt; net_config: Waiting interface 1 (0x20001080) to be up...
[00:00:00.666,107] &amp;lt;inf&amp;gt; net_config: IPv4 address: 192.168.1.99
[00:00:00.666,168] &amp;lt;inf&amp;gt; net_config: Running dhcpv4 client...
[00:00:00.666,412] &amp;lt;inf&amp;gt; twt: Starting nrf7002dk with CPU frequency: 64 MHz
[00:00:00.668,273] &amp;lt;inf&amp;gt; wifi_supplicant: wpa_supplicant initialized
[00:00:01.666,534] &amp;lt;inf&amp;gt; twt: Static IP address (overridable): 192.168.1.99/255.255.255.0 -&amp;gt; 192.168.1.1
[00:00:03.595,886] &amp;lt;inf&amp;gt; wifi_mgmt_ext: Connection requested
[00:00:03.595,916] &amp;lt;inf&amp;gt; twt: Connection requested
[00:00:03.595,977] &amp;lt;inf&amp;gt; twt: ==================
[00:00:03.596,008] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:03.896,148] &amp;lt;inf&amp;gt; twt: ==================
[00:00:03.896,179] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:04.196,350] &amp;lt;inf&amp;gt; twt: ==================
[00:00:04.196,350] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:04.496,520] &amp;lt;inf&amp;gt; twt: ==================
[00:00:04.496,520] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:04.796,691] &amp;lt;inf&amp;gt; twt: ==================
[00:00:04.796,722] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:05.096,862] &amp;lt;inf&amp;gt; twt: ==================
[00:00:05.096,893] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:05.397,033] &amp;lt;inf&amp;gt; twt: ==================
[00:00:05.397,064] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:05.697,204] &amp;lt;inf&amp;gt; twt: ==================
[00:00:05.697,235] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:05.997,375] &amp;lt;inf&amp;gt; twt: ==================
[00:00:05.997,406] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:06.297,576] &amp;lt;inf&amp;gt; twt: ==================
[00:00:06.297,607] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:06.597,747] &amp;lt;inf&amp;gt; twt: ==================
[00:00:06.597,778] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:06.897,918] &amp;lt;inf&amp;gt; twt: ==================
[00:00:06.897,949] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:07.198,089] &amp;lt;inf&amp;gt; twt: ==================
[00:00:07.198,120] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:07.498,291] &amp;lt;inf&amp;gt; twt: ==================
[00:00:07.498,321] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:07.798,461] &amp;lt;inf&amp;gt; twt: ==================
[00:00:07.798,492] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:08.098,632] &amp;lt;inf&amp;gt; twt: ==================
[00:00:08.098,663] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:08.398,803] &amp;lt;inf&amp;gt; twt: ==================
[00:00:08.398,834] &amp;lt;inf&amp;gt; twt: State: AUTHENTICATING
[00:00:08.631,469] &amp;lt;inf&amp;gt; twt: Connected
[00:00:08.706,115] &amp;lt;inf&amp;gt; twt: ==================
[00:00:08.706,146] &amp;lt;inf&amp;gt; twt: State: COMPLETED
[00:00:08.706,176] &amp;lt;inf&amp;gt; twt: Interface Mode: STATION
[00:00:08.706,207] &amp;lt;inf&amp;gt; twt: Link Mode: WIFI 6 (802.11ax/HE)
[00:00:08.706,207] &amp;lt;inf&amp;gt; twt: SSID: &amp;lt;SSID&amp;gt;
[00:00:08.706,237] &amp;lt;inf&amp;gt; twt: BSSID: FC:34:97:0B:F6:DC
[00:00:08.706,268] &amp;lt;inf&amp;gt; twt: Band: 5GHz
[00:00:08.706,268] &amp;lt;inf&amp;gt; twt: Channel: 44
[00:00:08.706,298] &amp;lt;inf&amp;gt; twt: Security: WPA2-PSK
[00:00:08.706,329] &amp;lt;inf&amp;gt; twt: MFP: Optional
[00:00:08.706,329] &amp;lt;inf&amp;gt; twt: RSSI: -64
[00:00:08.706,329] &amp;lt;inf&amp;gt; twt: TWT: Supported
[00:00:10.706,420] &amp;lt;inf&amp;gt; twt: AP is TWT capable, establishing TWT
[00:00:10.721,038] &amp;lt;inf&amp;gt; twt: TWT setup requested
[00:00:10.807,250] &amp;lt;inf&amp;gt; twt: TWT response: TWT accept
[00:00:10.807,250] &amp;lt;inf&amp;gt; twt: == TWT negotiated parameters ==
[00:00:10.807,250] &amp;lt;inf&amp;gt; twt: TWT Dialog token: 1
[00:00:10.807,281] &amp;lt;inf&amp;gt; twt: TWT flow ID: 0
[00:00:10.807,312] &amp;lt;inf&amp;gt; twt: TWT negotiation type: TWT individual negotiation
[00:00:10.807,312] &amp;lt;inf&amp;gt; twt: TWT responder: true
[00:00:10.807,342] &amp;lt;inf&amp;gt; twt: TWT implicit: true
[00:00:10.807,373] &amp;lt;inf&amp;gt; twt: TWT announce: false
[00:00:10.807,403] &amp;lt;inf&amp;gt; twt: TWT trigger: false
[00:00:10.807,403] &amp;lt;inf&amp;gt; twt: TWT wake interval: 65024 us
[00:00:10.807,403] &amp;lt;inf&amp;gt; twt: TWT interval: 524000 us
[00:00:10.807,434] &amp;lt;inf&amp;gt; twt: ========================
[00:00:10.807,556] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:10.911,285] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake
[00:00:10.976,074] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:11.021,148] &amp;lt;inf&amp;gt; twt: TWT Setup success
[00:00:11.435,577] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake
[00:00:11.500,457] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:11.959,838] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake
[00:00:12.024,871] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:12.484,161] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake
[00:00:12.549,255] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:13.008,453] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake
[00:00:13.028,564] &amp;lt;inf&amp;gt; net_dhcpv4: Received: 192.168.32.104
[00:00:13.028,747] &amp;lt;inf&amp;gt; net_config: IPv4 address: 192.168.32.104
[00:00:13.028,778] &amp;lt;inf&amp;gt; net_config: Lease time: 36000 seconds
[00:00:13.028,808] &amp;lt;inf&amp;gt; net_config: Subnet: 255.255.255.0
[00:00:13.028,839] &amp;lt;inf&amp;gt; net_config: Router: 192.168.32.1
[00:00:13.028,961] &amp;lt;inf&amp;gt; twt: DHCP IP address: 192.168.32.104
[00:00:13.077,911] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:13.532,714] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake
[00:00:13.598,052] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:14.057,037] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake
[00:00:14.122,467] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:14.581,329] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake
[00:00:14.646,881] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:15.106,353] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake
[00:00:15.171,264] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:15.629,882] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake
[00:00:15.695,648] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:16.154,174] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake
[00:00:16.220,001] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:16.678,436] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake
[00:00:16.744,628] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:17.202,697] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake
[00:00:17.268,737] &amp;lt;inf&amp;gt; twt: TWT sleep state: sleeping
[00:00:17.726,959] &amp;lt;inf&amp;gt; twt: TWT sleep state: awake&lt;/pre&gt;&lt;/p&gt;
[quote user="Naveen Pyda"]We have a little bit of confusion about this. Actually, we are connecting the Nordic device through the terminal in VS Code. You can see below&amp;nbsp;attached screenshot.[/quote]
&lt;p&gt;My question was related to which sample you built and flashed to your board, not how you connect to the serial port on the device.&lt;/p&gt;
[quote user="Naveen Pyda"]We flashed the build in both the shell and twt paths.[/quote]
&lt;p&gt;Are you flashing both the TWT sample and shell sample to the nRF7002 DK? These are two separate samples, and you should only flash one at a time. If you flash one sample first and then the other, the last sample will overwrite the first sample you flashed.&lt;/p&gt;
[quote user="Naveen Pyda"]2.westflash[/quote]
&lt;p&gt;Please use this to make sure you erase everything on the device:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west flash --recover&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/550320?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 10:07:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efade02e-c361-44e7-85e6-289fc2463565</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
[quote userid="92402" url="~/f/nordic-q-a/124001/the-client-does-not-enter-sleep-mode-as-expected/550217"]&lt;blockquote class="quote"&gt;&lt;div class="quote-content"&gt;However, we are still not seeing the expected logs. &lt;/div&gt;&lt;/blockquote&gt;&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;Was this with the Wi-Fi TWT sample or the Wi-Fi shell sample?&lt;/p&gt;[/quote]
&lt;p&gt;We have a little bit of confusion about this. Actually, we are connecting the Nordic device through the terminal in VS Code. You can see below&amp;nbsp;attached screenshot.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1759312050269v1.png" alt=" " /&gt;&lt;/p&gt;
[quote userid="147707" url="~/f/nordic-q-a/124001/the-client-does-not-enter-sleep-mode-as-expected/550296"]We will try the twt.zip. If we find any solution or face any issue, I will let you know.[/quote]
&lt;p&gt;All files were replaced with the twt.zip files in the path &lt;strong&gt;&lt;code data-start="109" data-end="143"&gt;ncs/v2.9.2/nrf/samples/wifi/twt/&lt;/code&gt;.&lt;/strong&gt; After that, we flashed the build using the commands below:&lt;/p&gt;
&lt;p&gt;1.&lt;span id="m_2070870698150573040m_232461721088857076m_1672539118763825146m_7035431297468751890m_118158967599926811m_-4570730693364536152m_-1527119243014401984m_-8839036925147421446m_2233715413775760552m_7267201668297026023m_3487257018531915070m_1805123886506904900m_6577962227264508231m_-4621575603097159489m_7636117152581981362m_-4926384688359896355m_5996562603921799649m_-3154172254102057029m_-7326050534322930218gmail-image-version"&gt;&lt;span&gt;west build -p always -b nrf7002dk/nrf5340/cpuapp&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2.westflash&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;We flashed the build in both the shell and twt paths.&lt;/p&gt;
&lt;p&gt;Still, we are not able to see the logs as expected.&amp;nbsp;&lt;span&gt;You can see below&amp;nbsp;&lt;/span&gt;&lt;span&gt;attached&lt;/span&gt;&lt;span&gt;&amp;nbsp;screenshot.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="font-family:inherit;max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1759312713633v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Naveen P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/550296?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 07:56:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5f074c4-a49c-4b45-98d3-abbf7cc65a9b</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;As you mentioned, the details of the AP are: Ruckus-R770, SSID: TWT, Password: naveen123. The AP supports TWT power save.&lt;/p&gt;
&lt;p&gt;As you advised, we made the same changes in &lt;code data-start="133" data-end="177" data-is-only-node=""&gt;ncs/v2.9.2/nrf/samples/wifi/twt/src/main.c&lt;/code&gt;, but we are not receiving any logs from the client side. I had previously shared screenshots and logs for this issue.&lt;/p&gt;
[quote userid="147707" url="~/f/nordic-q-a/124001/the-client-does-not-enter-sleep-mode-as-expected/549181"]&lt;p&gt;As you advised, we followed the steps to collect the logs, but we are still not able to see the logs as expected.&lt;span&gt;Please find the attached screenshot for your reference.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;span&gt;The version of the nRF7002 DK is 1.0.2.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;We will try the twt.zip. If we find any solution or face any issue, I will let you know.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Naveen P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/550217?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2025 13:59:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6efced4-1dbf-44df-ad9c-dd3a1612afbd</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Naveen Pyda"]However, we are still not seeing the expected logs. [/quote]
&lt;p&gt;Was this with the Wi-Fi TWT sample or the Wi-Fi shell sample?&lt;/p&gt;
[quote user="Naveen Pyda"]I tried with another AP as well, but we are still facing the same issue I mentioned earlier.[/quote]
&lt;p&gt;Please provide the details of the AP you tested with. Additionally, make sure that TWT is enabled in the AP settings.&lt;/p&gt;
&lt;p&gt;I have attached a version of the TWT sample without the traffic generator and TWT teardown. Can you test this and send the logs?&lt;/p&gt;
&lt;p&gt;Please also share which version of the nRF7002 DK you are using. The version is the line under &amp;quot;PCA10143&amp;quot; on the sticker on the DK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/twt.zip"&gt;devzone.nordicsemi.com/.../twt.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/549987?ContentTypeID=1</link><pubDate>Mon, 29 Sep 2025 09:32:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3677ac46-bde8-4ae1-92a7-99cc082e084a</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p data-start="66" data-end="94"&gt;Any updates on this?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/549852?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2025 04:42:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2027254-7765-4fda-83e8-024f9094dbb6</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Merta,&lt;/p&gt;
&lt;p data-start="66" data-end="94"&gt;Any updates on this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/549749?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2025 06:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0741be3c-039e-412d-92f7-471ebb976b8e</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Merta,&lt;/p&gt;
&lt;p&gt;I tried with another AP as well, but we are still facing the same issue I mentioned earlier.&lt;/p&gt;
&lt;div&gt;&lt;span&gt;Please find the attached the client-side logs and screenshot for your reference.&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;uart:~$ &lt;strong&gt;wifi status&lt;/strong&gt;&lt;br /&gt;Status: successful&lt;br /&gt;==================&lt;br /&gt;State: COMPLETED&lt;br /&gt;Interface Mode: STATION&lt;br /&gt;Link Mode: WIFI 6 (802.11ax/HE)&lt;br /&gt;SSID: TWT&lt;br /&gt;BSSID: 00:33:58:6B:81:82&lt;br /&gt;Band: 2.4GHz&lt;br /&gt;Channel: 1&lt;br /&gt;Security: WPA2-PSK&lt;br /&gt;MFP: Optional&lt;br /&gt;RSSI: -40&lt;br /&gt;Beacon Interval: 100&lt;br /&gt;DTIM: 1&lt;br /&gt;&lt;strong&gt;TWT: Supported&lt;/strong&gt;&lt;br /&gt;Current PHY rate : 1000&lt;/p&gt;
&lt;p&gt;uart:~$&lt;strong&gt; wifi twt setup 0 0 1 0 0 0 1 1 10000 1000000 100&lt;/strong&gt;&lt;br /&gt;TWT operation TWT setup with dg: 1, flow_id: 0 requested&lt;br /&gt;TWT response: TWT accept&lt;br /&gt;== TWT negotiated parameters ==&lt;br /&gt;TWT Dialog token: 1&lt;br /&gt;TWT flow ID: 1&lt;br /&gt;TWT negotiation type: TWT individual negotiation&lt;br /&gt;TWT responder: true&lt;br /&gt;TWT implicit: true&lt;br /&gt;TWT announce: true&lt;br /&gt;TWT trigger: false&lt;br /&gt;TWT wake interval: 9984 us&lt;br /&gt;TWT interval: 1000000 us&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1758779246149v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Naveen P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/549745?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2025 05:26:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcbb9a96-7526-42c1-ad18-885286910872</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Merta,&lt;/p&gt;
&lt;p data-start="66" data-end="94"&gt;Any updates on this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/549626?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2025 05:34:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05e431b4-643e-4459-9c1a-f173968d4049</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p data-start="64" data-end="116"&gt;Please respond. We are waiting for your reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/549491?ContentTypeID=1</link><pubDate>Tue, 23 Sep 2025 08:08:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92bf1225-e124-4869-a5e2-ad8a1c14d0c4</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Mate,&lt;/p&gt;
&lt;p data-start="79" data-end="303"&gt;As per your advice, we made the same changes in the script, and the flash build completed successfully. However, we are still not seeing the expected logs. After enabling TWT power save, the client only sends PS-Poll frames.&lt;/p&gt;
&lt;p data-start="305" data-end="336"&gt;The following command was used:&lt;/p&gt;
&lt;div&gt;&amp;nbsp;wifi twt setup 0 0 1 0 0 0 1 1 10000 1000000 100&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Please find the attached PCaps for your reference.&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;span&gt;&lt;a title="TWT_Notworking" href="https://drive.google.com/file/d/1H2-U1TbJMtUYYoJxIF3my1jbIpdYBWpn/view?usp=sharing"&gt;https://drive.google.com/file/d/1H2-U1TbJMtUYYoJxIF3my1jbIpdYBWpn/view?usp=sharing&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks &amp;amp; Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Naveen P&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/549441?ContentTypeID=1</link><pubDate>Mon, 22 Sep 2025 12:51:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf69ddc8-8258-4378-b380-deb6ddd2980e</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;As you advised, we made the same changes in the script, but when we tried to flash, it failed with an error. &lt;/span&gt;&lt;span style="font-family:inherit;"&gt;Please find the attached logs for&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;&amp;nbsp;your reference.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;FAILED: CMakeFiles/app.dir/src/main.c.obj&lt;br /&gt;C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=213024 -DMBEDTLS_CONFIG_FILE=\&amp;quot;nrf-config.h\&amp;quot; -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\&amp;quot;nrf-psa-crypto-config.h\&amp;quot; -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\&amp;quot;nrf-psa-crypto-user-config.h\&amp;quot; -DNRF52_ERRATA_215_ENABLE_WORKAROUND=0 -DNRF5340_XXAA_APPLICATION -DNRF53_ERRATA_159_ENABLE_WORKAROUND=0 -DNRF53_ERRATA_43_ENABLE_WORKAROUND=0 -DNRF70_ANT_GAIN_2G=0 -DNRF70_ANT_GAIN_5G_BAND1=0 -DNRF70_ANT_GAIN_5G_BAND2=0 -DNRF70_ANT_GAIN_5G_BAND3=0 -DNRF70_BAND_2G_LOWER_EDGE_BACKOFF_DSSS=0 -DNRF70_BAND_2G_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_2G_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_2G_UPPER_EDGE_BACKOFF_DSSS=0 -DNRF70_BAND_2G_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_2G_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_1_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_1_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_1_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_1_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_2A_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2A_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_2A_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2A_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_2C_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2C_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_2C_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2C_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_3_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_3_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_3_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_3_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_4_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_4_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_DATA_TX -DNRF70_LOG_VERBOSE -DNRF70_MAX_TX_PENDING_QLEN=18 -DNRF70_MAX_TX_TOKENS=10 -DNRF70_PCB_LOSS_2G=0 -DNRF70_PCB_LOSS_5G_BAND1=0 -DNRF70_PCB_LOSS_5G_BAND2=0 -DNRF70_PCB_LOSS_5G_BAND3=0 -DNRF70_REG_DOMAIN=00 -DNRF70_RPU_PS_IDLE_TIMEOUT_MS=10 -DNRF70_RX_MAX_DATA_SIZE=1600 -DNRF70_RX_NUM_BUFS=48 -DNRF70_STA_MODE -DNRF70_SYSTEM_MODE -DNRF70_TCP_IP_CHECKSUM_OFFLOAD -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_WIFI_AP_DEAD_DETECT_TIMEOUT=20 -DNRF_WIFI_IFACE_MTU=1500 -DNRF_WIFI_LOW_POWER -DNRF_WIFI_MGMT_BUFF_OFFLOAD -DNRF_WIFI_PS_INT_PS=y -DNRF_WIFI_RPU_RECOVERY -DNRF_WIFI_RPU_RECOVERY_PS_ACTIVE_TIMEOUT_MS=50000 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.2/zephyr/subsys/net/ip -IC:/ncs/v2.9.2/nrf/samples/wifi/twt/modules/traffic_gen/inc -IC:/ncs/v2.9.2/nrf/samples/wifi/twt/build/twt/zephyr/include/generated/zephyr -IC:/ncs/v2.9.2/zephyr/include -IC:/ncs/v2.9.2/nrf/samples/wifi/twt/build/twt/zephyr/include/generated -IC:/ncs/v2.9.2/zephyr/soc/nordic -IC:/ncs/v2.9.2/zephyr/include/zephyr/posix -IC:/ncs/v2.9.2/zephyr/soc/nordic/nrf53/. -IC:/ncs/v2.9.2/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.2/zephyr/subsys/net/l2 -IC:/ncs/v2.9.2/zephyr/drivers/wifi/nrf_wifi/inc -IC:/ncs/v2.9.2/nrf/include -IC:/ncs/v2.9.2/nrf/samples/wifi/twt/build/twt/zephyr/misc/generated -IC:/ncs/v2.9.2/modules/lib/hostap/port/mbedtls -IC:/ncs/v2.9.2/nrf/tests/include -IC:/ncs/v2.9.2/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.2/zephyr/modules/cmsis/. -IC:/ncs/v2.9.2/modules/hal/nordic/nrfx -IC:/ncs/v2.9.2/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.2/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.2/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.2/zephyr/modules/hostap/src -IC:/ncs/v2.9.2/modules/lib/hostap -IC:/ncs/v2.9.2/modules/lib/hostap/wpa_supplicant -IC:/ncs/v2.9.2/modules/lib/hostap/src -IC:/ncs/v2.9.2/modules/lib/hostap/src/common -IC:/ncs/v2.9.2/modules/lib/hostap/src/eap_common -IC:/ncs/v2.9.2/modules/lib/hostap/src/eap_server -IC:/ncs/v2.9.2/modules/lib/hostap/src/radius -IC:/ncs/v2.9.2/modules/lib/hostap/src/crypto -IC:/ncs/v2.9.2/modules/lib/hostap/src/ap -IC:/ncs/v2.9.2/modules/lib/hostap/src/drivers -IC:/ncs/v2.9.2/modules/lib/hostap/src/rsn_supp -IC:/ncs/v2.9.2/nrf/samples/wifi/twt/build/twt/generated/library_nrf_security_psa -IC:/ncs/v2.9.2/nrf/subsys/nrf_security/include -IC:/ncs/v2.9.2/nrf/subsys/nrf_security/src/threading/include -IC:/ncs/v2.9.2/nrf/subsys/nrf_security/src/utils -IC:/ncs/v2.9.2/modules/crypto/oberon-psa-crypto/oberon/drivers -IC:/ncs/v2.9.2/modules/crypto/oberon-psa-crypto/include -IC:/ncs/v2.9.2/modules/crypto/oberon-psa-crypto/library -IC:/ncs/v2.9.2/modules/crypto/mbedtls/library -IC:/ncs/v2.9.2/modules/crypto/mbedtls/include -IC:/ncs/v2.9.2/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.2/nrfxlib/crypto/nrf_oberon/include -IC:/ncs/v2.9.2/nrfxlib/crypto/nrf_oberon/include/mbedtls -IC:/ncs/v2.9.2/zephyr/modules/nrf_wifi/os -IC:/ncs/v2.9.2/zephyr/modules/nrf_wifi/os/../bus -IC:/ncs/v2.9.2/modules/lib/nrf_wifi/utils/inc -IC:/ncs/v2.9.2/modules/lib/nrf_wifi/os_if/inc -IC:/ncs/v2.9.2/modules/lib/nrf_wifi/bus_if/bus/qspi/inc -IC:/ncs/v2.9.2/modules/lib/nrf_wifi/bus_if/bal/inc -IC:/ncs/v2.9.2/modules/lib/nrf_wifi/fw_if/umac_if/inc -IC:/ncs/v2.9.2/modules/lib/nrf_wifi/fw_load/mips/fw/inc -IC:/ncs/v2.9.2/modules/lib/nrf_wifi/hw_if/hal/inc -IC:/ncs/v2.9.2/modules/lib/nrf_wifi/hw_if/hal/inc/fw -IC:/ncs/v2.9.2/modules/lib/nrf_wifi/fw_if/umac_if/inc/fw -IC:/ncs/v2.9.2/modules/lib/nrf_wifi/fw_if/umac_if/inc/default -isystem C:/ncs/v2.9.2/zephyr/lib/libc/common/include -isystem C:/ncs/v2.9.2/nrfxlib/crypto/nrf_cc312_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/ncs/v2.9.2/nrf/samples/wifi/twt/build/twt/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.2/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/ncs/v2.9.2/nrf/samples/wifi/twt=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.2/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.2=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles\app.dir\src\main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c C:/ncs/v2.9.2/nrf/samples/wifi/twt/src/main.c&lt;br /&gt;C:/ncs/v2.9.2/nrf/samples/wifi/twt/src/main.c: In function &amp;#39;main&amp;#39;:&lt;br /&gt;C:/ncs/v2.9.2/nrf/samples/wifi/twt/src/main.c:426:25: warning: implicit declaration of function &amp;#39;traffic_gen_init&amp;#39;; did you mean &amp;#39;traffic_gen_stop&amp;#39;? [-Wimplicit-function-declaration]&lt;br /&gt; 426 | traffic_gen_init(&amp;amp;tg_config);&lt;br /&gt; | ^~~~~~~~~~~~~~~~&lt;br /&gt; | traffic_gen_stop&lt;br /&gt;C:/ncs/v2.9.2/nrf/samples/wifi/twt/src/main.c:428:29: error: void value not ignored as it ought to be&lt;br /&gt; 428 | ret = traffic_gen_start(&amp;amp;tg_config);&lt;br /&gt; | ^&lt;br /&gt;C:/ncs/v2.9.2/nrf/samples/wifi/twt/src/main.c:434:31: warning: implicit declaration of function &amp;#39;traffic_gen_wait_for_report&amp;#39; [-Wimplicit-function-declaration]&lt;br /&gt; 434 | ret = traffic_gen_wait_for_report(&amp;amp;tg_config);&lt;br /&gt; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;C:/ncs/v2.9.2/nrf/samples/wifi/twt/src/main.c:439:25: warning: implicit declaration of function &amp;#39;traffic_gen_get_report&amp;#39;; did you mean &amp;#39;traffic_gen_start&amp;#39;? [-Wimplicit-function-declaration]&lt;br /&gt; 439 | traffic_gen_get_report(&amp;amp;tg_config);&lt;br /&gt; | ^~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt; | traffic_gen_start&lt;br /&gt;[244/457] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/tcp.c.obj&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;FAILED: _sysbuild/sysbuild/images/twt-prefix/src/twt-stamp/twt-build C:/ncs/v2.9.2/nrf/samples/wifi/twt/build/_sysbuild/sysbuild/images/twt-prefix/src/twt-stamp/twt-build&lt;br /&gt;cmd.exe /C &amp;quot;cd /D C:\ncs\v2.9.2\nrf\samples\wifi\twt\build\twt &amp;amp;&amp;amp; C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe --build .&amp;quot;&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE&amp;#39; --build C:/ncs/v2.9.2/nrf/samples/wifi/twt/build&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks &amp;amp; Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Naveen P&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/549306?ContentTypeID=1</link><pubDate>Fri, 19 Sep 2025 12:05:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f09a986-0d97-4a95-be2f-f6aca10f99a0</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Naveen,&lt;/p&gt;
&lt;p&gt;The ifdef for&amp;nbsp;CONFIG_SCHEDULED_TX should not have been included in the previous function, so I apologize for that. &lt;br /&gt;Please try this instead:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void wifi_mgmt_event_handler(struct net_mgmt_event_callback *cb,
				     uint32_t mgmt_event, struct net_if *iface)
{
	switch (mgmt_event) {
	case NET_EVENT_WIFI_CONNECT_RESULT:
		handle_wifi_connect_result(cb);
		break;
	case NET_EVENT_WIFI_DISCONNECT_RESULT:
		handle_wifi_disconnect_result(cb);
		break;
	case NET_EVENT_WIFI_TWT:
		handle_wifi_twt_event(cb);
		break;
	case NET_EVENT_WIFI_TWT_SLEEP_STATE: {
		int *twt_state;

		twt_state = (int *)(cb-&amp;gt;info);
		LOG_INF(&amp;quot;TWT sleep state: %s&amp;quot;, *twt_state ? &amp;quot;awake&amp;quot; : &amp;quot;sleeping&amp;quot; );
		if (*twt_state == WIFI_TWT_STATE_SLEEP) {
			traffic_gen_pause(&amp;amp;tg_config);
		} else if (*twt_state == WIFI_TWT_STATE_AWAKE)  {
			traffic_gen_resume(&amp;amp;tg_config);
		} else {
			LOG_INF(&amp;quot;UNKNOWN TWT STATE %d&amp;quot;, *twt_state);
		}
	}
		break;
	default:
		break;
	}
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can also remove the traffic_gen_pause() and traffic_gen_resume() functions. The most important part is to log the sleep state:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void wifi_mgmt_event_handler(struct net_mgmt_event_callback *cb,
				     uint32_t mgmt_event, struct net_if *iface)
{
	switch (mgmt_event) {
	case NET_EVENT_WIFI_CONNECT_RESULT:
		handle_wifi_connect_result(cb);
		break;
	case NET_EVENT_WIFI_DISCONNECT_RESULT:
		handle_wifi_disconnect_result(cb);
		break;
	case NET_EVENT_WIFI_TWT:
		handle_wifi_twt_event(cb);
		break;
	case NET_EVENT_WIFI_TWT_SLEEP_STATE: {
		int *twt_state;

		twt_state = (int *)(cb-&amp;gt;info);
		LOG_INF(&amp;quot;TWT sleep state: %s&amp;quot;, *twt_state ? &amp;quot;awake&amp;quot; : &amp;quot;sleeping&amp;quot; );
	}
		break;
	default:
		break;
	}
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/549181?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2025 12:41:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bcfcc21-e057-409d-a6e8-4bdda496b7c9</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;As you advised, we followed the steps to collect the logs, but we are still not able to see the logs as expected.&lt;span&gt;Please find the attached screenshot for your reference.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:320px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x640/__key/communityserver-discussions-components-files/4/pastedimage1758197244818v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Additionally, we do not have a PPK2 device available to measure power consumption.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Naveen P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/549120?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2025 07:52:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:beb5f094-3c33-478f-93c8-888db908bb42</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Naveen,&lt;/p&gt;
&lt;p&gt;If you add logging inside&amp;nbsp;NET_EVENT_WIFI_TWT_SLEEP_STATE you should be able to see if it enters sleep state. For example, you can add this line after retrieving the twt_state:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;LOG_INF(&amp;quot;TWT sleep state: %s&amp;quot;, *twt_state ? &amp;quot;awake&amp;quot; : &amp;quot;sleeping&amp;quot; );&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So the full function will look like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void wifi_mgmt_event_handler(struct net_mgmt_event_callback *cb,
				     uint32_t mgmt_event, struct net_if *iface)
{
	switch (mgmt_event) {
	case NET_EVENT_WIFI_CONNECT_RESULT:
		handle_wifi_connect_result(cb);
		break;
	case NET_EVENT_WIFI_DISCONNECT_RESULT:
		handle_wifi_disconnect_result(cb);
		break;
	case NET_EVENT_WIFI_TWT:
		handle_wifi_twt_event(cb);
		break;
#ifdef CONFIG_SCHEDULED_TX
	case NET_EVENT_WIFI_TWT_SLEEP_STATE: {
		int *twt_state;

		twt_state = (int *)(cb-&amp;gt;info);
		LOG_INF(&amp;quot;TWT sleep state: %s&amp;quot;, *twt_state ? &amp;quot;awake&amp;quot; : &amp;quot;sleeping&amp;quot; );
		if (*twt_state == WIFI_TWT_STATE_SLEEP) {
			traffic_gen_pause(&amp;amp;tg_config);
		} else if (*twt_state == WIFI_TWT_STATE_AWAKE)  {
			traffic_gen_resume(&amp;amp;tg_config);
		} else {
			LOG_INF(&amp;quot;UNKNOWN TWT STATE %d&amp;quot;, *twt_state);
		}
	}
		break;
#endif
	default:
		break;
	}
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;With this, you should see log similar to this, which shows that the device enters sleep state:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;TWT sleep state: sleeping
TWT sleep state: awake
TWT sleep state: sleeping
TWT sleep state: awake
TWT sleep state: sleeping&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, the best way to test whether it goes into sleep mode is to measure power consumption. If you have a PPK2 or another tool for measuring power consumption, I recommend doing so. The power consumption should look similar to this if it enters sleep mode:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" title="" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1758182132152v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The client does not enter sleep mode as expected.</title><link>https://devzone.nordicsemi.com/thread/549107?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2025 05:03:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97ff04cd-fe35-4f3c-85a7-25174d4cded9</guid><dc:creator>Naveen Pyda</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;Please find the attached screenshot for your reference .&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:320px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x640/__key/communityserver-discussions-components-files/4/pastedimage1758171617351v2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>