Android: Pass the vendor events to $(BOARD_WPA_SUPPLICANT_PRIVATE_LIB)
Android has a mechanism to extend the driver interface in vendor specific ways. This implementation of the vendor interface is done in $(BOARD_WPA_SUPPLICANT_PRIVATE_LIB). Extend this to allow the vendor events to be provided to this library to facilitate the event processing. Introduce a new board configuration via $(BOARD_WPA_SUPPLICANT_PRIVATE_LIB_EVENT) rather than reusing $(BOARD_WPA_SUPPLICANT_PRIVATE_LIB) to enable this event handling in the private library. This is to avoid compilation issues for wpa_driver_nl80211_driver_event() with the already existing private library implementations defined with $(BOARD_WPA_SUPPLICANT_PRIVATE_LIB). Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
7b121af26a
commit
b6947f01a1
3 changed files with 14 additions and 0 deletions
|
@ -2415,6 +2415,12 @@ static void nl80211_vendor_event(struct wpa_driver_nl80211_data *drv,
|
|||
return;
|
||||
}
|
||||
|
||||
#ifdef ANDROID
|
||||
#ifdef ANDROID_LIB_EVENT
|
||||
wpa_driver_nl80211_driver_event(drv, vendor_id, subcmd, data, len);
|
||||
#endif /* ANDROID_LIB_EVENT */
|
||||
#endif /* ANDROID */
|
||||
|
||||
switch (vendor_id) {
|
||||
case OUI_QCA:
|
||||
nl80211_vendor_event_qca(drv, subcmd, data, len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue