Search Linux Wireless

Re: [RFC 3/5] nl80211/cfg80211: adding intermediate scan result event.

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

 



On Wed, 2011-09-21 at 11:19 +0300, Victor Goldenshtein wrote:

> Just talked with Luciano, and we though to make this event more generic 
> and to pass the whole BSS info instead of just BSSID and rssi, what do 
> you think?

I think there are two choices:

1) do what you say, and send the whole BSS info in the event

2) send a per-channel "scanned this channel" event, and allow filtering
the BSS dump per channel


There are a few trade-offs here:

advantages of 1:
+ info is directly available
+ very fine-grained

disadvantages of 1:
- lots of context switches, fairly expensive


advantages of 2:
+ adds more generic filtering capability
+ fewer context switches since retrieving BSS dump is limited & only
needs very few messages

disadvantages of 2:
- not quite as fine-grained


Personally, I prefer 2 because of the context switches issue, and
because I think there's little point in having so fine-grained
information. But I'm willing to concede that there may be a point in it,
more easily if you could explain why that's useful :-)


johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux