免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 8665 | 回复: 15
打印 上一主题 下一主题

[网络配置] TL-WN725N USB无线网卡,在红帽下驱动安装,求助大神 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-01-16 14:11 |只看该作者 |倒序浏览
本帖最后由 kividLee 于 2015-01-16 14:11 编辑

TL-WN725N USB无线网卡,在红帽5.5下驱动安装,求助大神

论坛徽章:
13
技术图书徽章
日期:2014-04-29 14:15:42IT运维版块每日发帖之星
日期:2015-12-12 06:20:00IT运维版块每日发帖之星
日期:2015-08-30 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-02 06:20:002015年亚洲杯之澳大利亚
日期:2015-04-03 15:03:12申猴
日期:2015-03-20 09:00:292015年迎新春徽章
日期:2015-03-04 09:54:452015年辞旧岁徽章
日期:2015-03-03 16:54:15季节之章:冬
日期:2015-01-20 17:08:47双子座
日期:2014-11-21 16:30:31技术图书徽章
日期:2014-07-11 16:29:08
2 [报告]
发表于 2015-01-16 14:39 |只看该作者
官网没提供For Linux的驱动,建议你找个Windows的机器,安装好驱动,看看什么芯片,然后去找这个芯片的for Linux驱动

或者,试试最新的版本的Ubuntu 14.10,看看能不能驱动起来

Redhat的系统是给服务器用的,对普通的设备驱动支持不是非常好

