Add a simple periodic autoscan module
This module will sets a fixed scanning interval. Thus, the parameter to this module is following this format: <fixed interval> Signed-hostap: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
c0fba2b38d
commit
e3659c89d2
6 changed files with 109 additions and 0 deletions
|
@ -19,10 +19,17 @@
|
|||
extern const struct autoscan_ops autoscan_exponential_ops;
|
||||
#endif /* CONFIG_AUTOSCAN_EXPONENTIAL */
|
||||
|
||||
#ifdef CONFIG_AUTOSCAN_PERIODIC
|
||||
extern const struct autoscan_ops autoscan_periodic_ops;
|
||||
#endif /* CONFIG_AUTOSCAN_PERIODIC */
|
||||
|
||||
static const struct autoscan_ops * autoscan_modules[] = {
|
||||
#ifdef CONFIG_AUTOSCAN_EXPONENTIAL
|
||||
&autoscan_exponential_ops,
|
||||
#endif /* CONFIG_AUTOSCAN_EXPONENTIAL */
|
||||
#ifdef CONFIG_AUTOSCAN_PERIODIC
|
||||
&autoscan_periodic_ops,
|
||||
#endif /* CONFIG_AUTOSCAN_PERIODIC */
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue