Re: [BUG] Can't change default country code from US to DE with Compex WLE900VX (Debian 10 Buster amd64)

2019-04-10 Thread Rene 'Renne' Bartsch, B.Sc. Informatics
We solved the problem for now by running OpenWRT 18.06 in a virtual machine. As we had to look for two weeks to find the reason I suggest to add a human-readable (error) message to dmesg/syslog like "ath10k: Country code read from ACPI table: XX" and "ath10k: Reading country code from ACPI fai

Re: [BUG] Can't change default country code from US to DE with Compex WLE900VX (Debian 10 Buster amd64)

2019-04-08 Thread Sebastian Gottschall
just return a error code in that function so that the eeprom default is used instead of acpi like -EOPNOTSUPP static int ath10k_mac_get_wrdd_regulatory(struct ath10k *ar, u16 *rd) {     return -EOPNOTSUPP; } Am 08.04.2019 um 10:24 schrieb Rene 'Renne' Bartsch, B.Sc. Informatics: Which valu

Re: [BUG] Can't change default country code from US to DE with Compex WLE900VX (Debian 10 Buster amd64)

2019-04-08 Thread Rene 'Renne' Bartsch, B.Sc. Informatics
Which value for "*rd" in "ath10k_mac_get_wrdd_regulatory" would allow to set the country code with CRDA or "iw get set XX"? Am 08.04.19 um 09:52 schrieb Sebastian Gottschall: that doesnt matter. the bios locked country code isnt a new feature. i dont know in which century it was introduced. j

Re: [BUG] Can't change default country code from US to DE with Compex WLE900VX (Debian 10 Buster amd64)

2019-04-08 Thread Sebastian Gottschall
that doesnt matter. the bios locked country code isnt a new feature. i dont know in which century it was introduced. just patch the function i told you in ath10k. Am 07.04.2019 um 18:11 schrieb Rene 'Renne' Bartsch, B.Sc. Informatics: On an notebook and a PC (both 10-year-old and without UEFI)

Re: [BUG] Can't change default country code from US to DE with Compex WLE900VX (Debian 10 Buster amd64)

2019-04-07 Thread Ben Greear
On 04/06/2019 11:19 PM, Rene 'Renne' Bartsch, B.Sc. Informatics wrote: Hi, I posted this to the linux-wireless mailing-list 4 days ago and did not receive an answer. The ath10k module sets the country code to "US" at initialization. After that the country code can't be changed anymore (e.g. t

Re: [BUG] Can't change default country code from US to DE with Compex WLE900VX (Debian 10 Buster amd64)

2019-04-07 Thread Rene 'Renne' Bartsch, B.Sc. Informatics
On an notebook and a PC (both 10-year-old and without UEFI) "sudo iw reg set DE" doesn't work either (current Debian 10 Live-DVD non-free). Am 07.04.19 um 15:26 schrieb Rene 'Renne' Bartsch, B.Sc. Informatics: Mainboard: Fujitsu D-3643-H1x (https://www.fujitsu.com/global/products/computing/pe

Re: [BUG] Can't change default country code from US to DE with Compex WLE900VX (Debian 10 Buster amd64)

2019-04-07 Thread Rene 'Renne' Bartsch, B.Sc. Informatics
Mainboard: Fujitsu D-3643-H1x (https://www.fujitsu.com/global/products/computing/peripheral/mainboards/extended-lifecycle-main/d3643h.html) UEFI: 2.7; PI 1.6 System Language: English (Chinese is the only other option) Keyboard Layout: German No other country/location options TPM: disabled Secure

Re: [BUG] Can't change default country code from US to DE with Compex WLE900VX (Debian 10 Buster amd64)

2019-04-07 Thread Sebastian Gottschall
then its time to check your system settings and to fix your os specific quirks you may have like bios/uefi specific country settings.  so whatever your problem is, it seems to be OS/System specific. ath10k does handle bios specific country settings. see function "ath10k_mac_get_wrdd_regulatory

Re: [BUG] Can't change default country code from US to DE with Compex WLE900VX (Debian 10 Buster amd64)

2019-04-07 Thread Rene 'Renne' Bartsch, B.Sc. Informatics
renne@cloud:~$ sudo iw list Wiphy phy0 max # scan SSIDs: 16 max scan IEs length: 195 bytes max # sched scan SSIDs: 0 max # match sets: 0 max # scan plans: 1 max scan plan interval: -1 max scan plan iterations: 0 Retry short limit: 7

Re: [BUG] Can't change default country code from US to DE with Compex WLE900VX (Debian 10 Buster amd64)

2019-04-07 Thread Rene 'Renne' Bartsch, B.Sc. Informatics
Ask specifics and you shall receive ;-) With WLE900VX: renne@cloud:~$ sudo iw reg get && sudo modprobe ath10k_pci && sudo iw reg set DE && sudo iw reg get [sudo] password for renne: global country 98: DFS-UNSET (2402 - 2472 @ 40), (N/A, 20), (N/A) (5170 - 5250 @ 80), (N/A, 20), (N/A), NO-O

Re: [BUG] Can't change default country code from US to DE with Compex WLE900VX (Debian 10 Buster amd64)

2019-04-07 Thread Sebastian Gottschall
your documentation is very unspecific. its unclear if you even tried to change the country code using "iw reg set" like ony any other qca/atheros card you can simply change the country code using iw reg set Am 07.04.2019 um 08:19 schrieb Rene 'Renne' Bartsch, B.Sc. Informatics: Hi, I posted

[BUG] Can't change default country code from US to DE with Compex WLE900VX (Debian 10 Buster amd64)

2019-04-06 Thread Rene 'Renne' Bartsch, B.Sc. Informatics
Hi, I posted this to the linux-wireless mailing-list 4 days ago and did not receive an answer. The ath10k module sets the country code to "US" at initialization. After that the country code can't be changed anymore (e.g. to "DE"). Compex support suggests setting "reg->country_code = CTRY_UNIT