Ticket #1019 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Send iwevent with node stats upon disassociation

Reported by: matt@mattb.net.nz Assigned to:
Priority: major Milestone: version 0.9.3
Component: madwifi: 802.11 stack Version: trunk
Keywords: Cc:
Patch is attached: 1 Pending:

Description

The attached patch causes madwifi to send out a custom iwevent when a node disassociates from an access point. This event contains the latest statistics (traffic counters) for the node at the time it leaves the AP.

If this event is not sent daemons like hostapd loose the ability to create accounting records for any traffic that occured since they last polled the driver. In a default configuration this may be up to five minutes of traffic.

The format of iwevent is not standardised anywhere that I know of, so I have simply formatted it according to what hostapd is expecting to receive.

Signed-off-by: Matt Brown <matt@mattb.net.nz>

Attachments

node-stats-notify.diff (1.8 kB) - added by matt@mattb.net.nz on 11/19/06 23:15:54.
Add an event to send client info to hostapd

Change History

11/19/06 23:15:54 changed by matt@mattb.net.nz

  • attachment node-stats-notify.diff added.

Add an event to send client info to hostapd

11/20/06 07:43:38 changed by mrenzmann

  • version set to trunk.
  • milestone set to version 0.9.3.

The only thing that needs to be adjusted when committing the patch is the leading tab in front of "void" right at the beginning of chunk #2 :)

11/22/06 09:35:03 changed by kelmo

  • status changed from new to closed.
  • resolution set to fixed.

Applied to r1817


Add/Change #1019 (Send iwevent with node stats upon disassociation)