# 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'
        #GlobalPortSWPathFilters
        option dhcp_port '67'
        option dns_port '53'

config no_of_configs
	#No of WAN Profiles Configured
	option no_of_profiles '1'
	#no of VLAN's configured
	option no_of_vlans '0'
	#no of SNAT/DMZ('s) configured
	option no_of_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'
	#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'

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_v4_fw_rules '0'
    option no_of_v6_fw_rules '0'
    option ipv4_nat_disable '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'

#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 '3600'
    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 eth_pdu
    option enable '0'

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