This file implements the MLME-START.request (MAC layer management entity) entry points.
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"
Functions | |
static bool | check_start_parameter (mlme_start_req_t *msg) |
static void | gen_mlme_start_conf (buffer_t *start_buf_ptr, uint8_t start_req_status) |
void | mac_coord_realignment_command_tx_success (uint8_t tx_status, buffer_t *buf_ptr) |
Continues handling of MLME_START.request (Coordinator realignment) command. More... | |
void | mlme_start_request (uint8_t *m) |
The MLME-START.request primitive makes a request for the device to start using a new superframe configuration. More... | |
Variables | |
static mlme_start_req_t | msr_params |
|
static |
References mlme_start_req_tag::BeaconOrder, mlme_start_req_tag::CoordRealignment, MAC_ASSOCIATED, MAC_IDLE, mac_state, NON_BEACON_NWK, and mlme_start_req_tag::SuperframeOrder.
Referenced by mlme_start_request().
|
static |
References BMM_BUFFER_POINTER, mlme_start_conf_tag::cmdcode, mac_nhle_q, MLME_START_CONFIRM, qmm_queue_append(), and mlme_start_conf_tag::status.
Referenced by mac_coord_realignment_command_tx_success(), and mlme_start_request().
|
static |