[Solved] Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mitsos1os

[Solved] Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Post by mitsos1os »

So, I have a Dell XPS 13 9360. It has the Killer 1535 wireless network card (QCA6174 atheros chipset).

Trying a fresh install of Linux Mint 19.1, everything seems to work normally except the WiFi.

The thing is, as showed in

Code: Select all

iw list
that channels 13, 14 are disabled on the interface. After searching around, I found that many people had the same issue with this specific wireless card, but I couldn't find any workaround that properly enabled the channels, except one that instructed recompiling the kernel driver (Qualcomm Atheros Device can't find channel 13 WiFi (Ubuntu 16.04.2)) https://askubuntu.com/questions/894283/ ... tu-16-04-2

Please note that I have tried updating to the latest kernel 4.20.3, latest linux-firmware version 1.176 and also directly replacing the firmware bin files from the repo https://github.com/kvalo/ath10k-firmwar ... QCARMSWP-1 file but none of these work...

What is shown from

Code: Select all

dmesg |grep ath
regarding the country code is:

Code: Select all

[    6.057362] ath: EEPROM regdomain: 0x69
[    6.057363] ath: EEPROM indicates we should expect a direct regpair map
[    6.057364] ath: Country alpha2 being used: 00
[    6.057365] ath: Regpair used: 0x69
However trying to change the country code to GR or DE which have the channel 13 enabled, by issuing

Code: Select all

iw reg set <COUNTRYCODE>
and also setting this in /etc/defaults/crda in the REGDOMAIN option seems to have no result.

Code: Select all

iw reg get
returns the proper country code but the dmesg output about what is used, is always the same as quoted as above.

