]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: simplify tx helpers
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 21 Jul 2014 18:03:09 +0000 (21:03 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 22 Jul 2014 15:53:52 +0000 (18:53 +0300)
commitcef2d252df63b9fa3b752d71c703969c923b3b0e
treed1e55edf2c17f713346e688991c1344af98ca286
parentfdb54f5a374d1269ba0750f53c657b78954a7823
ath10k: simplify tx helpers

It always bugged me how tid is computed and stored
in a temporary var before written to the control
buffer. It was confusing and it made it difficult
to work with tx helpers.

While at it rename the qos workaround function as
it was misleading - it's not a workaround but
preparation for nwifi tx mode.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/mac.h
drivers/net/wireless/ath/ath10k/wmi.c