Search Linux Wireless

Re: [PATCH wireless-next] wifi: mac80211_hwsim: Update comments in header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2025-07-10 at 14:18 -0700, Alex Gavin wrote:
> 
> Noticed these in developing some automation. 

Thanks :)

> I also noticed that 'hwsim_new_radio_nl()' returns
> the radio ID after creation. This results 'HWSIM_CMD_NEW_RADIO' command response setting the
> error genl message error code to the new radio's ID.
> 
> Both hostap and iwd rely on this behavior for their hwsim test automation, so I imagine the
> existing behavior is best left as is?

Yeah I guess we can't change that now. I suspect it also predates the
netlink extack/cookie support, so we didn't really have much choice in
how we return it then.

johannes





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux