Lines Matching full:uint16
81 UINT16 hci_handle;
82 UINT16 pkt_types_mask;
83 UINT16 restore_pkt_types; /* when coming in/out of SCO connection restore the packet types */
84 UINT16 clock_offset;
89 UINT16 manufacturer;
90 UINT16 lmp_subversion;
91 UINT16 link_super_tout;
279 UINT16 discoverable_mode;
280 UINT16 connectable_mode;
281 UINT16 page_scan_window;
282 UINT16 page_scan_period;
283 UINT16 inq_scan_window;
284 UINT16 inq_scan_period;
285 UINT16 inq_scan_type;
286 UINT16 page_scan_type; /* current page scan type */
305 UINT16 num_bd_entries; /* Number of entries in database */
306 UINT16 max_bd_entries; /* Maximum number of entries that can be stored */
312 UINT16 per_min_delay; /* Current periodic minimum delay */
313 UINT16 per_max_delay; /* Current periodic maximum delay */
348 typedef void (tBTM_SCO_IND_CBACK) (UINT16 sco_inx) ;
360 #define BTM_SCO_2_ESCO(scotype) ((UINT16)(((scotype) & BTM_SCO_PKT_TYPE_MASK) >> 5))
361 #define BTM_ESCO_2_SCO(escotype) ((UINT16)(((escotype) & BTM_ESCO_PKT_TYPE_MASK) << 5))
399 UINT16 state; /* The state of the SCO link */
400 UINT16 hci_handle; /* HCI Handle */
417 UINT16 sco_disc_reason;
432 extern void btm_accept_sco_link(UINT16 sco_inx, tBTM_ESCO_PARAMS *p_setup,
434 extern void btm_reject_sco_link(UINT16 sco_inx );
435 extern void btm_sco_chk_pend_rolechange (UINT16 hci_handle);
452 UINT16 psm; /* L2CAP PSM value */
453 UINT16 security_flags; /* Bitmap of required security features */
456 UINT16 ucd_security_flags; /* Bitmap of required security features for UCD */
473 UINT16 ediv; /* LTK diversifier of this slave device */
474 UINT16 div; /* local DIV to generate local LTK=d1(ER,DIV,0) and CSRK=d1(ER,DIV,1) */
509 UINT16 hci_handle; /* Handle to connection when exists */
510 UINT16 clock_offset; /* Latest known clock offset */
546 UINT16 security_required; /* Security required for connection */
626 UINT16 event;
627 UINT16 len;
635 UINT16 interval;
654 UINT16 interval; /* the interval from last mode change event. */
656 UINT16 max_lat; /* stored SSR maximum latency */
657 UINT16 min_rmt_to;/* stored SSR minimum remote timeout */
658 UINT16 min_loc_to;/* stored SSR minimum local timeout */
713 UINT16 psm;
767 UINT16 btm_def_link_policy;
768 UINT16 btm_def_link_super_tout;
800 UINT16 enc_handle;
802 UINT16 ediv; /* received ediv value from LTK request */
807 UINT16 btm_acl_pkt_types_supported;
808 UINT16 btm_sco_pkt_types_supported;
859 UINT16 disc_handle; /* for legacy devices */
890 UINT16 sys_features;
923 extern void btm_process_remote_name (BD_ADDR bda, BD_NAME name, UINT16 evt_len,
948 UINT16 hci_handle, UINT8 link_role, UINT8 is_le_link);
952 extern void btm_acl_link_key_change (UINT16 handle, UINT8 status);
958 extern UINT8 btm_handle_to_acl_index (UINT16 hci_handle);
963 extern tBTM_STATUS btm_set_packet_types (tACL_CONN *p, UINT16 pkt_types);
964 extern void btm_process_clk_off_comp_evt (UINT16 hci_handle, UINT16 clock_offset);
966 extern void btm_acl_encrypt_change (UINT16 handle, UINT8 status, UINT8 encr_enable);
967 BTM_API extern UINT16 btm_get_acl_disc_reason_code (void);
971 extern void btm_read_remote_ext_features_failed (UINT8 status, UINT16 handle);
974 extern void btm_acl_chk_peer_pkt_type_support (tACL_CONN *p, UINT16 *p_pkt_type);
977 extern UINT16 btm_get_max_packet_size (BD_ADDR addr);
982 extern void btm_process_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT8 mode,
983 UINT16 interval);
992 extern void btm_pm_proc_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT8 mode,
993 UINT16 interval);
994 extern void btm_pm_proc_ssr_evt (UINT8 *p, UINT16 evt_len);
996 extern void btm_sco_chk_pend_unpark (UINT8 hci_status, UINT16 hci_handle);
1001 extern void btm_qos_setup_complete (UINT8 status, UINT16 handle, FLOW_SPEC *p_flow);
1008 extern void btm_sco_connected (UINT8 hci_status, BD_ADDR bda, UINT16 hci_handle,
1010 extern void btm_esco_proc_conn_chg (UINT8 status, UINT16 handle, UINT8 tx_interval,
1011 UINT8 retrans_window, UINT16 rx_pkt_len,
1012 UINT16 tx_pkt_len);
1014 extern void btm_sco_removed (UINT16 hci_handle, UINT8 reason);
1017 extern BOOLEAN btm_is_sco_active (UINT16 handle);
1022 extern UINT16 btm_find_scb_by_handle (UINT16 handle);
1023 extern void btm_sco_flush_sco_data(UINT16 sco_inx);
1032 extern void btm_read_local_version_complete (UINT8 *p, UINT16 evt_len);
1033 extern void btm_read_hci_buf_size_complete (UINT8 *p, UINT16 evt_len);
1035 extern void btm_read_local_features_complete (UINT8 *p, UINT16 evt_len);
1036 extern void btm_read_local_ext_features_complete (UINT8 *p, UINT16 evt_len);
1037 extern void btm_read_local_name_complete (UINT8 *p, UINT16 evt_len);
1038 extern void btm_read_local_addr_complete (UINT8 *p, UINT16 evt_len);
1044 extern void btm_read_ble_buf_size_complete (UINT8 *p, UINT16 evt_len);
1045 extern void btm_read_ble_local_supported_features_complete (UINT8 *p, UINT16 evt_len);
1046 extern void btm_read_white_list_size_complete(UINT8 *p, UINT16 evt_len);
1048 extern void btm_ble_remove_from_white_list_complete(UINT8 *p, UINT16 evt_len);
1049 extern void btm_ble_clear_white_list_complete(UINT8 *p, UINT16 evt_len);
1053 extern void btm_vsc_complete (UINT8 *p, UINT16 cc_opcode, UINT16 evt_len,
1075 extern tBTM_SEC_DEV_REC *btm_find_dev_by_handle (UINT16 handle);
1081 extern tBTM_STATUS btm_sec_l2cap_access_req (BD_ADDR bd_addr, UINT16 psm,
1082 UINT16 handle, CONNECTION_TYPE conn_type,
1084 extern tBTM_STATUS btm_sec_mx_access_request (BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_originator,
1089 extern void btm_proc_lsto_evt(UINT16 handle, UINT16 timeout);
1095 extern void btm_sec_auth_complete (UINT16 handle, UINT8 status);
1096 extern void btm_sec_mkey_comp_event (UINT16 handle, UINT8 status, UINT8 key_flg);
1097 extern void btm_sec_encrypt_change (UINT16 handle, UINT8 status, UINT8 encr_enable);
1098 extern void btm_sec_connected (UINT8 *bda, UINT16 handle, UINT8 status, UINT8 enc_mode);
1099 extern tBTM_STATUS btm_sec_disconnect (UINT16 handle, UINT8 reason);
1100 extern void btm_sec_disconnected (UINT16 handle, UINT8 reason);
1111 extern void btm_sec_update_clock_offset (UINT16 handle, UINT16 clock_offset);
1135 extern UINT8 btm_sec_clr_service_by_psm (UINT16 psm);