]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ath: Add regulatory mapping for Serbia
authorSven Eckelmann <sven.eckelmann@openmesh.com>
Wed, 23 May 2018 08:10:43 +0000 (11:10 +0300)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 1 Mar 2019 13:20:38 +0000 (14:20 +0100)
commit7c51e8143e13b76e5d30dd9f02effa286a446340
treed86718815205f3fa2d144884c5dcb31ab3238b51
parent0ad40e585910071e5470052d5133bd0c1b6e0db7
ath: Add regulatory mapping for Serbia

BugLink: http://bugs.launchpad.net/bugs/1815234
[ Upstream commit 2a3169a54bb53717928392a04fb84deb765b51f1 ]

The country code is used by the ath to detect the ISO 3166-1 alpha-2 name
and to select the correct conformance test limits (CTL) for a country. If
the country isn't available and it is still programmed in the EEPROM then
it will cause an error and stop the initialization with:

  Invalid EEPROM contents

The current CTL mappings for this country are:

* 2.4GHz: ETSI
* 5GHz: ETSI

Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/wireless/ath/regd.h
drivers/net/wireless/ath/regd_common.h