# /space/home/slher/rel/Beken/v6_4_5/macsw/ip/umac/src/scanu/scanu.h File Reference

Declaration of the Template module environment. More...

`#include "co_int.h"`
`#include "co_bool.h"`
`#include "hal_desc.h"`
`#include "ke_msg.h"`
`#include "mac.h"`
`#include "hal_dma.h"`

Go to the source code of this file.

## Data Structures
struct | scanu_mbssid_profile_tag
| nonTransmitted BSSID information structure More...
struct | scanu_mbssids_tag
| nonTransmitted BSSID database More...
struct | scanu_env_tag
| The SCAN environment. More...
struct | scanu_add_ie_tag
| Definition of an additional IE buffer. More...
## Defines
#define | SCANU_MAX_IE_LEN 200
| Maximum length of the additional ProbeReq IEs.
#define | SCANU_MAX_RESULTS 32
| Maximum number of scan results that can be stored.
#define | SCANU_MAX_NONTXED_BSSID_PER_BEACON 16
| Maximum number of nonTxed BSSID information we can store for one received beacon.
#define | SCAN_ENABLE_TIME 2000000
| Scan time to enable or disable the scan (2sec).
## Functions
void | scanu_init (void)
| Initialize the SCAN environment and task.
int | scanu_frame_handler (struct rxu_mgt_ind const *frame)
| Handle the reception of a beacon or probe response frame.
struct mac_scan_result * | scanu_find_result (struct mac_addr const *bssid_ptr, bool allocate)
| Look for a given BSS in the scan results and returns its parameters.
struct mac_scan_result * | scanu_search_by_bssid (struct mac_addr const *bssid)
| Look for a given BSS from its BSSID.
struct mac_scan_result * | scanu_search_by_ssid (struct mac_ssid const *ssid)
| Look for a given BSS from its SSID.
void | scanu_start (void)
| Start scanning process.
void | scanu_scan_next (void)
| Send a scan request to LMAC for the next band to scan.
void | scanu_confirm (uint8_t status)
| Send the appropriate confirmation to the source task.
## Variables
struct scanu_env_tag | scanu_env
| SCAN module environment declaration.
struct scanu_add_ie_tag | scanu_add_ie
| Variable used to store the addition information elements downloaded.

## Detailed Description

Declaration of the Template module environment.

Copyright (C) RivieraWaves 2011-2019

Definition in file scanu.h.