Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mac_data_poll.h
00001 /* 00002 * Copyright (c) 2014-2017, Arm Limited and affiliates. 00003 * SPDX-License-Identifier: Apache-2.0 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 */ 00017 00018 /* 00019 * \file mac_data_poll.h 00020 * \brief Add short description about this file!!! 00021 * 00022 */ 00023 00024 #ifndef MAC_DATA_POLL_H_ 00025 #define MAC_DATA_POLL_H_ 00026 00027 #include "net_polling_api.h" 00028 00029 struct nwk_rfd_poll_setups; 00030 struct protocol_interface_info_entry; 00031 struct mlme_poll_conf_s; 00032 00033 void mac_poll_timer_trig(uint32_t poll_time, struct protocol_interface_info_entry *cur); 00034 void mac_mlme_poll_confirm(struct protocol_interface_info_entry *cur, const struct mlme_poll_conf_s *confirm); 00035 void mac_data_poll_init_protocol_poll(struct protocol_interface_info_entry *cur); 00036 uint32_t mac_data_poll_host_poll_time_max(struct protocol_interface_info_entry *cur); 00037 uint32_t mac_data_poll_host_timeout(struct protocol_interface_info_entry *cur); 00038 void mac_data_poll_protocol_poll_mode_decrement(struct protocol_interface_info_entry *cur); 00039 void mac_data_poll_protocol_poll_mode_disable(struct protocol_interface_info_entry *cur); 00040 void mac_data_poll_enable_check(struct protocol_interface_info_entry *cur); 00041 void mac_data_poll_disable(struct protocol_interface_info_entry *cur); 00042 00043 int8_t mac_data_poll_host_mode_get(struct protocol_interface_info_entry *cur, net_host_mode_t *mode); 00044 int8_t mac_data_poll_host_mode_set(struct protocol_interface_info_entry *cur, net_host_mode_t mode, uint32_t poll_time); 00045 00046 void mac_data_poll_init(struct protocol_interface_info_entry *cur); 00047 uint32_t mac_data_poll_get_max_sleep_period(struct protocol_interface_info_entry *cur); 00048 00049 #endif /* MAC_DATA_POLL_H_ */
Generated on Tue Jul 12 2022 12:22:03 by
