none
Network adapter:Advanced Properties control RRS feed

  • Question

  • I am developing a network adapter driver that is using NDIS. When the user goes to 'Control Panel->Device Manager->Network adapter->MyAdapter->Properties->Advanced' he can currently set the following options:

    • 802.11b Preamble
    • Network Address
    • Receive Buffers
    • Transmit Buffers
    • Scan Valid Interval

    However, I don't want to confuse my user with these options. I want him only to have access to the 'Network Address'. Would you know how can I hide these options from this window?

    Friday, March 18, 2016 12:54 PM

Answers

  • OK. Found the issue.

    During previous development I was using a different inf file that was adding these values in the registry. Even though the inf had changed, previous oemXXX.inf files as well as previous registry configuration remained. After deleting the previous oemXXX.inf files that corresponded to the development driver as well as removing the registry sections that were obsolete, the options were removed as well.

    Friday, March 18, 2016 4:40 PM

All replies

  • If I can't remove all of them, I would be happy by removing only the '802.11b Preamble' option. My adapter is not 802.11b compatible so this option is not valid for me.
    Friday, March 18, 2016 2:41 PM
  • This is my INF file:

    [Version]
    Signature = "$Windows NT$"
    Class = Net
    ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
    Provider = %greatWiFi%usb
    CatalogFile = lifi_x.cat
    DriverVer=03/18/2016,14.59.32.221
    ;DriverVer = 04/20/2011,2.0.0.62
     
    ;;;;; Installation Configuration <START> ;;;;;
    [SourceDisksNames]
    1 = %DiskDescription%,lifi_x.sys,,
     
    [SourceDisksFiles]
    lifi_x.sys = 1,,
    LiFi_X_top.bit = 1,,
     
    [DestinationDirs]
    greatWiFi.CopyFiles = 12
    DefaultDestDirs = 11
    CoInstaller_CopyFiles = 11
     
    [DefaultInstall]
    ;Include=netvwifibus.inf
    ;Needs=VWiFiBus.CopyFiles
    Characteristics = 0x84
    BusType = 15
    AddReg = greatWiFi.reg
    DelReg = greatWiFi.DelReg
    CopyFiles = greatWiFi.CopyFiles
    *IfType = 71            ; IF_TYPE_IEEE80211
    *MediaType = 16            ; NdisMediumNative802_11
    *PhysicalMediaType = 9    ; NdisPhysicalMediumNative802_11
     
    [DefaultInstall.Services]
    Include=netvwifibus.inf
    Needs=VWiFiBus.CopyFiles
    AddService = greatWiFi_lifix, 2, greatWiFi.Service, greatWiFi.EventLog
     
    [DefaultInstall.Service]
    DisplayName = %greatWiFi.Service.DispName%
    ServiceType = 1                 ;SERVICE_KERNEL_DRIVER
    StartType = 3                   ;SERVICE_DEMAND_START
    ErrorControl = 1                ;SERVICE_ERROR_NORMAL
    ServiceBinary = %12%\lifi_x.sys
    LoadOrderGroup = NDIS
     
    [greatWiFi.CopyFiles]
    lifi_x.sys,,,2
     
    [CoInstaller_CopyFiles]
    wdfcoinstaller01005.dll
    ;;;;; Installation Configuration <END> ;;;;;
     
    [Manufacturer]
    %greatWiFi% = greatWiFi, NTamd64.6.1
     
    [ControlFlags]
    ExcludeFromSelect = *
     
    [greatWiFi.NTamd64.6.1]
    ;DisplayName Section Hardware ID
    ;----------- ------- --------------------------
    %greatWiFi.DeviceDesc% = greatWiFi.ndi, USB\VID_221A&PID_0100
     
    [greatWiFi.ndi.NTamd64]
    Include=netvwifibus.inf
    Needs=VWiFiBus.CopyFiles
    Characteristics = 0x84
    BusType = 15
    AddReg = greatWiFi.reg
    DelReg = greatWiFi.DelReg
    CopyFiles = greatWiFi.CopyFiles
    *IfType = 71            ; IF_TYPE_IEEE80211
    *MediaType = 16            ; NdisMediumNative802_11
    *PhysicalMediaType = 9    ; NdisPhysicalMediumNative802_11
     
    [greatWiFi.ndi.NTamd64.Services]
    Include=netvwifibus.inf
    Needs=VWiFiBus.CopyFiles
    AddService = greatWiFi_lifix, 2, greatWiFi.Service, greatWiFi.EventLog
     
    [greatWiFi.ndi.NTamd64.HW]
    Include=netvwifibus.inf
    Needs=VWiFiBus.PnPFilterRegistration
    AddReg = greatWiFi_os61.vwifi.reg
     
    [greatWiFi.reg]
    HKR, Ndi, Service, 0, "greatWiFi_lifix"
    HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
    HKR, Ndi\Interfaces, LowerRange, 0, "wlan,ethernet,vwifi"
    HKR, Ndi\params\NetworkAddress, ParamDesc, 0, %NetworkAddress%
    HKR, Ndi\params\NetworkAddress, default, 0, ""
    HKR, Ndi\params\NetworkAddress, LimitText, 0, "12"
    HKR, Ndi\params\NetworkAddress, UpperCase, 0, "1"
    HKR, Ndi\params\NetworkAddress, optional, 0, "1"
    HKR, Ndi\params\NetworkAddress, type, 0, "edit"
    HKR, , forceNormalSlotMrvl, 0x00002, "1"
    HKR, , htAdhocEnable, 0x00002, "0"
     
    [greatWiFi.Service]
    DisplayName = %greatWiFi.Service.DispName%
    ServiceType = 1                 ;SERVICE_KERNEL_DRIVER
    StartType = 3                   ;SERVICE_DEMAND_START
    ErrorControl = 1                ;SERVICE_ERROR_NORMAL
    ServiceBinary = %12%\lifi_x.sys
    LoadOrderGroup = NDIS
     
    [greatWiFi.EventLog]
    AddReg = greatWiFi.AddEventLog.reg
     
    [greatWiFi.AddEventLog.reg]
    HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
    HKR, , TypesSupported, 0x00010001, 7
     
    [lifi_x.Dev.NT.CoInstallers]
    AddReg=CoInstaller_AddReg
    CopyFiles=CoInstaller_CopyFiles
     
     
    [SourceDisksFiles]
    wdfcoinstaller01005.dll=1 ; make sure the number matches with SourceDisksNames
     
    [CoInstaller_AddReg]
    HKR,,CoInstallers32,0x00010000, "wdfcoinstaller01005.dll,WdfCoInstaller"
     
    [lifi_x.Dev.NT.Wdf]
    KmdfService = lifi_x, lifi_x_wdfsect
     
    [lifi_x_wdfsect]
    KmdfLibraryVersion = 1.5
     
    ;; Adds the VWiFi PNP filter
    [greatWiFi_os61.vwifi.reg]
    HKR,,"UpperFilters",0x00010000,"vwifibus"
     
    [Strings]
    Msft = "Microsoft"
    greatWiFi = "greatWiFi"
    greatWiFi.DeviceDesc= "greatWiFi LiFix"
    greatWiFi.Service.DispName = "greatWiFi lifix"
    DiskDescription = "greatWiFi USB"
    NetworkAddress = "Network Address"
    rssiThrHigh = "RSSI Threshold"
    rssiThrHighNormal = "Normal"
    rssiThrHighMin = "Min"
    roamRssiA = "Roam Time Threshold (db)"
    WirelessMode = "Wireless Mode Selection"
    adhocchannel = "Adhoc channel Selection"
    bkScanEnable = "BackgroundScan On/Off"
    bkScanEnableOn = "On"
    bkScanEnableOff = "Off"
    radioEnable = "Radio On/Off"
    radioEnableOn = "On"
    radioEnableOff = "Off"
    roamRssi11A = "roamRssiA"
    roamRssi11B = "roamRssiB"
    roamRssi11BOnly = "roamRssiBOnly"
    roamRateA = "roamRateA"
    roamRateA6M = " 6Mbps"
    roamRateA9M = " 9Mbps"
    roamRateA12M = "12Mbps"
    roamRateA18M = "18Mbps"
    roamRateA24M = "24Mbps"
    roamRateA36M = "36Mbps"
    roamRateA48M = "48Mbps"
    roamRateA54M = "54Mbps"
    roamRateBOnly = "roamRateBOnly"
    roamRateBOnly1M = " 1Mbps"
    roamRateBOnly2M = " 2Mbps"
    roamRateBOnly5M = " 5Mbps"
    roamRateBOnly11M = "11Mbps"
    roamRateB = "roamRateB"
    roamRateB1M = " 1Mbps"
    roamRateB2M = " 2Mbps"
    roamRateB5M = " 5Mbps"
    roamRateB6M = " 6Mbps"
    roamRateB9M = " 9Mbps"
    roamRateB11M = "11Mbps"
    pcieAspm = "pcieAspm"
    pcieAspmOff = "L0s Off, L1 Off"
    pcieAspmL0sOn = "L0s On, L1 Off"
    pcieAspmL1On = "L0s Off, L1 On"
    pcieAspmL0sandL1On = "L0s On, L1 On"
    wModeSelect = "Wireless Mode"
    wModeSelect11bonly = "11b only"
    wModeSelect11nbg = "11n(2.4GHz) and g and b"
    wModeSelect11na = "11n(5GHz) and a"
    wModeSelect11abgn = "11abgn"
    wModeLegacy11a = "11a only"
    wModeLegacy11bonly = "11b only"
    wModeLegacy11bg = "11g and 11b"
    wModeLegacy11abg = "11abg"
    antennaSwitch = "AntennaSwitch"
    antennaSwitchAuto = "Auto"
    antennaSwitchA = "Antenna A"
    antennaSwitchB = "Antenna B"
    Auto = "Auto"
    5GOnly    = "5Ghz Only"
    2GOnly    = "2Ghz Only"
    11DModeSwitch = "11d Mode Switch"
    Enable = "Enable"
    Disable = "Disable"
    PowerSaveMode = "Power Save Mode"
    Off = "Off"
    Maximum = "Maximum"
    Normal = "Normal"
    802_11d = "802.11d"


    Friday, March 18, 2016 3:20 PM
  • OK. Found the issue.

    During previous development I was using a different inf file that was adding these values in the registry. Even though the inf had changed, previous oemXXX.inf files as well as previous registry configuration remained. After deleting the previous oemXXX.inf files that corresponded to the development driver as well as removing the registry sections that were obsolete, the options were removed as well.

    Friday, March 18, 2016 4:40 PM