Search Linux Wireless

Re: [PATCH 1/4] cfg80211: regulatory, introduce DFS CAC time

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

 



On Wed, 2014-02-19 at 12:27 +0100, Janusz Dziedzic wrote:
> On 19 February 2014 12:03, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> > On Wed, 2014-02-12 at 19:54 +0100, Janusz Dziedzic wrote:
> >
> >> -#define REG_RULE(start, end, bw, gain, eirp, reg_flags) \
> >> -{                                                    \
> >> -     .freq_range.start_freq_khz = MHZ_TO_KHZ(start), \
> >> -     .freq_range.end_freq_khz = MHZ_TO_KHZ(end),     \
> >> -     .freq_range.max_bandwidth_khz = MHZ_TO_KHZ(bw), \
> >> -     .power_rule.max_antenna_gain = DBI_TO_MBI(gain),\
> >> -     .power_rule.max_eirp = DBM_TO_MBM(eirp),        \
> >> -     .flags = reg_flags,                             \
> >> +#define REG_RULE_EXT(start, end, bw, gain, eirp, dfs_cac, reg_flags) \
> >> +{                                                                    \
> >> +     .freq_range.start_freq_khz = MHZ_TO_KHZ(start),                 \
> >> +     .freq_range.end_freq_khz = MHZ_TO_KHZ(end),                     \
> >> +     .freq_range.max_bandwidth_khz = MHZ_TO_KHZ(bw),                 \
> >> +     .power_rule.max_antenna_gain = DBI_TO_MBI(gain),                \
> >> +     .power_rule.max_eirp = DBM_TO_MBM(eirp),                        \
> >> +     .flags = reg_flags,                                             \
> >> +     .dfs_cac_ms = dfs_cac,                                          \
> >>  }
> >>
> >> +#define REG_RULE(start, end, bw, gain, eirp, reg_flags) \
> >> +     REG_RULE_EXT(start, end, bw, gain, eirp, 0, reg_flags)
> >
> > I don't see any users of this, is that really useful?
> >
> 
> genregdb.awk using this when internal regdb is used.

Ah ok, thanks.

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