/********************************************************************* * @fn macSrcMatchGetExtAddrEnBit * * @brief Return the SRCMATCH ExtAddr enable bitmap * * @param none * * @return uint24 - 24 bits bitmap */ static uint24 macSrcMatchGetExtAddrEnableBit( void ) { uint8 buf[MAC_SRCMATCH_ENABLE_BITMAP_LEN]; MAC_RADIO_GET_SRC_EXTEN( buf ); return osal_build_uint32( buf, MAC_SRCMATCH_ENABLE_BITMAP_LEN ); }
/********************************************************************* * @fn macSrcMatchGetEnableBit * * @brief Return the SRCMATCH enable bitmap * * @param none * * @return uint24 - 24 bits bitmap */ static uint24 macSrcMatchGetEnableBit( void ) { uint8 buf[MAC_SRCMATCH_ENABLE_BITMAP_LEN]; if( macSrcMatchAddrMode == SADDR_MODE_SHORT ) { MAC_RADIO_GET_SRC_SHORTEN( buf ); } else { MAC_RADIO_GET_SRC_EXTEN( buf ); } return osal_build_uint32( buf, MAC_SRCMATCH_ENABLE_BITMAP_LEN ); }