@@ -53,7 +53,7 @@ static int8_t ns_sw_mac_api_enable_mcps_ext(mac_api_t *api, mcps_data_indication
5353
5454static void mlme_req (const mac_api_t * api , mlme_primitive id , const void * data );
5555static void mcps_req (const mac_api_t * api , const mcps_data_req_t * data );
56- static void mcps_req_ext (const mac_api_t * api , const mcps_data_req_t * data , const const mcps_data_req_ie_list_t * ie_ext );
56+ static void mcps_req_ext (const mac_api_t * api , const mcps_data_req_t * data , const const mcps_data_req_ie_list_t * ie_ext , const channel_list_s * asynch_channel_list );
5757static void purge_req (const mac_api_t * api , const mcps_purge_t * data );
5858static int8_t macext_mac64_address_set ( const mac_api_t * api , const uint8_t * mac64 );
5959static int8_t macext_mac64_address_get ( const mac_api_t * api , mac_extended_address_type type , uint8_t * mac64_buf );
@@ -227,6 +227,7 @@ static int8_t ns_sw_mac_api_enable_mcps_ext(mac_api_t *api, mcps_data_indication
227227
228228 cur -> data_conf_ext_cb = data_cnf_cb ;
229229 cur -> data_ind_ext_cb = data_ind_cb ;
230+ mac_store .setup -> mac_extension_enabled = true;
230231 return 0 ;
231232}
232233
@@ -468,15 +469,15 @@ void mcps_req(const mac_api_t* api, const mcps_data_req_t *data)
468469 /* Call direct new API but without IE extensions */
469470 mcps_data_req_ie_list_t ie_list ;
470471 memset (& ie_list , 0 , sizeof (mcps_data_req_ie_list_t ));
471- mcps_sap_data_req_handler_ext (mac_store .setup , data , & ie_list );
472+ mcps_sap_data_req_handler_ext (mac_store .setup , data , & ie_list , NULL );
472473 }
473474}
474475
475- void mcps_req_ext (const mac_api_t * api , const mcps_data_req_t * data , const mcps_data_req_ie_list_t * ie_ext )
476+ void mcps_req_ext (const mac_api_t * api , const mcps_data_req_t * data , const mcps_data_req_ie_list_t * ie_ext , const channel_list_s * asynch_channel_list )
476477{
477478//TODO: Populate linked list when present
478479 if (mac_store .mac_api == api ) {
479- mcps_sap_data_req_handler_ext (mac_store .setup , data , ie_ext );
480+ mcps_sap_data_req_handler_ext (mac_store .setup , data , ie_ext , asynch_channel_list );
480481 }
481482}
482483
0 commit comments