Added support for WNC M14A2A Cellular LTE Data Module.
Dependencies: WNC14A2AInterface
Dependents: http-example-wnc http-example-wnc-modified
ip64-conf.h
00001 /* 00002 * Copyright (c) 2012, Thingsquare, http://www.thingsquare.com/. 00003 * All rights reserved. 00004 * 00005 * Redistribution and use in source and binary forms, with or without 00006 * modification, are permitted provided that the following conditions 00007 * are met: 00008 * 1. Redistributions of source code must retain the above copyright 00009 * notice, this list of conditions and the following disclaimer. 00010 * 2. Redistributions in binary form must reproduce the above copyright 00011 * notice, this list of conditions and the following disclaimer in the 00012 * documentation and/or other materials provided with the distribution. 00013 * 00014 * 3. Neither the name of the copyright holder nor the names of its 00015 * contributors may be used to endorse or promote products derived 00016 * from this software without specific prior written permission. 00017 * 00018 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 00019 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 00020 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 00021 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 00022 * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 00023 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00024 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 00025 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 00026 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 00027 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 00028 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 00029 * OF THE POSSIBILITY OF SUCH DAMAGE. 00030 * 00031 */ 00032 #ifndef IP64_CONF_H 00033 #define IP64_CONF_H 00034 00035 /* 00036 #include "ip64-tap-driver.h" 00037 #include "ip64-eth-interface.h" 00038 00039 #define IP64_CONF_UIP_FALLBACK_INTERFACE ip64_eth_interface 00040 #define IP64_CONF_INPUT ip64_eth_interface_input 00041 00042 #define IP64_CONF_ETH_DRIVER ip64_tap_driver 00043 00044 00045 #undef UIP_FALLBACK_INTERFACE 00046 #define UIP_FALLBACK_INTERFACE ip64_uip_fallback_interface 00047 */ 00048 #ifdef MY_DRIVERS 00049 #include <my_wifi_interface.h> 00050 #include <my_wifi_driver.h> 00051 00052 #define IP64_CONF_UIP_FALLBACK_INTERFACE_SLIP 0 00053 #define IP64_CONF_UIP_FALLBACK_INTERFACE my_wifi_interface 00054 #define IP64_CONF_INPUT my_wifi_interface_input 00055 #define IP64_CONF_ETH_DRIVER my_wifi_driver 00056 00057 #undef UIP_CONF_ND6_RA_RDNSS 00058 #define UIP_CONF_ND6_RA_RDNSS 1 00059 00060 #undef UIP_CONF_ND6_SEND_RA 00061 #define UIP_CONF_ND6_SEND_RA 1 00062 00063 #undef UIP_CONF_ROUTER 00064 #define UIP_CONF_ROUTER 1 00065 00066 #ifndef QUEUEBUF_CONF_NUM 00067 #define QUEUEBUF_CONF_NUM 16 00068 #endif 00069 00070 00071 #else 00072 00073 00074 #include "net/ip64/ip64-slip-interface.h" 00075 #include "net/ip64/ip64-null-driver.h" 00076 00077 #define IP64_CONF_UIP_FALLBACK_INTERFACE_SLIP 1 00078 #define IP64_CONF_UIP_FALLBACK_INTERFACE ip64_slip_interface 00079 #define IP64_CONF_INPUT ip64_slip_interface_input 00080 #define IP64_CONF_ETH_DRIVER ip64_null_driver 00081 00082 #undef UIP_CONF_ND6_RA_RDNSS 00083 #define UIP_CONF_ND6_RA_RDNSS 1 00084 00085 #undef UIP_CONF_ND6_SEND_RA 00086 #define UIP_CONF_ND6_SEND_RA 1 00087 00088 #undef UIP_CONF_ROUTER 00089 #define UIP_CONF_ROUTER 1 00090 00091 #ifndef QUEUEBUF_CONF_NUM 00092 #define QUEUEBUF_CONF_NUM 16 00093 #endif 00094 00095 #endif//MY_DRIVERS 00096 00097 #endif /* IP64_CONF_H */
Generated on Tue Jul 12 2022 17:40:25 by 1.7.2