Linux SDK (lite-fw)  MBPL_SDK_R25_ENG3
_userOptions Struct Reference

#include <lite-fw.h>

Data Fields

bool is_pcie_dev
 
char dev_mode_str [DEV_MODE_STR_LEN]
 
char qdl_dev_path [MAX_PATH_LEN]
 
char dev_path [MAX_PATH_LEN]
 
char dm_path [MAX_PATH_LEN]
 
char fw_image_path [MAX_PATH_LEN]
 
char log_file_path [MAX_PATH_LEN]
 
char qdl_usb_path [MAX_USB_PATH_LEN]
 
char cwe_image_pref [NAME_MAX]
 
char nvu_image_pref [NAME_MAX]
 
char usb_path [USB_PATH_LEN]
 
int num_of_dev_retries
 
int modelfamily
 
int download_type
 
bool force_download
 
bool show_img_info
 
unsigned long lBlockSize
 
bool enable_auto_sim
 
bool is_openwrt
 
unsigned char sync_delay
 
usb_dev_loc_info usb_dev_loc
 
pcie_dev_loc_info pcie_dev_loc
 

Detailed Description

Structure containing user options related to FW download

Parameters
is_pcie_dev
  • Flag indicating if device is in PCIe mode.
  • true: Device is in PCIe mode.
  • false: Device is in USB mode
dev_mode_str
  • Device mode string
  • MBIM: Device is configured to MBIM mode
  • QMI: Device is configure to RmNet mode
qdl_dev_path
  • Device QDL port path
dev_path
  • Device network adapter path
dm_path
  • Device DM port path
fw_image_path
  • Path to FW image folder. Mandatory field from user input.
log_file_path
  • Path to log file
qdl_usb_path
  • Reserved
cwe_image_pref
  • File name of the FW image specified for image preference
nvu_image_pref
  • File name of the carrier PRI image specified for image preference
usb_path
  • USB device path in a format of bus::_port#
num_of_dev_retries
  • Number of device connection retries after a successful FW download
  • Retry interval is 5 seconds
modelfamily
  • Device chipset family
  • 1: 9x15
  • 3: 9x30
  • 4: 9x07/9x50/sdx55
download_type
  • Type of the FW download
  • 1: Image switch
  • 2: Non image switch
force_download
  • Flag indicating a force image download during an image switch scenario
  • true: Force image download
  • false: Only download images if device does not have them already
show_img_info
  • Flag to display image info. This is not a FW download related option.
  • true: Display image info. No further FW download.
  • false: Do FW download. No image info display.
lBlockSize
  • File read block size in bytes
enable_auto_sim
  • True indicates to enable device based image switching based on SIM
is_openwrt
  • True indicates the host platform is an openwrt platform
sync_delay
  • Number of seconds to delay after a CTL_SYNC_REQ/RESP exchange
  • Zero means no delay
usb_dev_loc
  • USB device location information
  • See usb_dev_loc_info for details
pcie_dev_loc
  • PCIe device location information
  • See pcie_dev_loc_info for details

The documentation for this struct was generated from the following file: