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

Copyright (C) RivieraWaves 2011-2019. More...

#include "mac.h"
#include "ke_task.h"

Go to the source code of this file.

Data Structures

struct  sm_env_tag
 station environment structure More...

Defines

#define SM_MAX_IE_LEN   256
 Maximum length of the AssocReq IEs.

Functions

void sm_init (void)
 Initialize the SM context.
void sm_get_bss_params (struct mac_addr const **bssid, struct mac_chan_def const **chan)
 Search for the BSSID and Channel information in the scan results and/or the connection parameters.
void sm_join_bss (struct mac_addr const *bssid, struct mac_chan_def const *chan, bool passive)
 Try to join the BSS indicated by the parameters.
void sm_scan_bss (struct mac_addr const *bssid, struct mac_chan_def const *chan)
 Launch the scan to find the target BSS.
void sm_connect_ind (uint16_t status)
 Function called at any time during the connection, used to indicate to the host the completion of the procedure (either successful or not).
void sm_auth_handler (struct rxu_mgt_ind const *param)
 Function called upon reception of a AUTH frame from the AP.
void sm_assoc_rsp_handler (struct rxu_mgt_ind const *param)
 Function called upon reception of a ASSOC_RSP frame from the AP.
int sm_deauth_handler (struct rxu_mgt_ind const *param)
 Function called upon reception of a DEAUTH or DISASSOC frame from the AP.
void sm_sa_query_handler (struct rxu_mgt_ind const *param)
 Function called upon reception of a SA QUERY action frame.
uint8_t sm_add_chan_ctx (uint8_t *chan_idx)
 Add the channel context for the new connection.
void sm_set_bss_param (void)
 Set the BSS parameters This function prepares the list of BSS configuration messages that will be transmitted to the Lower MAC.
void sm_bss_config_send (void)
 Send the next BSS parameter message present in the list.
void sm_disconnect (uint8_t vif_index, uint16_t reason_code)
 Start the disconnection procedure upon the reception of a SM_DISCONNECT_REQ.
void sm_disconnect_process (struct vif_info_tag *vif, uint16_t reason)
 Terminates the disconnection procedure after reception of a DEAUTH/DISASSOC or the transmission of a DEAUTH frame.
void sm_assoc_done (uint16_t aid)
 Association completed operations.
void sm_assoc_req_send (void)
 Send MAC_FCTRL_ASSOCREQ or MAC_FCTRL_REASSOCREQ to the air.
void sm_auth_send (uint16_t auth_seq, uint32_t *challenge)
 Send Authentication frame.
void sm_external_auth_start (uint32_t akm)
 Start External Authentication procedure.
void sm_external_auth_end (uint16_t status)
 End External Authentication procedure.
bool sm_external_auth_in_progress (void)
 Check if external authentication is in progress.
int sm_get_rsnie_pmkid_count (uint32_t ies, uint16_t ies_len)
 Return PMKID count from RSN IE.

Variables

struct sm_env_tag sm_env
 SM module environment.

Detailed Description

Copyright (C) RivieraWaves 2011-2019.

Declaration of all structures and functions used by the SM module.

Definition in file sm.h.


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