Search Linux Wireless

Re: [PATCHv3 2/2] mac80211: implement set_mcast_rate() callback

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

 



On Fri, 2012-10-26 at 17:57 +0200, Antonio Quartulli wrote:
> The callback can be used with vif configured as
> ADHOC or MESH_POINT only.

You said the same in the cfg80211 patch, so

> +int ieee80211_mcast_rate(struct ieee80211_sub_if_data *sdata,
> +			 int rate[IEEE80211_NUM_BANDS])
> +{
> +	if (sdata->vif.type != NL80211_IFTYPE_ADHOC &&
> +	    sdata->vif.type != NL80211_IFTYPE_MESH_POINT)
> +		return -EOPNOTSUPP;

should that check be in cfg80211?

OTOH, it seems it might be valid in AP mode as well?

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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux