Search Linux Wireless

Re: [PATCH v5 10/10] nl80211: return mesh capabilities

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

 



On Tue, 2011-03-29 at 19:06 -0700, Thomas Pedersen wrote:

> +	/* report mesh capabilities */
> +	container = nla_nest_start(msg, NL80211_ATTR_MESH_CAPS);
> +	if (!container)
> +		goto nla_put_failure;
> +	for (capa = __NL80211_MESH_CAP_INVALID + 1;
> +	     capa <= NL80211_MESH_CAP_MAX; capa++)
> +		NLA_PUT_FLAG(msg, capa);
> +	nla_nest_end(msg, container);

Also, it looks like this should depend on some cfg80211 wiphy flag that
mac80211 sets, like WIPHY_FLAG_IBSS_RSN, instead of being hardcoded for
all drivers.

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