nl80211: Move capability determination into a separate file
This moves significant amount of code away from large driver_nl80211.c. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
906bc4c7d3
commit
0fafeb5454
5 changed files with 1439 additions and 1414 deletions
File diff suppressed because it is too large
Load diff
|
@ -216,6 +216,10 @@ int nl80211_send_monitor(struct wpa_driver_nl80211_data *drv,
|
||||||
const void *data, size_t len,
|
const void *data, size_t len,
|
||||||
int encrypt, int noack);
|
int encrypt, int noack);
|
||||||
|
|
||||||
|
int wpa_driver_nl80211_capa(struct wpa_driver_nl80211_data *drv);
|
||||||
|
struct hostapd_hw_modes *
|
||||||
|
nl80211_get_hw_feature_data(void *priv, u16 *num_modes, u16 *flags);
|
||||||
|
|
||||||
#ifdef ANDROID
|
#ifdef ANDROID
|
||||||
int android_nl_socket_set_nonblocking(struct nl_handle *handle);
|
int android_nl_socket_set_nonblocking(struct nl_handle *handle);
|
||||||
int android_genl_ctrl_resolve(struct nl_handle *handle, const char *name);
|
int android_genl_ctrl_resolve(struct nl_handle *handle, const char *name);
|
||||||
|
|
1432
src/drivers/driver_nl80211_capa.c
Normal file
1432
src/drivers/driver_nl80211_capa.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -25,6 +25,7 @@ endif
|
||||||
ifdef CONFIG_DRIVER_NL80211
|
ifdef CONFIG_DRIVER_NL80211
|
||||||
DRV_CFLAGS += -DCONFIG_DRIVER_NL80211
|
DRV_CFLAGS += -DCONFIG_DRIVER_NL80211
|
||||||
DRV_OBJS += ../src/drivers/driver_nl80211.o
|
DRV_OBJS += ../src/drivers/driver_nl80211.o
|
||||||
|
DRV_OBJS += ../src/drivers/driver_nl80211_capa.o
|
||||||
DRV_OBJS += ../src/drivers/driver_nl80211_monitor.o
|
DRV_OBJS += ../src/drivers/driver_nl80211_monitor.o
|
||||||
DRV_OBJS += ../src/utils/radiotap.o
|
DRV_OBJS += ../src/utils/radiotap.o
|
||||||
NEED_SME=y
|
NEED_SME=y
|
||||||
|
|
|
@ -21,6 +21,7 @@ ifdef CONFIG_DRIVER_NL80211
|
||||||
DRV_CFLAGS += -DCONFIG_DRIVER_NL80211
|
DRV_CFLAGS += -DCONFIG_DRIVER_NL80211
|
||||||
DRV_OBJS += src/drivers/driver_nl80211.c
|
DRV_OBJS += src/drivers/driver_nl80211.c
|
||||||
DRV_OBJS += src/drivers/driver_nl80211_android.c
|
DRV_OBJS += src/drivers/driver_nl80211_android.c
|
||||||
|
DRV_OBJS += src/drivers/driver_nl80211_capa.c
|
||||||
DRV_OBJS += src/drivers/driver_nl80211_monitor.c
|
DRV_OBJS += src/drivers/driver_nl80211_monitor.c
|
||||||
DRV_OBJS += src/utils/radiotap.c
|
DRV_OBJS += src/utils/radiotap.c
|
||||||
NEED_SME=y
|
NEED_SME=y
|
||||||
|
|
Loading…
Reference in a new issue