ath10k: add new wmi interface of NF cal period
authorPeter Oh <poh@qca.qualcomm.com>
Tue, 2 Dec 2014 11:07:14 +0000 (13:07 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 8 Dec 2014 15:42:21 +0000 (17:42 +0200)
commita7bd3e9901634b1185eb91c3f986d64cb3506e19
tree0648597d56d20386daabbbcd80ada7b75ad76400
parentb43bf97ef786aed3daae4c63a6abb50ea913802e
ath10k: add new wmi interface of NF cal period

Introduce a new wmi interface controls noise floor (NF) calibration
period via debugfs as firmware has introduced it on v10.2.

It allows users to modify frequency of NF calibration in millisecond
and changes RSSI reporting frequency consequently.
Short calibration period will trigger more frequent NF calibration,
so that RSSI reported in receive frames is more realistic.

Till now calibration was done at 30 seconds.

Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/debug.c
drivers/net/wireless/ath/ath10k/wmi-tlv.c
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h