Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    [wifi] how to fix wrong regdom?

    Support
    2
    5
    238
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      flu last edited by

      With a Nexus 5 otherwise running fine and with locale set to German, I cannot connect to wifi channels 12 and 13, that are legal channels in Germany. I've so far tried setting regdom via

      $ adb shell sudo iw reg set DE
      

      (no error message), but that doesn't seem to have any effect:

      $ adb shell iw reg get
      country 00: DFS-UNSET
      	(2402 - 2472 @ 40), (6, 20), (N/A)
      	(2457 - 2482 @ 20), (6, 20), (N/A), NO-IR
      	(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, NO-IR
      	(5170 - 5250 @ 40), (6, 20), (N/A), NO-IR
      	(5735 - 5835 @ 40), (6, 20), (N/A), NO-IR
      $ adb shell iwlist wlan0 channel
      wlan0     20 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 36 : 5.18 GHz
                Channel 40 : 5.2 GHz
                Channel 44 : 5.22 GHz
                Channel 48 : 5.24 GHz
                Channel 149 : 5.745 GHz
                Channel 153 : 5.765 GHz
                Channel 157 : 5.785 GHz
                Channel 161 : 5.805 GHz
                Channel 165 : 5.825 GHz
      

      system information:

      $ adb shell system-image-cli --info
      b'<elided>\n'
      current build number: 4
      device name: hammerhead
      channel: ubports-touch/16.04/stable
      last update: 2018-12-10 09:26:26
      version version: 4
      version ubports: 20181126-12599
      version tag: OTA-6
      version keyring: archive-master
      version device: 20181126-2421
      

      firmware version (latest, I think):

      $ adb shell /usr/share/ofono/scripts/list-modems
      [ /ril_0 ]
          Revision = M8974A-2.0.50.2.30
      [...]
      

      I did observe the problem with OTA-5 already. Any suggestions how to activate wifi channels 12 and 13? The device feels one-eyed. 😞

      F 1 Reply Last reply Reply Quote 1
      • F
        flu @flu last edited by

        Can anybody confirm UT supporting local radio regulation? That is, regulatory domain is not set to 00 (worldwide) on a device? A shell command to check your device would be

        $ iw reg get
        

        The first line of output should contain a valid two-letter country code. Or is 00 what UT users get?

        1 Reply Last reply Reply Quote 0
        • jezek
          jezek last edited by jezek

          $ iw reg get
          country 00: DFS-UNSET
          	(2402 - 2472 @ 40), (3, 20), (N/A)
          	(2457 - 2482 @ 40), (3, 20), (N/A), NO-IR
          	(2474 - 2494 @ 20), (3, 20), (N/A), NO-OFDM, NO-IR
          	(5170 - 5250 @ 80), (3, 20), (N/A), NO-IR
          	(5250 - 5330 @ 80), (3, 20), (N/A), NO-IR
          	(5490 - 5710 @ 80), (3, 20), (N/A), NO-IR
          	(5735 - 5835 @ 80), (3, 20), (N/A), NO-IR
          	(57240 - 63720 @ 2160), (N/A, 0), (N/A)
          
          $ iwlist wlan0 channel
          wlan0     32 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
                    Channel 36 : 5.18 GHz
                    Channel 40 : 5.2 GHz
                    Channel 44 : 5.22 GHz
                    Channel 48 : 5.24 GHz
                    Channel 52 : 5.26 GHz
                    Channel 56 : 5.28 GHz
                    Channel 60 : 5.3 GHz
                    Channel 64 : 5.32 GHz
                    Channel 100 : 5.5 GHz
                    Channel 104 : 5.52 GHz
                    Channel 108 : 5.54 GHz
                    Channel 112 : 5.56 GHz
                    Channel 116 : 5.58 GHz
                    Channel 120 : 5.6 GHz
                    Channel 124 : 5.62 GHz
                    Channel 128 : 5.64 GHz
                    Channel 132 : 5.66 GHz
                    Channel 136 : 5.68 GHz
                    Current Frequency:2.422 GHz (Channel 3)
          
          $ system-image-cli -i
          b'54224609\n'
          current build number: 24
          device name: FP2
          channel: ubports-touch/16.04/rc
          last update: 2018-11-29 15:59:26
          version version: 24
          version ubports: 20181126-12599
          version tag: 2018-W48
          version keyring: archive-master
          version device: 20181126-29395
          

          Edit: added iwlist wlan0 channel output

          F 1 Reply Last reply Reply Quote 0
          • F
            flu @jezek last edited by

            @jezek Hmm … doesn't look too exciting. 😞 Can anybody share some information, if that is intentional behaviour?

            F 1 Reply Last reply Reply Quote 0
            • F
              flu @flu last edited by

              Found a related bug report: Hammerhead: Some Wifi networks don't appear #714.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post