DCMD_IO_NET_WIFI

Hi everyone

I’m looking for information on how to respond to the DCMD_IO_NET_WIFI
devctl and a few questions about somewhat the same subject…

  1. What subtypes are input/output?
    A few is rather obvious, but SSID forexample could be either input or
    output.

  2. What am I to return on the NIC_WIFI_SUBCMD_BSS_TYPE, If you have
    several accesspoints/ADHOC in your reach… is it the one you are
    currently connected to?

  3. Are there any standard devctls that a user application can issue to
    list all the availible accesspoints/adhoc networks?


    Thanks in advance

/Johan Björk

“Johan Bjoerk” <phearbear@home.se> wrote in message
news:br7d0n$adm$1@nntp.qnx.com

Hi everyone

I’m looking for information on how to respond to the DCMD_IO_NET_WIFI
devctl and a few questions about somewhat the same subject…

  1. What subtypes are input/output?
    A few is rather obvious, but SSID forexample could be either input or
    output.

Yes, you can either read the SSID or set it with the devctl. Are you writing
your own driver or are you wanting to know how to interface to an existing
driver?

  1. What am I to return on the NIC_WIFI_SUBCMD_BSS_TYPE, If you have
    several accesspoints/ADHOC in your reach… is it the one you are
    currently connected to?

Yes.

  1. Are there any standard devctls that a user application can issue to
    list all the availible accesspoints/adhoc networks?


    Thanks in advance

/Johan Björk

Hugh Brown wrote:

“Johan Bjoerk” <> phearbear@home.se> > wrote in message
news:br7d0n$adm$> 1@nntp.qnx.com> …

Hi everyone

I’m looking for information on how to respond to the DCMD_IO_NET_WIFI
devctl and a few questions about somewhat the same subject…

  1. What subtypes are input/output?
    A few is rather obvious, but SSID forexample could be either input or
    output.


    Yes, you can either read the SSID or set it with the devctl. Are you writing
    your own driver or are you wanting to know how to interface to an existing
    driver?
    I’m writing my own driver.

    \
  2. What am I to return on the NIC_WIFI_SUBCMD_BSS_TYPE, If you have
    several accesspoints/ADHOC in your reach… is it the one you are
    currently connected to?


    Yes.
    Thanks, any idea on q.3 ?


  3. Are there any standard devctls that a user application can issue to
    list all the availible accesspoints/adhoc networks?


    Thanks in advance

/Johan Björk

“Johan Bjoerk” <phearbear@home.se> wrote in message
news:br7rug$p5m$1@nntp.qnx.com

Hugh Brown wrote:
“Johan Bjoerk” <> phearbear@home.se> > wrote in message
news:br7d0n$adm$> 1@nntp.qnx.com> …

Hi everyone

I’m looking for information on how to respond to the DCMD_IO_NET_WIFI
devctl and a few questions about somewhat the same subject…

  1. What subtypes are input/output?
    A few is rather obvious, but SSID forexample could be either input or
    output.


    Yes, you can either read the SSID or set it with the devctl. Are you
    writing
    your own driver or are you wanting to know how to interface to an
    existing
    driver?
    I’m writing my own driver.

For which chipset?

  1. What am I to return on the NIC_WIFI_SUBCMD_BSS_TYPE, If you have
    several accesspoints/ADHOC in your reach… is it the one you are
    currently connected to?


    Yes.
    Thanks, any idea on q.3 ?


    \
  2. Are there any standard devctls that a user application can issue to
    list all the availible accesspoints/adhoc networks?

No, there are not.

Thanks in advance

/Johan Björk

Hugh Brown wrote:

“Johan Bjoerk” <> phearbear@home.se> > wrote in message
news:br7rug$p5m$> 1@nntp.qnx.com> …

Hugh Brown wrote:

“Johan Bjoerk” <> phearbear@home.se> > wrote in message
news:br7d0n$adm$> 1@nntp.qnx.com> …


Hi everyone

I’m looking for information on how to respond to the DCMD_IO_NET_WIFI
devctl and a few questions about somewhat the same subject…

  1. What subtypes are input/output?
    A few is rather obvious, but SSID forexample could be either input or
    output.


    Yes, you can either read the SSID or set it with the devctl. Are you

writing

your own driver or are you wanting to know how to interface to an

existing

driver?

I’m writing my own driver.


For which chipset?

Porting rather. for Atmel wlan chipsets. (AT76C50X…)

more specifically the card i’m testing on is a CNet CNWLC-811

/Johan


  1. What am I to return on the NIC_WIFI_SUBCMD_BSS_TYPE, If you have
    several accesspoints/ADHOC in your reach… is it the one you are
    currently connected to?


    Yes.

Thanks, any idea on q.3 ?



3. Are there any standard devctls that a user application can issue to
list all the availible accesspoints/adhoc networks?



No, there are not.


Thanks in advance


/Johan Björk
\

Ping?
I know it’s xmas time now, but maybe someone is still sneaking around in the
office? :slight_smile:

How do I know from my driver if the user is trying to set some data, or get
some data from the driver?

Thanks!

/Johan

The subcmd of the nic_wifi_dcmd_t structure will either contain DEVDIR_TO or
DEVDIR_FROM, where TO is to the driver and FROM is from the driver.

“Johan Björk” <phearbear@home.se> wrote in message
news:bs9dhs$rp2$1@inn.qnx.com

Ping?
I know it’s xmas time now, but maybe someone is still sneaking around in
the
office? > :slight_smile:

How do I know from my driver if the user is trying to set some data, or
get
some data from the driver?

Thanks!

/Johan

Ah!
This makes much more sense now, thanks alot!

/Johan Wearing a santahat Björk


Hugh Brown wrote:

The subcmd of the nic_wifi_dcmd_t structure will either contain DEVDIR_TO or
DEVDIR_FROM, where TO is to the driver and FROM is from the driver.

“Johan Björk” <> phearbear@home.se> > wrote in message
news:bs9dhs$rp2$> 1@inn.qnx.com> …

Ping?
I know it’s xmas time now, but maybe someone is still sneaking around in

the

office? > :slight_smile:

How do I know from my driver if the user is trying to set some data, or

get

some data from the driver?

Thanks!

/Johan

\