Re: [PATCH] Integration with the user space
Alexander Aring <[email protected]> Sat, 7 Jun 2025 13:27:40 -0400
| Newsgroups | org.kernel.vger.linux-wpan,org.kernel.vger.netdev |
|---|---|
| Message-ID | <CAK-6q+hLqQcVSqW7NOxS8hQbM1Az-De11-vGvxXT1+RNcUZx0g@mail.gmail.com> |
Hi, On Tue, Jun 3, 2025 at 3:05 PM Ramon Fontes <[email protected]> wrote: > > This PR introduces support for use space tools such as wmediumd in the mac802154_hwsim kernel module, similar to the existing support for Wi-Fi simulations via mac80211_hwsim. With this addition, it becomes possible to simulate interference and control transmission behavior in IEEE 802.15.4 networks using a userspace backend. > that is already being possible by using raw sockets, what is the difference here? Depending on your use case it might depend on what kind of mac instance "wpan_dev" is created on top of your phy. If you just want to have bare phy access you are looking into monitor wpan dev types and using AF_PACKET raw sockets. I already connected user space stacks (only for development) with it. If you want to have ARET/AACK support, the answer is more complicated. - Alex