<div dir="ltr">Some main purposes of the WiFi CPU is 802.3 to 802.11 L2 translational bridging and handling 802.11 protocols for things like association. Most forwarded packets don't hit the main CPU anymore. This first sw to hw transition occurred decades ago with real internet routers (equipment that run IGPs and BGP) which started as software in the early 90s and then moved to hardware. The same engineering has been happening for home gateways or WiFi APs bridging wired to wireless.<br><br>Bob </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 22, 2022 at 12:16 PM David Lang <<a href="mailto:david@lang.hm">david@lang.hm</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">sorry, when I was saying 'the cpu', I was meaning the main one running linux, <br>
not something that's part of the wifi chipset.<br>
<br>
I would be very surprised if the wifi chipset is doing any packet routing, as <br>
opposed to just sending the packets to the main processor.<br>
<br>
Remember, the common case isn't forwarding from one wifi device to another, it's <br>
moving between wifi devices and the wired uplink.<br>
<br>
David Lang<br>
<br>
On Tue, 22 Nov 2022, Bob McMahon wrote:<br>
<br>
> An AP's radio complex may have a CPU but that doesn't mean it is the<br>
> standard linux stack as most think of it. Many consider this as part of<br>
> "firmware" which can be Linux, a Linux derivative or other.  Also, there<br>
> are some levels of wired/wireless forwarding plane integration done at the<br>
> hardware level that many might be surprised by.<br>
><br>
> Bob<br>
><br>
> On Tue, Nov 22, 2022 at 12:03 PM David Lang <<a href="mailto:david@lang.hm" target="_blank">david@lang.hm</a>> wrote:<br>
><br>
>> On Tue, 22 Nov 2022, Bob McMahon via Make-wifi-fast wrote:<br>
>><br>
>>> Finally, many (most?) APs are forwarding and feeding packets at at the<br>
>>> hardware level so not sure that the linux stack matters as much for an AP<br>
>>> based analysis, particularly when considering multi user transmissions,<br>
>>> i.e. multiple WiFi clients are active and sharing TXOPs.<br>
>><br>
>> APs forward packets within the switch at the hardware level, but the<br>
>> radios have<br>
>> to go through the CPU, so any wired <-> wireless needs to go through the<br>
>> CPU,<br>
>> and I would be incredibly surprised if the wifi chips did wireless <-><br>
>> wireless<br>
>> routing at the hardware level.<br>
>><br>
>> David Lang<br>
>><br>
><br>
><br>
</blockquote></div>

<br>
<span style="background-color:rgb(255,255,255)"><font size="2">This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.</font></span>