wlcore: pass wmm configuration to the fw
authorEliad Peller <eliad@wizery.com>
Thu, 22 Nov 2012 16:06:20 +0000 (18:06 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 27 Nov 2012 08:49:29 +0000 (10:49 +0200)
commitd50529c0d8b7f03012f140349161c29b0f7bd24c
treecde7e51617bd8b07bb7a79fecd103b4a4c9688f1
parentc50a282515dc7092f7318708a0f3ae7ca7342b9f
wlcore: pass wmm configuration to the fw

New fields were added to start_role(ap) and
set_peer_state commands, so the fw will be
able to know whether the sta/ap supports
wmm (the fw uses it in order to choose the
AC for some of its internally-generated frames)

For sta, take this value right from bss_conf->qos.

For ap, check for wmm support by looking for the
WMM IE in the configured beacon.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/cmd.c
drivers/net/wireless/ti/wlcore/cmd.h
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/wlcore_i.h