]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: add back support for using active monitor interfaces for tx99
authorFelix Fietkau <nbd@nbd.name>
Sat, 22 Sep 2018 16:49:05 +0000 (18:49 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 2 Oct 2018 04:54:26 +0000 (07:54 +0300)
commit961248b1e68c3c72767c849c8d0bc4b4fa146d4b
tree5c0f80837d59ae2ff6be38f2ba49911f6bbcbcf7
parent402e6d3c29ac28300febf85dff1f504a5fe00171
ath9k: add back support for using active monitor interfaces for tx99

Various documented examples on how to set up tx99 with ath9k rely
on setting up a regular monitor interface for setting the channel.
My previous patch "ath9k: fix tx99 with monitor mode interface" made
it possible to set it up this way again. However, it was removing support
for using an active monitor interface, which is required for controlling
the bitrate as well, since the bitrate is not passed down with a regular
monitor interface.

This patch partially reverts the previous one, but keeps support for using
a regular monitor interface to keep documented steps working in cases
where the bitrate does not matter

Fixes: 468ec98c9bfbe ("ath9k: fix tx99 with monitor mode interface")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/tx99.c
drivers/net/wireless/ath/ath9k/xmit.c