<?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>nRF7002 STA+AP with Different Channels</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114729/nrf7002-sta-ap-with-different-channels</link><description>I have a linux driver that uses nRF7002 am able to have both STA+AP. The issue I&amp;#39;m running into is that when I have STA up, AP MUST be the same channel, and vice versa. I have 2 questions. 
 1. Can the nrf7002 be setup to use different frequency channels</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Feb 2025 11:53:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114729/nrf7002-sta-ap-with-different-channels" /><item><title>RE: nRF7002 STA+AP with Different Channels</title><link>https://devzone.nordicsemi.com/thread/522631?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 11:53:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c2d11ce-94cf-4689-9fa1-081c0577aff2</guid><dc:creator>Hanan619</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/esmart_2d00_engineering"&gt;esmart-engineering&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am trying to create virtual interfaces to run both sta and softap at the same time on zephyr.&lt;/p&gt;
&lt;p&gt;I am using nrf7002dk.&lt;/p&gt;
&lt;p&gt;Can you please share how you have setup virtual interfaces so that to achieve this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002 STA+AP with Different Channels</title><link>https://devzone.nordicsemi.com/thread/503774?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2024 13:24:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c817dd6-9ffc-4af8-a556-cb671b9c795f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;A statement from one of our devs:&lt;/p&gt;
&lt;p&gt;Since the nRF70 series devices have a single radio, multi-channel operation is not possible, so the behavior you describe is expected.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002 STA+AP with Different Channels</title><link>https://devzone.nordicsemi.com/thread/503186?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 03:34:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb5a0220-703a-4c64-887f-6129ce09bc0d</guid><dc:creator>esmart-engineering</dc:creator><description>&lt;p&gt;To be clear, this is the current state of our usage for nrf7002:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;We are creating a Linux driver, which does not use zephyr at all. The majority of the documentation online is centered around zephyr which has very little use to us.&lt;/li&gt;
&lt;li&gt;We do use a slightly outdated version of nrfxlib at the moment, specifically commit 2fe3e82 made on march 14 2024, with modifications to make it work on our version of linux and our use case&lt;/li&gt;
&lt;li&gt;Your above quote states that an interface (singular) cannot operate as both an AP and STA, but we are using multiple virtual interfaces on a single nrf7002. The chip and firmware supports this, and if configured correctly does work. We&amp;#39;ve been able to route traffic from the AP to the STA interface and have tested with video and calling.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Currently our issues with this setup is as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Configuring STA to connect to a wifi network, and configuring the AP to start on the same channel works. As long as both are using the same channel we haven&amp;#39;t seen any issues.&lt;/li&gt;
&lt;li&gt;If STA is configured to connect to a wifi network on channel 1, and AP is configured on channel 6, or channel 36 (for 5GHz), then starting the AP returns a -16 status, and the AP does not start at all.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;My specific question is: Is it at all possible to get both STA and AP running on two different channels?&lt;/p&gt;
&lt;p&gt;There is no concrete documentation on whether it is possible or not, and if it is feasible I need to know how. I&amp;#39;ve combed pretty much all the available documentation for the chip and haven&amp;#39;t found anything that can answer my question. I&amp;#39;m looking for any technical advice or documentation to answer this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002 STA+AP with Different Channels</title><link>https://devzone.nordicsemi.com/thread/503094?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 10:43:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9818c7b-ee59-4431-8f67-5899d3cf5991</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;There&amp;#39;s a lot of theory behind this question, and after discussing this with a colleague here in tech support it seems like we need to involve the development team to get a concrete reply here.&lt;/p&gt;
&lt;p&gt;From what we&amp;#39;re able to glean, a network interface can&amp;#39;t operate as both SAP and STA, and thus this would be a no altogether, based on the following line:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;&lt;span dir="ltr"&gt;A network interface can operate in either SAP mode or Station mode, but not in both modes simultaneously.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;Please explain how you mean you&amp;#39;re able to use it both as an access point and station on your end exactly so that I can go to the experts with a more direct question. EIther way, the channel switching you request is not supported in the Zephyr SDK and I don&amp;#39;t see how it would be possible either.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002 STA+AP with Different Channels</title><link>https://devzone.nordicsemi.com/thread/503017?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 02:13:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f92a9bd9-6d58-4d8a-9fe3-7617a40da698</guid><dc:creator>esmart-engineering</dc:creator><description>&lt;p&gt;I&amp;#39;ve tried using both a combination of 2.4 and 5 GHz channels, and channels in the same band (channel 1 and 6 is my common goto). I&amp;#39;ve looked into what I could do to manually channel switch, but it seems I would probably have to bring down the vif I&amp;#39;m not using, switch channels, and then bring on the new interface, and do that continuously for multichannel to work.&lt;/p&gt;
&lt;p&gt;I was wondering if there&amp;#39;s any support within the firmware for this? I know STA+AP isn&amp;#39;t supported in zephyr&amp;#39;s SDK, but it is supported by the firmware if you use multiple virtual interfaces, as long as they are on the same channel, at least that&amp;#39;s what I&amp;#39;ve confirmed. I just need to know if firmware is capable of rapid channel switching in a way that&amp;#39;s usable. I can attempt to implement rapid channel switching but it seems like if it&amp;#39;s done on the host side it will greatly impact performance and it would just make more sense for the firmware to handle this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002 STA+AP with Different Channels</title><link>https://devzone.nordicsemi.com/thread/502936?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2024 12:29:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04514024-400f-4a8c-9e94-c55b89ed4e05</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Just for reference, the AP + STA simultaneously is not yet supported as per the SoftAP documentation page here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/wifi/sap_mode/sap.html#supported_functionality_and_limitations"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/wifi/sap_mode/sap.html#supported_functionality_and_limitations&lt;/a&gt;, so we don&amp;#39;t have any specific suggestions on how to implement this yet.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002 STA+AP with Different Channels</title><link>https://devzone.nordicsemi.com/thread/502811?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2024 16:27:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cae7fee5-1d9c-44fe-9abb-697cf576e4bf</guid><dc:creator>esmart-engineering</dc:creator><description>&lt;p&gt;Sorry, I had to add a callback for commands to fix a diferent issue, but there&amp;#39;s usually a &amp;quot;umac_event_ctrl_process: %d cmd -&amp;gt; status %d&amp;quot; log line from event.c in nrfxlib, which is now replaced with &amp;quot;nrf_wifi_cmd_callbk_fn: cmd=%d status=%d&amp;quot; callback log line. The error is -16 when starting ap while a second interface (STA) is already up and on a different channel. Once the start_ap fails, everything past that begins to fail for ap functionality. If I turn off STA, I can run the same start ap command and it will work, so its just the STA interface causing problems.&lt;/p&gt;
&lt;p&gt;So if I&amp;#39;m understanding right, I need to disable any current interfaces before starting AP, and then turn them on again after. If I do it that way then AP should be able to control the radio, correct?&lt;/p&gt;
&lt;p&gt;I wasn&amp;#39;t sure how radio sharing worked on the chip, but it sounds like its done manually through&amp;nbsp;NRF_WIFI_UMAC_CMD_SET_CHANNEL commands, correct?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try this method unless its wrong, but I&amp;#39;m working on different issue so it won&amp;#39;t be testing it for another day.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002 STA+AP with Different Channels</title><link>https://devzone.nordicsemi.com/thread/502787?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2024 13:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18a3fa11-d8eb-4628-9c84-48d5331a78ca</guid><dc:creator>SpeedCrash100</dc:creator><description>&lt;p&gt;There are info in these logs: &lt;em&gt;[13280.189384] nrf_wifi_cmd_callbk_fn: cmd=13 status=-16&lt;/em&gt;. I&amp;#39;ve tried to do the about a same with nrf7002. (vif 0 - AP 2.4 GHz 1 channel, vif 1 - STA 5 GHz 36 channel). And got the same: &lt;em&gt;umac_event_ctrl_process: Command 13 -&amp;gt; status -16&lt;/em&gt;. &lt;br /&gt;Command 13 is START_AP that&amp;#39;s means I cannot even see AP. -16 is probably EBUSY?. This is starting point where it goes wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002 STA+AP with Different Channels</title><link>https://devzone.nordicsemi.com/thread/502628?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2024 14:02:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f6deeb0-da9b-4acc-890e-13f73aa4e790</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This log doesn&amp;#39;t give a lot of information in terms of error codes or where it actually is failing from what I can see, as it only reports what it is doing, and not the callbacks from any functions failing. Have you been able to figure out what function/process that is actually failing on your end, and what channels are you trying to use exactly, one 5GHz and one 2.4GHz? I can&amp;#39;t think of why it shouldn&amp;#39;t be able to use different channels for STA and AP as long as you switch between the two when needed.&lt;/p&gt;
&lt;p&gt;My first guess would be that the STA is taking up the radio on its allocated channel so you&amp;#39;re not able to disable the radio to switch channel and allow the AP to run, but we would need some error codes from the logger to be able to tell anything here.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>