hostapd: Start removing struct hostapd_driver_ops abstraction
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 24 Nov 2010 13:19:50 +0000 (15:19 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 24 Nov 2010 13:19:50 +0000 (15:19 +0200)
commitcee7d66b1d2f353ebb42ae6eabbcd1d34626c630
treecaa422c3b5e33f7609f11ec1efad73f1a55d89c0
parent719007f5c03e61c90aa87587df1f14ed663dd2d9
hostapd: Start removing struct hostapd_driver_ops abstraction

Commit bf65bc638fe438b96f2986580ad167d5e276ef4c started the path to
add this new abstraction for driver operations in AP mode to allow
wpa_supplicant to control AP mode operations. At that point, the
extra abstraction was needed, but it is not needed anymore since
hostapd and wpa_supplicant share the same struct wpa_driver_ops.

Start removing the unneeded abstraction by converting
send_mgmt_frame() to an inline function, hostapd_drv_send_mlme().
This is similar to the design that is used in wpa_supplicant and
that was used in hostapd in the past (hostapd_send_mgmt_frame()
inline function).
src/ap/ap_drv_ops.c
src/ap/ap_drv_ops.h
src/ap/beacon.c
src/ap/hostapd.h
src/ap/ieee802_11.c
src/ap/sta_info.c
src/ap/wmm.c
src/ap/wpa_auth_glue.c