<?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>twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116014/twt-setup-wrong-parameter-count</link><description>I want to use the example of &amp;quot;Wi Fi: Shell&amp;quot; to set TWT parameters by referring to the official documentation： 
 https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/wifi/station_mode/powersave.html 
 and blogs: 
 https://devzone.nordicsemi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Dec 2024 14:26:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116014/twt-setup-wrong-parameter-count" /><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/514920?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2024 14:26:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86f13a21-4a4b-45f7-aee6-78b5059f0ba3</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Have you tried updating to OpenWrt 23.05 and see if the issue persists?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/514792?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2024 15:32:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca5183d0-9cc2-46b7-9808-6c8606a7cb25</guid><dc:creator>ChengQing Zhao</dc:creator><description>&lt;p&gt;Hi, my ap is GliNet, system is from&amp;nbsp;&lt;span&gt;OpenWrt R22.3.3 (&lt;a href="https://github.com/openwrt/luci"&gt;Powered by LuCI Master (git-22.060.11889-fb941f7)&lt;/a&gt;&amp;nbsp;/ OpenWrt R22.3.3).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NCS v2.7.0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;under your help, i try to&amp;nbsp; find the problem&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I change the sixth paramete&lt;span style="background-color:#ff0000;"&gt;r&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color:#ff0000;"&gt;&amp;lt;trigger:0/1&amp;gt;&amp;nbsp;to 0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;wifi twt setup 0 0 2 2 0 &lt;span style="background-color:#ff0000;"&gt;0&lt;/span&gt; 1 1 20000 100000 0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;that seems work well, but still some error in the log when i input the &amp;quot;wifi status&amp;quot;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;uart:~$ &amp;gt; wifi twt setup 0 0 2 2 0 0 1 1 20000 100000 0&lt;br /&gt;wifi twt setup 0 0 2 2 0 0 1 1 20000 100000 0&lt;br /&gt;TWT operation TWT setup with dg: 2, flow_id: 2 requested&lt;br /&gt;TWT response: TWT accept&lt;br /&gt;== TWT negotiated parameters ==&lt;br /&gt;TWT Dialog token: 2&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: 19968 us&lt;br /&gt;TWT interval: 100000 us&lt;br /&gt;========================&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;uart:~$ &amp;gt; wifi status&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;wifi status&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;Status: successful&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;==================&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;State: COMPLETED&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;Interface Mode: STATION&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;Link Mode: WIFI 6 (802.11ax/HE)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;SSID: OpenWrt&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;BSSID: 94:83:C4:1F:05:DA&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;Band: 5GHz&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;Channel: 36&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;Security: WPA2-PSK&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;MFP: Optional&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;RSSI: -9999&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;Beacon Interval: 100&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;DTIM: 1&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT: Supported&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;[00:08:29.909,057] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_signal_poll: Failed to get interface info, ret = -11&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;[00:08:29.909,088] &amp;lt;err&amp;gt; wpa_supp: wpa_drv_zep_signal_poll: Signal polling failed: -1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ff0000;"&gt;[00:08:29.909,820] &amp;lt;err&amp;gt; wpa_supp: Command failed: FAIL&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;[00:08:29.909,851] &amp;lt;wrn&amp;gt; wpa_supp: z_wpa_supplicant_status:Failed to read RSSI&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;uart:~$ &amp;gt; net ping 192.168.6.1&lt;br /&gt;net ping 192.168.6.1&lt;br /&gt;PING 192.168.6.1&lt;br /&gt;28 bytes from 192.168.6.1 to 192.168.6.192: icmp_seq=1 ttl=64 time=12 ms&lt;br /&gt;28 bytes from 192.168.6.1 to 192.168.6.192: icmp_seq=2 ttl=64 time=11 ms&lt;br /&gt;28 bytes from 192.168.6.1 to 192.168.6.192: icmp_seq=3 ttl=64 time=12 ms&lt;br /&gt;uart:~$&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/514784?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2024 14:46:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e1976b1-2c07-4aab-ae38-1f08d25f8f9f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried both your configurations successfully against a ASUS RT-AX1800U running OpenWrt v23.05:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Using nRF Connect SDK v2.8.0-a2386bfc8401 ***
