]> git.baikalelectronics.ru Git - kernel.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)
commit60cc654920ae51981e7757d75fb46c1b39e8efe8
tree8dadec7a7ac044014893f19ae13b30215f1e9c0d
parenteca9f0cabebaa1b769026b36ae30e572e6fdbd65
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