Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

230
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda