On 08/09/2011 12:27, Johannes Berg wrote:
On Thu, 2011-09-08 at 11:56 +0300, Victor Goldenshtein wrote:
If I understood you correctly.. I can create new
NL80211_ATTR_HW_CAPABILITY (u32) attribute which will advertise all
capabilities with "dev->wiphy.flags".
No, I don't think you can advertise wiphy.flags since those flags are
internal -- you'll have to map single wiphy flags to single capability
flags which are also defined in nl80211.h.
I'd call it "NL80211_ATTR_CAPABILITIES" to sidestep the issue of it
being a driver of HW or whatever capability.
johannes
Sorry, I'm not sure that I'm entirely understand, you mean to create
*nested* "NL80211_ATTR_CAPABILITIES" attribute which will contain all
new capability flags, mapped from wiphy.flags? and to do it within
existing nl80211_send_wiphy() function?
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