]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix AP/IBSS CSA with template based fw
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 5 Mar 2015 14:02:17 +0000 (16:02 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 7 Mar 2015 07:39:16 +0000 (09:39 +0200)
commit09c918c43851ffde650b73d69b6c0d492020687b
tree2978594bd85000263b2ab6f49297ad5461315d6a
parentbbbcf1ce39f552a4e7bb21555fbbbf76b578b35e
ath10k: fix AP/IBSS CSA with template based fw

qca6174 with wmi-tlv firmware uses offloaded
beaconing scheme (i.e. templates). This requires a
little different approach when implementing CSA.

Add missing code to update CS count and report CSA
completion to mac80211. Without it channel switch
was never finished.

To avoid races during interface teardown data_lock
has been used to protect is_up and is_started so
they can be compared against before scheduling
count down work.

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