Search Linux Wireless

Re: [PATCH 3/3] nl80211: Include wiphy address setup in NEW_WIPHY

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

 



On Thu, 2019-06-20 at 15:05 -0500, Denis Kenzior wrote:
> 
> Ugh.  So, if I understand this correctly, NEW_WIPHY events that are 
> generated when a new wiphy is plugged would only send the old 'legacy' 
> info and any info we add in cases 9+ would be 'lost' and the application 
> is forced into re-dumping the phy.

Yes.

> This is pretty much counter to what we want.

Well, you want the info, shouldn't matter how you get it?

> If you want to keep your sanity in userspace, you need proper 'object 
> appeared' / 'object disappeared' events from the kernel.

Sure, but you don't really need to know *everything* about the events
right there ... you can already filter which ones you care about
(perhaps you know you never want to bind hwsim ones for example) and
then request data on those that you do need.

> And those 
> events should have all or nearly all info to not bother the kernel going 
> forward.

That's what you wish for, but ...

>   It sounds like nl80211 API has run into the extend-ability 
> wall, no?

I don't really see it that way.

> Any suggestions on how to resolve this?  Should NEW_WIPHY events also do 
> the whole split_dump semantic and generate 15+ or whatever messages?

No, that'd be awful, and anyway you'd have to send a new command because
otherwise old applications might be completely confused (not that I know
of any other than "iw event" that would event listen to this, but who
knows)

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