Driver interaction with Linux nl80211/cfg80211 - Scanning Copyright (c) 2007, Johannes Berg johan.nosp@m.nes@.nosp@m.sipso.nosp@m.luti.nosp@m.ons.n.nosp@m.et Copyright (c) 2009-2010, Atheros Communications.
More...
#include "includes.h"
#include <netlink/genl/genl.h>
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "driver_nl80211.h"
Driver interaction with Linux nl80211/cfg80211 - Scanning Copyright (c) 2007, Johannes Berg johan.nosp@m.nes@.nosp@m.sipso.nosp@m.luti.nosp@m.ons.n.nosp@m.et Copyright (c) 2009-2010, Atheros Communications.
Fetch the latest scan results.
- Parameters
-
priv | Pointer to private wext data from wpa_driver_nl80211_init() |
- Returns
- Scan results on success, -1 on failure
Request the driver to initiate scan.
- Parameters
-
bss | Pointer to private driver data from wpa_driver_nl80211_init() |
params | Scan parameters |
- Returns
- 0 on success, -1 on failure
void wpa_driver_nl80211_scan_timeout |
( |
void * |
eloop_ctx, |
|
|
void * |
timeout_ctx |
|
) |
| |
Scan timeout to report scan completion.
- Parameters
-
eloop_ctx | Driver private data |
timeout_ctx | ctx argument given to wpa_driver_nl80211_init() |
This function can be used as registered timeout when starting a scan to generate a scan completed event if the driver does not report this.
Initiate a scheduled scan.
- Parameters
-
priv | Pointer to private driver data from wpa_driver_nl80211_init() |
params | Scan parameters |
interval | Interval between scan cycles in milliseconds |
- Returns
- 0 on success, -1 on failure or if not supported
int wpa_driver_nl80211_stop_sched_scan |
( |
void * |
priv | ) |
|
Stop a scheduled scan.
- Parameters
-
priv | Pointer to private driver data from wpa_driver_nl80211_init() |
- Returns
- 0 on success, -1 on failure or if not supported