Use generic driver events for TX status and RX reporting
authorJouni Malinen <j@w1.fi>
Sun, 13 Dec 2009 21:05:39 +0000 (23:05 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 13 Dec 2009 21:05:39 +0000 (23:05 +0200)
commitf8b1f695617c8f00e733064f2f7570ed78719da9
tree692355b9a0cd64fb57724d583787786a10bc487a
parent1b648c7e1ab9712576394242c35939768c4d4d24
Use generic driver events for TX status and RX reporting

Replace driver wrapper calls to hostapd_tx_status(),
hostapd_rx_from_unknown_sta(), hostapd_mgmt_rx(), and
hostapd_mgmt_tx_cb() with new generic driver events
EVENT_TX_STATUS, EVENT_RX_FROM_UNKNOWN, and EVENT_RX_MGMT.

This cleans up lot of the driver wrapper code to be less dependent
on whether it is being used within wpa_supplicant AP mode or hostapd.
hostapd/drv_callbacks.c
hostapd/ieee802_11.c
hostapd/ieee802_11.h
hostapd/ieee802_11_auth.c
src/drivers/driver.h
src/drivers/driver_hostap.c
src/drivers/driver_nl80211.c
src/drivers/driver_test.c
wpa_supplicant/ap.c
wpa_supplicant/ap.h
wpa_supplicant/events.c