1
2#ifndef _MULTISSIDCONTROL_H_
3#define _MULTISSIDCONTROL_H_
4
5#ifndef uint16
6#define uint16 unsigned short
7#endif
8#ifndef uint8
9#define uint8 unsigned char
10#endif
11#ifndef uint32
12#define uint32 unsigned int
13#endif
14#ifndef int32
15#define int32 int
16#endif
17#ifndef int8
18#define int8 char
19#endif
20
21#ifndef int16
22#define int16 short
23#endif
24
25#define MS_ACCEPT       0
26#define MS_DROP         1
27
28#define DHCP_SERVER_PORT  67
29#define DHCP_CLIENT_PORT  68
30#define HTTP_PORT         80 /* foxconn added, zacker, 08/11/2009, @mbssid_filter */
31
32/* Foxconn add start, Tony W.Y. Wang, 12/22/2009 @block FTP and Samba access */
33#define FTP_PORT1        20
34#define FTP_PORT2        21
35#define SAMBA_PORT1      137
36#define SAMBA_PORT2      138
37#define SAMBA_PORT3      139
38#define SAMBA_PORT4      445    /*stanley add 01/13/2010 add samba port*/
39
40/* Foxconn added start, Wins, 03/18/2011, @AP_MODE */
41#if defined(AP_MODE)
42#define WAN_IFNAME          "eth0"
43#define WL0_GUEST1_IFNAME   "wl0.1"
44#define WL0_GUEST2_IFNAME   "wl0.2"
45#define WL0_GUEST3_IFNAME   "wl0.3"
46#if (defined INCLUDE_DUAL_BAND)
47#define WL1_GUEST1_IFNAME   "wl1.1"
48#define WL1_GUEST2_IFNAME   "wl1.2"
49#define WL1_GUEST3_IFNAME   "wl1.3"
50#endif
51#endif /* AP_MODE */
52/* Foxconn added end, Wins, 03/18/2011, @AP_MODE */
53
54/* Foxconn add end, Tony W.Y. Wang, 12/22/2009 */
55typedef struct MulitSsidControlProfile {
56       char IfName[8];
57       int enable;
58       unsigned int FilterIP; /* foxconn added, zacker, 08/11/2009, @mbssid_filter */
59       /* Foxconn added start, Wins, 03/18/2011, @AP_MODE */
60#if defined(AP_MODE)
61       int apMode;
62#endif /* AP_MODE */
63       /* Foxconn added end, Wins, 03/18/2011, @AP_MODE */
64}T_MSsidCtlProfile;
65
66
67#if 0
68#define MultiSsidControlDEBUG(fmt, args...)      printk("<0>MultiSsidControlDEBUG: " fmt, ##args)
69#define MultiSsidControlERROR       printk("<0>MultiSsidControlERROR: " fmt, ##args)
70#else
71#define MultiSsidControlDEBUG(fmt, args...)
72#define MultiSsidControlERROR
73#endif
74
75
76
77#endif
78