Search Linux Wireless

Re: [PATCH 1/2] cfg80211: add support for setting the ad-hoc multicast rate

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

 



On Wed, 2010-11-17 at 00:34 +0100, Felix Fietkau wrote:
> On 2010-11-16 11:27 PM, Johannes Berg wrote:
> > On Thu, 2010-11-11 at 15:07 +0100, Felix Fietkau wrote:
> > 
> >> +	if (info->attrs[NL80211_ATTR_MCAST_RATE])
> >> +		ibss.mcast_rate =
> >> +			nla_get_u32(info->attrs[NL80211_ATTR_MCAST_RATE]);
> > 
> > That should really check that the rate is supported, and maybe that it's
> > a basic rate.

> But what about band changes then?

Yeah but what about them? You don't handle them anyway -- should maybe
do a per-band setting? Basically right now you end up ignoring the rate
if it's not available.

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