|
@@ -7360,6 +7360,8 @@ static int i802_flush(void *priv)
|
|
|
return -ENOBUFS;
|
|
|
}
|
|
|
|
|
|
+#endif /* HOSTAPD || CONFIG_AP */
|
|
|
+
|
|
|
|
|
|
static int get_sta_handler(struct nl_msg *msg, void *arg)
|
|
|
{
|
|
@@ -7440,6 +7442,8 @@ static int i802_read_sta_data(void *priv, struct hostap_sta_driver_data *data,
|
|
|
}
|
|
|
|
|
|
|
|
|
+#if defined(HOSTAPD) || defined(CONFIG_AP)
|
|
|
+
|
|
|
static int i802_set_tx_queue_params(void *priv, int queue, int aifs,
|
|
|
int cw_min, int cw_max, int burst_time)
|
|
|
{
|
|
@@ -9160,7 +9164,6 @@ const struct wpa_driver_ops wpa_driver_nl80211_ops = {
|
|
|
#if defined(HOSTAPD) || defined(CONFIG_AP)
|
|
|
.get_seqnum = i802_get_seqnum,
|
|
|
.flush = i802_flush,
|
|
|
- .read_sta_data = i802_read_sta_data,
|
|
|
.get_inact_sec = i802_get_inact_sec,
|
|
|
.sta_clear_stats = i802_sta_clear_stats,
|
|
|
.set_rts = i802_set_rts,
|
|
@@ -9170,6 +9173,7 @@ const struct wpa_driver_ops wpa_driver_nl80211_ops = {
|
|
|
.sta_deauth = i802_sta_deauth,
|
|
|
.sta_disassoc = i802_sta_disassoc,
|
|
|
#endif /* HOSTAPD || CONFIG_AP */
|
|
|
+ .read_sta_data = i802_read_sta_data,
|
|
|
.set_freq = i802_set_freq,
|
|
|
.send_action = wpa_driver_nl80211_send_action,
|
|
|
.send_action_cancel_wait = wpa_driver_nl80211_send_action_cancel_wait,
|