]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ath10k: add platform regulatory domain support
authorBartosz Markowski <bartosz.markowski@tieto.com>
Wed, 28 Sep 2016 12:11:58 +0000 (15:11 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 4 Oct 2016 15:01:53 +0000 (18:01 +0300)
commit209b2a68de76c888002a4d054ef27b78ae9d2de2
treee369bdf1d3766076e81b457544df8e2984281a84
parentd291d8e0592ad5effaaa1af7de95dc9bfecc4f9e
ath10k: add platform regulatory domain support

This overrides whatever regulatory the device
EEPROM contains and uses what the platform says
instead - in this implementation the ACPI driver.

In case the hint is not programmed or corrupted (0xffff)
the device falls back to the eeprom programmed settings.

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
[kvalo@qca.qualcomm.com: remove ifdef, change error handling, change info messages to dbg]
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.c