论坛徽章:
0
3 [报告]
发表于 2015-01-16 15:19 |只看该作者
回复 2# dengbao2001


     应该是、:RTL8188eu芯片
  1. ;; netrtwlanu.inf
  2. ;;
  3. ;; Wireless 802.11b/g/n USB 2.0 Network Adapter
  4. ;;
  5. ;; Copyright (C) 2013 TP-LINK TECHNOLOGIES CO.
  6. ;;
  7. ;; This release is primarily for WHQL test.
  8. ;;

  9. ;; FOR XP/Vista/Win7/Win8

  10. [Version]
  11. Signature        = "$Windows NT$"
  12. Class                = Net
  13. ClassGUID        = {4d36e972-e325-11ce-bfc1-08002be10318}
  14. Provider        = %Realtek%
  15. CatalogFile.NT        = netrtwlanu.cat                ;; for WHQL certified
  16. DriverVer = 09/28/2012,1021.4.0928.2012

  17. [Manufacturer]
  18. %Realtek% = Realtek, NTX86.5.1, NTamd64.5.1, NTX86.6.0, NTamd64.6.0, NTX86.6.1, NTamd64.6.1, NTX86.6.2, NTamd64.6.2


  19. [ControlFlags]
  20. ExcludeFromSelect = *


  21. [Realtek.NTX86.5.1]
  22. ;DisplayName              Section           Hardware ID
  23. ;-----------              -------           --------------------------

  24. [Realtek.NTamd64.5.1]
  25. ;DisplayName              Section           Hardware ID
  26. ;-----------              -------           --------------------------

  27. %RTL8188eu.DeviceDesc%                          = RTL8188eu.ndi,         USB\VID_0BDA&PID_8179
  28. %RTL8188eu.DeviceDesc%                          = RTL8188eu.ndi,         USB\VID_0BDA&PID_8179&REV_0200&SS

  29. [Realtek.NTX86.6.0]
  30. ;DisplayName              Section           Hardware ID
  31. ;-----------              -------           --------------------------

  32. [Realtek.NTamd64.6.0]
  33. ;DisplayName              Section           Hardware ID
  34. ;-----------              -------           --------------------------

  35. [Realtek.NTx86.6.1]
  36. ;DisplayName              Section           Hardware ID
  37. ;-----------              -------           --------------------------

  38. [Realtek.NTamd64.6.1]
  39. ;DisplayName              Section           Hardware ID
  40. ;-----------              -------           --------------------------

  41. [Realtek.NTX86.6.2]
  42. ;DisplayName              Section           Hardware ID
  43. ;-----------              -------           --------------------------

  44. [Realtek.NTamd64.6.2]
  45. ;DisplayName              Section           Hardware ID
  46. ;-----------              -------           --------------------------



  47. ;;----------------------------------------------------------------------------
  48. ;; Realtek default installation
  49. ;;----------------------------------------------------------------------------
  50. [RTL8192cu.ndi.NT]
  51. AddReg                                = NDIS_51.reg, UsbCommon.reg, RTLWLAN.reg, Ndis5UsbRxAgg.reg, RtlSsOff.reg, 11nWirelessMode.reg, TxByTimerOff.reg, Ndis5Set.reg, BandWidthSetting.reg
  52. Characteristics                = 0x84
  53. BusType                                = 15
  54. CopyFiles                        = RTWlanU.CopyFiles

  55. [RTL8192cu.ndi.NT.Services]
  56. AddService                        = RtlWlanu, 2, RtlWlanu.Service, RtlWlanu.EventLog




  57. ;;----------------------------------------------------------------------------
  58. ;; Realtek G mode sku installation
  59. ;;----------------------------------------------------------------------------
  60. [RTL8192cu_G.ndi.NT]
  61. AddReg                                = NDIS_51.reg, UsbCommon.reg, Ndis5UsbRxAgg.reg, RtlSsOff.reg, RTLWLAN.reg, Ndis5Set.reg, 11gWirelessMode.reg, BandWidthSetting.reg
  62. Characteristics                = 0x84
  63. BusType                                = 15
  64. CopyFiles                        = RTWlanU.CopyFiles

  65. [RTL8192cu_G.ndi.NT.Services]
  66. AddService                        = RtlWlanu, 2, RtlWlanu.Service, RtlWlanu.EventLog




  67. ;;----------------------------------------------------------------------------
  68. ;; Realtek N mode wake on wlan sku installation
  69. ;;----------------------------------------------------------------------------
  70. [RTL8192cu_wow.ndi.NT]
  71. AddReg                                = NDIS_51.reg, UsbCommon.reg, Ndis5UsbRxAgg.reg, RtlSsOff.reg, RTLWLAN.reg, Ndis5Set.reg, 11nWirelessMode.reg, WoWModeOnn.reg,BandWidthSetting.reg
  72. Characteristics                = 0x84
  73. BusType                                = 15
  74. CopyFiles                        = RTWlanU.CopyFiles

  75. [RTL8192cu_wow.ndi.NT.Services]
  76. AddService                        = RtlWlanu, 2, RtlWlanu.Service, RtlWlanu.EventLog




  77. ;;----------------------------------------------------------------------------
  78. ;; Intel customized installation
  79. ;;----------------------------------------------------------------------------

  80. ;;----------------------------------------------------------------------------
  81. ;; Belkin customized installation
  82. ;;----------------------------------------------------------------------------
  83. [Belkin.ndi.NT]
  84. AddReg                                = NDIS_51.reg, UsbCommon.reg, Ndis5UsbRxAgg.reg, RtlSsOff.reg, RTLWLAN.reg, Ndis5Set.reg, Belkin.reg, BandWidthSetting.reg
  85. Characteristics                = 0x84
  86. BusType                                = 15
  87. CopyFiles                        = RTWlanU.CopyFiles

  88. [Belkin.ndi.NT.Services]
  89. AddService                        = RtlWlanu, 2, RtlWlanu.Service, RtlWlanu.EventLog





  90. ;;----------------------------------------------------------------------------
  91. ;; Realtek 8192DU default installation
  92. ;;----------------------------------------------------------------------------
  93. [RTL8192du.ndi.NT]
  94. AddReg                                = NDIS_51.reg, RTL8192du.common.reg, DUUsbRxAggrSettingOS51.reg, RTLWLAN.reg, Ndis5Set.reg, 2G40MHzAnd5G40MHz.reg
  95. Characteristics                = 0x84
  96. BusType                                = 15
  97. CopyFiles                        = RTWlanU.CopyFiles

  98. [RTL8192du.ndi.NT.Services]
  99. AddService                        = RtlWlanu, 2, RtlWlanu.Service, RtlWlanu.EventLog

  100. [RTL8192du0.ndi.NT]
  101. AddReg                                = NDIS_51.reg, RTL8192du.common.reg, DUUsbRxAggrSettingOS51.reg, RTLWLAN.reg, Ndis5Set.reg, 2G40MHzAnd5G40MHz.reg
  102. Characteristics                = 0x84
  103. BusType                                = 15
  104. CopyFiles                        = RTWlanU.CopyFiles

  105. [RTL8192du0.ndi.NT.Services]
  106. AddService                        = RtlWlanu, 2, RtlWlanu.Service, RtlWlanu.EventLog

  107. [RTL8192du1.ndi.NT]
  108. AddReg                                = NDIS_51.reg, RTL8192du.common.reg, DUUsbRxAggrSettingOS51.reg, RTLWLAN.reg, Ndis5Set.reg, ConcurrentMode.reg, 2G40MHzAnd5G40MHz.reg
  109. Characteristics                = 0x84
  110. BusType                                = 15
  111. CopyFiles                        = RTWlanU.CopyFiles

  112. [RTL8192du1.ndi.NT.Services]
  113. AddService                        = RtlWlanu, 2, RtlWlanu.Service, RtlWlanu.EventLog




  114. ;;----------------------------------------------------------------------------
  115. ;; Belkin customized installation
  116. ;;----------------------------------------------------------------------------
  117. [BelkinN600.ndi.NT]
  118. AddReg                        = NDIS_51.reg, RTL8192du.common.reg, DUUsbRxAggrSettingOS51.reg, RTLWLAN.reg, Ndis5Set.reg, 2G40MHzAnd5G40MHz.reg,BelkinCustomId.reg,Belkin.reg,BandSet.reg
  119. Characteristics                = 0x84
  120. BusType                        = 15
  121. CopyFiles                = RTWlanU.CopyFiles

  122. [BelkinN600.ndi.NT.Services]
  123. AddService                = RtlWlanu, 2, RtlWlanu.Service, RtlWlanu.EventLog




  124. [BelkinN450.ndi.NT]
  125. AddReg                        = NDIS_51.reg, RTL8192du.common.reg, DUUsbRxAggrSettingOS51.reg, RTLWLAN.reg, Ndis5Set.reg, 2G20MHzAnd5G40MHz.reg,BelkinCustomId.reg,Belkin.reg,BandSet.reg
  126. Characteristics                = 0x84
  127. BusType                        = 15
  128. CopyFiles                = RTWlanU.CopyFiles

  129. [BelkinN450.ndi.NT.Services]
  130. AddService                = RtlWlanu, 2, RtlWlanu.Service, RtlWlanu.EventLog




  131. [BelkinN300.ndi.NT]
  132. AddReg                                = NDIS_51.reg, RTL8192du.common.reg, DUUsbRxAggrSettingOS51.reg, RTLWLAN.reg, Ndis5Set.reg, 2G20MHzAnd5G20MHz.reg, BelkinCustomId.reg,Belkin.reg,BandSet.reg
  133. Characteristics                = 0x84
  134. BusType                                = 15
  135. CopyFiles                        = RTWlanU.CopyFiles

  136. [BelkinN300.ndi.NT.Services]
  137. AddService                        = RtlWlanu, 2, RtlWlanu.Service, RtlWlanu.EventLog





  138. ;;----------------------------------------------------------------------------
  139. ;; 92DU only 5G customized installation
  140. ;;----------------------------------------------------------------------------
  141. [RTL8192du_5G.ndi.NT]
  142. AddReg                                = NDIS_51.reg, RTL8192du.common.reg, DUUsbRxAggrSettingOS51.reg, RTLWLAN.reg, Ndis5Set.reg, 2G40MHzAnd5G40MHz.reg,BandOnly5G.reg
  143. Characteristics                = 0x84
  144. BusType                                = 15
  145. CopyFiles                        = RTWlanU.CopyFiles

  146. [RTL8192du_5G.ndi.NT.Services]
  147. AddService                        = RtlWlanu, 2, RtlWlanu.Service, RtlWlanu.EventLog




  148. ;;----------------------------------------------------------------------------
  149. ;; Realtek 8723au default installation
  150. ;;----------------------------------------------------------------------------
  151. [RTL8723au.ndi.NT]
  152. AddReg                                = NDIS_51.reg, RTL8723au.common.reg, Ndis5UsbRxAgg.reg, RtlSsOff.reg, RAAndIbssSet.reg, RTLWLAN.reg, Ndis5Set.reg, BandWidthSetting.reg
  153. Characteristics                = 0x84
  154. BusType                                = 15
  155. CopyFiles                        = RTWlanU.CopyFiles

  156. [RTL8723au.ndi.NT.Services]
  157. AddService                        = RtlWlanu, 2, RtlWlanu.Service, RtlWlanu.EventLog

  158.             


  159. ;;----------------------------------------------------------------------------
  160. ;; Realtek 8188eu default installation
  161. ;;----------------------------------------------------------------------------
  162. [RTL8188eu.ndi.NT]
  163. AddReg                                = NDIS_51.reg, UsbCommon.reg, RTLWLAN.reg, Ndis5UsbRxAgg.reg, RtlSsOff.reg, 11nWirelessMode.reg, TxByTimerOff.reg, Ndis5Set.reg, BandWidthSetting.reg
  164. Characteristics                = 0x84
  165. BusType                                = 15
  166. CopyFiles                        = RTWlanU.CopyFiles

  167. [RTL8188eu.ndi.NT.Services]
  168. AddService                        = RtlWlanu, 2, RtlWlanu.Service, RtlWlanu.EventLog








  169. ;;
  170. ;; OS relative registry.
  171. ;;
  172. [NDIS_51.reg]
  173. HKR, Ndi\Interfaces,        UpperRange, 0, "ndis5"
  174. HKR, Ndi\Interfaces,        LowerRange, 0, "ethernet"
  175. HKR, Ndi,                                Service,    0, "RtlWlanu"
  176. ;;
  177. ;; OS relative service.
  178. ;;
  179. [RtlWlanu.Service]
  180. DisplayName            = %RtlWlanu.DeviceDesc.DispName%
  181. ServiceType            = 1                ; %SERVICE_KERNEL_DRIVER%
  182. StartType              = 3                ; %SERRVICE_DEMAND_START%
  183. ErrorControl           = 1                ; %SERRVICE_ERROR_NORMAL%
  184. ServiceBinary          = %12%\rtwlanu.sys
  185. LoadOrderGroup         = NDIS

  186. ;;
  187. ;; OS relative event log.
  188. ;;
  189. [RtlWlanu.EventLog]
  190. AddReg                         = RtlWlanu.AddEventLog.reg

  191. [RtlWlanu.AddEventLog.reg]
  192. HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  193. HKR, , TypesSupported  , 0x00010001, 7

  194. ;*******************************************************************************
  195. ; USB common paramters
  196. ;*******************************************************************************
  197. [UsbCommon.reg]
  198. HKR,defaults,LedCtrl,0,"1"
  199. HKR,,LedCtrl,0,"1"

  200. HKR,defaults,QoS,0,"1"
  201. HKR,,QoS,0,"1"

  202. HKR,defaults,CcxRm,0,"1"
  203. HKR,,CcxRm,0,"1"

  204. HKR,defaults,CcxOffLineDurUpLimit,0,"0"
  205. HKR,,CcxOffLineDurUpLimit,0,"0"

  206. ;; For GPIO detect setting.
  207. HKR,,TimerGPIO,0,"0"
  208. HKR,,GPIODelay,0,"2000"
  209. HKR,,GPIOBack,0,"2000"

  210. ;; For PDN mode switch.
  211. HKR,,PDNMode,0,"0"

  212. ;; For PDN mode switch.
  213. HKR,,DongleSS,0,"1"

  214. ;; For Different selective suspend power save level. Now support 1 and 2. 2 is better.
  215. HKR,,SSPwrLvl,0,"2"

  216. ;; For wake on WLAN mode enable.
  217. ;;HKR,,WoWLANMode,0,"0"

  218. ;-------------------------------------------------------------------------------
  219. ;        USB Tx/Rx aggregation
  220. ;-------------------------------------------------------------------------------
  221. HKR,defaults,UsbRxAggBlockCount,0,"8"
  222. HKR,,UsbRxAggBlockCount,0,"8"

  223. HKR,defaults,UsbRxAggBlockTimeout,0,"6"
  224. HKR,,UsbRxAggBlockTimeout,0,"6"

  225. HKR,defaults,UsbRxAggPageTimeout,0,"6"
  226. HKR,,UsbRxAggPageTimeout,0,"6"

  227. HKR,defaults,UsbTxAggMode,0,"1"
  228. HKR,,UsbTxAggMode,0,"1"

  229. HKR,defaults,UsbTxAggDescNum,0,"6"
  230. HKR,,UsbTxAggDescNum,0,"6"

  231. ;-------------------------------------------------------------------------------
  232. ;        USB Tx/Rx aggregation OS Relative
  233. ;-------------------------------------------------------------------------------
  234. [Ndis5UsbRxAgg.reg]
  235. HKR,defaults,UsbRxAggMode,0,"3"
  236. HKR,,UsbRxAggMode,0,"3"
  237. HKR,defaults,UsbRxAggPageCount,0,"72"
  238. HKR,,UsbRxAggPageCount,0,"72"

  239. [Ndis6UsbRxAgg.reg]
  240. HKR,defaults,UsbRxAggMode,0,"2"
  241. HKR,,UsbRxAggMode,0,"2"
  242. HKR,defaults,UsbRxAggPageCount,0,"16"
  243. HKR,,UsbRxAggPageCount,0,"16"

  244. [Ndis5UsbRxAgg_Jaguar.reg]
  245. HKR,defaults,UsbRxAggMode,0,"1"
  246. HKR,,UsbRxAggMode,0,"1"
  247. HKR,defaults,UsbRxAggPageCount,0,"72"
  248. HKR,,UsbRxAggPageCount,0,"72"

  249. [Ndis6UsbRxAgg_Jaguar.reg]
  250. HKR,defaults,UsbRxAggMode,0,"1"
  251. HKR,,UsbRxAggMode,0,"1"
  252. HKR,defaults,UsbRxAggPageCount,0,"16"
  253. HKR,,UsbRxAggPageCount,0,"16"

  254. ;-------------------------------------------------------------------------------
  255. ;        USB selective suspend.
  256. ;-------------------------------------------------------------------------------
  257. [RtlSsOnn.reg]
  258. HKR,,EnableUsbSS,0,"1"
  259. [RtlSsOff.reg]
  260. HKR,,EnableUsbSS,0,"0"

  261. ;-------------------------------------------------------------------------------
  262. ;        TX path selection.
  263. ;-------------------------------------------------------------------------------
  264. [TxByTimerOnn.reg]
  265. HKR,,SendPacketByTimer,0,"1"
  266. [TxByTimerOff.reg]
  267. HKR,,SendPacketByTimer,0,"0"

  268. ;-------------------------------------------------------------------------------
  269. ; Intel Soft AP Mode Reg
  270. ;-------------------------------------------------------------------------------
  271. [Intel.reg]
  272. HKR,Ndi\params\ForcedBstDataRate,        ParamDesc,  0, "Broadcast/Multicast Data Rate"
  273. HKR,Ndi\params\ForcedBstDataRate,        type,       0, "enum"
  274. HKR,Ndi\params\ForcedBstDataRate,        default,    0, "0"
  275. HKR,Ndi\params\ForcedBstDataRate\enum,   "0",        0, "Auto"
  276. HKR,Ndi\params\ForcedBstDataRate\enum,   "2",        0, "1Mbps"
  277. HKR,Ndi\params\ForcedBstDataRate\enum,   "4",        0, "2Mbps"
  278. HKR,Ndi\params\ForcedBstDataRate\enum,   "11",      0, "5.5Mbps"
  279. HKR,Ndi\params\ForcedBstDataRate\enum,   "22",     0, "11Mbps"
  280. HKR,Ndi\params\ForcedBstDataRate\enum,   "12",      0, "6Mbps"
  281. HKR,Ndi\params\ForcedBstDataRate\enum,   "18",     0, "9Mbps"
  282. HKR,Ndi\params\ForcedBstDataRate\enum,   "24",     0, "12Mbps"
  283. HKR,Ndi\params\ForcedBstDataRate\enum,   "36",     0, "18Mbps"
  284. HKR,Ndi\params\ForcedBstDataRate\enum,   "48",     0, "24Mbps"
  285. HKR,Ndi\params\ForcedBstDataRate\enum,   "72",     0, "36Mbps"
  286. HKR,Ndi\params\ForcedBstDataRate\enum,   "96",     0, "48Mbps"
  287. HKR,Ndi\params\ForcedBstDataRate\enum,   "108",     0, "54Mbps"
  288. HKR,Ndi\params\ForcedBstDataRate\enum,   "128",     0, "MCS0"
  289. HKR,Ndi\params\ForcedBstDataRate\enum,   "129",     0, "MCS1"
  290. HKR,Ndi\params\ForcedBstDataRate\enum,   "130",     0, "MCS2"
  291. HKR,Ndi\params\ForcedBstDataRate\enum,   "131",     0, "MCS3"
  292. HKR,Ndi\params\ForcedBstDataRate\enum,   "132",     0, "MCS4"
  293. HKR,Ndi\params\ForcedBstDataRate\enum,   "133",     0, "MCS5"
  294. HKR,Ndi\params\ForcedBstDataRate\enum,   "134",     0, "MCS6"
  295. HKR,Ndi\params\ForcedBstDataRate\enum,   "135",     0, "MCS7"
  296. HKR,Ndi\params\ForcedBstDataRate\enum,   "136",     0, "MCS8"
  297. HKR,Ndi\params\ForcedBstDataRate\enum,   "137",     0, "MCS9"
  298. HKR,Ndi\params\ForcedBstDataRate\enum,   "138",     0, "MCS10"
  299. HKR,Ndi\params\ForcedBstDataRate\enum,   "139",     0, "MCS11"
  300. HKR,Ndi\params\ForcedBstDataRate\enum,   "140",     0, "MCS12"
  301. HKR,Ndi\params\ForcedBstDataRate\enum,   "141",     0, "MCS13"
  302. HKR,Ndi\params\ForcedBstDataRate\enum,   "142",     0, "MCS14"
  303. HKR,Ndi\params\ForcedBstDataRate\enum,   "143",     0, "MCS15"

  304. ;*******************************************************************************
  305. ; RTL8192du common paramters
  306. ;*******************************************************************************
  307. [RTL8192du.common.reg]
  308. HKR,defaults,LedCtrl,0,"1"
  309. HKR,,LedCtrl,0,"1"

  310. HKR,defaults,QoS,0,"1"
  311. HKR,,QoS,0,"1"

  312. ;; For Earlymode 1:Enable 0:Disable
  313. HKR,,bEarlymodeEnable,,"1"

  314. HKR,defaults,CcxRm,0,"1"
  315. HKR,,CcxRm,0,"1"

  316. HKR,defaults,CcxOffLineDurUpLimit,0,"0"
  317. HKR,,CcxOffLineDurUpLimit,0,"0"

  318. HKR,defaults,SupportTxPacketBufferColease,0,"0"
  319. HKR,,SupportTxPacketBufferColease,0,"0"

  320. ;-------------------------------------------------------------------------------
  321. ;        USB Tx/Rx aggregation
  322. ;-------------------------------------------------------------------------------
  323. HKR,defaults,UsbRxAggBlockCount,0,"18"
  324. HKR,,UsbRxAggBlockCount,0,"18"

  325. HKR,defaults,UsbRxAggBlockTimeout,0,"7"
  326. HKR,,UsbRxAggBlockTimeout,0,"7"

  327. HKR,defaults,UsbRxAggPageTimeout,0,"6"
  328. HKR,,UsbRxAggPageTimeout,0,"6"

  329. HKR,defaults,UsbTxAggMode,0,"1"
  330. HKR,,UsbTxAggMode,0,"1"

  331. HKR,defaults,UsbTxAggDescNum,0,"4"
  332. HKR,,UsbTxAggDescNum,0,"4"

  333. [DUUsbRxAggrSettingOS51.reg]
  334. HKR,defaults,UsbRxAggMode,0,"2"
  335. HKR,,UsbRxAggMode,0,"2"

  336. HKR,defaults,UsbRxAggPageCount,0,"72"
  337. HKR,,UsbRxAggPageCount,0,"72"

  338. ;*******************************************************************************
  339. ; RTL8723au common paramters
  340. ;*******************************************************************************
  341. [RTL8723au.common.reg]
  342. HKR,defaults,LedCtrl,0,"1"
  343. HKR,,LedCtrl,0,"1"

  344. HKR,defaults,QoS,0,"1"
  345. HKR,,QoS,0,"1"

  346. HKR,defaults,CcxRm,0,"1"
  347. HKR,,CcxRm,0,"1"

  348. HKR,defaults,CcxOffLineDurUpLimit,0,"0"
  349. HKR,,CcxOffLineDurUpLimit,0,"0"

  350. ;; For GPIO detect setting.
  351. HKR,,TimerGPIO,0,"0"
  352. HKR,,GPIODelay,0,"1000"
  353. HKR,,GPIOBack,0,"1000"

  354. ;; For PDN mode switch.
  355. HKR,,PDNMode,0,"1"

  356. ;; For PDN mode switch.
  357. HKR,,DongleSS,0,"1"

  358. HKR,,bLowPowerEnable,0,"0"

  359. ;-------------------------------------------------------------------------------
  360. ;        USB Tx/Rx aggregation
  361. ;-------------------------------------------------------------------------------
  362. HKR,defaults,UsbRxAggBlockCount,0,"8"
  363. HKR,,UsbRxAggBlockCount,0,"8"

  364. HKR,defaults,UsbRxAggBlockTimeout,0,"6"
  365. HKR,,UsbRxAggBlockTimeout,0,"6"

  366. HKR,defaults,UsbRxAggPageTimeout,0,"6"
  367. HKR,,UsbRxAggPageTimeout,0,"6"

  368. HKR,defaults,UsbTxAggMode,0,"1"
  369. HKR,,UsbTxAggMode,0,"1"

  370. HKR,defaults,UsbTxAggDescNum,0,"6"
  371. HKR,,UsbTxAggDescNum,0,"6"


  372. [RAAndIbssSet.reg]
  373. HKR,defaults,WiFi11bIbss,0,"0"
  374. HKR,,WiFi11bIbss,0,"0"

  375. HKR,defaults,bRateAdaptive,0,"1"
  376. HKR,,bRateAdaptive,0,"1"


  377. ;;----------------------------------------------------------------------------
  378. ;; Realtek WLAN NIC parameters
  379. ;;----------------------------------------------------------------------------
  380. [RTLWLAN.reg]
  381. HKR,defaults,SSID,0,"ANY"
  382. HKR,,SSID,0,"ANY"

  383. HKR,defaults,Channel,0,"1"
  384. HKR,,Channel,0,"1"

  385. ;; Antenna Diversity Type
  386. HKR,Ndi\params\AntennaDivType,         default,         0, "1"
  387. HKR,Ndi\params\AntennaDivType,        ParamDesc,         0, "Antenna Diversity Type"
  388. HKR,Ndi\params\AntennaDivType,         type,                 0, "int"
  389. HKR,Ndi\params\AntennaDivType,         min,                 0, "1"
  390. HKR,Ndi\params\AntennaDivType,         max,                 0, "3"
  391. HKR,Ndi\params\AntennaDivType,         step,                 0, "1"

  392. ;;HKR,Ndi\params\NetworkType,                        ParamDesc,  0, %NETWORK_TYPE_STR%
  393. ;;HKR,Ndi\params\NetworkType,                        type,       0, "enum"
  394. ;;HKR,Ndi\params\NetworkType,                        default,    0, "1"
  395. ;;HKR,Ndi\params\NetworkType\enum,                "0",        0, %AD_HOC_STR%
  396. ;;HKR,Ndi\params\NetworkType\enum,                "1",        0, %INFRASTRUCTURE_STR%
  397. ;;HKR,Ndi\params\NetworkType\enum,                "2",        0, %AUTO_SELECT%
  398. ;;HKR,defaults,NetworkType,0,"1"
  399. ;;HKR,,NetworkType,0,"1"

  400. HKR,defaults,StaUapsd,0,"0"
  401. HKR,,StaUapsd,0,"0"

  402. ; For B/G mode and B/G/N mode switch, we will use different wireless mode registry in later section
  403. ;HKR,Ndi\params\WirelessMode,                         ParamDesc,         0, %WL_MODE_STR%
  404. ;HKR,Ndi\params\WirelessMode,                         type,                 0, "enum"
  405. ;HKR,Ndi\params\WirelessMode,                         default,         0, "8"
  406. ;HKR,Ndi\params\WirelessMode\enum,                 "2",                 0, %IEEE_802_11B_STR%
  407. ;HKR,Ndi\params\WirelessMode\enum,                 "4",                 0, %IEEE_802_11BG_STR%
  408. ;HKR,Ndi\params\WirelessMode\enum,                 "8",                 0, %IEEE_802_11BGN_STR%
  409. ;HKR,defaults,WirelessMode, 0, "8"
  410. ;HKR,,WirelessMode, 0, "8"

  411. ;; For WiFi test, 1: WiFi Config and 0: Performance Config
  412. HKR,Ndi\params\WiFiConfg,        ParamDesc,  0, "WiFi Config"
  413. HKR,Ndi\params\WiFiConfg,        type,       0, "enum"
  414. HKR,Ndi\params\WiFiConfg,        default,    0, "0"
  415. HKR,Ndi\params\WiFiConfg\enum,   "0",        0, "Performance"
  416. HKR,Ndi\params\WiFiConfg\enum,   "1",        0, "WiFi"
  417. HKR,defaults,WiFiConfg,0,"0"
  418. HKR,,WiFiConfg,0,"0"
  419. HKR,,WiFiConfg,,"0"

  420. HKR,defaults,RxReorder,0,"1"
  421. HKR,,RxReorder,0,"1"

  422. HKR,,DefaultKeyID,,"0"
  423. HKR,,DefaultKey0,,""
  424. HKR,,DefaultKey1,,""
  425. HKR,,DefaultKey2,,""
  426. HKR,,DefaultKey3,,""

  427. ;Leisure Power Save
  428. HKR,defaults,bLeisurePs,0,"2"
  429. HKR,,bLeisurePs,0,"2"

  430. ;Fw Control LPS
  431. HKR,defaults,bFwCtrlLPS,0,"1"
  432. HKR,,bFwCtrlLPS,0,"1"

  433. ;; LPS Interval
  434. ;HKR,defaults,LPSIntvl,0,"5"
  435. HKR,,LPSIntvl,0,"5"

  436. ;BTmode
  437. HKR,,bBTMode,0,"1"

  438. ; Reset Tx Hang
  439. HKR,defaults,USBResetTxHang,0,"1"
  440. HKR,,USBResetTxHang,0,"1"

  441. HKR,,WEPinNmode,0,"0"

  442. ; OS protocol offload detection and decision
  443. HKR,,ProtocolOffloadDecision,0,"1"

  444. ; Win8 FSS mode detection mechanism
  445. HKR,,FSSDetection,0,"1"

  446. ;-------------------------------------------------------------------------------
  447. ;        Some function ability setting
  448. ;-------------------------------------------------------------------------------
  449. HKR,defaults,UPDMEnable,0,"1"
  450. HKR,,UPDMEnable,0,"1"

  451. HKR,defaults,LinkSpeedLevel,0,"0"
  452. HKR,,LinkSpeedLevel,0,"0"

  453. HKR,defaults,AutoConnect,0,"1"
  454. HKR,,AutoConnect,0,"1"

  455. HKR,defaults,RWRetry,0,"0"
  456. HKR,,RWRetry,0,"0"

  457. HKR,defaults,MultiMode,0,"1"
  458. HKR,,MultiMode,0,"1"

  459. HKR,defaults,TxMode,0,"0"
  460. HKR,,TxMode,0,"0"

  461. HKR,defaults,PwrTblSel,0,"0"
  462. HKR,,PwrTblSel,0,"0"
  463. HKR,defaults,PwrByRate,0,"0"
  464. HKR,,PwrByRate,0,"0"
  465. HKR,defaults,PwrRaTbl1,0,"0"
  466. HKR,,PwrRaTbl1,0,"0"
  467. HKR,defaults,PwrRaTbl2,0,"0"
  468. HKR,,PwrRaTbl2,0,"0"
  469. HKR,defaults,PwrRaTbl3,0,"0"
  470. HKR,,PwrRaTbl3,0,"0"
  471. HKR,defaults,PwrRaTbl4,0,"0"
  472. HKR,,PwrRaTbl4,0,"0"
  473. HKR,defaults,PwrRaTbl5,0,"0"
  474. HKR,,PwrRaTbl5,0,"0"
  475. HKR,defaults,PwrRaTbl6,0,"0"
  476. HKR,,PwrRaTbl6,0,"0"
  477. HKR,defaults,PwrRaTbl7,0,"0"
  478. HKR,,PwrRaTbl7,0,"0"
  479. HKR,defaults,PwrRaTbl8,0,"0"
  480. HKR,,PwrRaTbl8,0,"0"
  481. HKR,defaults,PwrRaTbl9,0,"0"
  482. HKR,,PwrRaTbl9,0,"0"
  483. HKR,defaults,PwrRaTbl10,0,"0"
  484. HKR,,PwrRaTbl10,0,"0"
  485. HKR,defaults,PwrRaTbl11,0,"0"
  486. HKR,,PwrRaTbl11,0,"0"
  487. HKR,defaults,PwrRaTbl12,0,"0"
  488. HKR,,PwrRaTbl12,0,"0"
  489. HKR,defaults,PwrRaTbl13,0,"0"
  490. HKR,,PwrRaTbl13,0,"0"
  491. HKR,defaults,PwrRaTbl14,0,"0"
  492. HKR,,PwrRaTbl14,0,"0"
  493. HKR,defaults,PwrRaTbl15,0,"0"
  494. HKR,,PwrRaTbl15,0,"0"
  495. HKR,defaults,PwrRaTbl16,0,"0"
  496. HKR,,PwrRaTbl16,0,"0"

  497. HKR,defaults,GainOffsetFCCLow,0,"0"
  498. HKR,,GainOffsetFCCLow,0,"0"
  499. HKR,defaults,GainOffsetFCC,0,"0"
  500. HKR,,GainOffsetFCC,0,"0"
  501. HKR,defaults,GainOffsetFCCHigh,0,"0"
  502. HKR,,GainOffsetFCCHigh,0,"0"

  503. HKR,defaults,GainOffsetMKKLow,0,"0"
  504. HKR,,GainOffsetMKKLow,0,"0"
  505. HKR,defaults,GainOffsetMKK,0,"0"
  506. HKR,,GainOffsetMKK,0,"0"
  507. HKR,defaults,GainOffsetMKKHigh,0,"0"
  508. HKR,,GainOffsetMKKHigh,0,"0"

  509. HKR,defaults,GainOffsetETSILow,0,"0"
  510. HKR,,GainOffsetETSILow,0,"0"
  511. HKR,defaults,GainOffsetETSI,0,"0"
  512. HKR,,GainOffsetETSI,0,"0"
  513. HKR,defaults,GainOffsetETSIHigh,0,"0"
  514. HKR,,GainOffsetETSIHigh,0,"0"

  515. HKR,defaults,RxSC,0,"0"
  516. HKR,,RxSC,0,"0"

  517. HKR,defaults,TxSC,0,"0"
  518. HKR,,TxSC,0,"0"

  519. ;Dynamic batch indication
  520. HKR,defaults,DynamicBatchEnable,0,"1"
  521. HKR,,DynamicBatchEnable,0,"1"

  522. HKR,defaults,BINumber,0,"10"
  523. HKR,,BINumber,0,"10"

  524. [Ndis5Set.reg]
  525. HKR,Ndi\params\PSPXlinkMode,                        ParamDesc,  0, %PSP_XLINK_STR%
  526. HKR,Ndi\params\PSPXlinkMode,                        type,       0, "enum"
  527. HKR,Ndi\params\PSPXlinkMode,                        default,    0, "0"
  528. HKR,Ndi\params\PSPXlinkMode\enum,                "0",        0, %DISABLE_STR%
  529. HKR,Ndi\params\PSPXlinkMode\enum,                "1",        0, %ENABLE_STR%
  530. HKR,defaults,PSPXlinkMode,0,"0"
  531. HKR,,PSPXlinkMode,0,"0"

  532. ; Hw Beacon Max Error
  533. HKR,,bBcnMaxErrorRegEnable,0,"0"

  534. ;Inactive Power Save
  535. HKR,defaults,InactivePs,0,"0"
  536. HKR,,InactivePs,0,"0"

  537. HKR,defaults,AggDMEnable,0,"0"
  538. HKR,,AggDMEnable,0,"0"

  539. [Ndis6Set.reg]
  540. ;Inactive Power Save
  541. HKR,defaults,InactivePs,0,"2"
  542. HKR,,InactivePs,0,"2"

  543. HKR,defaults,AggDMEnable,0,"1"
  544. HKR,,AggDMEnable,0,"1"

  545. ; /****************************************************************************
  546. ; ** IHV Service Reg for CCX
  547. ; ****************************************************************************/
  548. [CIHVS.reg]
  549. HKR, Ndi\IHVExtensions, ExtensibilityDLL,       0,  "%SystemRoot%\system32\Rtlihvs.dll"
  550. HKR, Ndi\IHVExtensions, UIExtensibilityCLSID,   0,  "{6C2A8CCA-B2A2-4d81-A3B2-4E15F445C312}"
  551. HKR, Ndi\IHVExtensions, GroupName,              0,  "Realtek CCX SDK IHV Service"
  552. HKR, Ndi\IHVExtensions, AdapterOUI,             0x00010001, 0x00e04c

  553. ;;----------------------------------------------------------------------------
  554. ;; Belkin WLAN NIC parameters
  555. ;;----------------------------------------------------------------------------
  556. [Belkin.reg]
  557. HKR,Ndi\params\RFOff,                        ParamDesc,  0, "Radio"
  558. HKR,Ndi\params\RFOff,                        type,       0, "enum"
  559. HKR,Ndi\params\RFOff,                        default,    0, "0"
  560. HKR,Ndi\params\RFOff\enum,                "0",        0, "On"
  561. HKR,Ndi\params\RFOff\enum,                "1",        0, "Off"
  562. HKR,defaults,RFOff,0,"0"
  563. HKR,,RFOff,0,"0"

  564. ;;----------------------------------------------------------------------------
  565. ;; Wireless mode option parameters
  566. ;;----------------------------------------------------------------------------
  567. [11gWirelessMode.reg]
  568. HKR,Ndi\params\WirelessMode,                 ParamDesc,         0, %WL_MODE_STR%
  569. HKR,Ndi\params\WirelessMode,                 type,                 0, "enum"
  570. HKR,Ndi\params\WirelessMode,                 default,         0, "8"
  571. HKR,Ndi\params\WirelessMode\enum,         "2",                 0, %IEEE_802_11B_STR%
  572. HKR,Ndi\params\WirelessMode\enum,         "4",                 0, %IEEE_802_11BG_STR%
  573. HKR,defaults,WirelessMode, 0, "4"
  574. HKR,,WirelessMode, 0, "4"

  575. [11nWirelessMode.reg]
  576. HKR,Ndi\params\WirelessMode,                 ParamDesc,         0, %WL_MODE_STR%
  577. HKR,Ndi\params\WirelessMode,                 type,                 0, "enum"
  578. HKR,Ndi\params\WirelessMode,                 default,         0, "8"
  579. HKR,Ndi\params\WirelessMode\enum,         "2",                 0, %IEEE_802_11B_STR%
  580. HKR,Ndi\params\WirelessMode\enum,         "4",                 0, %IEEE_802_11BG_STR%
  581. HKR,Ndi\params\WirelessMode\enum,         "8",                 0, %IEEE_802_11BGN_STR%
  582. HKR,defaults,WirelessMode, 0, "8"
  583. HKR,,WirelessMode, 0, "8"

  584. [11acWirelessMode.reg]
  585. HKR,Ndi\params\WirelessMode,                 ParamDesc,         0, %WL_MODE_STR%
  586. HKR,Ndi\params\WirelessMode,                 type,                 0, "enum"
  587. HKR,Ndi\params\WirelessMode,                 default,         0, "64"
  588. HKR,Ndi\params\WirelessMode\enum,         "2",                 0, %IEEE_802_11B_STR%
  589. HKR,Ndi\params\WirelessMode\enum,         "4",                 0, %IEEE_802_11BG_STR%
  590. HKR,Ndi\params\WirelessMode\enum,         "16",                 0, %IEEE_802_11BGN_STR%
  591. HKR,Ndi\params\WirelessMode\enum,         "64",                 0, %IEEE_802_11ANAC_STR%
  592. HKR,defaults,WirelessMode, 0, "64"
  593. HKR,,WirelessMode, 0, "64"

  594. HKR,defaults,BW40MHz,0,"1"
  595. HKR,,BW40MHz,0,"1"

  596. HKR,defaults,BW80MHz,0,"1"
  597. HKR,,BW80MHz,0,"1"


  598. ;;----------------------------------------------------------------------------
  599. ;; Wake on Wlan mode option parameters
  600. ;;----------------------------------------------------------------------------
  601. [WoWModeOnn.reg]
  602. ;;HKR,Ndi\params\WoWLANMode,                 ParamDesc,         0, %WOW_MODE_STR%
  603. ;;HKR,Ndi\params\WoWLANMode,                 type,                 0, "enum"
  604. ;;HKR,Ndi\params\WoWLANMode,                 default,         0, "1"
  605. ;;HKR,Ndi\params\WoWLANMode\enum,         "0",                 0, %WOW_DISABLE%
  606. ;;HKR,Ndi\params\WoWLANMode\enum,         "1",                 0, %WOW_ENABLE_MAGIC_PKT%
  607. ;;HKR,Ndi\params\WoWLANMode\enum,         "2",                 0, %WOW_ENABLE_PATTERN_PKT%
  608. ;;HKR,Ndi\params\WoWLANMode\enum,         "3",                 0, %WOW_ENABLE_MAGIC_PATTERN_PKT%
  609. HKR,defaults,WoWLANMode, 0, "1"
  610. HKR,,WoWLANMode, 0, "1"

  611. ; ARP Offload
  612. HKR,,ARPOffloadEnable, 0, "1"

  613. ; GTK Offload
  614. HKR,,GTKOffloadEnable, 0, "1"

  615. [WoWModeOff.reg]
  616. ;;HKR,Ndi\params\WoWLANMode,                 ParamDesc,         0, %WOW_MODE_STR%
  617. ;;HKR,Ndi\params\WoWLANMode,                 type,                 0, "enum"
  618. ;;HKR,Ndi\params\WoWLANMode,                 default,         0, "0"
  619. ;;HKR,Ndi\params\WoWLANMode\enum,         "0",                 0, %WOW_DISABLE%
  620. ;;HKR,Ndi\params\WoWLANMode\enum,         "1",                 0, %WOW_ENABLE_MAGIC_PKT%
  621. ;;HKR,Ndi\params\WoWLANMode\enum,         "2",                 0, %WOW_ENABLE_PATTERN_PKT%
  622. ;;HKR,Ndi\params\WoWLANMode\enum,         "3",                 0, %WOW_ENABLE_MAGIC_PATTERN_PKT%
  623. HKR,defaults,WoWLANMode, 0, "0"
  624. HKR,,WoWLANMode, 0, "0"


  625. ;;----------------------------------------------------------------------------
  626. ;; Usb selective suspend parameters
  627. ;;----------------------------------------------------------------------------
  628. [NdisSS.reg]
  629. HKR,Ndi\params\*SelectiveSuspend,            ParamDesc,  0, %SelectiveSuspend%
  630. HKR,Ndi\params\*SelectiveSuspend,            default,    0, "1"
  631. HKR,Ndi\params\*SelectiveSuspend,            type,       0, "enum"
  632. HKR,Ndi\params\*SelectiveSuspend\enum,   "0",        0, "Disabled"
  633. HKR,Ndi\params\*SelectiveSuspend\enum,   "1",        0, "Enabled"

  634. HKR,Ndi\params\*SSIdleTimeout,            ParamDesc,  0, %SSIdleTimeout%
  635. HKR,Ndi\params\*SSIdleTimeout,            type,       0, "int"
  636. HKR,Ndi\params\*SSIdleTimeout,            default,    0, "30"
  637. HKR,Ndi\Params\*SSIdleTimeout,      Max,        0, "60"
  638. HKR,Ndi\Params\*SSIdleTimeout,      Min,        0, "5"
  639. HKR,Ndi\Params\*SSIdleTimeout,      Step,       0, "1"


  640. ;*******************************************************************************
  641. ; Two STA Concurrent Mode Reg
  642. ;*******************************************************************************
  643. [ConcurrentMode.reg]
  644. HKR,Ndi\params\TwoStaConcurrentMode,                ParamDesc,  0, %TWO_STA_CONCURRENT_MODE%
  645. HKR,Ndi\params\TwoStaConcurrentMode,                type,       0, "enum"
  646. HKR,Ndi\params\TwoStaConcurrentMode,                        default,    0, "1"
  647. HKR,Ndi\params\TwoStaConcurrentMode\enum,                "0",        0, %SECONDARY_DISABLE%
  648. HKR,Ndi\params\TwoStaConcurrentMode\enum,                "1",        0, %SECONDARY_ENABLE%
  649. HKR,Ndi\params\TwoStaConcurrentMode\enum,                "2",        0, %SECONDARY_AUTO%
  650. HKR,defaults,TwoStaConcurrentMode,0,"0"
  651. HKR,,TwoStaConcurrentMode,0,"0"

  652. ;*******************************************************************************
  653. ; bandwidth setting
  654. ;*******************************************************************************
  655. [2G40MHzAnd5G40MHz.reg]
  656. HKR,Ndi\params\BW40MHzFor2G,        ParamDesc,  0, "Bandwidth_2.4G"
  657. HKR,Ndi\params\BW40MHzFor2G,        type,       0, "enum"
  658. HKR,Ndi\params\BW40MHzFor2G,        default,    0, "1"
  659. HKR,Ndi\params\BW40MHzFor2G\enum,   "0",        0, "20MHz Only"
  660. HKR,Ndi\params\BW40MHzFor2G\enum,   "1",        0, "20_40MHz"
  661. HKR,defaults,BW40MHzFor2G,0,"1"
  662. HKR,,BW40MHzFor2G,0,"1"
  663. HKR,,BW40MHzFor2G,,"1"

  664. HKR,Ndi\params\BW40MHzFor5G,        ParamDesc,  0, "Bandwidth_5G"
  665. HKR,Ndi\params\BW40MHzFor5G,        type,       0, "enum"
  666. HKR,Ndi\params\BW40MHzFor5G,        default,    0, "1"
  667. HKR,Ndi\params\BW40MHzFor5G\enum,   "0",        0, "20MHz Only"
  668. HKR,Ndi\params\BW40MHzFor5G\enum,   "1",        0, "20_40MHz"
  669. HKR,defaults,BW40MHzFor5G,0,"1"
  670. HKR,,BW40MHzFor5G,0,"1"
  671. HKR,,BW40MHzFor5G,,"1"

  672. [2G20MHzAnd5G40MHz.reg]
  673. HKR,defaults,BW40MHzFor2G,0,"0"
  674. HKR,,BW40MHzFor2G,0,"0"

  675. HKR,Ndi\params\BW40MHzFor5G,        ParamDesc,  0, "Bandwidth_5G"
  676. HKR,Ndi\params\BW40MHzFor5G,        type,       0, "enum"
  677. HKR,Ndi\params\BW40MHzFor5G,        default,    0, "1"
  678. HKR,Ndi\params\BW40MHzFor5G\enum,   "0",        0, "20MHz Only"
  679. HKR,Ndi\params\BW40MHzFor5G\enum,   "1",        0, "20_40MHz"
  680. HKR,defaults,BW40MHzFor5G,0,"1"
  681. HKR,,BW40MHzFor5G,0,"1"
  682. HKR,,BW40MHzFor5G,,"1"

  683. [2G20MHzAnd5G20MHz.reg]
  684. HKR,defaults,BW40MHzFor2G,0,"0"
  685. HKR,,BW40MHzFor2G,0,"0"

  686. HKR,defaults,BW40MHzFor5G,0,"0"
  687. HKR,,BW40MHzFor5G,0,"0"

  688. [BandWidthSetting.reg]
  689. ;; 40MHz Support in 11n
  690. HKR,Ndi\params\BW40MHz,        ParamDesc,  0, "Bandwidth"
  691. HKR,Ndi\params\BW40MHz,        type,       0, "enum"
  692. HKR,Ndi\params\BW40MHz,        default,    0, "1"
  693. HKR,Ndi\params\BW40MHz\enum,   "0",        0, "20MHz Only"
  694. HKR,Ndi\params\BW40MHz\enum,   "1",        0, "20_40MHz"
  695. HKR,defaults,BW40MHz,0,"1"
  696. HKR,,BW40MHz,0,"1"
  697. HKR,,BW40MHz,,"1"

  698. [BelkinCustomId.reg]
  699. HKR,,CustomerID,0,"21"
  700. HKR,,CustomerID,,"21"

  701. [BandSet.reg]
  702. HKR,Ndi\params\WirelessBand,                        ParamDesc,  0, "Disable Bands"
  703. HKR,Ndi\params\WirelessBand,                        type,       0, "enum"
  704. HKR,Ndi\params\WirelessBand,                        default,    0, "0"
  705. HKR,Ndi\params\WirelessBand\enum,                "0",        0, "Disable 11A"
  706. HKR,Ndi\params\WirelessBand\enum,                "1",        0, "Disable 11B/G"
  707. HKR,Ndi\params\WirelessBand\enum,                "2",        0, "None"
  708. HKR,defaults,WirelessBand,0,"2"
  709. HKR,,WirelessBand,0,"2"


  710. [BandOnly5G.reg]
  711. HKR,defaults,WirelessBand,0,"1"
  712. HKR,,WirelessBand,0,"1"
  713. ;*******************************************************************************
  714. ; Destination Directory
  715. ;*******************************************************************************
  716. [RTWlanU.CopyFiles]
  717. RTWlanU.sys,,,2

  718. [DestinationDirs]
  719. DefaultDestDir             = 11
  720. RTWlanU.CopyFiles        = 12


  721. ;;****************************************************************************
  722. ;; Source Files
  723. ;;****************************************************************************
  724. [SourceDisksFiles]
  725. RTWlanU.sys = 1

  726. [SourceDisksNames]
  727. 1=%DISKNAME%,,,


  728. ;*******************************************************************************
  729. ; Strings
  730. ;*******************************************************************************
  731. [Strings]
  732. SSID_STR                                        = "SSID"
  733. CHANNEL_STR                                        = "Channel"
  734. NETWORK_TYPE_STR                        = "Network Type"
  735. LED_CONTROL_STR                                = "LED Control"
  736. POWER_SAVE_STR                                = "Power Save Mode"
  737. WIFI_IBSS_STR                                = "IBSS Default 11b Mode"
  738. RATE_ADAPTIVE_STR                        = "Rate Adaptive"
  739. QOS_STR                                                = "QoS"
  740. WiFiConfg_STR                                  = "WiFiConfg"
  741. WMM_APSD                                        = "WMM APSD"
  742. CCX_RM_STR                                        = "CCX Radio Measurement"
  743. CCX_OFF_LINE_DUR_UP_LIMIT_STR                = "CCX Max Off-Line Measurement (0: unlimited)"
  744. FORCE_PRIORITY_STR                        = "Forced Priority"
  745. HW_PARA_STR                                        = "Init from HwParaFile"
  746. THREE_WIRE_MODE_STR                        = "Three Wire Programming Mode"
  747. BOARD_TYPE_STR                                = "Board Type"
  748. PROTECTION_MODE_STR                        = "Protection Mode"
  749. TPC_STR                                                = "Transmit Power Control"
  750. TPC_POLARITY_STR                        = "TPC Polarity Select"
  751. HIGH_POWER_STR                                = "High Power Mechanism"
  752. INIT_GAIN_STR                                = "Initial Gain State"
  753. CW_MAX_MIN_STR                                = "Contention Window"
  754. PSP_XLINK_STR                                = "PSP XLink Mode"
  755. DISABLE_STR                                        = "Disable"
  756. ENABLE_STR                                        = "Enable"
  757. AD_HOC_STR                                        = "Ad Hoc"
  758. INFRASTRUCTURE_STR                        = "Infrastructure"
  759. AUTO_SELECT                                        = "Auto select"
  760. WL_MODE_STR                                        = "Wireless Mode"
  761. RX_REORDER_STR                                = "Rx Reorder"
  762. CAM_STR                                                = "CAM"
  763. MAX_PSP_STR                                        = "MAX_PSP"
  764. Fast_PSP_STR                                = "Fast_PSP"
  765. NO_AC_STR                                        = "No AC (Disable)"
  766. ALL_AC_STR                                        = "ALL AC"
  767. IEEE_802_11B_STR                         = "IEEE 802.11b"
  768. IEEE_802_11BG_STR                         = "IEEE 802.11b/g"
  769. IEEE_802_11BGN_STR                         = "IEEE 802.11b/g/n"
  770. IEEE_802_11ANAC_STR                        = "IEEE 802.11a/n/ac"
  771. SelectiveSuspend                               = "Selective suspend"
  772. SSIdleTimeout                                  = "Selective suspend Timeout"

  773. ;-------------------------------------------------------------------------------
  774. ;        USB Tx/Rx aggregation strings
  775. ;-------------------------------------------------------------------------------
  776. RX_AGG_MODE_STR                                = "Rx Aggregation Mode"
  777. RX_AGG_MODE_BLOCK_STR                = "Rx Agg USB Block Mode"
  778. RX_AGG_MODE_PAGE_STR                = "Rx Agg DMA Page Mode"
  779. RX_AGG_MODE_MIXED_STR                = "Rx Agg USB and Page Mixed Mode"
  780. RX_AGG_USB_BLOCK_STR                = "Rx Agg USB Block Threshold"
  781. RX_AGG_USB_TIMEOUT_STR                = "Rx Agg USB Timeout"
  782. RX_AGG_DMA_PAGE_STR                        = "Rx Agg DMA Page Threshold"
  783. RX_AGG_DMA_TIMEOUT_STR                = "Rx Agg DMA Timeout"
  784. TX_AGG_MODE_STR                                = "Tx Aggregation Mode"
  785. TX_AGG_DESC_PER_OUT_STR                = "Tx Agg Number of descriptor per bulk out"

  786. ;-------------------------------------------------------------------------------
  787. ;        Two STA Concurrent Mode
  788. ;-------------------------------------------------------------------------------
  789. TWO_STA_CONCURRENT_MODE                = "Two STA Concurrent Mode"
  790. SECONDARY_DISABLE                        = "Secondary client Disable"
  791. SECONDARY_ENABLE                        = "Secondary Client Enable"
  792. SECONDARY_AUTO                                = "Secondary Client Auto Select"

  793. ;*******************************************************************************
  794. ; manufacture description
  795. ;*******************************************************************************
  796. Realtek                                        = "TP-LINK TECHNOLOGIES CO."


  797. ;*******************************************************************************
  798. ;        Source disk name
  799. ;*******************************************************************************
  800. ;DISKNAME                                                        = "RTL8192CU Wireless LAN 802.11n USB 2.0 Network Adapter Driver Disk"
  801. DISKNAME                                                        = "Wireless LAN 802.11n USB 2.0 Network Adapter Driver Disk"
  802. RtlWlanu.DeviceDesc                                 = "Wireless LAN 802.11n USB 2.0 Network Adapter"
  803. RtlWlanu.DeviceDesc.DispName                = "Wireless LAN 802.11n USB 2.0 Network Adapter"

  804. ;*******************************************************************************
  805. ; RTL8188EU Device description
  806. ;*******************************************************************************
  807. RTL8188eu.DeviceDesc                                 = "TP-LINK Wireless USB Adapter"
  808. RTL8188eu.DeviceDesc.DispName                = "TP-LINK Wireless USB Adapter"
