diff options
Diffstat (limited to 'qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c')
-rw-r--r-- | qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c b/qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c index 48538ff..949ba91 100644 --- a/qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c +++ b/qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c @@ -95,7 +95,11 @@ static int wpa_driver_cmd_set_ani_level(struct i802_bss *bss, int mode, int ofdm } } nla_nest_end(msg, params); +#ifndef CONFIG_ANDROID_S ret = send_and_recv_msgs(drv, msg, NULL, NULL); +#else + ret = send_and_recv_msgs(drv, msg, NULL, NULL, NULL, NULL); +#endif if (!ret) return 0; wpa_printf(MSG_ERROR, "%s: Failed set_ani_level, ofdmlvl=%d, ret=%d", @@ -152,7 +156,11 @@ static int wpa_driver_cmd_set_congestion_report(struct i802_bss *bss, char *cmd) } } nla_nest_end(msg, params); +#ifndef CONFIG_ANDROID_S ret = send_and_recv_msgs(drv, msg, NULL, NULL); +#else + ret = send_and_recv_msgs(drv, msg, NULL, NULL, NULL, NULL); +#endif wpa_printf(MSG_INFO, "%s: set congestion report: enable=%d, threshold=%d," "interval=%d", __FUNCTION__, enable, threshold, interval); if (!ret) @@ -190,7 +198,11 @@ static int wpa_driver_cmd_set_tx_power(struct i802_bss *bss, char *cmd) return -ENOBUFS; } +#ifndef CONFIG_ANDROID_S ret = send_and_recv_msgs(drv, msg, NULL, NULL); +#else + ret = send_and_recv_msgs(drv, msg, NULL, NULL, NULL, NULL); +#endif if (!ret) return 0; @@ -1986,7 +1998,11 @@ static int wpa_driver_cmd_get_thermal_info(struct i802_bss *bss, int *result, in } nla_nest_end(msg, params); +#ifndef CONFIG_ANDROID_S ret = send_and_recv_msgs(drv, msg, thermal_info_handler, result); +#else + ret = send_and_recv_msgs(drv, msg, thermal_info_handler, result, NULL, NULL); +#endif if (!ret) return 0; wpa_printf(MSG_ERROR, "%s: Failed get thermal info, ret=%d(%s)", |