LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-14-2018, 09:35 AM   #1
Hack
LQ Newbie
 
Registered: Apr 2018
Posts: 1

Rep: Reputation: Disabled
Question What codes should I use for ioctl when accessing wifi?


I want to make a program that will work with wpa2 networks, but I did not find the ioctl instructions for the wifi adapter on the Internet. I write in C and I need to handle everything correctly.I found the specifications on the official wi-fi site, but they did not specify anything about linux. wifi libraries do not offer to use, they are not suitable for the task. What do I need to read?
 
Old 04-14-2018, 03:10 PM   #2
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 3,629

Rep: Reputation: 1112Reputation: 1112Reputation: 1112Reputation: 1112Reputation: 1112Reputation: 1112Reputation: 1112Reputation: 1112Reputation: 1112
What is your goal? What will your program do?
 
1 members found this post helpful.
Old 04-16-2018, 03:02 PM   #3
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,043

Rep: Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811
A program that just needs to use the network doesn't need to use any ioctls. It also should not need to know whether it is running over wi-fi or ethernet.
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing ioctl - address shift ? Jim232 Linux - Newbie 1 04-11-2018 12:59 PM
If my WiFi light is on, does that mean someone may be accessing my computer? General Linux - Security 6 02-22-2015 11:33 PM
[SOLVED] How to compile .jar Java byte-codes into native machine codes? ilgaar Linux - Software 1 08-30-2010 01:52 AM
How to compile .jar Java byte-codes into native machine codes? ilgaar Linux - Software 6 08-29-2010 12:20 AM
How to pass IOCTL arguments from usespace ioctl call devkpict Linux - Kernel 1 12-07-2007 07:45 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration