# Copyright (c) 2022 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.

config phy_iface_names
	option rndis 'rndis0'
	option ecm 'ecm0'
	option eth 'eth0'
	option eth_nic2 'eth1'

config global
	option proxydnsv6 '0'
	#IPsec feature mode
	option ipsec_enable '0'
	#Active IPsec tunnels
	option ipsec_active_tunnels '0'
	#QCMAP Topology
	option topology '0'
	#GlobalPortSWPathFilters
	option dhcp_port '67'
	option dns_port '53'

config no_of_configs
	#No of WAN Profiles Configured
	option no_of_profiles '1'
	option no_of_ethwan_dhcp_profiles '0'
	option no_of_ethwan_pppoe_profiles '0'
	#no of VLAN's configured
	option no_of_vlans '0'
	#no of SNAT/DMZ('s) configured
	option no_of_redirects '0'
	option no_of_v6_redirects '0'
	#total no of config rules in firewall file
	option no_of_rules '0'
	#IP passthrough feature mode
	option with_nat '1'
	#Bridge context
	option bridge_context '0'
	#total no of DHCP reservation entries
	option no_of_dhcp_reservation_records '0'
	#maximum number of DHCP reservations
	option maximum_no_of_dhcp_reservation '20'
	#Default PDN
	option default_pdn '1'
	#AP wwan profile
	option ap_pdn '1'
	#AP DNS wwan profile
	option ap_dns_pdn '1'
	#MWAN handling for IPPT
	option ippt_pdn_count '0'
	#Wlan on bootup
	option wlan_bootup_enable '0'
	#link_restart_counts
	option restart_usb_link_count '0'
	option restart_eth_link_count '0'
	option restart_eth_nic2_link_count '0'
	option max_offload_count '0'
	option ippt_wo_nat_firewall_support '0'
	#EoGRE feature status
	option eogre_enabled '0'
	#EoGRE option encap limit for options header
	option eogre_encap_limit 'none'
	#eth link for which EoGRE is enabled
	option eogre_eth_interface 'eth0 eth1'
	option ioss_event '0'
	#Routing Behind MS feature status
	option rbms_enabled '0'
    option is_common_firewall_config_applied '0'

config profile
    option profile_id '1'
    option nat_type 'SYM'
    option ip_type '10'
    option firewall_enabled '0'
    option pkts_allowed '0'
    list vlan_ids '0'
    option no_of_snat_rules '0'
    option no_of_snat_v6_rules '0'
    option no_of_v4_fw_rules '0'
    option no_of_v6_fw_rules '0'
    option ipv4_nat_disable '0'
    option active_ippt '0'
    option ippt_enable '0'
    option ippt_device_type '-1'
    option ippt_bridge_context '0'
    option adap_ippt_mode '0'
    #default global port filters
    option total_swpath_filters '0'

config logging
    # If enabled holds '1' then the shell script logging
    # will be redirected to the file specified by 'filename'
    # else will print the logs on console
    option enabled '0'
    option filename '/tmp/data/softap.log'
    # If local_print_log holds '1'
    # server log in '/var/run/data/qcmap_qxdm.log'
    option local_print_log '0'

#Create default nic config.
config eth_config
   #ETH NIC mode 0-LAN, 1-WAN, 2-WAN_LAN
   option mode '0'
   #total number of NIC
   option no_of_nics '2'

config eth_nic_config
   #ETH interface name
   option ifname 'eth0'
   option name "eth0"
   option enabled '1'
   #ETH type 0-LAN, 1-WAN
   option type '0'
   option macsec_enabled '0'
   option macsec_active '0'

config eth_nic_config
   #ETH interface name
   option ifname 'eth1'
   option name "eth1"
   option enabled '1'
   #ETH type 0-LAN, 1-WAN
   option type '0'
   option macsec_enabled '0'
   option macsec_active '0'

config nat_timeout_values
    option  nat_timeout_generic '200'
    option  nat_timeout_icmp '30'
    option  nat_timeout_icmpv6 '30'
    option  nat_timeout_tcp_established '7440'
    option  nat_timeout_udp '60'

config alg_cfg
    option rtspalg_enable 0
    option sipalg_enable 1
    option default_sip_server_config_type 'FQDN'
    option default_sip_server_config 'abcd.com'

config ipa_vlan_phy_config
    option rndis_vlan_count 0
    option rndis_vlan_str 'rndis'
    option ecm_vlan_count 0
    option ecm_vlan_str 'ecm'
    option eth_vlan_count 0
    option eth_vlan_str 'eth0'
    option eth_nic2_vlan_count 0
    option eth_nic2_vlan_str 'eth1'

config runstatus
  option station '0'
  option sap  '0'
  option activatesupplicant '0'
  option activatehostapd '0'

config eth_pdu
    option enable '0'

config dhcp_option
    option dhcp_vendor_info_enable '0'
    option dhcp_tz_enable '0'

config mdns_option
    option enable '0'

#Default mwan3track cfg for ETH/WLAN/BT/USB BH
config mwan3track
    option waneth '0'
    option wanwlan '0'
    option wanbt '0'
    option wanusb '0'

 config sw_path_enabled
    option no_of_configs '0'
    option waneth '0'
    option waneth_name 'eth0'
    option laneth '0'
    option laneth_name 'eth1'