So my final question is, if there is a way to enable channels 13, 14 by either setting a configuration, country code (even in the eeprom, I couldn't find how), without having to recompile the kernel driver as in the mentioned post, since this procedure must be repeated at every kernel update

Any help / comment appreciated!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Post by JeremyB »

See the wireless script link in my signature and post results
mitsos1os

Re: Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Post by mitsos1os »

@JeremyB
Thanks for taking the time to check this.

Here is the url of the script result: https://termbin.com/d5lp

and the actual content:

Code: Select all

########## wireless info START ##########

Report from: 24 Jan 2019 20:04 EET +0200

Booted last: 24 Jan 2019 00:00 EET +0200

Script from: 22 Oct 2018 03:34 UTC +0000

##### release ###########################

Distributor ID:	LinuxMint
Description:	Linux Mint 19.1 Tessa
Release:	19.1
Codename:	tessa

##### kernel ############################

Linux 4.20.3-042003-generic #201901171122 SMP Thu Jan 17 16:25:26 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=1

##### desktop ###########################

Cinnamon

##### lspci #############################

3a:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
	Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter [1a56:1535]
	Kernel driver in use: ath10k_pci

##### lsusb #############################

Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. 
Bus 004 Device 002: ID 05e3:0617 Genesys Logic, Inc. 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0835:2a01 Action Star Enterprise Co., Ltd 
Bus 003 Device 005: ID 12d1:108a Huawei Technologies Co., Ltd. 
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0c45:670c Microdia 
Bus 001 Device 003: ID 0cf3:e301 Atheros Communications, Inc. 
Bus 001 Device 002: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

##### secure boot #######################

SecureBoot disabled

##### lsmod #############################

dell_laptop            20480  0
ath10k_pci             40960  0
dell_wmi               20480  0
dell_smbios            28672  2 dell_wmi,dell_laptop
ath10k_core           438272  1 ath10k_pci
dell_wmi_descriptor    20480  2 dell_wmi,dell_smbios
wmi_bmof               16384  0
ath                    36864  1 ath10k_core
intel_wmi_thunderbolt    20480  0
mac80211              811008  1 ath10k_core
cfg80211              655360  3 ath,mac80211,ath10k_core
sparse_keymap          16384  3 intel_hid,dell_wmi,intel_vbtn
wmi                    28672  5 intel_wmi_thunderbolt,dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
video                  49152  3 dell_wmi,dell_laptop,i915

##### interfaces ########################

[/etc/network/interfaces]
auto lo
iface lo inet loopback

##### ifconfig ##########################

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback <MAC address> brd <MAC address>
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enx<IF from MAC [IF1]>: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether <MAC 'enx<IF from MAC [IF1]>' [IF1]> brd <MAC address>
3: wlp58s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether <MAC 'wlp58s0' [IF2]> brd <MAC address>
4: enp57s0u1u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether <MAC 'enp57s0u1u1' [IF3]> brd <MAC address>
    inet 192.168.42.227/24 brd 192.168.42.255 scope global dynamic noprefixroute enp57s0u1u1
       valid_lft 3504sec preferred_lft 3504sec
    inet6 fe80::f41a:87cf:3c5e:2d06/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

##### iwconfig ##########################

lo        no wireless extensions.

enp57s0u1u1  no wireless extensions.

enx<IF from MAC [IF1]>  no wireless extensions.

wlp58s0   IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          

##### route #############################

default via 192.168.42.129 dev enp57s0u1u1 proto dhcp metric 20100 
169.254.0.0/16 dev enp57s0u1u1 scope link metric 1000 
192.168.42.0/24 dev enp57s0u1u1 proto kernel scope link src 192.168.42.227 metric 100 

##### resolv.conf #######################

[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']

nameserver 127.0.0.53

##### network managers ##################

Installed:

	NetworkManager

Running:

root       797     1  0 20:01 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE:                         enp57s0u1u1
GENERAL.TYPE:                           ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                         HUAWEI
GENERAL.PRODUCT:                        FRD-L09
GENERAL.DRIVER:                         rndis_host
GENERAL.DRIVER-VERSION:                 22-Aug-2005
GENERAL.FIRMWARE-VERSION:               RNDIS device
GENERAL.HWADDR:                         <MAC 'enp57s0u1u1' [IF3]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/0000:02:02.0/0000:39:00.0/usb3/3-1/3-1.1/3-1.1:1.0/net/enp57s0u1u1
GENERAL.IP-IFACE:                       enp57s0u1u1
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     Wired connection 2
GENERAL.CON-UUID:                       b7affccc-91e1-31b5-a4cd-bd4e52285ef1
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED:                        yes (guessed)
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                     unknown
CAPABILITIES.IS-SOFTWARE:               no
CAPABILITIES.SRIOV:                     no
WIRED-PROPERTIES.CARRIER:               on
IP4.ADDRESS[1]:                         192.168.42.227/24
IP4.GATEWAY:                            192.168.42.129
IP4.ROUTE[1]:                           dst = 0.0.0.0/0, nh = 192.168.42.129, mt = 20100
IP4.ROUTE[2]:                           dst = 192.168.42.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[3]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             192.168.42.129
DHCP4.OPTION[1]:                        requested_subnet_mask = 1
DHCP4.OPTION[2]:                        requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[3]:                        subnet_mask = 255.255.255.0
DHCP4.OPTION[4]:                        domain_name_servers = 192.168.42.129
DHCP4.OPTION[5]:                        ip_address = 192.168.42.227
DHCP4.OPTION[6]:                        requested_static_routes = 1
DHCP4.OPTION[7]:                        dhcp_server_identifier = 192.168.42.129
DHCP4.OPTION[8]:                        requested_time_offset = 1
DHCP4.OPTION[9]:                        broadcast_address = 192.168.42.255
DHCP4.OPTION[10]:                       dhcp_rebinding_time = 3150
DHCP4.OPTION[11]:                       requested_interface_mtu = 1
DHCP4.OPTION[12]:                       requested_domain_name_servers = 1
DHCP4.OPTION[13]:                       dhcp_message_type = 5
DHCP4.OPTION[14]:                       requested_broadcast_address = 1
DHCP4.OPTION[15]:                       routers = 192.168.42.129
DHCP4.OPTION[16]:                       dhcp_renewal_time = 1800
DHCP4.OPTION[17]:                       requested_domain_name = 1
DHCP4.OPTION[18]:                       requested_routers = 1
DHCP4.OPTION[19]:                       expiry = 1548356547
DHCP4.OPTION[20]:                       host_name = mitsos-XPS-13-9360
DHCP4.OPTION[21]:                       requested_netbios_scope = 1
DHCP4.OPTION[22]:                       requested_wpad = 1
DHCP4.OPTION[23]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[24]:                       requested_netbios_name_servers = 1
DHCP4.OPTION[25]:                       network_number = 192.168.42.0
DHCP4.OPTION[26]:                       requested_domain_search = 1
DHCP4.OPTION[27]:                       requested_ntp_servers = 1
DHCP4.OPTION[28]:                       next_server = 192.168.42.129
DHCP4.OPTION[29]:                       vendor_encapsulated_options = ANDROID_METERED
DHCP4.OPTION[30]:                       requested_host_name = 1
DHCP4.OPTION[31]:                       dhcp_lease_time = 3600
IP6.ADDRESS[1]:                         fe80::f41a:87cf:3c5e:2d06/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[2]:                           dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[3]:                           dst = fe80::/64, nh = ::, mt = 100
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{4}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   b7affccc-91e1-31b5-a4cd-bd4e52285ef1 | Wired connection 2

GENERAL.DEVICE:                         wlp58s0
GENERAL.TYPE:                           wifi
GENERAL.NM-TYPE:                        NMDeviceWifi
GENERAL.VENDOR:                         Qualcomm Atheros
GENERAL.PRODUCT:                        QCA6174 802.11ac Wireless Network Adapter
GENERAL.DRIVER:                         ath10k_pci
GENERAL.DRIVER-VERSION:                 4.20.3-042003-generic
GENERAL.FIRMWARE-VERSION:               WLAN.RM.4.4.1-00132-QCARMSWP-1
GENERAL.HWADDR:                         <MAC 'wlp58s0' [IF2]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          30 (disconnected)
GENERAL.REASON:                         42 (The supplicant is now available)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.4/0000:3a:00.0/net/wlp58s0
GENERAL.IP-IFACE:                       --
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     --
GENERAL.CON-UUID:                       --
GENERAL.CON-PATH:                       --
GENERAL.METERED:                        unknown
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                     unknown
CAPABILITIES.IS-SOFTWARE:               no
CAPABILITIES.SRIOV:                     no
WIFI-PROPERTIES.WEP:                    yes
WIFI-PROPERTIES.WPA:                    yes
WIFI-PROPERTIES.WPA2:                   yes
WIFI-PROPERTIES.TKIP:                   yes
WIFI-PROPERTIES.CCMP:                   yes
WIFI-PROPERTIES.AP:                     yes
WIFI-PROPERTIES.ADHOC:                  yes
WIFI-PROPERTIES.2GHZ:                   yes
WIFI-PROPERTIES.5GHZ:                   yes
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --

GENERAL.DEVICE:                         enx<IF from MAC [IF1]>
GENERAL.TYPE:                           ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                         Realtek
GENERAL.PRODUCT:                        USB 10/100/1000 LAN
GENERAL.DRIVER:                         r8152
GENERAL.DRIVER-VERSION:                 v1.09.9
GENERAL.FIRMWARE-VERSION:               --
GENERAL.HWADDR:                         <MAC 'enx<IF from MAC [IF1]>' [IF1]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.REASON:                         2 (Device is now managed)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/0000:02:02.0/0000:39:00.0/usb4/4-1/4-1.4/4-1.4:1.0/net/enx<IF from MAC [IF1]>
GENERAL.IP-IFACE:                       --
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     --
GENERAL.CON-UUID:                       --
GENERAL.CON-PATH:                       --
GENERAL.METERED:                        unknown
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                     unknown
CAPABILITIES.IS-SOFTWARE:               no
CAPABILITIES.SRIOV:                     no
WIRED-PROPERTIES.CARRIER:               off
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --

SSID                          BSSID              MODE   CHAN  FREQ      RATE        SIGNAL  BARS  SECURITY   ACTIVE  IN-USE 
fotini                        <MAC 'fotini' [AC1]>  Infra  1     2412 MHz  270 Mbit/s  62      ▂▄▆_  WPA1 WPA2  no             
TP-LINK_028E                  <MAC 'TP-LINK_028E' [AC2]>  Infra  6     2437 MHz  54 Mbit/s   35      ▂▄__  WPA1 WPA2  no             
0148                          <MAC '0148' [AN3]>  Infra  6     2437 MHz  65 Mbit/s   29      ▂___  WPA1 WPA2  no             
DIRECT-AP[TV][LG]32LA620S-ZA  <MAC 'DIRECT-AP[TV][LG]32LA620S-ZA' [AN4]>  Infra  1     2412 MHz  130 Mbit/s  22      ▂___  WPA2       no             
TAVERNA AGXIALOS              <MAC 'TAVERNA AGXIALOS' [AN5]>  Infra  11    2462 MHz  130 Mbit/s  20      ▂___  WPA1       no             

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager config #############

[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 2

[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no

[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved

[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:wwan

[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/

[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/CYTA11B6]] (600 root)
[connection] id=CYTA11B6 | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlp58s0' [IF2]> | mac-address-blacklist= | ssid=CYTA11B6
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Auto Honor 8]] (600 root)
[connection] id=Auto Honor 8 | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlp58s0' [IF2]> | mac-address-blacklist= | ssid=Honor 8
[ipv4] method=auto
[ipv6] method=auto

##### Netplan config ####################

[/etc/netplan/1-network-manager-all.yaml]
network:
  version: 2
  renderer: NetworkManager

##### iw reg get ########################

Region: Europe/Athens (based on set time zone)

global
country DE: DFS-ETSI
	(2400 - 2483 @ 40), (N/A, 20), (N/A)
	(5150 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR, AUTO-BW
	(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
	(5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
	(5725 - 5875 @ 80), (N/A, 13), (N/A)
	(57000 - 66000 @ 2160), (N/A, 40), (N/A)

##### iwlist channels ###################

lo        no frequency information.

enp57s0u1u1  no frequency information.

enx<IF from MAC [IF1]>  no frequency information.

wlp58s0   32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz
          Channel 128 : 5.64 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
          Channel 140 : 5.7 GHz
          Channel 149 : 5.745 GHz

##### iwlist scan #######################

lo        Interface doesn't support scanning.

enp57s0u1u1  Interface doesn't support scanning.

enx<IF from MAC [IF1]>  Interface doesn't support scanning.

Channel occupancy:

      1   APs on   Frequency:2.412 GHz (Channel 1)
      1   APs on   Frequency:2.432 GHz (Channel 5)
      1   APs on   Frequency:2.437 GHz (Channel 6)

wlp58s0   Scan completed :
          Cell 01 - Address: <MAC 'fotini' [AC1]>
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=46/70  Signal level=-64 dBm  
                    Encryption key:on
                    ESSID:"fotini"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000003ca16e77930
                    Extra: Last beacon: 4384ms ago
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 02 - Address: <MAC 'TP-LINK_028E' [AC2]>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=31/70  Signal level=-79 dBm  
                    Encryption key:on
                    ESSID:"TP-LINK_028E"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=00000192e3e93183
                    Extra: Last beacon: 4132ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
          Cell 03 - Address: <MAC 'petros' [AC3]>
                    Channel:5
                    Frequency:2.432 GHz (Channel 5)
                    Quality=25/70  Signal level=-85 dBm  
                    Encryption key:on
                    ESSID:"petros"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000000278c4481a8
                    Extra: Last beacon: 4152ms ago
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK

##### module infos ######################

[ath10k_pci]
filename:       /lib/modules/4.20.3-042003-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
firmware:       ath10k/QCA9377/hw1.0/board.bin
firmware:       ath10k/QCA9377/hw1.0/firmware-5.bin
firmware:       ath10k/QCA9377/hw1.0/firmware-6.bin
firmware:       ath10k/QCA6174/hw3.0/board-2.bin
firmware:       ath10k/QCA6174/hw3.0/board.bin
firmware:       ath10k/QCA6174/hw3.0/firmware-6.bin
firmware:       ath10k/QCA6174/hw3.0/firmware-5.bin
firmware:       ath10k/QCA6174/hw3.0/firmware-4.bin
firmware:       ath10k/QCA6174/hw2.1/board-2.bin
firmware:       ath10k/QCA6174/hw2.1/board.bin
firmware:       ath10k/QCA6174/hw2.1/firmware-5.bin
firmware:       ath10k/QCA6174/hw2.1/firmware-4.bin
firmware:       ath10k/QCA9887/hw1.0/board-2.bin
firmware:       ath10k/QCA9887/hw1.0/board.bin
firmware:       ath10k/QCA9887/hw1.0/firmware-5.bin
firmware:       ath10k/QCA988X/hw2.0/board-2.bin
firmware:       ath10k/QCA988X/hw2.0/board.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-5.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-4.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-3.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-2.bin
license:        Dual BSD/GPL
description:    Driver support for Qualcomm Atheros 802.11ac WLAN PCIe/AHB devices
author:         Qualcomm Atheros
srcversion:     78FA5CF030968ACCB7DE164
depends:        ath10k_core
retpoline:      Y
intree:         Y
name:           ath10k_pci
vermagic:       4.20.3-042003-generic SMP mod_unload 
signat:         PKCS#7
signer:         
sig_key:        
sig_hashalgo:   md4
parm:           irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
parm:           reset_mode:0: auto, 1: warm only (default: 0) (uint)

[ath10k_core]
filename:       /lib/modules/4.20.3-042003-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_core.ko
license:        Dual BSD/GPL
description:    Core module for Qualcomm Atheros 802.11ac wireless LAN cards.
author:         Qualcomm Atheros
srcversion:     F51E2AB0297993FCFCAAE77
depends:        mac80211,cfg80211,ath
retpoline:      Y
intree:         Y
name:           ath10k_core
vermagic:       4.20.3-042003-generic SMP mod_unload 
signat:         PKCS#7
signer:         
sig_key:        
sig_hashalgo:   md4
parm:           debug_mask:Debugging mask (uint)
parm:           uart_print:Uart target debugging (bool)
parm:           skip_otp:Skip otp failure for calibration in testmode (bool)
parm:           cryptmode:Crypto mode: 0-hardware, 1-software (uint)
parm:           rawmode:Use raw 802.11 frame datapath (bool)
parm:           coredump_mask:Bitfield of what to include in firmware crash file (ulong)

[ath]
filename:       /lib/modules/4.20.3-042003-generic/kernel/drivers/net/wireless/ath/ath.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless LAN cards.
author:         Atheros Communications
srcversion:     6472C44D3E1911E7AC15723
depends:        cfg80211
retpoline:      Y
intree:         Y
name:           ath
vermagic:       4.20.3-042003-generic SMP mod_unload 
signat:         PKCS#7
signer:         
sig_key:        
sig_hashalgo:   md4

[mac80211]
filename:       /lib/modules/4.20.3-042003-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:     EF3DFDFB34A25E1B93DF4D6
depends:        cfg80211
retpoline:      Y
intree:         Y
name:           mac80211
vermagic:       4.20.3-042003-generic SMP mod_unload 
signat:         PKCS#7
signer:         
sig_key:        
sig_hashalgo:   md4
parm:           minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
parm:           max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:           max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:           beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:           probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:           ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename:       /lib/modules/4.20.3-042003-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
srcversion:     B0E06249BDA764D6EDE9817
depends:        
retpoline:      Y
intree:         Y
name:           cfg80211
vermagic:       4.20.3-042003-generic SMP mod_unload 
signat:         PKCS#7
signer:         
sig_key:        
sig_hashalgo:   md4
parm:           bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[ath10k_pci]
irq_mode: 0
reset_mode: 0

[ath10k_core]
coredump_mask: 3
cryptmode: 0
debug_mask: 0
rawmode: N
skip_otp: N
uart_print: N

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500

[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-ideapad.conf]
blacklist ideapad_laptop

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

##### rc.local ##########################

grep: /etc/rc.local: No such file or directory

##### pm-utils ##########################

##### udev rules ########################

##### dmesg #############################

[    5.645858] r8152 4-1.4:1.0 eth0: v1.09.9
[    5.847061] r8152 4-1.4:1.0 enx<IF from MAC [IF1]>: renamed from eth0
[    5.862188] ath10k_pci 0000:3a:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
[    5.862191] ath10k_pci 0000:3a:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[    5.862643] ath10k_pci 0000:3a:00.0: firmware ver WLAN.RM.4.4.1-00132-QCARMSWP-1 api 6 features wowlan,ignore-otp,mfp crc32 79f4db86
[    5.929639] ath10k_pci 0000:3a:00.0: board_file api 2 bmi_id N/A crc32 20d869c3
[    6.014127] ath10k_pci 0000:3a:00.0: unsupported HTC service id: 1536
[    6.030054] ath10k_pci 0000:3a:00.0: Unknown eventid: 118809
[    6.033071] ath10k_pci 0000:3a:00.0: Unknown eventid: 90118
[    6.035918] ath10k_pci 0000:3a:00.0: htt-ver 3.60 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    6.139364] ath: EEPROM regdomain: 0x69
[    6.139365] ath: EEPROM indicates we should expect a direct regpair map
[    6.139367] ath: Country alpha2 being used: 00
[    6.139367] ath: Regpair used: 0x69
[    6.187048] ath10k_pci 0000:3a:00.0 wlp58s0: renamed from wlan0
[    6.343802] IPv6: ADDRCONF(NETDEV_UP): enx<IF from MAC [IF1]>: link is not ready (repeated 2 times)
[    6.355117] IPv6: ADDRCONF(NETDEV_UP): wlp58s0: link is not ready
[    6.568584] ath10k_pci 0000:3a:00.0: unsupported HTC service id: 1536
[    6.584543] ath10k_pci 0000:3a:00.0: Unknown eventid: 118809
[    6.587535] ath10k_pci 0000:3a:00.0: Unknown eventid: 90118
[    6.629896] IPv6: ADDRCONF(NETDEV_UP): wlp58s0: link is not ready (repeated 2 times)
[   32.140952] rndis_host 3-1.1:1.0 enp57s0u1u1: renamed from usb0
[   32.172061] IPv6: ADDRCONF(NETDEV_UP): enp57s0u1u1: link is not ready

########## wireless info END ############
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Post by JeremyB »

You could try

Code: Select all

echo "options cfg80211 ieee80211_regdom=DE" | sudo tee /etc/modprobe.d/cfg80211.conf
Reboot and you might get channel 13 as channel 14 is only allowed in Japan https://kernelmag.dailydot.com/features ... hannel-14/
mitsos1os

Re: Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Post by mitsos1os »

JeremyB wrote: Sun Jan 27, 2019 8:18 am You could try

Code: Select all

echo "options cfg80211 ieee80211_regdom=DE" | sudo tee /etc/modprobe.d/cfg80211.conf
Reboot and you might get channel 13 as channel 14 is only allowed in Japan https://kernelmag.dailydot.com/features ... hannel-14/
Unfortunately it didn't work...

Do you happen to know a way to actually change the country code EEPROM value in the wireless card?
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Post by JeremyB »

I don't know how to change the code from EEPROM and the iw reg get shows that you should be able to use channel 13, post results for

Code: Select all

cat /etc/default/crda
From what I see in ath source code is that your EEPROM code has no restrictions
mitsos1os

Re: Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Post by mitsos1os »

The content of /etc/default/crda is

Code: Select all

REGDOMAIN=GR
and iw reg get correctly returns GR

In the driver source code https://github.com/torvalds/linux/blob/ ... ath/regd.c you can see in line 236 https://github.com/torvalds/linux/blob/ ... egd.c#L236 for my regdomain 0x69 it returns the struct https://github.com/torvalds/linux/blob/ ... regd.c#L97 which allows 2.4 channels 1 - 11

After also communicating with Atheros support they informed me that it is not possible to change the EEPROM code of the wireless card
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Post by JeremyB »

Go back to using the 4.15 kernels and see https://ubuntuforums.org/showthread.php ... st13754725
I made a small change that should allow the channels to work https://github.com/jeremyb31/ath-4.15/c ... 2b0372010f
mitsos1os

Re: Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Post by mitsos1os »

Yes that is how I managed to do it as well!
This is what I mention in my first post... But what I wanted to know, is whether there was some kind of configuration option to use instead of doing this and having to re - do it after every kernel update...
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Post by JeremyB »

I might be able to make a dkms.conf file so that the changes compile when a new kernel is installed
mitsos1os

Re: Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Post by mitsos1os »

I couldn't ask for something like this, really appreciate the offer. I was simply thinking of creating a script that does all the work and then running it after every kernel update.

Shouldn't we file this as a bug to the official Qualcomm - Atheros (ath10k_pci) driver to remove their regdomain country code restrictions on the driver, so that it can be sometime included in the next linux kernel?
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Post by JeremyB »

Already done, if you are on the 4.15 kernels, do

Code: Select all

sudo apt install git dkms
git clone https://github.com/jeremyb31/ath-4.15.git
sudo dkms add ./ath-4.15
sudo dkms install ath-4.15/1
Let me know if it fails at a 4.15 kernel update
mitsos1os

Re: Linux Mint 19.1 Killer 1535 (QCA6174) channel 13 14 disabled

Post by mitsos1os »

JeremyB wrote: Wed Jan 30, 2019 6:37 pm Already done, if you are on the 4.15 kernels, do

Code: Select all

sudo apt install git dkms
git clone https://github.com/jeremyb31/ath-4.15.git
sudo dkms add ./ath-4.15
sudo dkms install ath-4.15/1
Let me know if it fails at a 4.15 kernel update
Thank you very much! It works!
Locked

Return to “Networking”