Search Linux Wireless

Re: Problems and suggestions to the kernel module r8723bs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/30/18 12:57 PM, Simon Beginn wrote:
Hi Larry,

I experience some other strange behaviors. The chip cant connect to my old ASUS router (RT-N12E_B1) and cant even see the mobile hotspot of my smartphone. So, logically it cant take the best network, if it doesn't connect to my router or my smartphone - even directly lying beside it. I also cant reconnect to my test-network. The networks "Gonzales" and "TPC_install*" are both hosted by my router.

On 09/28/2018 05:59 PM, Larry Finger wrote:
sudo iw dev wlan0 scan | egrep "associated|SSID|signal"

Here the requested outputs:

-> Desk
BSS d4:6e:0e:5b:bf:ae(on wlan0) -- associated
     signal: -93.00 dBm
     SSID: Gonzales
     signal: -60.00 dBm
     SSID: Gonzales
     signal: -52.00 dBm
     SSID: Gonzales
     signal: -50.00 dBm
     SSID: TPC_Install

-> Place A (beside an other access point)

BSS d4:6e:0e:5b:bf:ae(on wlan0) -- associated
     signal: -78.00 dBm
     SSID: Gonzales
     signal: -45.00 dBm
     SSID: Gonzales
     signal: -65.00 dBm
     SSID: Gonzales


And here the full output (only for diagnostic reasons) [at my desk]:

BSS d4:6e:0e:5b:bf:ae(on wlan0) -- associated
     TSF: 337615491 usec (0d, 00:05:37)
     freq: 2447
     beacon interval: 100 TUs
     capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
     signal: -93.00 dBm
     last seen: 0 ms ago
     SSID: Gonzales
     Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
     DS Parameter set: channel 8
     ERP: <no flags>
     Extended supported rates: 24.0 36.0 48.0 54.0
     HT capabilities:
         Capabilities: 0x106e
             HT20/HT40
             SM Power Save disabled
             RX HT20 SGI
             RX HT40 SGI
             No RX STBC
             Max AMSDU length: 3839 bytes
             DSSS/CCK HT40
         Maximum RX AMPDU length 32767 bytes (exponent: 0x002)
         Minimum RX AMPDU time spacing: 16 usec (0x07)
         HT RX MCS rate indexes supported: 0-15
         HT TX MCS rate indexes are undefined
     HT operation:
          * primary channel: 8
          * secondary channel offset: below
          * STA channel width: any
          * RIFS: 0
          * HT protection: no
          * non-GF present: 0
          * 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
     WPA:     * Version: 1
          * Group cipher: TKIP
          * Pairwise ciphers: TKIP CCMP
          * Authentication suites: PSK
     RSN:     * Version: 1
          * Group cipher: TKIP
          * Pairwise ciphers: TKIP CCMP
          * Authentication suites: PSK
          * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
     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
BSS 30:b5:c2:68:07:2c(on wlan0)
     TSF: 337615505 usec (0d, 00:05:37)
     freq: 2412
     beacon interval: 100 TUs
     capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
     signal: -65.00 dBm
     last seen: 0 ms ago
     SSID: Gonzales
     Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
     DS Parameter set: channel 1
     ERP: <no flags>
     Extended supported rates: 24.0 36.0 48.0 54.0
     HT capabilities:
         Capabilities: 0x106e
             HT20/HT40
             SM Power Save disabled
             RX HT20 SGI
             RX HT40 SGI
             No RX STBC
             Max AMSDU length: 3839 bytes
             DSSS/CCK HT40
         Maximum RX AMPDU length 32767 bytes (exponent: 0x002)
         Minimum RX AMPDU time spacing: 16 usec (0x07)
         HT RX MCS rate indexes supported: 0-15
         HT TX MCS rate indexes are undefined
     HT operation:
          * primary channel: 1
          * secondary channel offset: above
          * STA channel width: any
          * RIFS: 0
          * HT protection: no
          * non-GF present: 0
          * 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
     WPA:     * Version: 1
          * Group cipher: TKIP
          * Pairwise ciphers: TKIP CCMP
          * Authentication suites: PSK
     RSN:     * Version: 1
          * Group cipher: TKIP
          * Pairwise ciphers: TKIP CCMP
          * Authentication suites: PSK
          * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
     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