复制代码

论坛徽章:
13
技术图书徽章
日期:2014-04-29 14:15:42IT运维版块每日发帖之星
日期:2015-12-12 06:20:00IT运维版块每日发帖之星
日期:2015-08-30 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-02 06:20:002015年亚洲杯之澳大利亚
日期:2015-04-03 15:03:12申猴
日期:2015-03-20 09:00:292015年迎新春徽章
日期:2015-03-04 09:54:452015年辞旧岁徽章
日期:2015-03-03 16:54:15季节之章:冬
日期:2015-01-20 17:08:47双子座
日期:2014-11-21 16:30:31技术图书徽章
日期:2014-07-11 16:29:08
4 [报告]
发表于 2015-01-16 15:32 |只看该作者

论坛徽章:
0
5 [报告]
发表于 2015-01-16 15:35 |只看该作者
多谢多谢,这俩帖子我都试了,都是在make的时候报错,不知道是不是缺乏头文件还是里面makefile有问题,我的机子是x86_64的,makefile没找到这个

论坛徽章:
0
6 [报告]
发表于 2015-01-16 15:39 |只看该作者
  1. EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
  2. EXTRA_CFLAGS += -O1
  3. #EXTRA_CFLAGS += -O3
  4. #EXTRA_CFLAGS += -Wall
  5. #EXTRA_CFLAGS += -Wextra
  6. #EXTRA_CFLAGS += -Werror
  7. #EXTRA_CFLAGS += -pedantic
  8. #EXTRA_CFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes

  9. EXTRA_CFLAGS += -Wno-unused-variable
  10. EXTRA_CFLAGS += -Wno-unused-value
  11. EXTRA_CFLAGS += -Wno-unused-label
  12. EXTRA_CFLAGS += -Wno-unused-parameter
  13. EXTRA_CFLAGS += -Wno-unused-function
  14. EXTRA_CFLAGS += -Wno-unused

  15. EXTRA_CFLAGS += -Wno-uninitialized

  16. EXTRA_CFLAGS += -I$(src)/include

  17. CONFIG_AUTOCFG_CP = n

  18. CONFIG_RTL8192C = n
  19. CONFIG_RTL8192D = n
  20. CONFIG_RTL8723A = n
  21. CONFIG_RTL8188E = y

  22. CONFIG_USB_HCI = y
  23. CONFIG_PCI_HCI = n
  24. CONFIG_SDIO_HCI = n

  25. CONFIG_MP_INCLUDED = n
  26. CONFIG_POWER_SAVING = y
  27. CONFIG_USB_AUTOSUSPEND = n
  28. CONFIG_HW_PWRP_DETECTION = n
  29. CONFIG_WIFI_TEST = n
  30. CONFIG_BT_COEXIST = n
  31. CONFIG_RTL8192CU_REDEFINE_1X1 = n
  32. CONFIG_INTEL_WIDI = n

  33. CONFIG_PLATFORM_I386_PC = y
  34. CONFIG_PLATFORM_ANDROID_X86 = n
  35. CONFIG_PLATFORM_ARM_S3C2K4 = n
  36. CONFIG_PLATFORM_ARM_PXA2XX = n
  37. CONFIG_PLATFORM_ARM_S3C6K4 = n
  38. CONFIG_PLATFORM_MIPS_RMI = n
  39. CONFIG_PLATFORM_RTD2880B = n
  40. CONFIG_PLATFORM_MIPS_AR9132 = n
  41. CONFIG_PLATFORM_RTK_DMP = n
  42. CONFIG_PLATFORM_MIPS_PLM = n
  43. CONFIG_PLATFORM_MSTAR389 = n
  44. CONFIG_PLATFORM_MT53XX = n
  45. CONFIG_PLATFORM_ARM_MX51_241H = n
  46. CONFIG_PLATFORM_ACTIONS_ATJ227X = n
  47. CONFIG_PLATFORM_ARM_TEGRA3 = n
  48. CONFIG_PLATFORM_ARM_TCC8900 = n
  49. CONFIG_PLATFORM_ARM_TCC8920 = n
  50. CONFIG_PLATFORM_ARM_RK2818 = n
  51. CONFIG_PLATFORM_ARM_URBETTER = n
  52. CONFIG_PLATFORM_ARM_TI_PANDA = n
  53. CONFIG_PLATFORM_MIPS_JZ4760 = n
  54. CONFIG_PLATFORM_DMP_PHILIPS = n
  55. CONFIG_PLATFORM_TI_DM365 = n
  56. CONFIG_PLATFORM_MSTAR_TITANIA12 = n
  57. CONFIG_PLATFORM_SZEBOOK = n
  58. CONFIG_PLATFORM_ARM_SUN4I = n

  59. CONFIG_DRVEXT_MODULE = n

  60. export TopDIR ?= $(shell pwd)


  61. OUTSRC_FILES := hal/OUTSRC/odm_debug.o        \
  62.                                                                 hal/OUTSRC/odm_interface.o\
  63.                                                                 hal/OUTSRC/odm_HWConfig.o\
  64.                                                                 hal/OUTSRC/odm.o\
  65.                 hal/OUTSRC/HalPhyRf.o
  66.                                                                                
  67. ifeq ($(CONFIG_RTL8192C), y)
  68. RTL871X = rtl8192c

  69. ifeq ($(CONFIG_USB_HCI), y)
  70. MODULE_NAME = 8192cu
  71. OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8192CUFWImg_CE.o        \
  72.                                                                 hal/OUTSRC/$(RTL871X)/Hal8192CUPHYImg_CE.o        \
  73.                                                                 hal/OUTSRC/$(RTL871X)/Hal8192CUMACImg_CE.o
  74. endif

  75. ifeq ($(CONFIG_PCI_HCI), y)
  76. MODULE_NAME = 8192ce
  77. OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8192CEFWImg_CE.o        \
  78.                                                                 hal/OUTSRC/$(RTL871X)/Hal8192CEPHYImg_CE.o        \
  79.                                                                 hal/OUTSRC/$(RTL871X)/Hal8192CEMACImg_CE.o
  80. endif

  81. OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/odm_RTL8192C.o\
  82.                                                                 hal/OUTSRC/$(RTL871X)/HalDMOutSrc8192C_CE.o

  83. CHIP_FILES := hal/$(RTL871X)/$(RTL871X)_sreset.o
  84. CHIP_FILES += $(OUTSRC_FILES)

  85. endif

  86. ifeq ($(CONFIG_RTL8192D), y)
  87. RTL871X = rtl8192d

  88. ifeq ($(CONFIG_USB_HCI), y)
  89. MODULE_NAME = 8192du
  90. OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8192DUFWImg_CE.o \
  91.                                                                 hal/OUTSRC/$(RTL871X)/Hal8192DUPHYImg_CE.o \
  92.                                                                 hal/OUTSRC/$(RTL871X)/Hal8192DUMACImg_CE.o
  93. endif

  94. ifeq ($(CONFIG_PCI_HCI), y)
  95. MODULE_NAME = 8192de
  96. OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8192DEFWImg_CE.o \
  97.                                                                 hal/OUTSRC/$(RTL871X)/Hal8192DEPHYImg_CE.o \
  98.                                                                 hal/OUTSRC/$(RTL871X)/Hal8192DEMACImg_CE.o
  99. endif

  100. OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/odm_RTL8192D.o\
  101.                                                                 hal/OUTSRC/$(RTL871X)/HalDMOutSrc8192D_CE.o

  102. CHIP_FILES += $(OUTSRC_FILES)
  103. endif

  104. ifeq ($(CONFIG_RTL8723A), y)

  105. RTL871X = rtl8723a

  106. HAL_COMM_FILES := hal/$(RTL871X)/$(RTL871X)_sreset.o

  107. ifeq ($(CONFIG_SDIO_HCI), y)
  108. MODULE_NAME = 8723as
  109. OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8723SHWImg_CE.o
  110. endif

  111. ifeq ($(CONFIG_USB_HCI), y)
  112. MODULE_NAME = 8723au
  113. OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8723UHWImg_CE.o
  114. endif

  115. ifeq ($(CONFIG_PCI_HCI), y)
  116. MODULE_NAME = 8723ae
  117. OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8723EHWImg_CE.o
  118. endif

  119. #hal/OUTSRC/$(RTL871X)/HalHWImg8723A_FW.o
  120. OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/HalHWImg8723A_BB.o\
  121.                                                                 hal/OUTSRC/$(RTL871X)/HalHWImg8723A_MAC.o\
  122.                                                                 hal/OUTSRC/$(RTL871X)/HalHWImg8723A_RF.o\
  123.                                                                 hal/OUTSRC/$(RTL871X)/odm_RegConfig8723A.o

  124. OUTSRC_FILES += hal/OUTSRC/rtl8192c/HalDMOutSrc8192C_CE.o
  125. clean_more ?=
  126. clean_more += clean_odm-8192c

  127. PWRSEQ_FILES := hal/HalPwrSeqCmd.o \
  128.                                 hal/$(RTL871X)/Hal8723PwrSeq.o

  129. CHIP_FILES += $(HAL_COMM_FILES) $(OUTSRC_FILES) $(PWRSEQ_FILES)

  130. ifeq ($(CONFIG_BT_COEXIST), y)
  131. CHIP_FILES += hal/$(RTL871X)/rtl8723a_bt-coexist.o
  132. endif

  133. endif

  134. ifeq ($(CONFIG_RTL8188E), y)

  135. RTL871X = rtl8188e
  136. HAL_COMM_FILES := hal/$(RTL871X)/$(RTL871X)_xmit.o\
  137.                                                                         hal/$(RTL871X)/$(RTL871X)_sreset.o

  138. ifeq ($(CONFIG_SDIO_HCI), y)
  139. MODULE_NAME = 8189es
  140. endif

  141. ifeq ($(CONFIG_USB_HCI), y)
  142. MODULE_NAME = 8188eu
  143. endif

  144. ifeq ($(CONFIG_PCI_HCI), y)
  145. MODULE_NAME = 8188ee
  146. endif

  147. #hal/OUTSRC/$(RTL871X)/HalHWImg8188E_FW.o
  148. OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/HalHWImg8188E_MAC.o\
  149.                 hal/OUTSRC/$(RTL871X)/HalHWImg8188E_BB.o\
  150.                 hal/OUTSRC/$(RTL871X)/HalHWImg8188E_RF.o\
  151.                 hal/OUTSRC/$(RTL871X)/Hal8188EFWImg_CE.o\
  152.                 hal/OUTSRC/$(RTL871X)/HalPhyRf_8188e.o\
  153.                 hal/OUTSRC/$(RTL871X)/odm_RegConfig8188E.o\
  154.                 hal/OUTSRC/$(RTL871X)/Hal8188ERateAdaptive.o\
  155.                 hal/OUTSRC/$(RTL871X)/odm_RTL8188E.o

  156. PWRSEQ_FILES := hal/HalPwrSeqCmd.o \
  157.                                 hal/$(RTL871X)/Hal8188EPwrSeq.o

  158. CHIP_FILES += $(HAL_COMM_FILES) $(OUTSRC_FILES) $(PWRSEQ_FILES)

  159. endif


  160. ifeq ($(CONFIG_SDIO_HCI), y)
  161. HCI_NAME = sdio
  162. endif

  163. ifeq ($(CONFIG_USB_HCI), y)
  164. HCI_NAME = usb
  165. endif

  166. ifeq ($(CONFIG_PCI_HCI), y)
  167. HCI_NAME = pci
  168. endif


  169. _OS_INTFS_FILES :=        os_dep/osdep_service.o \
  170.                         os_dep/linux/os_intfs.o \
  171.                         os_dep/linux/$(HCI_NAME)_intf.o \
  172.                         os_dep/linux/ioctl_linux.o \
  173.                         os_dep/linux/xmit_linux.o \
  174.                         os_dep/linux/mlme_linux.o \
  175.                         os_dep/linux/recv_linux.o \
  176.                         os_dep/linux/ioctl_cfg80211.o \
  177.                         os_dep/linux/rtw_android.o

  178. ifeq ($(CONFIG_SDIO_HCI), y)
  179. _OS_INTFS_FILES += os_dep/linux/$(HCI_NAME)_ops_linux.o
  180. endif

  181. _HAL_INTFS_FILES :=        hal/hal_intf.o \
  182.                         hal/hal_com.o \
  183.                         hal/$(RTL871X)/$(RTL871X)_hal_init.o \
  184.                         hal/$(RTL871X)/$(RTL871X)_phycfg.o \
  185.                         hal/$(RTL871X)/$(RTL871X)_rf6052.o \
  186.                         hal/$(RTL871X)/$(RTL871X)_dm.o \
  187.                         hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
  188.                         hal/$(RTL871X)/$(RTL871X)_cmd.o \
  189.                         hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
  190.                         hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
  191.                         hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
  192.                         hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o

  193. ifeq ($(CONFIG_SDIO_HCI), y)
  194. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
  195. else
  196. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o
  197. endif

  198. ifeq ($(CONFIG_MP_INCLUDED), y)
  199. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
  200. endif

  201. _HAL_INTFS_FILES += $(CHIP_FILES)


  202. ifeq ($(CONFIG_AUTOCFG_CP), y)

  203. ifeq ($(CONFIG_RTL8188E)$(CONFIG_SDIO_HCI),yy)
  204. $(shell cp $(TopDIR)/autoconf_rtl8189e_$(HCI_NAME)_linux.h $(TopDIR)/include/autoconf.h)
  205. else
  206. $(shell cp $(TopDIR)/autoconf_$(RTL871X)_$(HCI_NAME)_linux.h $(TopDIR)/include/autoconf.h)
  207. endif
  208. endif


  209. ifeq ($(CONFIG_USB_HCI), y)
  210. ifeq ($(CONFIG_USB_AUTOSUSPEND), y)
  211. EXTRA_CFLAGS += -DCONFIG_USB_AUTOSUSPEND
  212. endif
  213. endif

  214. ifeq ($(CONFIG_MP_INCLUDED), y)
  215. MODULE_NAME := $(MODULE_NAME)_mp
  216. EXTRA_CFLAGS += -DCONFIG_MP_INCLUDED
  217. endif

  218. ifeq ($(CONFIG_POWER_SAVING), y)
  219. EXTRA_CFLAGS += -DCONFIG_POWER_SAVING
  220. endif

  221. ifeq ($(CONFIG_HW_PWRP_DETECTION), y)
  222. EXTRA_CFLAGS += -DCONFIG_HW_PWRP_DETECTION
  223. endif

  224. ifeq ($(CONFIG_WIFI_TEST), y)
  225. EXTRA_CFLAGS += -DCONFIG_WIFI_TEST
  226. endif

  227. ifeq ($(CONFIG_BT_COEXIST), y)
  228. EXTRA_CFLAGS += -DCONFIG_BT_COEXIST
  229. endif

  230. ifeq ($(CONFIG_RTL8192CU_REDEFINE_1X1), y)
  231. EXTRA_CFLAGS += -DRTL8192C_RECONFIG_TO_1T1R
  232. endif

  233. ifeq ($(CONFIG_INTEL_WIDI), y)
  234. EXTRA_CFLAGS += -DCONFIG_INTEL_WIDI
  235. endif


  236. ifeq ($(CONFIG_PLATFORM_I386_PC), y)
  237. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  238. SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
  239. ARCH ?= $(SUBARCH)
  240. CROSS_COMPILE ?=
  241. KVER  := $(shell uname -r)
  242. KSRC := /lib/modules/$(KVER)/build
  243. MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
  244. INSTALL_PREFIX :=
  245. endif

  246. ifeq ($(CONFIG_PLATFORM_TI_AM3517), y)
  247. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_SHUTTLE
  248. CROSS_COMPILE := arm-eabi-
  249. KSRC := $(shell pwd)/../../../Android/kernel
  250. ARCH := arm
  251. endif

  252. ifeq ($(CONFIG_PLATFORM_MSTAR_TITANIA12), y)
  253. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR_TITANIA12
  254. ARCH:=mips
  255. CROSS_COMPILE:= /usr/src/Mstar_kernel/mips-4.3/bin/mips-linux-gnu-
  256. KVER:= 2.6.28.9
  257. KSRC:= /usr/src/Mstar_kernel/2.6.28.9/
  258. endif

  259. ifeq ($(CONFIG_PLATFORM_ANDROID_X86), y)
  260. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  261. SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
  262. ARCH := $(SUBARCH)
  263. CROSS_COMPILE := /media/DATA-2/android-x86/ics-x86_20120130/prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/bin/i686-unknown-linux-gnu-
  264. KSRC := /media/DATA-2/android-x86/ics-x86_20120130/out/target/product/generic_x86/obj/kernel
  265. MODULE_NAME :=wlan
  266. endif

  267. ifeq ($(CONFIG_PLATFORM_ARM_PXA2XX), y)
  268. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  269. ARCH := arm
  270. CROSS_COMPILE := arm-none-linux-gnueabi-
  271. KVER  := 2.6.34.1
  272. KSRC ?= /usr/src/linux-2.6.34.1
  273. endif

  274. ifeq ($(CONFIG_PLATFORM_ARM_S3C2K4), y)
  275. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  276. ARCH := arm
  277. CROSS_COMPILE := arm-linux-
  278. KVER  := 2.6.24.7_$(ARCH)
  279. KSRC := /usr/src/kernels/linux-$(KVER)
  280. endif

  281. ifeq ($(CONFIG_PLATFORM_ARM_S3C6K4), y)
  282. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  283. ARCH := arm
  284. CROSS_COMPILE := arm-none-linux-gnueabi-
  285. KVER  := 2.6.34.1
  286. KSRC ?= /usr/src/linux-2.6.34.1
  287. endif

  288. ifeq ($(CONFIG_PLATFORM_RTD2880B), y)
  289. EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN -DCONFIG_PLATFORM_RTD2880B
  290. ARCH:=
  291. CROSS_COMPILE:=
  292. KVER:=
  293. KSRC:=
  294. endif

  295. ifeq ($(CONFIG_PLATFORM_MIPS_RMI), y)
  296. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  297. ARCH:=mips
  298. CROSS_COMPILE:=mipsisa32r2-uclibc-
  299. KVER:=
  300. KSRC:= /root/work/kernel_realtek
  301. endif

  302. ifeq ($(CONFIG_PLATFORM_MIPS_PLM), y)
  303. EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
  304. ARCH:=mips
  305. CROSS_COMPILE:=mipsisa32r2-uclibc-
  306. KVER:=
  307. KSRC:= /root/work/kernel_realtek
  308. endif

  309. ifeq ($(CONFIG_PLATFORM_MSTAR389), y)
  310. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR389
  311. ARCH:=mips
  312. CROSS_COMPILE:= mips-linux-gnu-
  313. KVER:= 2.6.28.10
  314. KSRC:= /home/mstar/mstar_linux/2.6.28.9/
  315. endif

  316. ifeq ($(CONFIG_PLATFORM_MIPS_AR9132), y)
  317. EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
  318. ARCH := mips
  319. CROSS_COMPILE := mips-openwrt-linux-
  320. KSRC := /home/alex/test_openwrt/tmp/linux-2.6.30.9
  321. endif

  322. ifeq ($(CONFIG_PLATFORM_DMP_PHILIPS), y)
  323. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DRTK_DMP_PLATFORM
  324. ARCH := mips
  325. #CROSS_COMPILE:=/usr/local/msdk-4.3.6-mips-EL-2.6.12.6-0.9.30.3/bin/mipsel-linux-
  326. CROSS_COMPILE:=/usr/local/toolchain_mipsel/bin/mipsel-linux-
  327. KSRC ?=/usr/local/Jupiter/linux-2.6.12
  328. endif

  329. ifeq ($(CONFIG_PLATFORM_RTK_DMP), y)
  330. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DRTK_DMP_PLATFORM
  331. ARCH:=mips
  332. CROSS_COMPILE:=mipsel-linux-
  333. KVER:=
  334. KSRC ?= /usr/src/DMP_Kernel/jupiter/linux-2.6.12
  335. endif

  336. ifeq ($(CONFIG_PLATFORM_MT53XX), y)
  337. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MT53XX
  338. ARCH:= arm
  339. CROSS_COMPILE:= arm11_mtk_le-
  340. KVER:= 2.6.27
  341. KSRC?= /proj/mtk00802/BD_Compare/BDP/Dev/BDP_V301/BDP_Linux/linux-2.6.27
  342. endif

  343. ifeq ($(CONFIG_PLATFORM_ARM_MX51_241H), y)
  344. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_WISTRON_PLATFORM
  345. ARCH := arm
  346. CROSS_COMPILE := /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
  347. KVER  := 2.6.31
  348. KSRC ?= /lib/modules/2.6.31-770-g0e46b52/source
  349. endif

  350. ifeq ($(CONFIG_PLATFORM_ACTIONS_ATJ227X), y)
  351. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ACTIONS_ATJ227X
  352. ARCH := mips
  353. CROSS_COMPILE := /home/cnsd4/project/actions/tools-2.6.27/bin/mipsel-linux-gnu-
  354. KVER  := 2.6.27
  355. KSRC := /home/cnsd4/project/actions/linux-2.6.27.28
  356. endif

  357. ifeq ($(CONFIG_PLATFORM_TI_DM365), y)
  358. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_TI_DM365
  359. ARCH := arm
  360. CROSS_COMPILE := /home/cnsd4/Appro/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-
  361. KVER  := 2.6.18
  362. KSRC := /home/cnsd4/Appro/mv_pro_5.0/montavista/pro/devkit/lsp/ti-davinci/linux-dm365
  363. endif

  364. ifeq ($(CONFIG_PLATFORM_ARM_TEGRA3), y)
  365. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN #-DCONFIG_MINIMAL_MEMORY_USAGE
  366. ARCH ?= arm
  367. CROSS_COMPILE ?= /media/DATA-1/nvidia/gingerbread/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
  368. KSRC ?= /media/DATA-1/nvidia/gingerbread/out/debug/target/product/cardhu/obj/KERNEL
  369. MODULE_NAME := wlan
  370. endif

  371. ifeq ($(CONFIG_PLATFORM_ARM_TCC8900), y)
  372. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_MINIMAL_MEMORY_USAGE
  373. ARCH ?= arm
  374. CROSS_COMPILE ?= /media/DATA-1/telechips/SDK_2302_20110425/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
  375. KSRC ?=/media/DATA-1/telechips/SDK_2302_20110425/kernel
  376. MODULE_NAME := wlan
  377. endif

  378. ifeq ($(CONFIG_PLATFORM_ARM_TCC8920), y)
  379. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN #-DCONFIG_MINIMAL_MEMORY_USAGE
  380. ARCH := arm
  381. CROSS_COMPILE := /media/DATA-2/telechips/ics_sdk/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
  382. KSRC := /media/DATA-2/telechips/ics_sdk/kernel
  383. MODULE_NAME := wlan
  384. endif

  385. ifeq ($(CONFIG_PLATFORM_ARM_RK2818), y)
  386. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ROCKCHIPS -DCONFIG_MINIMAL_MEMORY_USAGE
  387. ARCH := arm
  388. CROSS_COMPILE := /usr/src/release_fae_version/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
  389. KSRC := /usr/src/release_fae_version/kernel25_A7_281x
  390. MODULE_NAME := wlan
  391. endif

  392. ifeq ($(CONFIG_PLATFORM_ARM_URBETTER), y)
  393. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN #-DCONFIG_MINIMAL_MEMORY_USAGE
  394. ARCH := arm
  395. CROSS_COMPILE := /media/DATA-1/urbetter/arm-2009q3/bin/arm-none-linux-gnueabi-
  396. KSRC := /media/DATA-1/urbetter/ics-urbetter/kernel
  397. MODULE_NAME := wlan
  398. endif

  399. ifeq ($(CONFIG_PLATFORM_ARM_TI_PANDA), y)
  400. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN #-DCONFIG_MINIMAL_MEMORY_USAGE
  401. ARCH := arm
  402. #CROSS_COMPILE := /media/DATA-1/aosp/ics-aosp_20111227/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
  403. #KSRC := /media/DATA-1/aosp/android-omap-panda-3.0_20120104
  404. CROSS_COMPILE := /media/DATA-1/android-4.0/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
  405. KSRC := /media/DATA-1/android-4.0/panda_kernel/omap
  406. MODULE_NAME := wlan
  407. endif

  408. ifeq ($(CONFIG_PLATFORM_MIPS_JZ4760), y)
  409. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_MINIMAL_MEMORY_USAGE
  410. ARCH ?= mips
  411. CROSS_COMPILE ?= /mnt/sdb5/Ingenic/Umido/mips-4.3/bin/mips-linux-gnu-
  412. KSRC ?= /mnt/sdb5/Ingenic/Umido/kernel
  413. endif

  414. ifeq ($(CONFIG_PLATFORM_SZEBOOK), y)
  415. EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
  416. ARCH:=arm
  417. CROSS_COMPILE:=/opt/crosstool2/bin/armeb-unknown-linux-gnueabi-
  418. KVER:= 2.6.31.6
  419. KSRC:= ../code/linux-2.6.31.6-2020/
  420. endif

  421. #Add setting for MN10300
  422. ifeq ($(CONFIG_PLATFORM_MN10300), y)
  423. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MN10300
  424. ARCH := mn10300
  425. CROSS_COMPILE := mn10300-linux-
  426. KVER := 2.6.32.2
  427. KSRC := /home/winuser/work/Plat_sLD2T_V3010/usr/src/linux-2.6.32.2
  428. INSTALL_PREFIX :=
  429. endif


  430. ifeq ($(CONFIG_PLATFORM_ARM_SUN4I), y)
  431. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ARM_SUN4I
  432. ARCH := arm
  433. CROSS_COMPILE := arm-none-linux-gnueabi-
  434. KVER  := 3.0.8
  435. #KSRC:= ../lichee/linux-3.0/
  436. endif

  437. ifneq ($(KERNELRELEASE),)

  438. rtk_core :=        core/rtw_cmd.o \
  439.                 core/rtw_security.o \
  440.                 core/rtw_debug.o \
  441.                 core/rtw_io.o \
  442.                 core/rtw_ioctl_query.o \
  443.                 core/rtw_ioctl_set.o \
  444.                 core/rtw_ieee80211.o \
  445.                 core/rtw_mlme.o \
  446.                 core/rtw_mlme_ext.o \
  447.                 core/rtw_wlan_util.o \
  448.                 core/rtw_pwrctrl.o \
  449.                 core/rtw_rf.o \
  450.                 core/rtw_recv.o \
  451.                 core/rtw_sta_mgt.o \
  452.                 core/rtw_xmit.o        \
  453.                 core/rtw_p2p.o \
  454.                 core/rtw_br_ext.o \
  455.                 core/rtw_iol.o \
  456.                 core/rtw_led.o

  457. $(MODULE_NAME)-y += $(rtk_core)

  458. $(MODULE_NAME)-$(CONFIG_INTEL_WIDI) += core/rtw_intel_widi.o

  459. $(MODULE_NAME)-y += core/efuse/rtw_efuse.o

  460. $(MODULE_NAME)-y += $(_HAL_INTFS_FILES)

  461. $(MODULE_NAME)-y += $(_OS_INTFS_FILES)

  462. $(MODULE_NAME)-$(CONFIG_MP_INCLUDED) += core/rtw_mp.o \
  463.                                         core/rtw_mp_ioctl.o
  464. ifeq ($(CONFIG_RTL8723A), y)

  465. $(MODULE_NAME)-$(CONFIG_MP_INCLUDED)+= core/rtw_bt_mp.o
  466. endif

  467. obj-$(CONFIG_RTL8188EU) := $(MODULE_NAME).o

  468. else

  469. export CONFIG_RTL8188EU = m

  470. all: modules

  471. modules:
  472.         $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd)  modules

  473. strip:
  474.         $(CROSS_COMPILE)strip $(MODULE_NAME).ko --strip-unneeded

  475. install:
  476.         install -p -m 644 $(MODULE_NAME).ko  $(MODDESTDIR)
  477.         /sbin/depmod -a ${KVER}

  478. uninstall:
  479.         rm -f $(MODDESTDIR)/$(MODULE_NAME).ko
  480.         /sbin/depmod -a ${KVER}

  481. config_r:
  482.         @echo "make config"
  483.         /bin/bash script/Configure script/config.in

  484. .PHONY: modules clean clean_odm-8192c

  485. clean_odm-8192c:
  486.         cd hal/OUTSRC/rtl8192c ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko

  487. clean: $(clean_more)
  488.         rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
  489.         rm -fr .tmp_versions
  490.         rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
  491.         cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  492.         cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  493.         cd hal/$(RTL871X)/$(HCI_NAME) ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  494.         cd hal/$(RTL871X) ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  495.         cd hal/OUTSRC/$(RTL871X) ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  496.         cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  497.         cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  498.         cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  499.         cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  500. endif
