]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: make hw roc more reliable
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 24 Nov 2014 13:58:32 +0000 (14:58 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 26 Nov 2014 06:30:00 +0000 (08:30 +0200)
commitdcca0bdb48f94a09ac66f4bc42d1023086fc0d6f
tree1303ef8c64620a67c0a64de631d237e509af6d7e
parent8d6d36243610e42bc005ca7f5a81d8385050677e
ath10k: make hw roc more reliable

With P2P concurrency requested hw roc duration
time can be very small. Some firmware revisions
refuse scan requests with too small channel dwell
time.

This prevents messages like, e.g. with connected
STA vif and performing P2P Find:

 ath10k_pci 0000:00:05.0: failed to switch to channel for roc scan
 ieee80211 phy3: failed to start next HW ROC (-110)

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/wmi.h