monitor 802.11 physical link with hostapd and wpa_supplicant

Xue Liu xue.liu at
Tue Feb 7 03:51:58 PST 2017

Hello everyone,

I am a newbie of hostap project. Recently I am working on a project 
using OpenWRT and WLE900V 802.11ac module. I want to add a function to 
monitor the 802.11 physical link state between AP and client using MAC 
layer info. The solution I found is using inactive time from nl802154. 
Then I made a test with one AP and one client. Both sides have no IP 
addresses. After the connection is setup I found that the inactive time 
continues increase until about 10 min and then restart from 0. The 
problem is that 10 min period is too long for us. And I know that when 
there are rx or tx, the inactive time will be refreshed. So I want to as 
Is there some parameters  or command to control the inactive time 
refresh period in hostapd ? Thanks a lot.


Xue Liu


Embedded Software Entwicklung

DKS Dienstleistungsgesellschaft
für Kommunikationsanlagen des
Stadt- und Regionalverkehrs mbH

Robert-Perthel-Str. 79
D-50739 Köln

Fon: +49 221 954442-43
Fax: +49 221 954442-23
E-Mail: xue.liu at

Geschäftsführung: Christian Döring, Ralf Kochs

Aufsichtsratsvorsitzender: Jörn Schwarze

Sitz der Gesellschaft: Köln

Registergericht: Köln, HRB 4521

UST-IDNr: DE154089761

Wichtiger Hinweis: Diese E-Mail und etwaige Anlagen können Betriebs- oder Geschäftsgeheimnisse, dem Anwaltsgeheimnis unterliegende oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen der Status dieser E-Mail bekannt. Bitte benachrichtigen Sie uns in diesem Fall sofort durch Antwort-Mail und löschen Sie diese E-Mail nebst etwaigen Anlagen von Ihrem System. Ebenso dürfen Sie diese E-Mail oder ihre Anlagen nicht kopieren oder an Dritte weitergeben. Vielen Dank!

Important note: This e-mail and any attachment are confidential and may contain trade secrets and may well also be legally privileged or otherwise protected from disclosure. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this e-mail and any attachment from your system. If you are not the intended recipient please understand that you must not copy this e-mail or any attachment or disclose the contents to any other person. Thank you for your cooperation.

More information about the Hostap mailing list