复制代码
MakeFile如上!

论坛徽章:
13
技术图书徽章
日期:2014-04-29 14:15:42IT运维版块每日发帖之星
日期:2015-12-12 06:20:00IT运维版块每日发帖之星
日期:2015-08-30 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-02 06:20:002015年亚洲杯之澳大利亚
日期:2015-04-03 15:03:12申猴
日期:2015-03-20 09:00:292015年迎新春徽章
日期:2015-03-04 09:54:452015年辞旧岁徽章
日期:2015-03-03 16:54:15季节之章:冬
日期:2015-01-20 17:08:47双子座
日期:2014-11-21 16:30:31技术图书徽章
日期:2014-07-11 16:29:08
7 [报告]
发表于 2015-01-16 15:39 |只看该作者
贴出错误的信息,可以让其他的朋友帮忙看看

论坛徽章:
18
处女座
日期:2014-11-13 15:52:322015亚冠之胡齐斯坦钢铁
日期:2015-08-14 16:09:082015亚冠之北京国安
日期:2015-06-02 18:41:152015亚冠之广州恒大
日期:2015-06-02 18:41:15NBA常规赛纪念章
日期:2015-05-04 22:32:032015年亚洲杯之中国
日期:2015-04-01 16:38:392015小元宵徽章
日期:2015-03-06 15:58:182015年亚洲杯之阿联酋
日期:2015-03-06 09:33:432015年辞旧岁徽章
日期:2015-03-04 13:32:472015年迎新春徽章
日期:2015-03-04 10:01:44拜羊年徽章
日期:2015-03-03 16:15:43洛杉矶快船
日期:2015-03-02 16:05:34
8 [报告]
发表于 2015-01-16 16:01 |只看该作者
看不懂,,帮顶了。。。楼主是自己机器吧?
服务器一般都用网线,,无线太慢,应用跑不动啊。,