*** Using Zephyr OS v3.7.99-0bc3393fb112 ***
Starting nrf7002dk with CPU frequency: 128 MHz
[00:00:00.699,462] &amp;lt;inf&amp;gt; wifi_supplicant: wpa_supplicant initialized
uart:~$ 
uart:~$ wifi connect -s OpenWrt -k 1 -p mypassword
Connection requested
Connected
[00:01:49.010,589] &amp;lt;inf&amp;gt; wpa_supp: wlan0: SME: Trying to authenticate with fc:34:97:0b:f6:dc (SSID=&amp;#39;OpenWrt&amp;#39; freq=5180)
[00:01:49.368,438] &amp;lt;inf&amp;gt; wpa_supp: wlan0: Trying to associate with fc:34:97:0b:f6:dc (SSID=&amp;#39;OpenWrt&amp;#39; freq=5180 MHz)
[00:01:49.387,084] &amp;lt;inf&amp;gt; wpa_supp: wlan0: Associated with fc:34:97:0b:f6:dc
[00:01:49.387,268] &amp;lt;inf&amp;gt; wpa_supp: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
[00:01:49.398,681] &amp;lt;inf&amp;gt; wpa_supp: wlan0: WPA: Key negotiation completed with fc:34:97:0b:f6:dc [PTK=CCMP GTK=TKIP]
[00:01:49.398,895] &amp;lt;inf&amp;gt; wpa_supp: wlan0: CTRL-EVENT-CONNECTED - Connection to fc:34:97:0b:f6:dc completed [id=0 id_st]
uart:~$ wifi twt setup 0 0 2 2 0 1 1 1 20000 100000 0
TWT operation TWT setup with dg: 2, flow_id: 2 requested
TWT response: TWT accept
== TWT negotiated parameters ==
TWT Dialog token: 2
TWT flow ID: 0
TWT negotiation type: TWT individual negotiation
TWT responder: true
TWT implicit: true
TWT announce: true
TWT trigger: true
TWT wake interval: 19968 us
TWT interval: 100000 us
========================
[00:01:52.413,513] &amp;lt;inf&amp;gt; net_dhcpv4: Received: 192.168.32.196
uart:~$ net ping 8.8.8.8
PING 8.8.8.8
28 bytes from 8.8.8.8 to 192.168.32.196: icmp_seq=1 ttl=54 time=130 ms
28 bytes from 8.8.8.8 to 192.168.32.196: icmp_seq=2 ttl=54 time=131 ms
28 bytes from 8.8.8.8 to 192.168.32.196: icmp_seq=3 ttl=54 time=133 ms
uart:~$ net ping 8.8.8.8
PING 8.8.8.8
28 bytes from 8.8.8.8 to 192.168.32.196: icmp_seq=1 ttl=54 time=121 ms
28 bytes from 8.8.8.8 to 192.168.32.196: icmp_seq=2 ttl=54 time=124 ms
28 bytes from 8.8.8.8 to 192.168.32.196: icmp_seq=3 ttl=54 time=125 ms
uart:~$ wifi twt tear
  teardown      teardown_all
uart:~$ wifi twt teardown_all 
TWT teardown succeeded for flow ID 0
TWT operation TWT teardown all flows success
uart:~$ wifi twt setup 0 0 2 2 0 1 1 1 200000 1000000 0
TWT operation TWT setup with dg: 2, flow_id: 2 requested
TWT response: TWT reject
== TWT negotiated parameters ==
TWT Dialog token: 2
TWT flow ID: 2
TWT negotiation type: TWT individual negotiation
TWT responder: false
TWT implicit: true
TWT announce: true
TWT trigger: true
TWT wake interval: 199680 us
TWT interval: 1000000 us
========================
uart:~$ net ping 8.8.8.8
PING 8.8.8.8
28 bytes from 8.8.8.8 to 192.168.32.196: icmp_seq=1 ttl=54 time=64 ms
28 bytes from 8.8.8.8 to 192.168.32.196: icmp_seq=2 ttl=54 time=54 ms
28 bytes from 8.8.8.8 to 192.168.32.196: icmp_seq=3 ttl=54 time=66 ms
uart:~$ net ping 8.8.8.8
PING 8.8.8.8
28 bytes from 8.8.8.8 to 192.168.32.196: icmp_seq=1 ttl=54 time=57 ms
28 bytes from 8.8.8.8 to 192.168.32.196: icmp_seq=2 ttl=54 time=59 ms
28 bytes from 8.8.8.8 to 192.168.32.196: icmp_seq=3 ttl=54 time=141 ms
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using NCS v2.8.0, completely unchanged wifi/shell sample. Which access point are you using? It could be that the timing parameters given for TWT is problematic for the AP that you&amp;#39;re using?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/514633?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2024 02:45:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76057a74-619d-4c29-8317-8b13680c2ff8</guid><dc:creator>ChengQing Zhao</dc:creator><description>&lt;p&gt;Hi, i am try it again:&lt;/p&gt;
&lt;p&gt;wifi twt setup 0 0 2 2 0 1 1 1 200000 1000000 0&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;wifi twt setup 0 0 2 2 0 1 1 1 20000 100000 0&lt;/p&gt;
&lt;p&gt;are all not ok. it still can not ping.&lt;/p&gt;
&lt;p&gt;the log is:&lt;/p&gt;
&lt;p&gt;&amp;gt; wifi connect -s &amp;quot;OpenWrt&amp;quot; -p &amp;quot;12345678&amp;quot; -k 1&lt;br /&gt;wifi connect -s &amp;quot;OpenWrt&amp;quot; -p &amp;quot;12345678&amp;quot; -k 1&lt;br /&gt;Connection requested&lt;br /&gt;Connected&lt;br /&gt;[00:00:34.554,504] &amp;lt;inf&amp;gt; wpa_supp: nordic_wlan0: SME: Trying to authenticate with 94:83:c4:1f:05:da (SSID=&amp;#39;OpenWrt&amp;#39; freq=5180 MHz)&lt;br /&gt;[00:00:34.804,779] &amp;lt;inf&amp;gt; wpa_supp: nordic_wlan0: Trying to associate with 94:83:c4:1f:05:da (SSID=&amp;#39;OpenWrt&amp;#39; freq=5180 MHz)&lt;br /&gt;[00:00:34.822,967] &amp;lt;inf&amp;gt; wpa_supp: nordic_wlan0: Associated with 94:83:c4:1f:05:da&lt;br /&gt;[00:00:34.823,150] &amp;lt;inf&amp;gt; wpa_supp: nordic_wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0&lt;br /&gt;[00:00:34.836,517] &amp;lt;inf&amp;gt; wpa_supp: nordic_wlan0: WPA: Key negotiation completed with 94:83:c4:1f:05:da [PTK=CCMP GTK=CCMP]&lt;br /&gt;[00:00:34.836,730] &amp;lt;inf&amp;gt; wpa_supp: nordic_wlan0: CTRL-EVENT-CONNECTED - Connection to 94:83:c4:1f:05:da completed [id=0 id_str=]&lt;br /&gt;[00:00:37.957,916] &amp;lt;inf&amp;gt; net_dhcpv4: Received: 192.168.6.192&lt;br /&gt;uart:~$ &amp;gt; wifi twt setup 0 0 2 2 0 1 1 1 20000 100000 0&lt;br /&gt;wifi twt setup 0 0 2 2 0 1 1 1 20000 100000 0&lt;br /&gt;TWT operation TWT setup with dg: 2, flow_id: 2 requested&lt;br /&gt;TWT response: TWT accept&lt;br /&gt;== TWT negotiated parameters ==&lt;br /&gt;TWT Dialog token: 2&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: true&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT wake interval: 19968 us&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT interval: 100000 us&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;========================&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;uart:~$ &amp;gt; net ping 192.168.6.1&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;net ping 192.168.6.1&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;PING 192.168.6.1&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;Ping timeout&lt;/span&gt;&lt;br /&gt;uart:~$ &amp;gt; wifi twt setup 0 0 2 2 0 1 1 1 200000 1000000 0&lt;br /&gt;wifi twt setup 0 0 2 2 0 1 1 1 200000 1000000 0&lt;br /&gt;TWT operation TWT setup with dg: 2, flow_id: 2 requested&lt;br /&gt;[00:02:48.167,022] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_signal_poll: Failed to get interface info, ret = -11&lt;br /&gt;[00:02:48.167,053] &amp;lt;err&amp;gt; wpa_supp: wpa_drv_zep_signal_poll: Signal polling failed: -1&lt;/p&gt;
&lt;p&gt;[00:02:48.167,785] &amp;lt;err&amp;gt; wpa_supp: Command failed: FAIL&lt;br /&gt;[00:02:48.167,816] &amp;lt;wrn&amp;gt; wpa_supp: z_wpa_supplicant_status:Failed to read RSSI&lt;/p&gt;
&lt;p&gt;uart:~$ &amp;gt; wifi twt teardown_all&lt;br /&gt;wifi twt teardown_all&lt;br /&gt;TWT teardown succeeded for flow ID 1&lt;br /&gt;TWT operation TWT teardown all flows success&lt;br /&gt;uart:~$ &amp;gt; wifi twt setup 0 0 2 2 0 1 1 1 200000 1000000 0&lt;br /&gt;wifi twt setup 0 0 2 2 0 1 1 1 200000 1000000 0&lt;br /&gt;TWT operation TWT setup with dg: 2, flow_id: 2 requested&lt;br /&gt;TWT response: TWT accept&lt;br /&gt;== TWT negotiated parameters ==&lt;br /&gt;TWT Dialog token: 2&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: true&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT wake interval: 49920 us&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT interval: 1000000 us&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;========================&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;uart:~$ &amp;gt; net ping 192.168.6.1&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;net ping 192.168.6.1&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;PING 192.168.6.1&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;Ping timeout&lt;/span&gt;&lt;br /&gt;uart:~$ &amp;gt; wifi twt teardown_all&lt;br /&gt;wifi twt teardown_all&lt;br /&gt;TWT teardown succeeded for flow ID 1&lt;br /&gt;TWT operation TWT teardown all flows success&lt;br /&gt;uart:~$ &amp;gt; wifi status&lt;br /&gt;wifi status&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: OpenWrt&lt;br /&gt;BSSID: 94:83:C4:1F:05:DA&lt;br /&gt;Band: 5GHz&lt;br /&gt;Channel: 36&lt;br /&gt;Security: WPA2-PSK&lt;br /&gt;MFP: Optional&lt;br /&gt;RSSI: -39&lt;br /&gt;Beacon Interval: 100&lt;br /&gt;DTIM: 1&lt;br /&gt;TWT: Supported&lt;br /&gt;uart:~$ &amp;gt; net ping 192.168.6.1&lt;br /&gt;net ping 192.168.6.1&lt;br /&gt;PING 192.168.6.1&lt;br /&gt;28 bytes from 192.168.6.1 to 192.168.6.192: icmp_seq=1 ttl=64 time=202 ms&lt;br /&gt;28 bytes from 192.168.6.1 to 192.168.6.192: icmp_seq=2 ttl=64 time=8 ms&lt;br /&gt;28 bytes from 192.168.6.1 to 192.168.6.192: icmp_seq=3 ttl=64 time=11 ms&lt;br /&gt;uart:~$&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/514489?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2024 11:53:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b51d397d-1e22-46eb-83d3-79ea7561e77b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>[quote user="ChengQing Zhao"]TWT wake interval: 9984 us[/quote]
&lt;p&gt;Set the wake interval to &amp;gt;20000 us, and retry. Your current wake interval is too low.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/514443?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2024 09:05:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9ce70b6-1659-4545-8e6c-632eb6eccd40</guid><dc:creator>ChengQing Zhao</dc:creator><description>&lt;p&gt;OK， I see， what I want to do is to prove twt not better than dtim mode. if it is not can set 100ms, how can I prove it?&lt;/p&gt;
&lt;p&gt;because of the most of the device default value is 100ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/514435?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2024 08:46:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9380ac0-9f61-4348-a763-ce5a7d122a1d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="ChengQing Zhao"]&lt;span style="background-color:rgba(255, 0, 0, 1);"&gt;TWT wake interval: 9984 us&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:rgba(255, 0, 0, 1);"&gt;TWT interval: 100000 us&lt;/span&gt;[/quote]
&lt;p&gt;Try setting the wake interval higher, for instance 20000 us.&lt;/p&gt;
&lt;p&gt;You are using a TWT interval of 0.1 seconds, which is very low. It does not make sense to use it with such a low period, it is then better to use DTIM/Listen_interval.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/514356?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2024 18:26:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a865d5b-174c-4cce-822a-eb7eb8961ab0</guid><dc:creator>ChengQing Zhao</dc:creator><description>&lt;p&gt;Thank you,&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/hkn"&gt;H&amp;aring;kon Alseth&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;run Zperf successfully. But I have a new question as the log shows:&lt;/p&gt;
&lt;p&gt;when I change to TWT mode, nRF7002-DK can not even ping the server.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;uart:~$ &amp;gt; wifi connect -s &amp;quot;OpenWrt&amp;quot; -p &amp;quot;12345678&amp;quot; -k 1&lt;br /&gt;wifi connect -s &amp;quot;OpenWrt&amp;quot; -p &amp;quot;12345678&amp;quot; -k 1&lt;br /&gt;Connection requested&lt;br /&gt;Connected&lt;br /&gt;[00:00:42.920,135] &amp;lt;inf&amp;gt; wpa_supp: nordic_wlan0: SME: Trying to authenticate with 94:83:c4:1f:05:da (SSID=&amp;#39;OpenWrt&amp;#39; freq=5180 MHz)&lt;br /&gt;[00:00:43.171,142] &amp;lt;inf&amp;gt; wpa_supp: nordic_wlan0: Trying to associate with 94:83:c4:1f:05:da (SSID=&amp;#39;OpenWrt&amp;#39; freq=5180 MHz)&lt;br /&gt;[00:00:43.184,265] &amp;lt;inf&amp;gt; wpa_supp: nordic_wlan0: Associated with 94:83:c4:1f:05:da&lt;br /&gt;[00:00:43.184,356] &amp;lt;inf&amp;gt; wpa_supp: nordic_wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0&lt;br /&gt;[00:00:43.194,274] &amp;lt;inf&amp;gt; wpa_supp: nordic_wlan0: WPA: Key negotiation completed with 94:83:c4:1f:05:da [PTK=CCMP GTK=CCMP]&lt;br /&gt;[00:00:43.194,427] &amp;lt;inf&amp;gt; wpa_supp: nordic_wlan0: CTRL-EVENT-CONNECTED - Connection to 94:83:c4:1f:05:da completed [id=0 id_str=]&lt;br /&gt;[00:00:43.203,948] &amp;lt;inf&amp;gt; net_dhcpv4: Received: 192.168.6.192&lt;br /&gt;[00:00:43.204,010] &amp;lt;inf&amp;gt; net_config: IPv4 address: 192.168.6.192&lt;br /&gt;[00:00:43.204,010] &amp;lt;inf&amp;gt; net_config: Lease time: 43200 seconds&lt;br /&gt;[00:00:43.204,010] &amp;lt;inf&amp;gt; net_config: Subnet: 255.255.255.0&lt;br /&gt;[00:00:43.204,040] &amp;lt;inf&amp;gt; net_config: Router: 192.168.6.1&lt;br /&gt;uart:~$ &amp;gt; wifi status&lt;br /&gt;wifi status&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: OpenWrt&lt;br /&gt;BSSID: 94:83:C4:1F:05:DA&lt;br /&gt;Band: 5GHz&lt;br /&gt;Channel: 36&lt;br /&gt;Security: WPA2-PSK&lt;br /&gt;MFP: Optional&lt;br /&gt;RSSI: -43&lt;br /&gt;Beacon Interval: 100&lt;br /&gt;DTIM: 1&lt;br /&gt;TWT: Supported&lt;br /&gt;uart:~$ &amp;gt; net ping 192.168.6.118&lt;br /&gt;net ping 192.168.6.118&lt;br /&gt;PING 192.168.6.118&lt;br /&gt;28 bytes from 192.168.6.118 to 192.168.6.192: icmp_seq=1 ttl=64 time=12 ms&lt;br /&gt;28 bytes from 192.168.6.118 to 192.168.6.192: icmp_seq=2 ttl=64 time=10 ms&lt;br /&gt;28 bytes from 192.168.6.118 to 192.168.6.192: icmp_seq=3 ttl=64 time=11 ms&lt;br /&gt;uart:~$ &amp;gt; zperf tcp upload 192.168.6.118 5001 10 1K 5M&lt;br /&gt;zperf tcp upload 192.168.6.118 5001 10 1K 5M&lt;br /&gt;Remote port is 5001&lt;br /&gt;Connecting to 192.168.6.118&lt;br /&gt;TCP upload will ignore &amp;lt;baud rate&amp;gt; argument&lt;br /&gt;Duration: 10.00 s&lt;br /&gt;Packet size: 1000 bytes&lt;br /&gt;Rate: 5000 kbps&lt;br /&gt;Starting...&lt;br /&gt;-&lt;br /&gt;Upload completed!&lt;br /&gt;Duration: 10.00 s&lt;br /&gt;Num packets: 19276&lt;br /&gt;Num errors: 0 (retry or fail)&lt;br /&gt;Rate: 15.42 Mbps&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;uart:~$ &amp;gt; wifi twt setup 0 0 2 2 0 1 1 1 10000 100000 0&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;wifi twt setup 0 0 2 2 0 1 1 1 10000 100000 0&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT operation TWT setup with dg: 2, flow_id: 2 requested&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT response: TWT accept&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;== TWT negotiated parameters ==&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT Dialog token: 2&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT flow ID: 1&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT negotiation type: TWT individual negotiation&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT responder: false&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT implicit: true&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT announce: true&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT trigger: true&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT wake interval: 9984 us&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT interval: 100000 us&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;========================&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;uart:~$ &amp;gt; net ping 192.168.6.118&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;net ping 192.168.6.118&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;PING 192.168.6.118&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;Ping timeout&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/511823?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 08:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:810ddad6-a987-40c5-8b9e-849c2c708e5d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Click button &amp;quot;Add extra fragment&amp;quot; - then select the file &amp;quot;overlay-zperf.conf&amp;quot;, and click &amp;quot;OK&amp;quot;.&lt;/p&gt;
&lt;p&gt;It should then look like this:&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/pastedimage1732522081663v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="ChengQing Zhao"]Yes, twt example seem to give another way, but it can not set DTIM mode, i want&amp;nbsp; to compare the throughput under DTIM and TWT, so, i think zperf is more simple and&amp;nbsp;flexible.[/quote]
&lt;p&gt;DTIM is enabled by default. The nrf7002 will follow what is set by the access point.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/511727?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 16:48:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0a5206a-29eb-43dd-a35e-8841d853224e</guid><dc:creator>ChengQing Zhao</dc:creator><description>&lt;p&gt;Thank you&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/hkn"&gt;H&amp;aring;kon Alseth&lt;/a&gt;, Wi-Fi:Shell example is seem already include&amp;nbsp;&lt;span&gt;&amp;quot;overlay-zperf.conf&amp;quot;, as shown in the picture.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1732293578294v2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="2115" url="~/f/nordic-q-a/116014/twt-setup-wrong-parameter-count/511714"]In order to add zperf to the wifi/shell sample, you need to append the &amp;quot;overlay-zperf.conf&amp;quot; to your sample.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, that is my question, i am sorry. thank you for your guidance&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="2115" url="~/f/nordic-q-a/116014/twt-setup-wrong-parameter-count/511714"]Which example is this based on?&amp;nbsp;The command&amp;nbsp;should be &amp;quot;wifi twt&amp;quot; if you are using the wifi/shell.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, twt example seem to give another way, but it can not set DTIM mode, i want&amp;nbsp; to compare the throughput under DTIM and TWT, so, i think zperf is more simple and&amp;nbsp;flexible.&lt;/p&gt;
[quote userid="2115" url="~/f/nordic-q-a/116014/twt-setup-wrong-parameter-count/511714"]&lt;p&gt;Have you had a look at the twt sample? it includes a way to generate traffic to the device:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/wifi/twt/README.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/wifi/twt/README.html&lt;/a&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/511714?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 15:24:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:629ee8b2-9370-4b70-8916-c4dfa04b3bf7</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In order to add zperf to the wifi/shell sample, you need to append the &amp;quot;overlay-zperf.conf&amp;quot; to your sample.&lt;/p&gt;
[quote user="ChengQing Zhao"]&lt;span style="background-color:rgba(255, 0, 0, 1);"&gt;uart:~$ &amp;gt; twt&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:rgba(255, 0, 0, 1);"&gt;twt&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:rgba(255, 0, 0, 1);"&gt;twt: command not found&lt;/span&gt;[/quote]
&lt;p&gt;Which example is this based on?&amp;nbsp;The command&amp;nbsp;should be &amp;quot;wifi twt&amp;quot; if you are using the wifi/shell.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you had a look at the twt sample? it includes a way to generate traffic to the device:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/wifi/twt/README.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/wifi/twt/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/511565?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2024 17:57:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a92ca5a3-ec3d-4d12-8df6-0f380d872c04</guid><dc:creator>ChengQing Zhao</dc:creator><description>&lt;p&gt;I find the throughput example, zperf command is ok, but it can not set TWT mode, as shown in the log.&lt;/p&gt;
&lt;p&gt;So, i do not know how to run iperf under TWT and DTIM mode, i want to test the performance under this two save power mode, can you give some help, thank you very much!&lt;/p&gt;
&lt;p&gt;uart:~$ &amp;gt; zperf&lt;br /&gt;zperf&lt;br /&gt;zperf - Zperf commands&lt;br /&gt;Subcommands:&lt;br /&gt; connectap : Connect to AP&lt;br /&gt; setip : Set IP address&lt;br /&gt; &amp;lt;my ip&amp;gt; &amp;lt;prefix len&amp;gt;&lt;br /&gt; Example setip 2001:db8::2 64&lt;br /&gt; Example setip 192.0.2.2&lt;/p&gt;
&lt;p&gt;tcp : Upload/Download TCP data&lt;br /&gt; udp : Upload/Download UDP data&lt;br /&gt; version : Zperf version&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;uart:~$ &amp;gt; twt&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;twt&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;twt: command not found&lt;/span&gt;&lt;br /&gt;uart:~$&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/511561?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2024 17:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a5aceba-e38d-437f-8d25-9cc363b39783</guid><dc:creator>ChengQing Zhao</dc:creator><description>&lt;p&gt;Thank you &lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/hkn"&gt;H&amp;aring;kon Alseth&lt;/a&gt;, i am sorry so late to reply to you, it is run ok now, but i meet a new question, how can i run iperf&amp;nbsp; on the TWT mode and DTIM mode&amp;nbsp; by the nRF7002-DK.&lt;/p&gt;
&lt;p&gt;As you can see the log below, there is no zperf command.&lt;/p&gt;
&lt;p&gt;uart:~$ &amp;gt; wifi twt teardown_all&lt;br /&gt;wifi twt teardown_all&lt;br /&gt;TWT teardown succeeded for flow ID 1&lt;br /&gt;TWT operation TWT teardown all flows success&lt;br /&gt;uart:~$ &amp;gt; wifi twt setup 0 0 2 2 0 1 1 1 20000 60000000 0&lt;br /&gt;&lt;span style="background-color:#ffffff;"&gt;wifi twt setup 0 0 2 2 0 1 1 1 20000 60000000 0&lt;/span&gt;&lt;br /&gt;TWT operation TWT setup with dg: 2, flow_id: 2 requested&lt;br /&gt;TWT response: TWT accept&lt;br /&gt;== TWT negotiated parameters ==&lt;br /&gt;TWT Dialog token: 2&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: true&lt;br /&gt;&lt;span style="background-color:#ffffff;"&gt;TWT wake interval: 19968 us&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffffff;"&gt;TWT interval: 60030000 us&lt;/span&gt;&lt;br /&gt;========================&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;uart:~$ &amp;gt; zperf&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;zperf&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;zperf: command not found&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/509699?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 14:39:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f67ac6c7-30ef-4bc9-90d7-cb02cde55423</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My apologies for missing this.&lt;/p&gt;
[quote user="ChengQing Zhao"]&lt;br /&gt;uart:~$ &amp;gt;&lt;span style="background-color:rgba(255, 0, 0, 1);"&gt; wifi twt setup 0 0 2 2 0 1 1 1 20 60000 0&lt;/span&gt;&lt;br /&gt;wifi twt setup 0 0 2 2 0 1 1 1 20 60000 0&lt;br /&gt;TWT setup with TWT individual negotiation failed. reason : Pe[/quote]
&lt;p&gt;In previous SDK versions, the intervals were given in milliseconds, while in newer versions; it is given in microseconds for&amp;nbsp;setting a more accurate resolution.&lt;/p&gt;
&lt;p&gt;Try to send 20000 instead.&lt;/p&gt;
&lt;p&gt;To maintain the twt_interval to 1 minute (60 seconds),&amp;nbsp;the &amp;quot;60000&amp;quot; (60*1000 ms) need to be changed to 60000000.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/509598?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 07:36:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:facfe657-9d98-4c16-8484-09aece482f37</guid><dc:creator>ChengQing Zhao</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you for your prompt response, &lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/hkn"&gt;H&amp;aring;kon Alseth&lt;/a&gt;,&amp;nbsp; i think&amp;nbsp;the router is support TWT, the log as follow,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and the command&amp;nbsp; &amp;quot;&lt;strong&gt;wifi twt setup 0 0 1 1 0 1 1 1 65000 524000 0&amp;quot; is ok&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;but why &amp;ldquo;wifi twt setup 0 0 2 2 0 1 1 1 20 60000 0 &amp;rdquo; from &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/target-wake-time-on-the-nrf7002-dk"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/target-wake-time-on-the-nrf7002-dk&lt;/a&gt;&amp;nbsp; &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;can not set TWT.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;the&amp;nbsp;&amp;nbsp;the log as follow：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;uart:~$ &amp;gt; wifi status&lt;br /&gt;wifi status&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: OpenWrt_1F05DA_5G&lt;br /&gt;BSSID: 94:83:C4:1F:05:DA&lt;br /&gt;Band: 5GHz&lt;br /&gt;Channel: 36&lt;br /&gt;Security: WPA2-PSK&lt;br /&gt;MFP: Optional&lt;br /&gt;RSSI: -42&lt;br /&gt;Beacon Interval: 100&lt;br /&gt;DTIM: 1&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;TWT: Supported&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;uart:~$ &amp;gt; wifi twt setup 0 0 1 1 0 1 1 1 65000 524000&lt;br /&gt;wifi twt setup 0 0 1 1 0 1 1 1 65000 524000&lt;br /&gt;setup: wrong parameter count&lt;br /&gt;setup - Start a TWT flow:&lt;br /&gt; &amp;lt;negotiation_type, 0: Individual, 1: Broadcast, 2: Wake TBTT&amp;gt;&lt;br /&gt; &amp;lt;setup_cmd: 0: Request, 1: Suggest, 2: Demand&amp;gt;&lt;br /&gt; &amp;lt;dialog_token: 1-255&amp;gt; &amp;lt;flow_id: 0-7&amp;gt; &amp;lt;responder: 0/1&amp;gt; &amp;lt;trigger: 0/1&amp;gt;&lt;br /&gt; &amp;lt;implicit:0/1&amp;gt; &amp;lt;announce: 0/1&amp;gt; &amp;lt;twt_wake_interval: 1-262144us&amp;gt;&lt;br /&gt; &amp;lt;twt_interval: 1us-2^31us&amp;gt;.&lt;br /&gt; &amp;lt;twt_wake_ahead_duration&amp;gt;: 0us-2^31us&amp;gt;&lt;/p&gt;
&lt;p&gt;uart:~$ &amp;gt;&lt;span style="background-color:#ff0000;"&gt; &lt;strong&gt;wifi twt setup 0 0 1 1 0 1 1 1 65000 524000 0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;wifi twt setup 0 0 1 1 0 1 1 1 65000 524000 0&lt;br /&gt;TWT operation TWT setup with dg: 1, flow_id: 1 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: true&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT wake interval: 65024 us&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ff0000;"&gt;TWT interval: 524000 us&lt;/span&gt;&lt;br /&gt;========================&lt;br /&gt;uart:~$ &amp;gt;&lt;span style="background-color:#ff0000;"&gt; wifi twt setup 0 0 2 2 0 1 1 1 20 60000 0&lt;/span&gt;&lt;br /&gt;wifi twt setup 0 0 2 2 0 1 1 1 20 60000 0&lt;br /&gt;TWT setup with TWT individual negotiation failed. reason : Peer not TWT capable&lt;br /&gt;[00:03:27.207,946] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_signal_poll: Failed to get station info, ret = -11&lt;br /&gt;[00:03:27.207,977] &amp;lt;err&amp;gt; wpa_supp: wpa_drv_zep_signal_poll: Signal polling failed: -1&lt;/p&gt;
&lt;p&gt;[00:03:27.208,679] &amp;lt;err&amp;gt; wpa_supp: Command failed: FAIL&lt;br /&gt;[00:03:27.208,709] &amp;lt;wrn&amp;gt; wpa_supp: z_wpa_supplicant_status:Failed to read RSSI&lt;/p&gt;
&lt;p&gt;[00:03:32.210,510] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_supp_get_conn_info: Timeout: failed to get connection info, ret = -11&lt;br /&gt;[00:03:32.211,303] &amp;lt;err&amp;gt; wpa_supp: wpa_drv_zep_get_conn_info: Failed to get connection info: -1&lt;/p&gt;
&lt;p&gt;[00:03:32.211,425] &amp;lt;wrn&amp;gt; wpa_supp: z_wpa_supplicant_status: Failed to get connection&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/508781?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 10:23:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:767972b3-41cc-4675-baae-1f8a2f77630f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="ChengQing Zhao"]TWT setup with TWT individual negotiation failed. reason : Peer not TWT capable[/quote]
&lt;p&gt;This means that the AP is not capable of TWT. Which access point specifically are you using? If it is wifi 6 capable, it might be that you need to enable Target Wake Time specifically in the router web UI.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/508773?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 09:36:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4258177-94d7-4c17-a34c-c91a8b77cec3</guid><dc:creator>ChengQing Zhao</dc:creator><description>&lt;p&gt;Thank you H &amp;aring; kon Alseth for your prompt response. I have encountered a new issue again, as you provided. I added 0 at the end, but still cannot negotiate successfully.&lt;/p&gt;
&lt;p&gt;The command comes from the blog：&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/target-wake-time-on-the-nrf7002-dk"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/target-wake-time-on-the-nrf7002-dk&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1730453733042v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The log print as:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;uart:~$ &amp;gt; wifi twt setup 0 0 2 2 0 1 1 1 20 60000 0&lt;br /&gt;wifi twt setup 0 0 2 2 0 1 1 1 20 60000 0&lt;br /&gt;TWT setup with TWT individual negotiation failed. reason : Peer not TWT capable&lt;br /&gt;[02:19:52.113,739] &amp;lt;inf&amp;gt; wpa_supp: nordic_wlan0: WPA: Group rekeying completed with 94:83:c4:1f:05:da [GTK=TKIP]&lt;br /&gt;uart:~$&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twt setup: wrong parameter count</title><link>https://devzone.nordicsemi.com/thread/508766?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 08:50:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d4a08ef-da67-4605-b0f6-f21aa6376391</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There was a new addition to the twt command in wifi/shell, which is the last parameter:&lt;/p&gt;
[quote user=""]&lt;p&gt;&amp;lt;twt_wake_ahead_duration&amp;gt;: 0us-2^31us&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;You can set this to &amp;#39;0&amp;#39; if you want.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another tip is to use the wifi/twt sample as well for evaluation of this power saving feature.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>