| #ifndef _CUSTOM_L5_H_ |
| #define _CUSTOM_L5_H_ |
| #include "kal_public_defs.h" |
| #include "l5_common.h" |
| |
| #if 0 |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| #endif |
| |
| typedef struct { |
| kal_uint32 device_type; |
| kal_uint32 cellular_class; |
| kal_uint32 voice_class; |
| kal_uint32 sim_class; |
| kal_uint32 data_class; |
| kal_uint32 sms_caps; |
| kal_uint32 control_caps; |
| kal_uint16 max_activated_contexts; |
| kal_uint8 custom_class_name[11]; |
| kal_uint8 device_id[18]; |
| kal_uint8 firmware_info[30]; |
| kal_uint8 hardware_info[30]; |
| } l5_custom_device_cap_info_struct; |
| |
| typedef struct{ |
| kal_int32 rsrp; |
| kal_int32 snr; |
| kal_int32 rsrp_dbm; |
| kal_int32 snr_db; |
| } l5_custom_rsrp_snr_info; |
| |
| typedef struct{ |
| kal_uint32 rsrp_snr_count; |
| kal_int32 rssi; |
| kal_int32 rssi_dbm; |
| kal_int32 rscp_dbm; |
| kal_int32 ecn0_dbm; |
| l5_custom_rsrp_snr_info signal[2]; |
| } l5_custom_signal_state; |
| |
| //the example of the structure of the oper_name mapping intem of plmn_id and gid1. |
| typedef struct { |
| kal_char *plmn_id; |
| kal_uint8 gid1[20]; |
| kal_uint8 gid1_length; |
| kal_char *oper_name; |
| } l5u_oper_name_mapping_item; |
| |
| typedef enum { |
| L5_5G_ICON_MODE_JP = 0, |
| L5_5G_ICON_MODE_D_CACHE, |
| } l5_5g_icon_display_mode; |
| |
| eventid custom_l5_timer_set(CUSTOM_L5_TIMER_CB cb, void *cb_priv, kal_uint32 ms); |
| void custom_l5_timer_cancel(eventid event_id); |
| |
| kal_bool l5_general_modem_configure_req_custom(kal_uint8 ps_id, kal_bool is_set, ilm_struct *ilm_ptr); |
| kal_uint8 custom_l5_sms_storage_select_init(); |
| kal_bool custom_l5_sms_need_ack_init(); |
| kal_bool custom_l5_sms_force_relay_to_HOST(const kal_uint8* sms_ptr); |
| kal_bool custom_l5_sms_force_relay_to_HOST_3gpp2(const kal_uint8* sms_ptr, kal_uint8 pdu_len); |
| kal_bool l5custom_is_ok_to_write_nvram(kal_uint32 file_idx); |
| kal_bool l5custom_is_ok_to_write_dipc_config(kal_uint8 *type); |
| |
| #if 0 |
| /* under construction !*/ |
| #endif |
| |
| kal_bool custom_l5_custom_device_caps(l5_custom_device_cap_info_struct *device_caps); |
| kal_bool custom_l5_custom_provider_name(kal_uint8 *provider_name, kal_uint16 *len, kal_uint32 sbp_id); |
| kal_bool custom_l5_signal_state_rsrp_threshold(uint32_t *rsrp_threshold); |
| kal_bool custom_l5_packet_service_speed(uint32_t data_class, kal_uint64 *uplink_speed_ptr, kal_uint64 *downlink_speed_ptr); |
| kal_bool custom_l5_nw_enable_EONS(); |
| kal_bool custom_l5_nw_enable_EDMFAPP_6_3(); |
| kal_bool custom_l5_signal_check(l5_custom_signal_state *signal); |
| void custom_l5_MBIM_message(void* message_buffer, uint32_t msg_length); |
| kal_bool custom_l5_oper_name_mapping_by_gid1(kal_char *oper_name, kal_char *plmn_id, kal_uint8 plmn_length, kal_uint8 *gid1, kal_uint8 gid1_max_length); |
| kal_uint32 custom_l5_get_5g_icon_display_mode(); |
| kal_bool custom_l5_nw_enable_nitz_name_cache_to_nvram(); |
| kal_bool custom_l5_custom_ignore_duplicate_registration_state_Ind(); |
| |
| #endif |