public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
From: "Fabio M. De Francesco" <fmdefrancesco@gmail.com>
To: Zameer Manji <zmanji@gmail.com>, Pavel Skripkin <paskripkin@gmail.com>
Cc: linux-staging@lists.linux.dev,
	Phillip Potter <phil@philpotter.co.uk>,
	Larry Finger <Larry.Finger@lwfinger.net>,
	Martin Kaiser <martin@kaiser.cx>,
	Michael Straube <straube.linux@gmail.com>
Subject: Re: r8188eu driver in 5.15 only shows wifi networks on channel 11
Date: Sat, 06 Nov 2021 23:17:44 +0100	[thread overview]
Message-ID: <1977263.McJW3uIAVl@localhost.localdomain> (raw)
In-Reply-To: <4f40be0c-1989-fd36-2d40-2e896d8d944f@gmail.com>

On Saturday, November 6, 2021 8:26:35 PM CET Pavel Skripkin wrote:
> 
> We need to review code better to prevent accidentally regressions
> 
> Thanks for bisection and your report
> 
Hello everybody,

I've just read this thread and I'm sorry for introducing a regression with 
commit 221abd4d478a ("staging: r8188eu: Remove no more necessary definitions 
and code").

Anyway, thanks to Zameer for reporting this issue and thanks to Larry for the 
fix :)

These are the output of my tests without Larry's fix:

localhost:~ # iwlist wlp0s20u1 channel 
wlp0s20u1  14 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
          Channel 14 : 2.484 GHz
          Current Frequency:2.462 GHz (Channel 11)

localhost:~ # iwlist wlp0s20u1 scanning | grep Channel
                    Frequency:2.462 GHz (Channel 11)
                    Frequency:2.422 GHz (Channel 3)
                    Frequency:2.427 GHz (Channel 4)

It can scan the only three cells that are reachable from my current position 
and it seems that all 14 channels are up and working.

I see that Larry fills the elements of the array that I left empty. I can't 
still understand why this driver works for everybody else but not for Zameer.

However, even if the users do something unusual or have weird configurations, 
I believe that drivers should be resilient and keep working properly. 

Therefore, it's for sure a regression and so it must be fixed. I'm happy that 
Zameer noticed it and helped with bisecting, and that Larry found soon the 
roots of the problem and fixed it.

Again, thanks to you all,

Fabio











  reply	other threads:[~2021-11-06 22:17 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-05  4:34 r8188eu driver in 5.15 only shows wifi networks on channel 11 Zameer Manji
2021-11-05  9:20 ` Pavel Skripkin
2021-11-05 21:03   ` Zameer Manji
2021-11-06  0:29     ` Phillip Potter
2021-11-06  8:32     ` Pavel Skripkin
2021-11-06  9:48       ` Pavel Skripkin
2021-11-06 13:21         ` Zameer Manji
2021-11-06 15:48           ` Zameer Manji
2021-11-06 16:59             ` Phillip Potter
2021-11-06 17:16               ` Zameer Manji
2021-11-06 18:09                 ` Larry Finger
2021-11-06 18:30                   ` Phillip Potter
2021-11-06 18:49                     ` Phillip Potter
2021-11-06 19:29                       ` Zameer Manji
2021-11-06 19:46                         ` Larry Finger
2021-11-06 19:56                           ` Zameer Manji
2021-11-06 21:33                             ` Phillip Potter
2021-11-06 17:44             ` Larry Finger
2021-11-06 17:52             ` Larry Finger
2021-11-06 19:26           ` Pavel Skripkin
2021-11-06 22:17             ` Fabio M. De Francesco [this message]
2021-11-06 23:05               ` Phillip Potter

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=1977263.McJW3uIAVl@localhost.localdomain \
    --to=fmdefrancesco@gmail.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=linux-staging@lists.linux.dev \
    --cc=martin@kaiser.cx \
    --cc=paskripkin@gmail.com \
    --cc=phil@philpotter.co.uk \
    --cc=straube.linux@gmail.com \
    --cc=zmanji@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox