# /space/home/slher/rel/Beken/v6_4_5/macsw/ip/lmac/src/scan/scan.c File Reference

Scanning module implementation. More...

`#include "scan.h"`
`#include "scan_task.h"`
`#include "mac_frame.h"`
`#include "hal_dma.h"`
`#include "mac_ie.h"`
`#include "vif_mgmt.h"`
`#include "txl_frame.h"`
`#include "chan.h"`
`#include "tpc.h"`

Go to the source code of this file.

## Functions
static void | scan_search_ds (void)
| Searchs for DS IE in probe request frame.
static void | dma_cb (void *env, int dma_queue)
| Callback for DMA transfer of probe request frame from host memory.
void | scan_init (void)
| SCAN Module main initialization function.
void | scan_ie_download (struct scan_start_req const *param)
| Download the information elements that will need to be added to the ProbeReq.
void | scan_set_channel_request (void)
| Send the appropriate channel request message.
void | scan_probe_req_tx (void)
| Prepare and program for TX the ProbeReq required for active scanning.
void | scan_send_cancel_cfm (uint8_t status, ke_task_id_t dest_id)
| Sends the SCAN_CANCEL_CFM message to the SCAN_CANCEL_REQ task source.
struct mac_chan_def const * | scan_get_chan (void)
| Returns scan channel information currently used.
## Variables
struct scan_env_tag | scan_env
| SCAN Context variable, used to store information related to scan module.

## Detailed Description

Scanning module implementation.

Copyright (C) RivieraWaves 2011-2019

Definition in file scan.c.