Sending ps poll maunally with hostapd
Tue Dec 16 01:11:15 PST 2008
I am trying to send ps poll with hostapd.
I had looked in the code and saw that the mac80211_hwsim module
So I mounted with debugfs thus:
mount -t debugfs none_debugs /sys/kernel/debug
and now I see in
(I don't know why I have phy0 and phy1 - I have only one wireless nic;
should it be
always like this).
gives 0 (and also the same on the second entry).
echo "1" > /sys/kernel/debug/ieee80211/phy1/hwsim/ps
and echo "1" > /sys/kernel/debug/ieee80211/phy0/hwsim/ps
but I ** do not** reach the hwsim_send_ps_poll() method.
I know it for sure because I added a printk in hwsim_send_ps_poll()
in mac80211_hwsim.c and built it; but I don't see it.
Any ideas why ? I probably did something wrong / missed something,
More information about the Hostap