* [IWL3945]Fix statistics in monitor mode
@ 2008-08-01 10:11 Maxim Levitsky
2008-08-04 3:32 ` Zhu Yi
0 siblings, 1 reply; 4+ messages in thread
From: Maxim Levitsky @ 2008-08-01 10:11 UTC (permalink / raw)
To: ipw3945-devel, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
Hi,
I guess it is time for me to add my .02 cents to iwlwifi driver.
Recently I reported a bug about crazy statistics (> 100 quality for
example) when turning on the monitor interface (this bug actually is
triggered when card is put in monitor mode, thus shows up when promisc
mode enabled as well)
It turns out that iwl3945_rx_reply_rx wasn't filling in the statistics
when running in monitor on, instead a garbage was passed.
Best regards,
Maxim Levitsky
[-- Attachment #2: 0001-IWL3945-Fix-statistics-in-monitor-mode.patch --]
[-- Type: application/mbox, Size: 1483 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [IWL3945]Fix statistics in monitor mode
2008-08-01 10:11 [IWL3945]Fix statistics in monitor mode Maxim Levitsky
@ 2008-08-04 3:32 ` Zhu Yi
2008-08-05 1:47 ` [ipw3945-devel] " Junty Mesmon
0 siblings, 1 reply; 4+ messages in thread
From: Zhu Yi @ 2008-08-04 3:32 UTC (permalink / raw)
To: Maxim Levitsky; +Cc: ipw3945-devel, linux-wireless
On Fri, 2008-08-01 at 13:11 +0300, Maxim Levitsky wrote:
> I guess it is time for me to add my .02 cents to iwlwifi driver.
> Recently I reported a bug about crazy statistics (> 100 quality for
> example) when turning on the monitor interface (this bug actually is
> triggered when card is put in monitor mode, thus shows up when promisc
> mode enabled as well)
>
> It turns out that iwl3945_rx_reply_rx wasn't filling in the statistics
> when running in monitor on, instead a garbage was passed.
Good catch. I'd suggest change 3945 the same way as 4965. That is, move
the iwl_pass_packet_to_mac80211() for MNTR before setting
priv->last_beacon_time, et al. We don't need to update these fields in
monitor mode anyway.
Thanks,
-yi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ipw3945-devel] [IWL3945]Fix statistics in monitor mode
2008-08-04 3:32 ` Zhu Yi
@ 2008-08-05 1:47 ` Junty Mesmon
2008-08-05 3:36 ` Zhu Yi
0 siblings, 1 reply; 4+ messages in thread
From: Junty Mesmon @ 2008-08-05 1:47 UTC (permalink / raw)
To: Zhu Yi, Maxim Levitsky, linux-wireless, ipw3945-devel
On Sun, Aug 3, 2008 at 11:32 PM, Zhu Yi <yi.zhu@intel.com> wrote:
> On Fri, 2008-08-01 at 13:11 +0300, Maxim Levitsky wrote:
>> I guess it is time for me to add my .02 cents to iwlwifi driver.
>> Recently I reported a bug about crazy statistics (> 100 quality for
>> example) when turning on the monitor interface (this bug actually is
>> triggered when card is put in monitor mode, thus shows up when promisc
>> mode enabled as well)
>>
>> It turns out that iwl3945_rx_reply_rx wasn't filling in the statistics
>> when running in monitor on, instead a garbage was passed.
>
> Good catch. I'd suggest change 3945 the same way as 4965. That is, move
> the iwl_pass_packet_to_mac80211() for MNTR before setting
> priv->last_beacon_time, et al. We don't need to update these fields in
> monitor mode anyway.
>
> Thanks,
> -yi
>
If we can have this data, what reason is their not to have it processed?
-J
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-08-05 3:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-01 10:11 [IWL3945]Fix statistics in monitor mode Maxim Levitsky
2008-08-04 3:32 ` Zhu Yi
2008-08-05 1:47 ` [ipw3945-devel] " Junty Mesmon
2008-08-05 3:36 ` Zhu Yi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).