All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Daume <patrick.daume@dedrone.com>
To: "kvalo@codeaurora.org" <kvalo@codeaurora.org>
Cc: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: Qualcomm Atheros QCA6174 monitoring mode receiving no data
Date: Mon, 3 Jun 2019 12:50:54 +0000	[thread overview]
Message-ID: <1559566253.12864.47.camel@dedrone.com> (raw)
In-Reply-To: <87lfyjyq9c.fsf@kamboji.qca.qualcomm.com>

I build the kernel: 5.1.0-rc7-wt-ath+ from the repository (git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git) 
and replace WLAN.RM.4.4.1-00132-QCARMSWP-1 with "/lib/firmware/ath10k/QCA6174/hw3.0/firmware-6.bin". 

Same behavioiur as observed before. The interface receives no data in monitoring mode. While managed mode seems to work.

:~$ uname -a
Linux 5.1.0-rc7-wt-ath+ #3 SMP Fri May 17 14:58:27 CEST 2019 x86_64 x86_64 x86_64 GNU/Linux
:~$ sudo service network-manager stop
:~$ sudo lshw -sanitize
*-pci:1
     description: PCI bridge
     product: Sunrise Point-LP PCI Express Root Port #9
     vendor: Intel Corporation
     physical id: 1d
     bus info: pci@0000:00:1d.0
     version: f1
     width: 32 bits
     clock: 33MHz
     capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
     configuration: driver=pcieport
     resources: irq:123 memory:df000000-df1fffff
   *-network
        description: Wireless interface
        product: QCA6174 802.11ac Wireless Network Adapter
        vendor: Qualcomm Atheros
        physical id: 0
        bus info: pci@0000:02:00.0
        logical name: wlp2s0
        version: 32
        serial: [REMOVED]
        width: 64 bits
        clock: 33MHz
        capabilities: pm msi pciexpress bus_master cap_list logical wireless
        configuration: broadcast=yes driver=ath10k_pci driverversion=5.1.0-rc7-wt-ath+ firmware=WLAN.RM.4.4.1-00132-QCARMSWP-1 latency=0 link=yes multicast=yes wireless=IEEE 802.11
        resources: irq:134 memory:df000000-df1fffff
:~$ sudo ifconfig wlp2s0 down
:~$ sudo iw dev wlp2s0 set type monitor
:~$ sudo iw dev
phy#0
	Interface wlp2s0
		ifindex 4
		wdev 0x1
		type monitor
		txpower 0.00 dBm
:~$ sudo ifconfig wlp2s0 up
:~$ dmesg
[    4.585876] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.587488] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.948771] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1dac:0261
[    4.948773] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[    4.949182] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00132-QCARMSWP-1 api 6 features wowlan,ignore-otp,mfp crc32 79f4db86
[    5.015300] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 4ed3569e
[    5.077351] ath10k_pci 0000:02:00.0: UART prints enabled
[    5.145608] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
[    5.399248] ath10k_pci 0000:02:00.0: htt-ver 3.60 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    5.506631] ath: EEPROM regdomain: 0x6c
[    5.506632] ath: EEPROM indicates we should expect a direct regpair map
[    5.506633] ath: Country alpha2 being used: 00
[    5.506633] ath: Regpair used: 0x6c
[    5.521558] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
[    9.349624] ath10k_pci 0000:02:00.0: UART prints enabled
[    9.417824] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
[  172.602058] ath10k_pci 0000:02:00.0: UART prints enabled
[  172.670794] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
[  173.065855] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[  199.880218] device wlp2s0 entered promiscuous mode
[  266.446078] device wlp2s0 left promiscuous mode

:~$ sudo tcpdump -i wlp2s0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlp2s0, link-type IEEE802_11_RADIO (802.11 plus radiotap header), capture size 262144 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel


# managed mode test
:~$ sudo ifconfig wlp2s0 down
:~$ sudo iw dev wlp2s0 set type managed
:~$ sudo ifconfig wlp2s0 up
:~$ iw dev
phy#0
	Interface wlp2s0
		ifindex 4
		wdev 0x1
		type managed
		txpower 0.00 dBm
:~$ sudo iw wlp2s0 scan
BSS xxxxxxxxxxxxxx(on wlp2s0)
	TSF: 4588156109184 usec (53d, 02:29:16)
	freq: 2437
	beacon interval: 100 TUs
	capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
	signal: -84.00 dBm
	last seen: 4440 ms ago
	Information elements from Probe Response frame:
	SSID: xxxxxxxxxxxxx
	Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0* 9.0 12.0* 18.0 
	DS Parameter set: channel 6
	TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0
	ERP: <no flags>
	Extended supported rates: 24.0* 36.0 48.0 54.0 
	BSS Load:
		 * station count: 4
		 * channel utilisation: 75/255
		 * available admission capacity: 0 [*32us]
	HT capabilities:
		Capabilities: 0x1ac
			HT20
			SM Power Save disabled
			RX HT20 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			No DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
	HT operation:
		 * primary channel: 6
		 * secondary channel offset: no secondary
		 * STA channel width: 20 MHz
		 * RIFS: 0
		 * HT protection: nonmember
		 * non-GF present: 1
		 * OBSS non-GF present: 0
		 * dual beacon: 0
		 * dual CTS protection: 0
		 * STBC beacon: 0
		 * L-SIG TXOP Prot: 0
		 * PCO active: 0
		 * PCO phase: 0
	Extended capabilities:
		 * Operating Mode Notification
	WMM:	 * Parameter version 1
		 * BE: CW 15-1023, AIFSN 3
		 * BK: CW 15-1023, AIFSN 7
		 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
		 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
	RSN:	 * Version: 1
		 * Group cipher: CCMP
		 * Pairwise ciphers: CCMP
		 * Authentication suites: PSK
		 * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
......
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  reply	other threads:[~2019-06-03 12:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-31  9:57 Qualcomm Atheros QCA6174 monitoring mode receiving no data Patrick Daume
2019-06-03  9:25 ` Kalle Valo
2019-06-03 12:50   ` Patrick Daume [this message]
2019-06-05  5:09     ` Kalle Valo
2019-06-05  7:18       ` Patrick Daume
2019-06-05 15:38       ` Patrick Daume
2019-06-13  8:54         ` Patrick Daume
2019-06-13  9:03           ` Patrick Daume

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1559566253.12864.47.camel@dedrone.com \
    --to=patrick.daume@dedrone.com \
    --cc=ath10k@lists.infradead.org \
    --cc=kvalo@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.