All of lore.kernel.org
 help / color / mirror / Atom feed
* ath10k: qca6174 firmware: difference between hw2.1/firmware-5 and hw3.0/firmware-4
@ 2016-08-24  3:57 Xuebing Wang
  2016-08-24  6:13 ` Michal Kazior
  0 siblings, 1 reply; 8+ messages in thread
From: Xuebing Wang @ 2016-08-24  3:57 UTC (permalink / raw)
  To: Kalle Valo, ath10k

Hi Kalle,

I cloned your ath10k-firmware from your github. Would you please advise 
what are the differences of hw2.1/firmware-5 and hw3.0/firmware-4 for 
qca6174? Does hw3.0/firmware-4 support Monitor Mode?

I have a wlan card with BMI version (QCA6174_HW_2_1_VERSION 0x05010000) 
and Monitor Mode works no problem with latest kernel v4.8-rc2.

I have another wlan card with (QCA6174_HW_3_2_VERSION 0x05030000). I am 
trying to back-port ath10k from v4.8-rc2 to 3.10.73 for this HW_3_2 
QCA6174 wlan card. Virtual interface (mon0) can be added and brought-up, 
but tcpdump can not capture any packets. I am wondering if it could be 
related to (hw2.1/firmware-5 vs hw3.0/firmware-4)?

I can not try v4.8-rc2 for this HW_3_2 wlan card, because it is used in 
an android phone.

Thanks a lot for your help.

-- 
Xuebing

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ath10k: qca6174 firmware: difference between hw2.1/firmware-5 and hw3.0/firmware-4
  2016-08-24  3:57 ath10k: qca6174 firmware: difference between hw2.1/firmware-5 and hw3.0/firmware-4 Xuebing Wang
@ 2016-08-24  6:13 ` Michal Kazior
  2016-08-24  9:11   ` Xuebing Wang
  2016-09-05  2:56   ` Xuebing Wang
  0 siblings, 2 replies; 8+ messages in thread
From: Michal Kazior @ 2016-08-24  6:13 UTC (permalink / raw)
  To: Xuebing Wang; +Cc: Kalle Valo, ath10k

On 24 August 2016 at 05:57, Xuebing Wang <xbing6@gmail.com> wrote:
> Hi Kalle,
>
> I cloned your ath10k-firmware from your github. Would you please advise what
> are the differences of hw2.1/firmware-5 and hw3.0/firmware-4 for qca6174?
> Does hw3.0/firmware-4 support Monitor Mode?
>
> I have a wlan card with BMI version (QCA6174_HW_2_1_VERSION 0x05010000) and
> Monitor Mode works no problem with latest kernel v4.8-rc2.
>
> I have another wlan card with (QCA6174_HW_3_2_VERSION 0x05030000). I am
> trying to back-port ath10k from v4.8-rc2 to 3.10.73 for this HW_3_2 QCA6174
> wlan card. Virtual interface (mon0) can be added and brought-up, but tcpdump
> can not capture any packets. I am wondering if it could be related to
> (hw2.1/firmware-5 vs hw3.0/firmware-4)?

Official hw3.x's firmware supports full rx offload. Rx event used to
deliver frames is very specialized effectively preventing sniffing /
monitor operation.

I don't know if there's any way around it without getting your hands
on firmware build that doesn't have the full rx offload compiled in
(assuming such a build even exists).


Michał

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ath10k: qca6174 firmware: difference between hw2.1/firmware-5 and hw3.0/firmware-4
  2016-08-24  6:13 ` Michal Kazior
@ 2016-08-24  9:11   ` Xuebing Wang
  2016-08-24  9:57     ` Xuebing Wang
  2016-08-30  8:03     ` Valo, Kalle
  2016-09-05  2:56   ` Xuebing Wang
  1 sibling, 2 replies; 8+ messages in thread
From: Xuebing Wang @ 2016-08-24  9:11 UTC (permalink / raw)
  To: Michal Kazior; +Cc: Kalle Valo, Stanislaw Gruszka, marcus Wright, ath10k

Hi Michal, thanks.


Hi Kalle,

Is there a version of hw3.0 firmware (without Rx offloading) for me to 
give a try of Monitor Mode on qca6174 hw3.2 chip? Thanks.

xuebing

On 08/24/2016 02:13 PM, Michal Kazior wrote:
> On 24 August 2016 at 05:57, Xuebing Wang <xbing6@gmail.com> wrote:
>> Hi Kalle,
>>
>> I cloned your ath10k-firmware from your github. Would you please advise what
>> are the differences of hw2.1/firmware-5 and hw3.0/firmware-4 for qca6174?
>> Does hw3.0/firmware-4 support Monitor Mode?
>>
>> I have a wlan card with BMI version (QCA6174_HW_2_1_VERSION 0x05010000) and
>> Monitor Mode works no problem with latest kernel v4.8-rc2.
>>
>> I have another wlan card with (QCA6174_HW_3_2_VERSION 0x05030000). I am
>> trying to back-port ath10k from v4.8-rc2 to 3.10.73 for this HW_3_2 QCA6174
>> wlan card. Virtual interface (mon0) can be added and brought-up, but tcpdump
>> can not capture any packets. I am wondering if it could be related to
>> (hw2.1/firmware-5 vs hw3.0/firmware-4)?
> Official hw3.x's firmware supports full rx offload. Rx event used to
> deliver frames is very specialized effectively preventing sniffing /
> monitor operation.
>
> I don't know if there's any way around it without getting your hands
> on firmware build that doesn't have the full rx offload compiled in
> (assuming such a build even exists).
>
>
> Michał
>

-- 
Xuebing

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ath10k: qca6174 firmware: difference between hw2.1/firmware-5 and hw3.0/firmware-4
  2016-08-24  9:11   ` Xuebing Wang
@ 2016-08-24  9:57     ` Xuebing Wang
  2016-08-30  8:03     ` Valo, Kalle
  1 sibling, 0 replies; 8+ messages in thread
From: Xuebing Wang @ 2016-08-24  9:57 UTC (permalink / raw)
  To: Michal Kazior, Stanislaw Gruszka; +Cc: Kalle Valo, marcus Wright, ath10k

Hi Michal, Stanislaw and community,

Are you aware of any WLAN card with qca6174 hw3.2 chip (BMI version 
signatures = 0x05030000 = QCA6174_HW_3_2_VERSION), so I can buy one to 
test on Linux PC with upstream kernel, to ensure hw3.0 firmware (not 
hw2.1 firmware) (hopefully without Rx offloading) works with Monitor Mode?

Thanks.

xuebing


On 08/24/2016 05:11 PM, Xuebing Wang wrote:
> Hi Michal, thanks.
>
>
> Hi Kalle,
>
> Is there a version of hw3.0 firmware (without Rx offloading) for me to 
> give a try of Monitor Mode on qca6174 hw3.2 chip? Thanks.
>
> xuebing
>
> On 08/24/2016 02:13 PM, Michal Kazior wrote:
>> On 24 August 2016 at 05:57, Xuebing Wang <xbing6@gmail.com> wrote:
>>> Hi Kalle,
>>>
>>> I cloned your ath10k-firmware from your github. Would you please 
>>> advise what
>>> are the differences of hw2.1/firmware-5 and hw3.0/firmware-4 for 
>>> qca6174?
>>> Does hw3.0/firmware-4 support Monitor Mode?
>>>
>>> I have a wlan card with BMI version (QCA6174_HW_2_1_VERSION 
>>> 0x05010000) and
>>> Monitor Mode works no problem with latest kernel v4.8-rc2.
>>>
>>> I have another wlan card with (QCA6174_HW_3_2_VERSION 0x05030000). I am
>>> trying to back-port ath10k from v4.8-rc2 to 3.10.73 for this HW_3_2 
>>> QCA6174
>>> wlan card. Virtual interface (mon0) can be added and brought-up, but 
>>> tcpdump
>>> can not capture any packets. I am wondering if it could be related to
>>> (hw2.1/firmware-5 vs hw3.0/firmware-4)?
>> Official hw3.x's firmware supports full rx offload. Rx event used to
>> deliver frames is very specialized effectively preventing sniffing /
>> monitor operation.
>>
>> I don't know if there's any way around it without getting your hands
>> on firmware build that doesn't have the full rx offload compiled in
>> (assuming such a build even exists).
>>
>>
>> Michał
>>
>

-- 
Xuebing

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ath10k: qca6174 firmware: difference between hw2.1/firmware-5 and hw3.0/firmware-4
  2016-08-24  9:11   ` Xuebing Wang
  2016-08-24  9:57     ` Xuebing Wang
