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