aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ap_drv_ops.c
diff options
context:
space:
mode:
authorJason Young <jason.young@dspg.com>2011-12-17 10:38:06 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-17 10:38:06 (GMT)
commit5d06163714df56d3f4ffc9e9a8db025c4e07bbb4 (patch)
treef7cdc7ce348511982aa85c2cff50a19e7942736f /src/ap/ap_drv_ops.c
parent9e088e743dbfb8c293b452773519a790a9498d92 (diff)
downloadhostap-5d06163714df56d3f4ffc9e9a8db025c4e07bbb4.zip
hostap-5d06163714df56d3f4ffc9e9a8db025c4e07bbb4.tar.gz
hostap-5d06163714df56d3f4ffc9e9a8db025c4e07bbb4.tar.bz2
AP: Pass station's WMM configuration to driver wrappers
This updates a previous patch did more or less the same thing by providing the qosinfo as a single variable to the driver wrappers. Signed-hostap: Jason Young <jason.young@dspg.com>
Diffstat (limited to 'src/ap/ap_drv_ops.c')
-rw-r--r--src/ap/ap_drv_ops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c
index 9bc01db..429c187 100644
--- a/src/ap/ap_drv_ops.c
+++ b/src/ap/ap_drv_ops.c
@@ -318,7 +318,7 @@ int hostapd_sta_add(struct hostapd_data *hapd,
const u8 *supp_rates, size_t supp_rates_len,
u16 listen_interval,
const struct ieee80211_ht_capabilities *ht_capab,
- u32 flags, u8 uapsd_queues, u8 max_sp)
+ u32 flags, u8 qosinfo)
{
struct hostapd_sta_add_params params;
@@ -336,8 +336,7 @@ int hostapd_sta_add(struct hostapd_data *hapd,
params.listen_interval = listen_interval;
params.ht_capabilities = ht_capab;
params.flags = hostapd_sta_flags_to_drv(flags);
- params.uapsd_queues = uapsd_queues;
- params.max_sp = max_sp;
+ params.qosinfo = qosinfo;
return hapd->driver->sta_add(hapd->drv_priv, &params);
}