Search Linux Wireless

Re: [RFC v3] cfg80211: VHT regulatory

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

 



On Mon, Sep 24, 2012 at 3:48 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Mon, 2012-09-17 at 11:56 -0700, Luis R. Rodriguez wrote:
>
>> > I'm not convinced :-)
>> >
>> > Today, we have people who want to use wifi on other parts of the
>> > spectrum, like somewhere in the 800 MHz range for example. If that gets
>> > properly integrated into drivers (rather than pretending it's actually
>> > 2.4 GHz) then you may want to do something different here, and those
>> > channels would never actually have IEEE defined 80 MHz rules.
>>
>> So we'd have HT20 and HT40 only for 800 MHz?
>
> Why would we want to restrict bandwidth use to the band we're operating
> in at all? Fundamentally, the question, in terms of regulatory, is:
>
>  "Can I use a XY MHz around XYZ MHz?"
>
> It isn't really "Can I use VHT 80 on channel 6".

True, but we won't enable HT on non-HT cards, and so on. As much as we
can assume code is non IEEE specific cfg80211 builds on IEEE framework
and adding support to HT-foo or HT-bar to any band would require some
changes today.

>> > Also, those definitions are arbitrary for interoperability and don't
>> > reflect regulatory rules.
>>
>> It seems easier to implement supporting checking for a static set of
>> VHT arrangements rather than figuring out all theoretically possible
>> arrangements given that most other arrangements would be unused /
>> unimplemented / not-supported.
>
> I think it's only superficially easier since we define regulatory rules
> in terms of spectrum usage, and not in terms of IEEE channels.

I disagree here. Superficially it would indeed make things easier for
IEEE usage but in practice also it would make run time checks faster.
With a dynamic run time checker you are looking at a higher complex
operation at channel change time. That is what I am concerned about
ultimately.

>> > Yes, it may be easier today to just pretend
>> > that regulatory rules only matter for IEEE defined operation, but I'm
>> > not convinced that we really should have definitions here in the
>> > regulatory database that really only cover specific IEEE 802.11
>> > channels.
>>
>> Agreed, but what I am proposing doesn't necessarily push us to push
>> anything IEEE specific into the wireless regulatory database, but it
>> does however push us to implement IEEE specific use cases on cfg80211.
>
> Well, since the regulatory framework is now part of cfg80211 the line is
> a bit blurred here,

Well I consider regulatory code as code not on the Linux kernel and
cfg80211 regulatory code as IEEE 802.11 regulatory code. The regdb can
surely still be used on other subsystems, and surely can be shared
between them, but today the only user is IEEE 802.11

> but I don't see why a regulatory check should be
> restricted to 802.11 channels either, even if it uses the 802.11 defines
> to do the check?

cfg80211 deals with 802.11 ?

> On the contrary, I think that if we frame the question
> above in terms of 802.11 when asking the regulatory framework, then
> we'll most likely end up with a regulatory framework that is 802.11
> specific.

Agreed but I think cfg80211 regulatory code already is 802.11
specific, but not the userspace stuff. If we have a reason to make and
separate the cfg80211 regulatory code to be non-802.11 specific I'm
fine by that, but what's the use case so far and for what gain?

  Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux