Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

wl12xx: AP-mode - use mac80211 indication about STA WME support

When adding a station, use the information given in the mac80211
populated ieee80211_sta structure to determine if it supports WME.
Provide this information to the FW.

This patch depends on "mac80211: propagate information about
STA WME support down".

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Arik Nemtsov and committed by
John W. Linville
b4d38db1 39df600a

+1 -8
+1 -8
drivers/net/wireless/wl12xx/cmd.c
··· 1167 1167 cmd->bss_index = WL1271_AP_BSS_INDEX; 1168 1168 cmd->aid = sta->aid; 1169 1169 cmd->hlid = hlid; 1170 - 1171 - /* 1172 - * FIXME: Does STA support QOS? We need to propagate this info from 1173 - * hostapd. Currently not that important since this is only used for 1174 - * sending the correct flavor of null-data packet in response to a 1175 - * trigger. 1176 - */ 1177 - cmd->wmm = 0; 1170 + cmd->wmm = sta->wme ? 1 : 0; 1178 1171 1179 1172 cmd->supported_rates = cpu_to_le32(wl1271_tx_enabled_rates_get(wl, 1180 1173 sta->supp_rates[wl->band]));