Driver: Qualcomm Atheros AR9285 802.11b/g/n WiFi Adapter

OS: Windows 7 Ultimate SP1 - x64

Purpose: Changing the Channel of wifi

For knowing which files are being used by the above mentioned driver, I used a tool called DriverExtractor. The result are these files:


defaultIbssChannel is the value in the netathrx.inf that I'm interested in:

HKR, Ndi\params\defaultIbssChannel,     ParamDesc,                      0,        %adhocchannel%
HKR, Ndi\params\defaultIbssChannel,     default,                        0,        "10"
HKR, Ndi\params\defaultIbssChannel,     min,                            0,        "1"
HKR, Ndi\params\defaultIbssChannel,     max,                            0,        "11"
HKR, Ndi\params\defaultIbssChannel,     step,                           0,        "1"
HKR, Ndi\params\defaultIbssChannel,     base,                           0,        "10"
HKR, Ndi\params\defaultIbssChannel,     type,                           0,        "int"
HKR, ,                                  defaultIbssChannel,             0x00002,  "11"

There's no key or value in the registry as defaultIbssChannel So I searched my whole Windows drive and find netathrx.inf in these places:


Finally my question is that: Which of the netathrx.inf files in above locations should be edited so that the new value takes effect?

Update 1: The netathrx.inf files in the C:\Windows\System32\DriverStore\...are the most recent one, but other locations hold the older version of the file.

  • 1
    You can change the channel of the wifi in your Router much easier, which will force your wifi adapter to use that channel. Doing what you want to do will not change the channel as the router controls that.
    – Moab
    Jun 16 '15 at 14:35
  • It's an internal component in my laptop. There's no exterior router
    – wiki
    Jun 16 '15 at 15:58
  • It has to connect to a router, otherwise you would have to internet connection.
    – Moab
    Jun 16 '15 at 16:49
  • 1
    Add that information to your question please.
    – Moab
    Jun 16 '15 at 22:22
  • 1
    Seem that he's trying to add an ad hoc Software AP using his WiFi adapter...
    – not2qubit
    Aug 25 '15 at 10:25

Opening an administrator command shell and typing netsh wlan show drivers will give you the currently used driver for that interface.

Interface name: WiFi 2

    Driver                    : TP-LINK Wireless USB Adapter
    Vendor                    : TP-LINK
    INF file                  : C:\Windows\INF\oem20.inf
    Files                     : 1 total
    Type                      : Native Wi-Fi Driver

Connect to a wireless router on a different channel. The channel on which you'll broadcast your ad hoc network will also change.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.