Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

227
Views
SO_WIFI_STATUS socket option in Linux

Could someone shed some light on the SO_WIFI_STATUS socket option - I encountered it in the hostapd nl80211 driver code. I could find it's declaration in the /usr/include/asm-generic/socket.h file but could not find any relevant documentation anywhere.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

The explanation and patch: [RFC] net: add wireless TX status socket option

http://www.spinics.net/lists/netdev/msg176403.html

A sample application:

http://www.spinics.net/lists/netdev/msg176415.html

The references:

http://lxr.free-electrons.com/ident?i=SO_WIFI_STATUS

If you could not find it in your /usr/include/asm-generic/socket.h, it's because your kernel is too old. In mine:

jbm@sumo:~$ grep -n SO_WIFI_STATUS /usr/include/asm-generic/socket.h
68:#define SO_WIFI_STATUS       41
69:#define SCM_WIFI_STATUS  SO_WIFI_STATUS
jbm@sumo:~$ uname -a
Linux sumo 4.3.0-1-amd64 #1 SMP Debian 4.3.3-7 (2016-01-19) x86_64 GNU/Linux
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!