• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1root {
2    module = "wlan";
3    wlan_config {
4        match_attr = "hdf_wlan_driver";
5        hostChipName = "hi3516dv300";
6        moduleConfig {
7            featureMap = 0xFFFF;
8            msgName = "WalService";
9            Station {
10                name = "sta";
11                mode = true;
12           }
13
14            HostAp {
15                name = "ap";
16                mode = 0; /* 0-- notsupported; 1--softap-host; 2--soft AP DMAC HOST; 3-IOT 1:DMAC OFFLOAD: IPC */
17                vapResNum = 1; /*virtual ap*/
18                userResNum = 8; /*max users support each ap*/
19           }
20
21            P2P {
22                name = "p2p";
23                mode = false;
24            }
25
26            Mac80211 {
27                mode = true;
28            }
29
30            Phy {
31                mode = true;
32            }
33        }
34        deviceList {
35            template deviceInst {
36                deviceInstId = 0;
37                powers {
38                    power0 {
39                        powerSeqDelay = 0;
40                        powerType = 1; /* AlwaysON(0);GPIO(1) */
41                        gpioId = 1;
42                        activeLevel=1; /* High(1); Low(0) */
43                    }
44                    power1 {
45                        /* to support two-stage power supply */
46                        powerSeqDelay = 0;
47                        powerType = 0;
48                        gpioId = 1;
49                        activeLevel=1; /* High(1); Low(0) */
50                    }
51                }
52                reset {
53                    resetType = 1; /* NotManaged(0);GPIO(1) */
54                    gpioId = 2;
55                    activeLevel = 1; /* High(1); Low(0) */
56                    resetHoldTime = 30; /*In ms*/
57                }
58                bootUpTimeOut = 30;
59                bus {
60                    busEnable = 1;   /* 0-not enable; 1-enable */
61                    busType = 0; /* 0-sdio 1-usb 2-spi etc. */
62                    busIdx = 2;
63                    funcNum = [1,2];
64                    timeout = 1000;
65                    blockSize = 512;
66               }
67            }
68        }
69        hisi :& deviceList {
70            device0 :: deviceInst {
71                deviceInstId = 0;
72                powers {
73                    power0 {
74                        powerSeqDelay = 0;
75                        powerType = 1; /* AlwaysON(0);GPIO(1) */
76                        gpioId = 91;
77                        activeLevel=1; /* High(1); Low(0) */
78                    }
79                    power1 {
80                        powerSeqDelay = 0;
81                        powerType = 0;
82                        gpioId = 1;
83                        activeLevel = 1; /* High(1); Low(0) */
84                    }
85                }
86                reset {
87                    resetType = 1; /* NotManaged(0);GPIO(1) */
88                    gpioId = 90;
89                    activeLevel = 0; /* High(1); Low(0) */
90                    resetHoldTime = 16; /*In ms*/
91                }
92                bootUpTimeOut = 32;
93                bus {
94                    busEnable = 1;   /* 0-not enable; 1-enable */
95                    busType = 0; /* 0-sdio 1-usb 2-spi etc. */
96                    busIdx = 2;
97                    funcNum = [1];
98                    timeout = 1000;
99                    blockSize = 512;
100               }
101            }
102        }
103        chipList {
104            template chipInst {
105                match_attr = "hdf_wlan_chips_hi3881";
106                driverName = "hi3881";
107                bus {
108                    vendorId = 0x0296;
109                    deviceId = [0x5347];
110                }
111            }
112        }
113    }
114}
115