]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: use basic rates for non-data packets
authorEliad Peller <eliad@wizery.com>
Wed, 11 Jul 2012 15:01:49 +0000 (18:01 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 18 Jul 2012 12:08:21 +0000 (15:08 +0300)
commit3fb33647436add318ae3aeb243caef420a17612a
tree1edcf810a868a6aeb713369e07bb94c8b7685c1a
parent4c225f84b761e95ba9efb4484f3a8d9ade318ad6
wlcore: use basic rates for non-data packets

After the latest mac80211 changes, the sta has
the ap's sta pointer even before association.

This cause the auth and assoc frames to be sent
with the standard ap's rates, rather than the
basic rates.

Change the tx rate policy logic to use the regular
ap rates only for data packets (so control and mgmt
packets will be sent with basic rates)

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