Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to scan avalible wireless (802.11b) network in a MFC program?

How to scan avalible wireless (802.11b) network in a MFC program?

Scheduled Pinned Locked Moved C / C++ / MFC
c++sysadmintutorialquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Robert Mao
    wrote on last edited by
    #1

    Does anybody know how to scan avalible wireless (802.11b) network in a MFC program? Any tips will be appreicated! mao

    D 1 Reply Last reply
    0
    • R Robert Mao

      Does anybody know how to scan avalible wireless (802.11b) network in a MFC program? Any tips will be appreicated! mao

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      What do you mean by "scan wireless network?"

      R 1 Reply Last reply
      0
      • D David Crow

        What do you mean by "scan wireless network?"

        R Offline
        R Offline
        Robert Mao
        wrote on last edited by
        #3

        What "scan wireless network" means enum all avalible 802.11b wireless network on air. Sometime, there are more than one AP (access point) or Adhoc network avalible on air. I want to enum all the avalible network and then let user choose to connect one of them. DavidCrow wrote: What do you mean by "scan wireless network?"

        M 1 Reply Last reply
        0
        • R Robert Mao

          What "scan wireless network" means enum all avalible 802.11b wireless network on air. Sometime, there are more than one AP (access point) or Adhoc network avalible on air. I want to enum all the avalible network and then let user choose to connect one of them. DavidCrow wrote: What do you mean by "scan wireless network?"

          M Offline
          M Offline
          mango_lier
          wrote on last edited by
          #4

          Take a look at the DDK documentation for 802_11 OIDs. For example, an application can send OID_802_11_SCAN_LIST to ask the miniport driver to do active or passive scan. This list is then returned to the application. User Mode applications cannot send OIDs directly to the miniport therefore you have to have a protocol driver in between to do this correctly. On Xp the zero config service uses a variation of "User Mode I/O" protocol driver (in the DDK Samples) to send these OIDs. Some vendors implement private IOCTL codes in the miniport, in that case application can just send IOCTLs directly to the miniport. :omg:

          R 2 Replies Last reply
          0
          • M mango_lier

            Take a look at the DDK documentation for 802_11 OIDs. For example, an application can send OID_802_11_SCAN_LIST to ask the miniport driver to do active or passive scan. This list is then returned to the application. User Mode applications cannot send OIDs directly to the miniport therefore you have to have a protocol driver in between to do this correctly. On Xp the zero config service uses a variation of "User Mode I/O" protocol driver (in the DDK Samples) to send these OIDs. Some vendors implement private IOCTL codes in the miniport, in that case application can just send IOCTLs directly to the miniport. :omg:

            R Offline
            R Offline
            Robert Mao
            wrote on last edited by
            #5

            thank you very much, it sounds ok, i will try this way.

            1 Reply Last reply
            0
            • M mango_lier

              Take a look at the DDK documentation for 802_11 OIDs. For example, an application can send OID_802_11_SCAN_LIST to ask the miniport driver to do active or passive scan. This list is then returned to the application. User Mode applications cannot send OIDs directly to the miniport therefore you have to have a protocol driver in between to do this correctly. On Xp the zero config service uses a variation of "User Mode I/O" protocol driver (in the DDK Samples) to send these OIDs. Some vendors implement private IOCTL codes in the miniport, in that case application can just send IOCTLs directly to the miniport. :omg:

              R Offline
              R Offline
              Robert Mao
              wrote on last edited by
              #6

              Thank you very much for your help. After I studied some DDK documents, I relized you r a real expert in this area! Since WinXP introduced a WZC service, does this mean in an XP box, I needn't write a NDISUIO driver myself, instead I can use WZC to do everything I want? However I searched MS site and found very few information on WZC, almost get no information on how to use WZC service at all. Could you give me more tips? Thanks so!

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups