Microchip® Advanced Software Framework

mac_associate.c File Reference

Implements the functionality required for Association.

Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.

#include <compiler.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#include "return_val.h"
#include "pal.h"
#include "bmm.h"
#include "qmm.h"
#include "tal.h"
#include "ieee_const.h"
#include "mac_msg_const.h"
#include "mac_api.h"
#include "mac_msg_types.h"
#include "mac_data_structures.h"
#include "stack_config.h"
#include "mac_internal.h"
#include "mac.h"
#include "mac_config.h"
#include "mac_build_config.h"

Macros

#define ASSOC_REQ_PAYLOAD_LEN   (2)
 
#define ASSOC_RESP_PAYLOAD_LEN   (4)
 

Functions

void mac_gen_mlme_associate_conf (buffer_t *buf_ptr, uint8_t status, uint16_t assoc_short_addr)
 
void mac_process_associate_request (buffer_t *assoc_req)
 Processes a received association request command frame. More...
 
void mac_process_associate_response (buffer_t *assoc_resp)
 Processing of an associaton reponse command frame. More...
 
void mac_t_assocresponsetime_cb (void *callback_parameter)
 
void mac_t_response_wait_cb (void *callback_parameter)
 Handle T_Poll_Wait_Time timer after successful transmission of an association request frame and before sending out the subsequent data request frame. More...
 
void mlme_associate_request (uint8_t *m)
 Handles the MLME associate request command from the NWK layer. More...
 
void mlme_associate_response (uint8_t *m)
 Entry point from the stack for MLME associate response. More...
 

#define ASSOC_REQ_PAYLOAD_LEN   (2)

Referenced by mlme_associate_request().

#define ASSOC_RESP_PAYLOAD_LEN   (4)

Referenced by mlme_associate_response().