论坛徽章:
13
技术图书徽章
日期:2014-04-29 14:15:42IT运维版块每日发帖之星
日期:2015-12-12 06:20:00IT运维版块每日发帖之星
日期:2015-08-30 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-02 06:20:002015年亚洲杯之澳大利亚
日期:2015-04-03 15:03:12申猴
日期:2015-03-20 09:00:292015年迎新春徽章
日期:2015-03-04 09:54:452015年辞旧岁徽章
日期:2015-03-03 16:54:15季节之章:冬
日期:2015-01-20 17:08:47双子座
日期:2014-11-21 16:30:31技术图书徽章
日期:2014-07-11 16:29:08
9 [报告]
发表于 2015-01-17 08:39 |只看该作者
兄弟,贴出关键出错前后的位置吧

你这500多条,得好看一会儿呢

论坛徽章:
224
2022北京冬奥会纪念版徽章
日期:2015-08-10 16:30:32操作系统版块每日发帖之星
日期:2016-02-18 06:20:00操作系统版块每日发帖之星
日期:2016-03-01 06:20:00操作系统版块每日发帖之星
日期:2016-03-02 06:20:0015-16赛季CBA联赛之上海
日期:2019-09-20 12:29:3219周年集字徽章-周
日期:2019-10-01 20:47:4815-16赛季CBA联赛之八一
日期:2020-10-23 18:30:5320周年集字徽章-20	
日期:2020-10-28 14:14:2615-16赛季CBA联赛之广夏
日期:2023-02-25 16:26:26CU十四周年纪念徽章
日期:2023-04-13 12:23:1015-16赛季CBA联赛之四川
日期:2023-07-25 16:53:45操作系统版块每日发帖之星
日期:2016-05-10 19:22:58
10 [报告]
发表于 2015-01-17 12:07 |只看该作者
本帖最后由 action08 于 2015-01-17 12:08 编辑

推广一下,现在jd促销度娘wifi9.9

这个是大厂产品,应该有linux驱动的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP