component/bt: fix some bugs related to bluetooth sniff mode in controller

1. fix some bugs in bluetooth sniff mode in controller
2. export some symbols to esp32.rom.ld including functions and global variables in ROM code
3. update libbtdm.a which includes "IRAM_ATTR" addition or removal for some functions
This commit is contained in:
wangmengyang 2017-04-27 22:12:31 +08:00
parent 8f9707fd07
commit 244fbf1e84
2 changed files with 87 additions and 1 deletions

@ -1 +1 @@
Subproject commit 965318e4d9009f85e76d02ad6f5e0117a10ead14 Subproject commit d2b6923875db3715cff8e4b1016021d29135e7e3

View file

@ -743,6 +743,90 @@ PROVIDE ( r_lc_util_get_offset_clke = 0x4002f538 );
PROVIDE ( r_lc_util_get_offset_clkn = 0x4002f51c ); PROVIDE ( r_lc_util_get_offset_clkn = 0x4002f51c );
PROVIDE ( r_lc_util_set_loc_trans_coll = 0x4002f500 ); PROVIDE ( r_lc_util_set_loc_trans_coll = 0x4002f500 );
PROVIDE ( r_lc_version = 0x40020a30 ); PROVIDE ( r_lc_version = 0x40020a30 );
PROVIDE ( lmp_accepted_ext_handler = 0x40027290 );
PROVIDE ( lmp_not_accepted_ext_handler = 0x40029c54 );
PROVIDE ( lmp_clk_adj_handler = 0x40027468 );
PROVIDE ( lmp_clk_adj_ack_handler = 0x400274f4 );
PROVIDE ( lmp_clk_adj_req_handler = 0x4002751c );
PROVIDE ( lmp_feats_res_ext_handler = 0x4002cac4 );
PROVIDE ( lmp_feats_req_ext_handler = 0x4002ccb0 );
PROVIDE ( lmp_pkt_type_tbl_req_handler = 0x40027574 );
PROVIDE ( lmp_esco_link_req_handler = 0x40027610 );
PROVIDE ( lmp_rmv_esco_link_req_handler = 0x400276e8 );
PROVIDE ( lmp_ch_class_req_handler = 0x40027730 );
PROVIDE ( lmp_ch_class_handler = 0x4002ca18 );
PROVIDE ( lmp_ssr_req_handler = 0x4002780c );
PROVIDE ( lmp_ssr_res_handler = 0x40027900 );
PROVIDE ( lmp_pause_enc_aes_req_handler = 0x400279a4 );
PROVIDE ( lmp_pause_enc_req_handler = 0x4002df90 );
PROVIDE ( lmp_resume_enc_req_handler = 0x4002e084 );
PROVIDE ( lmp_num_comparison_fail_handler = 0x40027a74 );
PROVIDE ( lmp_passkey_fail_handler = 0x40027aec );
PROVIDE ( lmp_keypress_notif_handler = 0x4002c5c8 );
PROVIDE ( lmp_pwr_ctrl_req_handler = 0x400263bc );
PROVIDE ( lmp_pwr_ctrl_res_handler = 0x40026480 );
PROVIDE ( lmp_auto_rate_handler = 0x40026548 );
PROVIDE ( lmp_pref_rate_handler = 0x4002657c );
PROVIDE ( lmp_name_req_handler = 0x40025050 );
PROVIDE ( lmp_name_res_handler = 0x400250bc );
PROVIDE ( lmp_not_accepted_handler = 0x400251d0 );
PROVIDE ( lmp_accepted_handler = 0x4002e894 );
PROVIDE ( lmp_clk_off_req_handler = 0x40025a44 );
PROVIDE ( lmp_clk_off_res_handler = 0x40025ab8 );
PROVIDE ( lmp_detach_handler = 0x40025b74 );
PROVIDE ( lmp_tempkey_handler = 0x4002b6b0 );
PROVIDE ( lmp_temprand_handler = 0x4002b74c );
PROVIDE ( lmp_sres_handler = 0x4002b840 );
PROVIDE ( lmp_aurand_handler = 0x4002bda0 );
PROVIDE ( lmp_unitkey_handler = 0x4002c13c );
PROVIDE ( lmp_combkey_handler = 0x4002c234 );
PROVIDE ( lmp_inrand_handler = 0x4002c414 );
PROVIDE ( lmp_oob_fail_handler = 0x40027b84 );
PROVIDE ( lmp_ping_req_handler = 0x40027c08 );
PROVIDE ( lmp_ping_res_handler = 0x40027c5c );
PROVIDE ( lmp_enc_mode_req_handler = 0x40025c60 );
PROVIDE ( lmp_enc_key_size_req_handler = 0x40025e54 );
PROVIDE ( lmp_switch_req_handler = 0x40025f84 );
PROVIDE ( lmp_start_enc_req_handler = 0x4002e124 );
PROVIDE ( lmp_stop_enc_req_handler = 0x4002de30 );
PROVIDE ( lmp_sniff_req_handler = 0x400260c8 );
PROVIDE ( lmp_unsniff_req_handler = 0x400261e0 );
PROVIDE ( lmp_incr_pwr_req_handler = 0x4002629c );
PROVIDE ( lmp_decr_pwr_req_handler = 0x400262f8 );
PROVIDE ( lmp_max_pwr_handler = 0x40026354 );
PROVIDE ( lmp_min_pwr_handler = 0x40026388 );
PROVIDE ( lmp_ver_req_handler = 0x400265f0 );
PROVIDE ( lmp_ver_res_handler = 0x40026670 );
PROVIDE ( lmp_qos_handler = 0x40026790 );
PROVIDE ( lmp_qos_req_handler = 0x40026844 );
PROVIDE ( lmp_sco_link_req_handler = 0x40026930 );
PROVIDE ( lmp_rmv_sco_link_req_handler = 0x40026a10 );
PROVIDE ( lmp_max_slot_handler = 0x40026a54 );
PROVIDE ( lmp_max_slot_req_handler = 0x40026aac );
PROVIDE ( lmp_timing_accu_req_handler = 0x40026b54 );
PROVIDE ( lmp_timing_accu_res_handler = 0x40026bcc );
PROVIDE ( lmp_setup_cmp_handler = 0x40026c84 );
PROVIDE ( lmp_feats_res_handler = 0x4002b548 );
PROVIDE ( lmp_feats_req_handler = 0x4002b620 );
PROVIDE ( lmp_host_con_req_handler = 0x4002b3d8 );
PROVIDE ( lmp_use_semi_perm_key_handler = 0x4002b4c4 );
PROVIDE ( lmp_slot_off_handler = 0x40026cc8 );
PROVIDE ( lmp_page_mode_req_handler = 0x40026d0c );
PROVIDE ( lmp_page_scan_mode_req_handler = 0x40026d4c );
PROVIDE ( lmp_supv_to_handler = 0x40026d94 );
PROVIDE ( lmp_test_activate_handler = 0x40026e7c );
PROVIDE ( lmp_test_ctrl_handler = 0x40026ee4 );
PROVIDE ( lmp_enc_key_size_mask_req_handler = 0x40027038 );
PROVIDE ( lmp_enc_key_size_mask_res_handler = 0x400270a4 );
PROVIDE ( lmp_set_afh_handler = 0x4002b2e4 );
PROVIDE ( lmp_encaps_hdr_handler = 0x40027120 );
PROVIDE ( lmp_encaps_payl_handler = 0x4002e590 );
PROVIDE ( lmp_sp_nb_handler = 0x4002acf0 );
PROVIDE ( lmp_sp_cfm_handler = 0x4002b170 );
PROVIDE ( lmp_dhkey_chk_handler = 0x4002ab48 );
PROVIDE ( lmp_pause_enc_aes_req_handler = 0x400279a4 );
PROVIDE ( lmp_io_cap_res_handler = 0x4002c670 );
PROVIDE ( lmp_io_cap_req_handler = 0x4002c7a4 );
PROVIDE ( r_ld_acl_active_hop_types_get = 0x40036e10 ); PROVIDE ( r_ld_acl_active_hop_types_get = 0x40036e10 );
PROVIDE ( r_ld_acl_afh_confirm = 0x40036d40 ); PROVIDE ( r_ld_acl_afh_confirm = 0x40036d40 );
PROVIDE ( r_ld_acl_afh_prepare = 0x40036c84 ); PROVIDE ( r_ld_acl_afh_prepare = 0x40036c84 );
@ -1772,5 +1856,7 @@ PROVIDE ( ld_sched_params = 0x3ffb96c0 );
PROVIDE ( ld_sco_env = 0x3ffb824c ); PROVIDE ( ld_sco_env = 0x3ffb824c );
PROVIDE ( ld_sscan_env = 0x3ffb832c ); PROVIDE ( ld_sscan_env = 0x3ffb832c );
PROVIDE ( ld_strain_env = 0x3ffb8330 ); PROVIDE ( ld_strain_env = 0x3ffb8330 );
PROVIDE ( LM_Sniff = 0x3ffb8230 );
PROVIDE ( LM_SniffSubRate = 0x3ffb8214 );
/* Above are static data, but can be used, not generated by script >>>>> btdm data */ /* Above are static data, but can be used, not generated by script >>>>> btdm data */