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

Scanning module definitions. More...

#include "co_int.h"
#include "co_bool.h"
#include "co_utils.h"
#include "mac.h"
#include "ke_timer.h"
#include "mm_task.h"
#include "hal_desc.h"
#include "hal_dma.h"
#include "dma.h"

Go to the source code of this file.

Data Structures

struct  scan_probe_req_ie_tag
 Definition of a ProbeReq IE buffer. More...
struct  scan_env_tag
 SCAN Context. More...

Defines

#define SCAN_SSID_MAX   2
 Maximum number of SSIDs in a scan request.
#define SCAN_CHANNEL_MAX   (MAC_DOMAINCHANNEL_24G_MAX + MAC_DOMAINCHANNEL_5G_MAX)
 Maximum number of channels in a scan request.
#define SCAN_MAX_IE_LEN   300
 Maximum length of the ProbeReq IEs.
#define SCAN_ACTIVE_DURATION   30000
 Duration on channel (in TUs) when actively scanning.
#define SCAN_PASSIVE_DURATION   110000
 Duration on channel (in TUs) when passively scanning.

Functions

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.
struct scan_probe_req_ie_tag scan_probe_req_ie
 Global variable to store probe request frame downloaded from host memory.

Detailed Description

Scanning module definitions.

Copyright (C) RivieraWaves 2011-2019

Definition in file scan.h.


Generated on 14 Jan 2020 for Ceva-RW WLAN FullMAC SW documentation by  doxygen 1.6.1