Search Linux Wireless

Re: [PATCH 3/3] {nl,mac,cfg}80211: Allow user to configure basic rates for mesh

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

 



Sorry for leaving this open for so long. I think it didn't hurt since
the merge window was open anyway.

> + * @basic_rates: per-band bitmap of basic rates to use when creating the mesh

Does per-band really make sense? The mesh channel is also determined at
join time.

>  static int nl80211_join_ibss(struct sk_buff *skb, struct genl_info *info)
>  {
>  	struct cfg80211_registered_device *rdev = info->user_ptr[0];
> @@ -7460,6 +7487,22 @@ static int nl80211_join_mesh(struct sk_buff *skb, struct genl_info *info)
>  			    nla_get_u32(info->attrs[NL80211_ATTR_MCAST_RATE])))
>  			return -EINVAL;
>  
> +	if (info->attrs[NL80211_ATTR_BSS_BASIC_RATES]) {

I think you should consider allowing this attribute only if the channel
is also specified (NL80211_ATTR_WIPHY_FREQ, parsed below), and not make
it nested with rates for both bands but just the selected band.

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