BSS 1c:b7:2c:7c:9b:30(on wlan0)
     TSF: 337615512 usec (0d, 00:05:37)
     freq: 2472
     beacon interval: 100 TUs
     capability: ESS Privacy ShortSlotTime APSD (0x0c11)
     signal: -50.00 dBm
     last seen: 0 ms ago
     SSID: Gonzales
     Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0
     DS Parameter set: channel 13
     ERP: Barker_Preamble_Mode
     Extended supported rates: 6.0 12.0 24.0 48.0
     HT capabilities:
         Capabilities: 0x11ee
             HT20/HT40
             SM Power Save disabled
             RX HT20 SGI
             RX HT40 SGI
             TX STBC
             RX STBC 1-stream
             Max AMSDU length: 3839 bytes
             DSSS/CCK HT40
         Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
         Minimum RX AMPDU time spacing: 4 usec (0x05)
         HT RX MCS rate indexes supported: 0-15, 32
         HT TX MCS rate indexes are undefined
     HT operation:
          * primary channel: 13
          * secondary channel offset: no secondary
          * STA channel width: 20 MHz
          * RIFS: 0
          * HT protection: no
          * non-GF present: 0
          * 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
     RSN:     * Version: 1
          * Group cipher: CCMP
          * Pairwise ciphers: CCMP
          * Authentication suites: PSK
          * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
     WMM:     * Parameter version 1
          * u-APSD
          * 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
     BSS Load:
          * station count: 0
          * channel utilisation: 11/255
          * available admission capacity: 31250 [*32us]
     Overlapping BSS scan params:
          * passive dwell: 20 TUs
          * active dwell: 10 TUs
          * channel width trigger scan interval: 300 s
          * scan passive total per channel: 200 TUs
          * scan active total per channel: 20 TUs
          * BSS width channel transition delay factor: 5
          * OBSS Scan Activity Threshold: 0.25 %
     Extended capabilities:
          * HT Information Exchange Supported
     Country: FR    Environment: Indoor/Outdoor
         Channels [1 - 13] @ 16 dBm
BSS 1c:b7:2c:7c:9b:31(on wlan0)
     TSF: 337615517 usec (0d, 00:05:37)
     freq: 2472
     beacon interval: 100 TUs
     capability: ESS Privacy ShortSlotTime APSD (0x0c11)
     signal: -48.00 dBm
     last seen: 0 ms ago
     SSID: TPC_Install
     Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0
     DS Parameter set: channel 13
     ERP: Barker_Preamble_Mode
     Extended supported rates: 6.0 12.0 24.0 48.0
     HT capabilities:
         Capabilities: 0x11ee
             HT20/HT40
             SM Power Save disabled
             RX HT20 SGI
             RX HT40 SGI
             TX STBC
             RX STBC 1-stream
             Max AMSDU length: 3839 bytes
             DSSS/CCK HT40
         Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
         Minimum RX AMPDU time spacing: 4 usec (0x05)
         HT RX MCS rate indexes supported: 0-15, 32
         HT TX MCS rate indexes are undefined
     HT operation:
          * primary channel: 13
          * secondary channel offset: no secondary
          * STA channel width: 20 MHz
          * RIFS: 0
          * HT protection: no
          * non-GF present: 0
          * 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
     RSN:     * Version: 1
          * Group cipher: CCMP
          * Pairwise ciphers: CCMP
          * Authentication suites: PSK
          * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
     WMM:     * Parameter version 1
          * u-APSD
          * 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
     BSS Load:
          * station count: 0
          * channel utilisation: 11/255
          * available admission capacity: 31250 [*32us]
     Overlapping BSS scan params:
          * passive dwell: 20 TUs
          * active dwell: 10 TUs
          * channel width trigger scan interval: 300 s
          * scan passive total per channel: 200 TUs
          * scan active total per channel: 20 TUs
          * BSS width channel transition delay factor: 5
          * OBSS Scan Activity Threshold: 0.25 %
     Extended capabilities:
          * HT Information Exchange Supported
     Country: FR    Environment: Indoor/Outdoor
         Channels [1 - 13] @ 16 dBm

The only difference between the other networks and my routers one is the different "Country" value (at my first look).... And my hotspots network "Lineage 14.1" is not visible too. (And so i cant connect to it too.)


Thank you and anyone for your/their effort!

Obviously, the driver fails badly at roaming. It has associated with an AP with signal of -93 dBm when -50 is available, and appears to associate with the first one it sees. Unfortunately, I do not have the necessary understanding of the chip or the driver to fix that problem. My only suggestion is that you determine the BSSID of the strongest AP and use the connection editor in NetworkManager to force a connection to that AP.

Without an over-the-air capture of the beacon from either your old ASUS router or the mobile hotspot, I have ne idea why the chip cannot connect to them.

Larry



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux