#699: [patch] add enhanced iwspy support (thresholds)
-----------------------------------------------+----------------------------
Reporter: Christian Buennig <[EMAIL PROTECTED]> | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: madwifi: driver | Version: trunk
Keywords: iwspy wireless extensions | Patch_attached: 1
-----------------------------------------------+----------------------------
With enhanced iwspy support it is possible to define signal strength
thresholds. If the signal strength of a currently spyed node exceeds the
defined thresholds, the driver raises an iwspy event.
Current iwspy implementation (see also #93) does not support
'''enhanced''' iwspy support:
{{{
# iwspy ath0 getthr
Interface doesn't support thresholds...
SIOCGIWTHRSPY: Operation not supported
}}}
The attached patch adds enhanced iwspy support.
''Some notes to the patch:''
* The patch adds adds iwspy event capability for __station__ and __ad-
hoc__ mode.
* The check for and raise of an iwspy event (in
net80211/ieee80211_input.c) is implemented as a macro. I choosed that for
performance reasons. But maybe a function is ok too. At least the code
would be better to read.
--
Ticket URL: <http://madwifi.org/ticket/699>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets