my PC has a Qualcomm Atheros QCA9565 / AR9565 wifi card and Mint 18 installed.
The wifi signal is very poor and unstable connection, less than 50% if PC and router are very close (1 metres), no signal and no connection if PC and router are more distant (5 metres).
It is impossible to use it.
Some info on my PC:
Code: Select all
io@X540LA ~/bin $ inxi -Fxz
System: Host: X540LA Kernel: 4.4.0-21-generic x86_64 (64 bit gcc: 5.3.1)
Desktop: Cinnamon 3.0.6 (Gtk 3.18.9-1ubuntu3) Distro: Linux Mint 18 Sarah
Machine: System: ASUSTeK (portable) product: X540LA v: 1.0
Mobo: ASUSTeK model: X540LA v: 1.0 Bios: American Megatrends v: X540LA.204 date: 03/14/2016
CPU: Dual core Intel Core i5-5200U (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 8780
clock speeds: max: 2700 MHz 1: 2211 MHz 2: 2209 MHz 3: 2243 MHz 4: 2351 MHz
Graphics: Card: Intel Broadwell-U Integrated Graphics bus-ID: 00:02.0
Display Server: X.Org 1.18.3 drivers: intel (unloaded: fbdev,vesa) Resolution: 1366x768@60.00hz
GLX Renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2)
GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio: Card-1 Intel Wildcat Point-LP High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Intel Broadwell-U Audio Controller driver: snd_hda_intel bus-ID: 00:03.0
Sound: Advanced Linux Sound Architecture v: k4.4.0-21-generic
Network: Card-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 02:00.2
IF: enp2s0f2 state: up speed: 100 Mbps duplex: full mac: <filter>
Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter driver: ath9k bus-ID: 03:00.0
IF: wlp3s0 state: down mac: <filter>
Drives: HDD Total Size: 240.1GB (9.3% used) ID-1: /dev/sda model: KINGSTON_SV300S3 size: 240.1GB
Partition: ID-1: / size: 28G used: 5.1G (20%) fs: ext4 dev: /dev/sda5
ID-2: /boot size: 4.5G used: 66M (2%) fs: ext4 dev: /dev/sda1
ID-3: /home size: 179G used: 6.8G (4%) fs: ext4 dev: /dev/sda7
ID-4: swap-1 size: 10.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 48.0C mobo: N/A
Fan Speeds (in rpm): cpu: 2000
Info: Processes: 200 Uptime: 1:10 Memory: 3214.6/7882.5MB Init: systemd runlevel: 5 Gcc sys: 5.3.1
Client: Shell (bash 4.3.421) inxi: 2.2.35
Code: Select all
io@X540LA ~/bin $ cat wireless-info.txt
########## wireless info START ##########
Report from: 09 Sep 2016 06:18 CEST +0200
Booted last: 09 Sep 2016 00:00 CEST +0200
Script from: 08 Jul 2016 02:16 UTC +0000
##### release ###########################
Distributor ID: LinuxMint
Description: Linux Mint 18 Sarah
Release: 18
Codename: sarah
##### kernel ############################
Linux 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=7
##### desktop ###########################
Cinnamon
##### lspci #############################
02:00.2 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 06)
Subsystem: ASUSTeK Computer Inc. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [1043:200f]
Kernel driver in use: r8169
03:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
Subsystem: AzureWave QCA9565 / AR9565 Wireless Network Adapter [1a3b:213a]
Kernel driver in use: ath9k
##### lsusb #############################
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f2:b52b Chicony Electronics Co., Ltd
Bus 001 Device 004: ID 13d3:3423 IMC Networks
Bus 001 Device 005: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: asus-wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
2: asus-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
##### lsmod #############################
asus_nb_wmi 24576 0
asus_wmi 28672 1 asus_nb_wmi
sparse_keymap 16384 1 asus_wmi
ath9k 143360 0
ath9k_common 36864 1 ath9k
ath3k 20480 0
ath9k_hw 466944 2 ath9k_common,ath9k
ath 32768 3 ath9k_common,ath9k,ath9k_hw
mac80211 737280 1 ath9k
bluetooth 520192 30 bnep,ath3k,btbcm,btrtl,btusb,rfcomm,btintel
cfg80211 565248 4 ath,ath9k_common,ath9k,mac80211
wmi 20480 1 asus_wmi
video 40960 2 i915,asus_wmi
##### interfaces ########################
auto lo
iface lo inet loopback
##### ifconfig ##########################
enp2s0f2 Link encap:Ethernet HWaddr <MAC 'enp2s0f2' [IF1]>
inet addr:192.168.1.58 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::ba0b:f0e6:ca09:a171/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53092 errors:0 dropped:0 overruns:0 frame:0
TX packets:32859 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:71255362 (71.2 MB) TX bytes:2870007 (2.8 MB)
wlp3s0 Link encap:Ethernet HWaddr <MAC 'wlp3s0' [IF2]>
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
##### iwconfig ##########################
enp2s0f2 no wireless extensions.
lo no wireless extensions.
wlp3s0 IEEE 802.11bgn 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:off
##### route #############################
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 enp2s0f2
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 enp2s0f2
192.168.1.0 0.0.0.0 255.255.255.0 U 100 0 0 enp2s0f2
##### resolv.conf #######################
nameserver 127.0.1.1
##### network managers ##################
Installed:
NetworkManager
Running:
root 739 1 0 05:49 ? 00:00:00 /usr/sbin/NetworkManager --no-daemon
##### NetworkManager info ###############
GENERAL.DEVICE: enp2s0f2
GENERAL.TYPE: ethernet
GENERAL.NM-TYPE: NMDeviceEthernet
GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
GENERAL.DRIVER: r8169
GENERAL.DRIVER-VERSION: 2.3LK-NAPI
GENERAL.FIRMWARE-VERSION:
GENERAL.HWADDR: <MAC 'enp2s0f2' [IF1]>
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.2/0000:02:00.2/net/enp2s0f2
GENERAL.IP-IFACE: enp2s0f2
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 1
GENERAL.CON-UUID: 71221f68-983d-471a-8799-3cf99b584a72
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/0
GENERAL.METERED: no (guessed)
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 100 Mb/s
CAPABILITIES.IS-SOFTWARE: no
WIRED-PROPERTIES.CARRIER: on
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{2}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 71221f68-983d-471a-8799-3cf99b584a72 | Wired connection 1
IP4.ADDRESS[1]: 192.168.1.58/24
IP4.GATEWAY: 192.168.1.1
IP4.ROUTE[1]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]: 80.93.143.42
IP4.DNS[2]: 80.93.143.44
DHCP4.OPTION[1]: requested_routers = 1
DHCP4.OPTION[2]: requested_domain_search = 1
DHCP4.OPTION[3]: requested_time_offset = 1
DHCP4.OPTION[4]: requested_domain_name = 1
DHCP4.OPTION[5]: requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[6]: requested_broadcast_address = 1
DHCP4.OPTION[7]: requested_netbios_scope = 1
DHCP4.OPTION[8]: requested_wpad = 1
DHCP4.OPTION[9]: next_server = 0.0.0.0
DHCP4.OPTION[10]: expiry = 1473400225
DHCP4.OPTION[11]: requested_interface_mtu = 1
DHCP4.OPTION[12]: requested_subnet_mask = 1
DHCP4.OPTION[13]: routers = 192.168.1.1
DHCP4.OPTION[14]: dhcp_message_type = 5
DHCP4.OPTION[15]: ip_address = 192.168.1.58
DHCP4.OPTION[16]: requested_static_routes = 1
DHCP4.OPTION[17]: requested_domain_name_servers = 1
DHCP4.OPTION[18]: dhcp_lease_time = 7200
DHCP4.OPTION[19]: broadcast_address = 192.168.1.255
DHCP4.OPTION[20]: requested_ntp_servers = 1
DHCP4.OPTION[21]: requested_netbios_name_servers = 1
DHCP4.OPTION[22]: domain_name_servers = 80.93.143.42 80.93.143.44
DHCP4.OPTION[23]: requested_ms_classless_static_routes = 1
DHCP4.OPTION[24]: subnet_mask = 255.255.255.0
DHCP4.OPTION[25]: network_number = 192.168.1.0
DHCP4.OPTION[26]: requested_host_name = 1
DHCP4.OPTION[27]: dhcp_server_identifier = 192.168.1.1
IP6.ADDRESS[1]: fe80::ba0b:f0e6:ca09:a171/64
IP6.GATEWAY:
GENERAL.DEVICE: wlp3s0
GENERAL.TYPE: wifi
GENERAL.NM-TYPE: NMDeviceWifi
GENERAL.VENDOR: Qualcomm Atheros
GENERAL.PRODUCT: QCA9565 / AR9565 Wireless Network Adapter
GENERAL.DRIVER: ath9k
GENERAL.DRIVER-VERSION: 4.4.0-21-generic
GENERAL.FIRMWARE-VERSION: N/A
GENERAL.HWADDR: <MAC 'wlp3s0' [IF2]>
GENERAL.MTU: 0
GENERAL.STATE: 30 (disconnected)
GENERAL.REASON: 42 (The supplicant is now available)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/net/wlp3s0
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
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: no
CONNECTIONS.AVAILABLE-CONNECTION-PATHS:
SSID BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY ACTIVE *
##### NetworkManager.state ##############
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
##### NetworkManager.conf ###############
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
##### NetworkManager profiles ###########
[[/etc/NetworkManager/system-connections/Auto TISCALI2]] (600 root)
[connection] id=Auto TISCALI2 | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlp3s0' [IF2]> | mac-address-blacklist= | ssid=TISCALI2
[ipv4] method=auto
[ipv6] method=auto
##### iw reg get ########################
Region: Europe/Rome (based on set time zone)
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 40), (N/A, 20), (N/A), NO-IR
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
(5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, NO-IR
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
(5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
##### iwlist channels ###################
enp2s0f2 no frequency information.
lo no frequency information.
wlp3s0 13 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 13 : 2.472 GHz
##### iwlist scan #######################
enp2s0f2 Interface doesn't support scanning.
lo Interface doesn't support scanning.
wlp3s0 No scan results
##### module infos ######################
[ath9k]
filename: /lib/modules/4.4.0-21-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
srcversion: F7E3AF932B15681132EA595
depends: mac80211,ath9k_hw,ath9k_common,cfg80211,ath
intree: Y
vermagic: 4.4.0-21-generic SMP mod_unload modversions
parm: debug:Debugging mask (uint)
parm: nohwcrypt:Disable hardware encryption (int)
parm: blink:Enable LED blink on activity (int)
parm: btcoex_enable:Enable wifi-BT coexistence (int)
parm: bt_ant_diversity:Enable WLAN/BT RX antenna diversity (int)
parm: ps_enable:Enable WLAN PowerSave (int)
parm: use_chanctx:Enable channel context for concurrency (int)
[ath9k_common]
filename: /lib/modules/4.4.0-21-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
license: Dual BSD/GPL
description: Shared library for Atheros wireless 802.11n LAN cards.
author: Atheros Communications
srcversion: 6FBD9F8A613FDFA282AB4FE
depends: ath9k_hw,cfg80211,ath
intree: Y
vermagic: 4.4.0-21-generic SMP mod_unload modversions
[ath3k]
filename: /lib/modules/4.4.0-21-generic/kernel/drivers/bluetooth/ath3k.ko
firmware: ath3k-1.fw
license: GPL
version: 1.0
description: Atheros AR30xx firmware driver
author: Atheros Communications
srcversion: 9387708AAFFA4D924D90966
depends: bluetooth
intree: Y
vermagic: 4.4.0-21-generic SMP mod_unload modversions
[ath9k_hw]
filename: /lib/modules/4.4.0-21-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
srcversion: 26A41940D620A49C2442ACF
depends: ath
intree: Y
vermagic: 4.4.0-21-generic SMP mod_unload modversions
[ath]
filename: /lib/modules/4.4.0-21-generic/kernel/drivers/net/wireless/ath/ath.ko
license: Dual BSD/GPL
description: Shared library for Atheros wireless LAN cards.
author: Atheros Communications
srcversion: 3FCDBF7CE71CB8FB980D59D
depends: cfg80211
intree: Y
vermagic: 4.4.0-21-generic SMP mod_unload modversions
[mac80211]
filename: /lib/modules/4.4.0-21-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: A882F4FE63500846E1C859E
depends: cfg80211
intree: Y
vermagic: 4.4.0-21-generic SMP mod_unload modversions
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.4.0-21-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: 00D8DA6D3B739DDD31FFF50
depends:
intree: Y
vermagic: 4.4.0-21-generic SMP mod_unload modversions
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 #################
[ath9k]
blink: 0
bt_ant_diversity: 0
btcoex_enable: 0
nohwcrypt: 0
ps_enable: 0
use_chanctx: 0
[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]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00
##### /etc/modules ######################
##### modprobe options ##################
[/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 i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
[/etc/modprobe.d/blacklist-mimio.conf]
blacklist mimio
[/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/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en
##### rc.local ##########################
exit 0
##### pm-utils ##########################
##### udev rules ########################
##### dmesg #############################
[ 3.811423] ath: Country alpha2 being used: 00
[ 3.811425] ath: Regpair used: 0x6a
[ 3.926938] ath9k 0000:03:00.0 wlp3s0: renamed from wlan0
[ 4.544622] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready (repeated 2 times)
[ 4.561110] IPv6: ADDRCONF(NETDEV_UP): enp2s0f2: link is not ready
[ 4.634073] r8169 0000:02:00.2 enp2s0f2: link down
[ 4.634121] IPv6: ADDRCONF(NETDEV_UP): enp2s0f2: link is not ready
[ 4.731303] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 53.846497] r8169 0000:02:00.2 enp2s0f2: link up
[ 53.846505] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0f2: link becomes ready
########## wireless info END ############
Thank you
Simone