49 lines
1.7 KiB
C
Executable File
49 lines
1.7 KiB
C
Executable File
/****************************************************************************
|
|
|
|
Copyright(c) 2019 by Aerospace C.Power (Chongqing) Microelectronics. ALL RIGHTS RESERVED.
|
|
|
|
This Information is proprietary to Aerospace C.Power (Chongqing) Microelectronics and MAY NOT
|
|
be copied by any method or incorporated into another program without
|
|
the express written consent of Aerospace C.Power. This Information or any portion
|
|
thereof remains the property of Aerospace C.Power. The Information contained herein
|
|
is believed to be accurate and Aerospace C.Power assumes no responsibility or
|
|
liability for its use in any way and conveys no license or title under
|
|
any patent or copyright and makes no representation or warranty that this
|
|
Information is free from patent or copyright infringement.
|
|
|
|
****************************************************************************/
|
|
#ifndef MAC_HPLC_EXT_API_H
|
|
#define MAC_HPLC_EXT_API_H
|
|
#include "os_types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
enum SACK_EXT_TYPE {
|
|
SACK_EXT_TYPE_SEARCH = 1,
|
|
SACK_EXT_TYPE_SYNC
|
|
};
|
|
|
|
|
|
/**
|
|
*@brief mac_send_ext_frame send ext frame for ckq
|
|
*@param ext_type send frame type
|
|
*@param pdev_id cur pdev id
|
|
*@param vdev_id cur vdev id
|
|
*@param tx_info mac tx info
|
|
*@param addr remote mac addr
|
|
*@param sn sn
|
|
*@return ok/err
|
|
*/
|
|
uint32_t mac_send_ext_frame(uint8_t ext_type, pdevid_t pdev_id,
|
|
vdevid_t vdev_id, mac_tx_info *tx_info, uint8_t *addr, uint8_t sn);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|