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 08/09/2011 09:49, Johannes Berg wrote:
On Thu, 2011-09-08 at 09:31 +0300, Victor Goldenshtein wrote:
On 07/09/2011 12:26, Johannes Berg wrote:
The intermediate scan event is not HW dependent, so there is no need to
advertise it..

Not with mac80211 drivers, but with cfg80211 drivers?

johannes


You're right, cfg80211 drivers will not support it. As I couldn't find a
way to know whether it mac or cfg based driver, I can add also
IEEE80211_HW_SUPPORTS_IM_RESULT" flag (as with cancel_scan) and then
will advertise the nl80211 command if it set, is it OK?

I'd prefer not advertising the command, since so far we've only
advertised supported commands as supported -- a new nl80211 flag would
be nicer I think.

Come to think of it, maybe it's time to bundle capability flags
together. We seem to acquire new ones all the time, so maybe we should
have a HW_CAPABILITY nl80211 attribute that can simply grow as
needed ...

johannes


If I understood you correctly.. I can create new NL80211_ATTR_HW_CAPABILITY (u32) attribute which will advertise all capabilities with "dev->wiphy.flags".

Thanks,
Victor.
--
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