|
@@ -1167,14 +1167,7 @@ int wl1271_cmd_add_sta(struct wl1271 *wl, struct ieee80211_sta *sta, u8 hlid)
|
|
|
cmd->bss_index = WL1271_AP_BSS_INDEX;
|
|
|
cmd->aid = sta->aid;
|
|
|
cmd->hlid = hlid;
|
|
|
-
|
|
|
- /*
|
|
|
- * FIXME: Does STA support QOS? We need to propagate this info from
|
|
|
- * hostapd. Currently not that important since this is only used for
|
|
|
- * sending the correct flavor of null-data packet in response to a
|
|
|
- * trigger.
|
|
|
- */
|
|
|
- cmd->wmm = 0;
|
|
|
+ cmd->wmm = sta->wme ? 1 : 0;
|
|
|
|
|
|
cmd->supported_rates = cpu_to_le32(wl1271_tx_enabled_rates_get(wl,
|
|
|
sta->supp_rates[wl->band]));
|