Angel Pons | 0612b27 | 2020-04-05 15:46:56 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Felix Durairaj | 15184e0 | 2015-11-23 14:07:40 -0800 | [diff] [blame] | 2 | |
| 3 | Device (WIFI) |
| 4 | { |
Felix Singer | 9df60d3 | 2022-12-26 09:43:07 +0100 | [diff] [blame^] | 5 | Name (_ADR, 0) |
Felix Durairaj | 15184e0 | 2015-11-23 14:07:40 -0800 | [diff] [blame] | 6 | OperationRegion(WIXX, PCI_Config, 0x00, 0x10) |
| 7 | Name (WRDX, Package() |
| 8 | { |
| 9 | // Revision |
| 10 | 0, |
| 11 | Package() |
| 12 | { |
| 13 | // DomainType, 0x7:WiFi |
| 14 | 0x00000007, |
| 15 | // Default Regulatory Domain Country identifier |
| 16 | 0x4150, |
| 17 | } |
| 18 | }) |
| 19 | Method(WRDD,0,Serialized) |
| 20 | { |
Alexey Buyanov | 0324803 | 2020-06-01 21:41:14 -0700 | [diff] [blame] | 21 | DeRefOf (WRDX[1])[1] = \CID1 // Country identifier |
Felix Durairaj | 15184e0 | 2015-11-23 14:07:40 -0800 | [diff] [blame] | 22 | |
| 23 | Return(WRDX) |
| 24 | } |
| 25 | |
| 26 | } |