ath10k: add support to configure channel dwell time
authorPradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Wed, 23 May 2018 08:09:09 +0000 (11:09 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 25 May 2018 09:48:48 +0000 (12:48 +0300)
commitbe8cce96f14dc925ecfb702be0392a52cf78adb5
tree7e6f863dd40e838c06adc73296e6660a5215b2b9
parent46dbf98c69f476a0928393310617f15a9c6469b5
ath10k: add support to configure channel dwell time

Configure channel dwell time from duration of the scan request
received from mac80211 when the duration is non-zero. When the
scan request does not have duration value, use the default ones,
the current implementation.

Corresponding flag NL80211_EXT_FEATURE_SET_SCAN_DWELL is
advertized.

Supported Chipsets:
 -QCA988X/QCA9887 PCI
 -QCA99X0/QCA9984/QCA9888/QCA4019 PCI
 -QCA6174/QCA9377 PCI/USB/SDIO
 -WCN3990 SNOC

Tested on QCA9984 with firmware ver 10.4-3.6-0010

Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/mac.c