@ 2016-08-30  8:03     ` Valo, Kalle
  1 sibling, 0 replies; 8+ messages in thread
From: Valo, Kalle @ 2016-08-30  8:03 UTC (permalink / raw)
  To: Xuebing Wang; +Cc: ath10k, Stanislaw Gruszka, michal.kazior, marcus Wright

Xuebing Wang <xbing6@gmail.com> writes:

> Hi Kalle,
>
> Is there a version of hw3.0 firmware (without Rx offloading) for me to
> give a try of Monitor Mode on qca6174 hw3.2 chip? Thanks.

I haven't heard anything like that, most likely not. But I'm no firmware
expert.

-- 
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ath10k: qca6174 firmware: difference between hw2.1/firmware-5 and hw3.0/firmware-4
  2016-08-24  6:13 ` Michal Kazior
  2016-08-24  9:11   ` Xuebing Wang
@ 2016-09-05  2:56   ` Xuebing Wang
  2016-09-07 23:25     ` Xuebing Wang
  1 sibling, 1 reply; 8+ messages in thread
From: Xuebing Wang @ 2016-09-05  2:56 UTC (permalink / raw)
  To: Michal Kazior, Kalle Valo; +Cc: ath10k

On 08/24/2016 02:13 PM, Michal Kazior wrote:
> On 24 August 2016 at 05:57, Xuebing Wang <xbing6@gmail.com> wrote:
>> Hi Kalle,
>>
>> I cloned your ath10k-firmware from your github. Would you please advise what
>> are the differences of hw2.1/firmware-5 and hw3.0/firmware-4 for qca6174?
>> Does hw3.0/firmware-4 support Monitor Mode?
>>
>> I have a wlan card with BMI version (QCA6174_HW_2_1_VERSION 0x05010000) and
>> Monitor Mode works no problem with latest kernel v4.8-rc2.
>>
>> I have another wlan card with (QCA6174_HW_3_2_VERSION 0x05030000). I am
>> trying to back-port ath10k from v4.8-rc2 to 3.10.73 for this HW_3_2 QCA6174
>> wlan card. Virtual interface (mon0) can be added and brought-up, but tcpdump
>> can not capture any packets. I am wondering if it could be related to
>> (hw2.1/firmware-5 vs hw3.0/firmware-4)?
> Official hw3.x's firmware supports full rx offload. Rx event used to
> deliver frames is very specialized effectively preventing sniffing /
> monitor operation.
>
> I don't know if there's any way around it without getting your hands
> on firmware build that doesn't have the full rx offload compiled in
> (assuming such a build even exists).
>
>
> Michał

Hi Michal,

I confirm hw3.0 firmware does not support monitor mode, on kernel 4.8.0-rc2.

I got one Killer 1535 wlan card (with qca6174 hw3.2), monitor mode does 
not work. I do use monitor mode on hw2.1 qca6174 and ath9k many times.

dmesg shows:
------
qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features 
wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
board_file api 2 bmi_id N/A crc32 46b57247
------

Also, I can not set hw3.x firmware monitor mode to a specific freq as 
below. I am using Ubuntu 16.04.1 with kernel 4.8.0-rc2.
------
$ sudo iw dev mon0 set freq 2462
$ iwconfig mon0
mon0      IEEE 802.11  Mode:Monitor  Tx-Power=0 dBm
           Retry short limit:7   RTS thr:off   Fragment thr:off
           Power Management:on
------


HI Kalle,

Do you consider this hw3.0 firmware does not support monitor mode a 
firmware bug?

Thanks.

-- 
Xuebing

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ath10k: qca6174 firmware: difference between hw2.1/firmware-5 and hw3.0/firmware-4
  2016-09-05  2:56   ` Xuebing Wang
@ 2016-09-07 23:25     ` Xuebing Wang
  2016-09-08  5:13       ` Valo, Kalle
  0 siblings, 1 reply; 8+ messages in thread
From: Xuebing Wang @ 2016-09-07 23:25 UTC (permalink / raw)
  To: Kalle Valo; +Cc: Michal Kazior, ath10k


