]> git.openfabrics.org - ~emulex/infiniband.git/commit
wlcore: use psd_type indexing according to spec
authorYoni Divinsky <yoni.divinsky@ti.com>
Tue, 8 May 2012 11:02:11 +0000 (14:02 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 17:24:31 +0000 (20:24 +0300)
commit2e42c203a9a825d04da400bd45b601f94c0cf362
tree8dadec7a7ac044014893f19ae13b30215f1e9c0d
parentbfb92ca1332ce0073cfba5d8a7caee214ed3a787
wlcore: use psd_type indexing according to spec

In ieee80211.h the uapsd bit mask is defined such that
VO=BIT(0), VI=BIT(1), BK=BIT(2), BE=BIT(3).
The firmware uses the indexing as defined in the ieee80211
spec, meaning that VO=3, VI=2, BK=1, BE=0.

In AP mode when adding peer wlcore needs to convert
the indexing accordingly.

Signed-off-by: Yoni Divinsky <yoni.divinsky@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/cmd.c