oneplus-oneplus3: add WiFi support
Tested working on my own OnePlus 3 handset.
oneplus-oneplus3:~# lspci -k
00:00.0 PCI bridge: Qualcomm Device 0104
Kernel driver in use: pcieport
01:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
Kernel driver in use: ath10k_pci
oneplus-oneplus3:~# iwctl station wlan0 show
Station: wlan0
--------------------------------------------------------------------------------
Settable Property Value
--------------------------------------------------------------------------------
Scanning no
State connected
Connected network BT-SGA389
IPv4 address 192.168.1.178
IPv6 address 2a00:23c6:708a:3f01:ab50:7396:16a1:a47b
IPv6 address 2a00:23c6:708a:3f01:203:7fff:fec2:43
ConnectedBss 44:fe:3b:b2:e3:73
Frequency 5180
Security WPA2-Personal
RSSI -73 dBm
AverageRSSI -72 dBm
RxMode 802.11ac
RxMCS 7
TxMode 802.11ac
TxMCS 6
TxBitrate 263300 Kbit/s
RxBitrate 325000 Kbit/s
oneplus-oneplus3:~# ping -c 5 postmarketos.org
PING postmarketos.org (2a01:4f8:a0:821d::2): 56 data bytes
64 bytes from 2a01:4f8:a0:821d::2: seq=0 ttl=53 time=27.678 ms
64 bytes from 2a01:4f8:a0:821d::2: seq=1 ttl=53 time=39.596 ms
64 bytes from 2a01:4f8:a0:821d::2: seq=2 ttl=53 time=33.365 ms
64 bytes from 2a01:4f8:a0:821d::2: seq=3 ttl=53 time=33.487 ms
64 bytes from 2a01:4f8:a0:821d::2: seq=4 ttl=53 time=33.546 ms
--- postmarketos.org ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 27.678/33.534/39.596 ms
oneplus-oneplus3:~#
Edited by Administrator