On 09/05/2016 10:56 AM, Xuebing Wang wrote:
> On 08/24/2016 02:13 PM, Michal Kazior wrote:
>> On 24 August 2016 at 05:57, Xuebing Wang <xbing6@gmail.com> wrote:
>>> Hi Kalle,
>>>
>>> I cloned your ath10k-firmware from your github. Would you please 
>>> advise what
>>> are the differences of hw2.1/firmware-5 and hw3.0/firmware-4 for 
>>> qca6174?
>>> Does hw3.0/firmware-4 support Monitor Mode?
>>>
>>> I have a wlan card with BMI version (QCA6174_HW_2_1_VERSION 
>>> 0x05010000) and
>>> Monitor Mode works no problem with latest kernel v4.8-rc2.
>>>
>>> I have another wlan card with (QCA6174_HW_3_2_VERSION 0x05030000). I am
>>> trying to back-port ath10k from v4.8-rc2 to 3.10.73 for this HW_3_2 
>>> QCA6174
>>> wlan card. Virtual interface (mon0) can be added and brought-up, but 
>>> tcpdump
>>> can not capture any packets. I am wondering if it could be related to
>>> (hw2.1/firmware-5 vs hw3.0/firmware-4)?
>> Official hw3.x's firmware supports full rx offload. Rx event used to
>> deliver frames is very specialized effectively preventing sniffing /
>> monitor operation.
>>
>> I don't know if there's any way around it without getting your hands
>> on firmware build that doesn't have the full rx offload compiled in
>> (assuming such a build even exists).
>>
>>
>> Michał
>
> Hi Michal,
>
> I confirm hw3.0 firmware does not support monitor mode, on kernel 
> 4.8.0-rc2.
>
> I got one Killer 1535 wlan card (with qca6174 hw3.2), monitor mode 
> does not work. I do use monitor mode on hw2.1 qca6174 and ath9k many 
> times.
>
> dmesg shows:
> ------
> qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
> kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
> firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features 
> wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
> board_file api 2 bmi_id N/A crc32 46b57247
> ------
>
> Also, I can not set hw3.x firmware monitor mode to a specific freq as 
> below. I am using Ubuntu 16.04.1 with kernel 4.8.0-rc2.
> ------
> $ sudo iw dev mon0 set freq 2462
> $ iwconfig mon0
> mon0      IEEE 802.11  Mode:Monitor  Tx-Power=0 dBm
>           Retry short limit:7   RTS thr:off   Fragment thr:off
>           Power Management:on
> ------
>
>
> HI Kalle,
>
> Do you consider this hw3.0 firmware does not support monitor mode a 
> firmware bug?
>
> Thanks.

Hi Kalle,

For unknown reasons, previous email bounced back. It did successfully 
went to ath10k mailing list.

Do you consider this hw3.0 firmware does not support monitor mode a 
firmware bug, or do you see any chance to add a way to configure 
firmware to enable Monitor Mode? Thanks.

-- 
Xuebing

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ath10k: qca6174 firmware: difference between hw2.1/firmware-5 and hw3.0/firmware-4
  2016-09-07 23:25     ` Xuebing Wang
@ 2016-09-08  5:13       ` Valo, Kalle
  0 siblings, 0 replies; 8+ messages in thread
From: Valo, Kalle @ 2016-09-08  5:13 UTC (permalink / raw)
  To: Xuebing Wang; +Cc: michal.kazior, ath10k

Xuebing Wang <xbing6@gmail.com> writes:

>> Do you consider this hw3.0 firmware does not support monitor mode a
>> firmware bug?
>>
>> Thanks.
>
> For unknown reasons, previous email bounced back. It did successfully
> went to ath10k mailing list.

I did get it, I just didn't have a chance to reply yet.

> Do you consider this hw3.0 firmware does not support monitor mode a
> firmware bug, or do you see any chance to add a way to configure
> firmware to enable Monitor Mode? Thanks.

Not a bug but more like QCA6174 firmware is missing a very useful
feature. But my opinion doesn't really matter here as I'm not part of
the firmware team, I just deliver their releases. The firmware team
makes the decisions what features include to their releases.

-- 
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-09-08  5:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-24  3:57 ath10k: qca6174 firmware: difference between hw2.1/firmware-5 and hw3.0/firmware-4 Xuebing Wang
2016-08-24  6:13 ` Michal Kazior
2016-08-24  9:11   ` Xuebing Wang
2016-08-24  9:57     ` Xuebing Wang
2016-08-30  8:03     ` Valo, Kalle
2016-09-05  2:56   ` Xuebing Wang
2016-09-07 23:25     ` Xuebing Wang
2016-09-08  5:13       ` Valo, Kalle

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.