OpenQNX :: The QNX Community Portal

Oct 06, 2008 - 07:17 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 41 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dxx2008
Post subject: Wifi network operation  PostPosted: Jan 04, 2008 - 08:16 AM
Active Member


Joined: Oct 15, 2007
Posts: 58

I used Orinoco PC card to realize wifi. And i got the problems:
1)How can i determine the source of the interrupt via in8()?
2)Why the Network Name(SSID), Channel, BSS Type fail to show the true values?
3)Are there any sample codes of dealing with network card available under QNX 6.3.2?

Thx Very Happy
Here's the"nicinfo" output file:
ORiNOCO 802.11 Wireless Ethernet Controller

Physical Node ID ........................... 00022D 01B57F
Current Physical Node ID ................... 00022D 01B57F
Current Operation Rate ..................... 11.00 Mb/s half-duplex
Active Interface Type ...................... Unknown
Maximum Transmittable data Unit ............ 1514
Maximum Receivable data Unit ............... 1514
Hardware Interrupt ......................... 0x3
I/O Aperture ............................... 0x300 - 0x33f
Promiscuous Mode ........................... Off
Multicast Support .......................... Enabled

Station Name ...............................
Network Name (SSID) ........................
Channel: ................................... 4294967295
BSS Type ................................... Unknown

Packets Transmitted OK ..................... 803
Bytes Transmitted OK ....................... 118649

Packets Received OK ........................ 19366
Bytes Received OK .......................... 2491016
 
 View user's profile Send private message  
Reply with quote Back to top
rgallen
Post subject: Re: Wifi network operation  PostPosted: Jan 05, 2008 - 05:00 PM
QNX Master


Joined: Jul 11, 2002
Posts: 607

dxx2008 wrote:
I used Orinoco PC card to realize wifi. And i got the problems:
1)How can i determine the source of the interrupt via in8()?
2)Why the Network Name(SSID), Channel, BSS Type fail to show the true values?
3)Are there any sample codes of dealing with network card available under QNX 6.3.2?

Thx Very Happy
Here's the"nicinfo" output file:
ORiNOCO 802.11 Wireless Ethernet Controller

Physical Node ID ........................... 00022D 01B57F
Current Physical Node ID ................... 00022D 01B57F
Current Operation Rate ..................... 11.00 Mb/s half-duplex
Active Interface Type ...................... Unknown
Maximum Transmittable data Unit ............ 1514
Maximum Receivable data Unit ............... 1514
Hardware Interrupt ......................... 0x3
I/O Aperture ............................... 0x300 - 0x33f
Promiscuous Mode ........................... Off
Multicast Support .......................... Enabled

Station Name ...............................
Network Name (SSID) ........................
Channel: ................................... 4294967295
BSS Type ................................... Unknown

Packets Transmitted OK ..................... 803
Bytes Transmitted OK ....................... 118649

Packets Received OK ........................ 19366
Bytes Received OK .......................... 2491016


If you want to use wireless, you are best off using io-pkt. The io-pkt stack source is beta and is released on Foundry27. It has very good wireless support.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
dxx2008
Post subject: RE: Re: Wifi network operation  PostPosted: Jan 06, 2008 - 11:48 AM
Active Member


Joined: Oct 15, 2007
Posts: 58

Thx, rqallen
I learned that io-pkt does not support the Orinoco card. Anyway, the 2 machines can work properly under p2p mode. The display should not be a big issue.
 
 View user's profile Send private message  
Reply with quote Back to top
rgallen
Post subject: Re: RE: Re: Wifi network operation  PostPosted: Jan 07, 2008 - 04:54 PM
QNX Master


Joined: Jul 11, 2002
Posts: 607

dxx2008 wrote:
Thx, rqallen
I learned that io-pkt does not support the Orinoco card. Anyway, the 2 machines can work properly under p2p mode. The display should not be a big issue.


There is a shim (devp-shim.so) that allows io-pkt to run io-net drivers. Glad it is working for you; still, io-pkt has a lot of the infrastructure to support wireless (e.g. wpa_supplicant, etc.).
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.