#781: [patch] care about update flag in iwspy data
-----------------------------------------------+----------------------------
 Reporter:  Christian Buennig <[EMAIL PROTECTED]>  |            Owner:       
     Type:  enhancement                        |           Status:  new  
 Priority:  trivial                            |        Milestone:       
Component:  madwifi: driver                    |          Version:  trunk
 Keywords:  iwspy updated                      |   Patch_attached:  1    
-----------------------------------------------+----------------------------
 The data returned by an iwspy-get-ioctl (`struct iw_quality`) contains the
 field `updated` which informs if the quality data has been updated since
 the last iwspy-get-ioctl. This field is currently allways set to true,
 even if the quality information has not been updated since last ioctl.

 The attached patch sets the field `updated` appropriately.

 It works as follows:

 The quality data returned by an iwspy-get-ioctl is based on the RSSI value
 of the last recevied frame of a node (last-frame-rssi). When reading the
 RSSI value, now additionally the last-frame-timestamp of that node is
 stored. So if there is again an iwspy-get-ioctl, we can check if a certain
 node has an updated RSSI value by comparing the stored and current last-
 frame-timestamp of a node.

-- 
Ticket URL: <http://madwifi.org/ticket/781>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to