Search Linux Wireless

Re: [PATCHv5 2/8] cfg/mac80211: add dfs capability to cfg80211_reg_can_beacon()

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

 



On Wed, Jan 02, 2013 at 02:36:58PM +0100, Johannes Berg wrote:
> On Thu, 2012-12-13 at 14:58 +0100, Simon Wunderlich wrote:
> 
> >   * @chandef: the channel definition
> > + * @dfs_capab: supported DFS bandwidth
> >   *
> >   * This function returns true if there is no secondary channel or the secondary
> >   * channel(s) can be used for beaconing (i.e. is not a radar channel etc.)
> >   */
> >  bool cfg80211_reg_can_beacon(struct wiphy *wiphy,
> > -			     struct cfg80211_chan_def *chandef);
> > +			     struct cfg80211_chan_def *chandef,
> > +			     enum nl80211_chan_width dfs_capab);
> 
> Hm how does that make sense? The chandef contains a width? It seems like
> the check whether or not DFS is supported (should be a bitfield btw)
> should be outside of this function?

I'll change the DFS support capabilities to a bitfield and drop this patch. The
bitfield can be part of wiphy, and thus doesn't need to be passed down,
making this patch obsolete.

Cheers,
	Simon

Attachment: signature.asc
Description: Digital signature


[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