Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx> writes: > On 9/20/2017 8:44 AM, Xinming Hu wrote: >> From: Xinming Hu <huxm@xxxxxxxxxxx> >> >> Add net_dev ndo_do_ioctl handler, which could be used for >> downloading host command by utility in manufactory test > > Not sure if we want ioctls in upstream wireless drivers. Yeah, patches adding ioctls to wireless drivers are automatically rejected. > You could look at nl80211 vendor commands, but that is also under > scrutiny if common wifi functionality is provided by it. I am pretty > sure Kalle has his ideas about this :-) For manufacturing tests we have nl80211 testmode command and event. There are upstream drivers already using it so you even have examples. -- Kalle Valo