linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: ferran <ranker72@gmail.com>
To: Bob Copeland <me@bobcopeland.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Fwd: Unable to operate a rt2770 device at 5GHz in mesh mode
Date: Tue, 07 Apr 2015 20:12:11 +0200	[thread overview]
Message-ID: <55241DFB.5080008@gmail.com> (raw)
In-Reply-To: <20150331204933.GC11601@localhost>

Hey Bob,

Thank you for your fast reply. I did a little more research the day
after your reply and I succeeded on it.

The issue was that the kernel's regulatory domain isn't set by default.

# iw reg get
country 00: DFS-UNSET
    (2402 - 2472 @ 40), (N/A, 20), (N/A)
    (2457 - 2482 @ 40), (N/A, 20), (N/A), NO-IR
    (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
    (5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR
    (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, NO-IR
    (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
    (5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
    (57240 - 63720 @ 2160), (N/A, 0), (N/A)

However, if I set it to a specific country, then it works.

# iw reg set ES
# iw reg get
country ES: DFS-ETSI
    (2400 - 2483 @ 40), (N/A, 20), (N/A)
    (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR
    (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS
    (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
    (57000 - 66000 @ 2160), (N/A, 40), (N/A)

>From the "rules" listed at the right, the one that was blocking the mesh
is "NO-IR", meaning "no initiating radiation"[1].

In short, by default Linux doesn't know where it is, so that it remains
conservative and doesn't let me start conversations.


Best regards,
Ferran

1:
https://wireless.wiki.kernel.org/en/developers/regulatory/processing_rules#beacon_hints

On 31/03/15 22:49, Bob Copeland wrote:
> On Tue, Mar 31, 2015 at 08:44:55PM +0200, ferran wrote:
>>   * Channels 12,13,14 and 36 to 48 and 149 to 165
>>
>>     ffff MHz [cc] (20.0 dBm) (passive scanning, no IBSS)
>                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
>
> In other words you cannot send beacons or other frames on this
> channel.
>
>> Does
>> it have anything to do with regulation restrictions? I have succeeded at
>> connecting to an AP at 5 GHz in managed mode.
> Yes.
>
> Once you start a mesh, it will create the mesh and start beaconing
> immediately, so the regulatory domain of your device and/or CRDA may prevent
> you from doing this.
>
> In managed mode, the device is not beaconing so it doesn't have this
> limitation, although it will not be able to send probe requests.
>


      reply	other threads:[~2015-04-07 18:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <551AE9AD.4050102@gmail.com>
2015-03-31 18:44 ` Fwd: Unable to operate a rt2770 device at 5GHz in mesh mode ferran
2015-03-31 20:49   ` Bob Copeland
2015-04-07 18:12     ` ferran [this message]

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=55241DFB.5080008@gmail.com \
    --to=ranker72@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=me@bobcopeland.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;
as well as URLs for NNTP newsgroup(s).