Skip to contentSkip to conversation

Japan regulations

DISCUSSION Johannes Berg 3 participants 6 messages Mar 21, 2009 – Mar 22, 2009

lore
Share & tools
lore
#0 lore raw

The regulatory info for JP looks very odd
(http://wireless.kernel.org/en/developers/Regulatory/Database?alpha2=JP):

country JP:

        (2402.000 - 2472.000 @ 40.000), (N/A, 20.00)
        (2457.000 - 2482.000 @ 20.000), (N/A, 20.00)
        (2474.000 - 2494.000 @ 20.000), (N/A, 20.00), NO-OFDM

        (4910.000 - 4930.000 @ 10.000), (N/A, 23.00)
        (4910.000 - 4990.000 @ 40.000), (N/A, 23.00)

        (4930.000 - 4950.000 @ 10.000), (N/A, 23.00)

        (5030.000 - 5045.000 @ 10.000), (N/A, 23.00)
        (5030.000 - 5090.000 @ 40.000), (N/A, 23.00)
        (5050.000 - 5060.000 @ 10.000), (N/A, 23.00)

        (5170.000 - 5250.000 @ 40.000), (N/A, 20.00)

        (5250.000 - 5330.000 @ 40.000), (N/A, 20.00), DFS

        (5490.000 - 5710.000 @ 40.000), (N/A, 23.00), DFS

multiple of the ranges (blocked) overlap, especially the 4910 MHz part is strange, seems like that first rule should be killed. Also, how should the 2.4GHz part be interpreted?

Currently we are not interpreting overlapping ranges properly at all -- we really need to fix a set of interpretation rules.

johannes

#1 lore raw
Quoted 2 lines · Johannes Berg

The regulatory info for JP looks very odd
(http://wireless.kernel.org/en/developers/Regulatory/Database?alpha2=3D=

JP):

Quoted 3 lines

country JP:
=C2=A0 =C2=A0 =C2=A0 =C2=A0(2402.000 - 2472.000 @ 40.000), (N/A, 20.0=

0)

Quoted 1 line

=C2=A0 =C2=A0 =C2=A0 =C2=A0(2457.000 - 2482.000 @ 20.000), (N/A, 20.0=

0)

Quoted 1 line

=C2=A0 =C2=A0 =C2=A0 =C2=A0(2474.000 - 2494.000 @ 20.000), (N/A, 20.0=

0), NO-OFDM

Quoted 2 lines

=C2=A0 =C2=A0 =C2=A0 =C2=A0(4910.000 - 4930.000 @ 10.000), (N/A, 23.0=

0)

Quoted 1 line

=C2=A0 =C2=A0 =C2=A0 =C2=A0(4910.000 - 4990.000 @ 40.000), (N/A, 23.0=

0)

Quoted 2 lines

=C2=A0 =C2=A0 =C2=A0 =C2=A0(4930.000 - 4950.000 @ 10.000), (N/A, 23.0=

0)

Quoted 2 lines

=C2=A0 =C2=A0 =C2=A0 =C2=A0(5030.000 - 5045.000 @ 10.000), (N/A, 23.0=

0)

Quoted 1 line

=C2=A0 =C2=A0 =C2=A0 =C2=A0(5030.000 - 5090.000 @ 40.000), (N/A, 23.0=

0)

Quoted 1 line

=C2=A0 =C2=A0 =C2=A0 =C2=A0(5050.000 - 5060.000 @ 10.000), (N/A, 23.0=

0)

Quoted 2 lines

=C2=A0 =C2=A0 =C2=A0 =C2=A0(5170.000 - 5250.000 @ 40.000), (N/A, 20.0=

0)

Quoted 2 lines

=C2=A0 =C2=A0 =C2=A0 =C2=A0(5250.000 - 5330.000 @ 40.000), (N/A, 20.0=

0), DFS

Quoted 2 lines

=C2=A0 =C2=A0 =C2=A0 =C2=A0(5490.000 - 5710.000 @ 40.000), (N/A, 23.0=

0), DFS

Quoted 2 lines

multiple of the ranges (blocked) overlap, especially the 4910 MHz par=

t

Quoted 1 line

is strange, seems like that first rule should be killed.

Yeah, I think you're right. The second rule seems to imply the 10 MHz width part as well.

Quoted 2 lines

Also, how
should the 2.4GHz part be interpreted?

Channels 1-11 allow 40 width channels, so HT40 is allowed. Channels 12, 13 only allow 20 MHz width channels, so HT40 is disallowed= =2E
Channel 14 only allows OFDM.

Quoted 1 line

Currently we are not interpreting overlapping ranges properly at all =

--

Quoted 1 line

we really need to fix a set of interpretation rules.

Sort of, we currently stick to the first reg rule which fits our desired bandwidth. Right now we iterate through 2 possible max bandwidths -- 40 and 20 and then set the channel max bandwidth based on which one fits. Note though that we do disregard the freq_range max bandwidth, which my patches correct.

We also need to consider for future usage custom bandwidths, which I guess why we had the first JP rule for 4 GHz (but yeah the second rule seem to imply what the first one intends on allowing). First step might be to say allow drivers to use monitor mode with 10 MHz bandwidth or 5 MHz bandwidth. That of course would also need further work other than regulatory.

Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 1 line · Luis R. Rodriguez

Channel 14 only allows OFDM.

Only allows CCK, perhaps.

Signature · 1 line
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
#3 lore raw

2009/3/21 G=C3=A1bor Stefanik <[email protected]>:

Quoted 1 line

On Sat, Mar 21, 2009 at 8:46 PM, Luis R. Rodriguez <[email protected]>=

Quoted 2 lines · wrote:
Quoted 1 line

Channel 14 only allows OFDM.

Only allows CCK, perhaps.

Heh sorry yeah that, NO-OFDM.

Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to Luis R. Rodriguez
Quoted 11 lines · Luis R. Rodriguez
Quoted 7 lines

country JP:

       (2402.000 - 2472.000 @ 40.000), (N/A, 20.00)
       (2457.000 - 2482.000 @ 20.000), (N/A, 20.00)
       (2474.000 - 2494.000 @ 20.000), (N/A, 20.00), NO-OFDM

Also, how
should the 2.4GHz part be interpreted?

Channels 1-11 allow 40 width channels, so HT40 is allowed. Channels 12, 13 only allow 20 MHz width channels, so HT40 is disallowed. Channel 14 only allows OFDM.

s/OFDM/non-OFDM/

Ok, this is a bit of a problem. Let me break out of this thread and propose new, slightly changed, interpretation rules.

Quoted 8 lines
Quoted 2 lines

Currently we are not interpreting overlapping ranges properly at all -- we really need to fix a set of interpretation rules.

Sort of, we currently stick to the first reg rule which fits our desired bandwidth. Right now we iterate through 2 possible max bandwidths -- 40 and 20 and then set the channel max bandwidth based on which one fits. Note though that we do disregard the freq_range max bandwidth, which my patches correct.

True. I'm rather keen on removing that code though -- it is rather confusing to hardcode 20/40 in there and try them.

Quoted 6 lines

We also need to consider for future usage custom bandwidths, which I guess why we had the first JP rule for 4 GHz (but yeah the second rule seem to imply what the first one intends on allowing). First step might be to say allow drivers to use monitor mode with 10 MHz bandwidth or 5 MHz bandwidth. That of course would also need further work other than regulatory.

Indeed. The question is how we want to capture this. So far I was always thinking that we would capture this as an extra channel type -- like HT40+, but going the other direction -- "10MHZ"/"5MHZ".

johannes

#5 lore raw
Quoted 4 lines · Johannes Berg
Quoted 2 lines · Luis R. Rodriguez
Quoted 2 lines

country JP:
=C2=A0 =C2=A0 =C2=A0 =C2=A0(2402.000 - 2472.000 @ 40.000), (N/A, 2=

0.00)

Quoted 1 line
Quoted 1 line
Quoted 1 line

=C2=A0 =C2=A0 =C2=A0 =C2=A0(2457.000 - 2482.000 @ 20.000), (N/A, 2=

0.00)

Quoted 1 line
Quoted 1 line
Quoted 1 line

=C2=A0 =C2=A0 =C2=A0 =C2=A0(2474.000 - 2494.000 @ 20.000), (N/A, 2=

0.00), NO-OFDM

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

Also, how
should the 2.4GHz part be interpreted?

Channels 1-11 allow 40 width channels, so HT40 is allowed. Channels 12, 13 only allow 20 MHz width channels, so HT40 is disallo=

wed.

Quoted 8 lines
Quoted 1 line

Channel 14 only allows OFDM.

s/OFDM/non-OFDM/

Ok, this is a bit of a problem. Let me break out of this thread and propose new, slightly changed, interpretation rules.

Quoted 1 line
Quoted 1 line

Currently we are not interpreting overlapping ranges properly at a=

ll --

Quoted 6 lines
Quoted 6 lines
Quoted 1 line

we really need to fix a set of interpretation rules.

Sort of, we currently stick to the first reg rule which fits our desired bandwidth. Right now we iterate through 2 possible max bandwidths -- 40 and 20 and then set the channel max bandwidth based on which one fits. Note though that we do disregard the freq_range m=

ax

Quoted 4 lines
Quoted 1 line

bandwidth, which my patches correct.

True. I'm rather keen on removing that code though -- it is rather confusing to hardcode 20/40 in there and try them.

Agreed, which is why I got rid of them in my patches too.

Quoted 2 lines
Quoted 2 lines

We also need to consider for future usage custom bandwidths, which I guess why we had the first JP rule for 4 GHz (but yeah the second ru=

le

Quoted 6 lines
Quoted 4 lines

seem to imply what the first one intends on allowing). First step might be to say allow drivers to use monitor mode with 10 MHz bandwidth or 5 MHz bandwidth. That of course would also need further work other than regulatory.

Indeed. The question is how we want to capture this. So far I was alw=

ays

Quoted 2 lines

thinking that we would capture this as an extra channel type -- like HT40+, but going the other direction -- "10MHZ"/"5MHZ".

That would work.

Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html