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 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?

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