hostapd: Add survey dump support

This adds survey dump support for all frequencies
and for specific desired frequencies. This will later
be used by ACS code for spectrum heuristics.

Signed-hostap: Michal Kazior <michal.kazior@tieto.com>
This commit is contained in:
Michal Kazior 2013-07-24 08:59:13 +02:00 committed by Jouni Malinen
parent 245e026ec8
commit 0185007c2e
6 changed files with 365 additions and 2 deletions

View file

@ -301,6 +301,15 @@ struct hostapd_iface {
int olbc_ht;
u16 ht_op_mode;
/* surveying helpers */
/* number of channels surveyed */
unsigned int chans_surveyed;
/* lowest observed noise floor in dBm */
s8 lowest_nf;
void (*scan_cb)(struct hostapd_iface *iface);
};