Send users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        
http://rt2x00.serialmonkey.com/mailman/listinfo/users_rt2x00.serialmonkey.com

or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."


Today's Topics:

   1. Re: [PATCH] rt2x00: allow AP and mesh mode to     operate
      simultaneously (Helmut Schaa)
   2. Re: Unable to get RTS/CTS working in rt2800 (Helmut Schaa)
   3. [PATCH] rt2x00: allow AP and mesh mode to operate
      simultaneously (Chun-Yeow Yeoh)
   4. Re: [PATCH] rt2x00: allow AP and mesh mode to     operate
      simultaneously (Yeoh Chun-Yeow)
   5. Re: [PATCH 1/4] rt2x00: print warning,    notice and info as
      default (Helmut Schaa)
   6. Re: [PATCH 1/4] rt2x00: print warning,    notice and info as
      default (Gertjan van Wingerde)
   7. Re: [PATCH 1/4] rt2x00: print warning,    notice and info as
      default (Helmut Schaa)
   8. Re: [PATCH] rt2x00: allow AP and mesh mode to     operate
      simultaneously (Gertjan van Wingerde)
   9. Re: Unable to get RTS/CTS working in rt2800 (Helmut Schaa)


----------------------------------------------------------------------

Message: 1
Date: Fri, 25 Jan 2013 09:36:23 +0100
From: Helmut Schaa <[email protected]>
To: Chun-Yeow Yeoh <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: [rt2x00-users] [PATCH] rt2x00: allow AP and mesh mode to
        operate simultaneously
Message-ID:
        <CAGXE3d8M6Gsv5-4j2H68+tr=csvrz2a7ow5xcmhuf_mey-p...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Jan 25, 2013 at 5:47 AM, Chun-Yeow Yeoh <[email protected]> wrote:
> Allow AP and Mesh mode to operate concurrently using
> single radio. Verify this using fonera 2.0n featuring
> RT3052 chipset and also TP-LINK TL-WN727N featuring
> RT5370 chipset.

Just curios: Are you actually running mesh + ap mode on a rt2x00 device?

Otherwise I'm fine with this.

Thanks,
Helmut

> Signed-off-by: Chun-Yeow Yeoh <[email protected]>

Acked-by: Helmut Schaa <[email protected]>

> ---
>  drivers/net/wireless/rt2x00/rt2x00dev.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c 
> b/drivers/net/wireless/rt2x00/rt2x00dev.c
> index b40a538..f3c83f4 100644
> --- a/drivers/net/wireless/rt2x00/rt2x00dev.c
> +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
> @@ -1236,7 +1236,8 @@ static inline void rt2x00lib_set_if_combinations(struct 
> rt2x00_dev *rt2x00dev)
>          */
>         if_limit = &rt2x00dev->if_limits_ap;
>         if_limit->max = rt2x00dev->ops->max_ap_intf;
> -       if_limit->types = BIT(NL80211_IFTYPE_AP);
> +       if_limit->types = BIT(NL80211_IFTYPE_AP) |
> +                       BIT(NL80211_IFTYPE_MESH_POINT);
>
>         /*
>          * Build up AP interface combinations structure.
> --
> 1.7.0.4
>



------------------------------

Message: 2
Date: Fri, 25 Jan 2013 09:42:31 +0100
From: Helmut Schaa <[email protected]>
To: Erwin Van de Velde <[email protected]>
Cc: [email protected],     rt2x00 Users List
        <[email protected]>
Subject: Re: [rt2x00-users] Unable to get RTS/CTS working in rt2800
Message-ID:
        <CAGXE3d_fD9etSnMKFUb6YGz=4g85ackvdgypjusmjxus-nv...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Jan 24, 2013 at 4:58 PM, Erwin Van de Velde
<[email protected]> wrote:
> In a test setup with 802.11a/n a colleague and I tried enabling RTS/CTS. The
> only thing we got however was a CTS to self. RTS threshold was 1000B,
> packet size 1400B.

Did you use 11n aggregation?

> We looked for other options but did not find anything
> helpful, what else can we try to enable RTS/CTS?

Yup, there are several issues there:
- The hw ignores RTS thresholds for AMPDUs AFAIK
- HT protection always uses CTS-to-self (hardcoded in driver in
rt2800_config_ht_opmode)

I don't think any other driver allows to configure if RTS-CTS or
CTS-to-self should be used?
You can easily enforce RTS-CTS for 11n transmissions by changing
rt2800_config_ht_opmode.

HTH,
Helmut



------------------------------

Message: 3
Date: Fri, 25 Jan 2013 12:47:50 +0800
From: Chun-Yeow Yeoh <[email protected]>
To: [email protected]
Cc: Chun-Yeow Yeoh <[email protected]>,
        [email protected]
Subject: [rt2x00-users] [PATCH] rt2x00: allow AP and mesh mode to
        operate simultaneously
Message-ID: <[email protected]>

Allow AP and Mesh mode to operate concurrently using
single radio. Verify this using fonera 2.0n featuring
RT3052 chipset and also TP-LINK TL-WN727N featuring
RT5370 chipset.

Signed-off-by: Chun-Yeow Yeoh <[email protected]>
---
 drivers/net/wireless/rt2x00/rt2x00dev.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c 
b/drivers/net/wireless/rt2x00/rt2x00dev.c
index b40a538..f3c83f4 100644
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
@@ -1236,7 +1236,8 @@ static inline void rt2x00lib_set_if_combinations(struct 
rt2x00_dev *rt2x00dev)
         */
        if_limit = &rt2x00dev->if_limits_ap;
        if_limit->max = rt2x00dev->ops->max_ap_intf;
-       if_limit->types = BIT(NL80211_IFTYPE_AP);
+       if_limit->types = BIT(NL80211_IFTYPE_AP) |
+                       BIT(NL80211_IFTYPE_MESH_POINT);
 
        /*
         * Build up AP interface combinations structure.
-- 
1.7.0.4




------------------------------

Message: 4
Date: Fri, 25 Jan 2013 16:43:23 +0800
From: Yeoh Chun-Yeow <[email protected]>
To: Helmut Schaa <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: [rt2x00-users] [PATCH] rt2x00: allow AP and mesh mode to
        operate simultaneously
Message-ID:
        <caefj985hqgr2whdxw9fs6_rdkok1p4rf6tvtkcgvcirds8n...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

> Just curios: Are you actually running mesh + ap mode on a rt2x00 device?

Yes. AP and Mesh created from the same radio are bridged together in
Fonera 2.0n. I have also tried this using the TP-Link USB adapter in a
PC. STA can associate with the AP and has its traffic forwarding via
mesh.

---
Chun-Yeow



------------------------------

Message: 5
Date: Fri, 25 Jan 2013 09:46:32 +0100
From: Helmut Schaa <[email protected]>
To: Gertjan van Wingerde <[email protected]>
Cc: "[email protected]" <[email protected]>,
        Xose Vazquez Perez <[email protected]>,
        "[email protected]" <[email protected]>
Subject: Re: [rt2x00-users] [PATCH 1/4] rt2x00: print warning,  notice
        and info as default
Message-ID:
        <CAGXE3d-_=PcT2nZq=ttosvxromr0hoy+pbaoemp7nxayzko...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Jan 24, 2013 at 10:06 PM, Gertjan van Wingerde
<[email protected]> wrote:
> On 24 jan. 2013, at 21:59, Stanislaw Gruszka <[email protected]> wrote:
>
>> Some messages provide useful information, but are disabled without
>> CONFIG_RT2X00_DEBUG=y, so enable them by default
>>
>> Signed-off-by: Stanislaw Gruszka <[email protected]>
>
> Acked-by: Gertjan van Wingerde <[email protected]>
>
> Thanks for respinning.

Fine with me, however, in the future we could think of just using
dynamic debug in rt2x00 (pr_debug etc). Would allow a user to
enable debug output selectively during runtime.

Helmut



------------------------------

Message: 6
Date: Fri, 25 Jan 2013 09:51:46 +0100
From: Gertjan van Wingerde <[email protected]>
To: Helmut Schaa <[email protected]>
Cc: "[email protected]" <[email protected]>,
        Xose Vazquez Perez <[email protected]>,
        "[email protected]" <[email protected]>
Subject: Re: [rt2x00-users] [PATCH 1/4] rt2x00: print warning,  notice
        and info as default
Message-ID:
        <CAL1gcdPoTSHWgDBf2BkAXXeJV6Whj1pXqGQ8=gopxrnbnxr...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Jan 25, 2013 at 9:46 AM, Helmut Schaa
<[email protected]> wrote:
> On Thu, Jan 24, 2013 at 10:06 PM, Gertjan van Wingerde
> <[email protected]> wrote:
>> On 24 jan. 2013, at 21:59, Stanislaw Gruszka <[email protected]> wrote:
>>
>>> Some messages provide useful information, but are disabled without
>>> CONFIG_RT2X00_DEBUG=y, so enable them by default
>>>
>>> Signed-off-by: Stanislaw Gruszka <[email protected]>
>>
>> Acked-by: Gertjan van Wingerde <[email protected]>
>>
>> Thanks for respinning.
>
> Fine with me, however, in the future we could think of just using
> dynamic debug in rt2x00 (pr_debug etc). Would allow a user to
> enable debug output selectively during runtime.
>

I was thinking about the same and I have put the conversion to dynamic
debug on my TODO list
(unless someone beats me to it, I will look at this during the weekend).

---
Gertjan



------------------------------

Message: 7
Date: Fri, 25 Jan 2013 09:52:48 +0100
From: Helmut Schaa <[email protected]>
To: Gertjan van Wingerde <[email protected]>
Cc: "[email protected]" <[email protected]>,
        Xose Vazquez Perez <[email protected]>,
        "[email protected]" <[email protected]>
Subject: Re: [rt2x00-users] [PATCH 1/4] rt2x00: print warning,  notice
        and info as default
Message-ID:
        <CAGXE3d8ApU+kAi-XqL-o7Sc2qGeGgSaTC2=vt9mj6urkorx...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Jan 25, 2013 at 9:51 AM, Gertjan van Wingerde
<[email protected]> wrote:
> On Fri, Jan 25, 2013 at 9:46 AM, Helmut Schaa
> <[email protected]> wrote:
>> On Thu, Jan 24, 2013 at 10:06 PM, Gertjan van Wingerde
>> <[email protected]> wrote:
>>> On 24 jan. 2013, at 21:59, Stanislaw Gruszka <[email protected]> wrote:
>>>
>>>> Some messages provide useful information, but are disabled without
>>>> CONFIG_RT2X00_DEBUG=y, so enable them by default
>>>>
>>>> Signed-off-by: Stanislaw Gruszka <[email protected]>
>>>
>>> Acked-by: Gertjan van Wingerde <[email protected]>
>>>
>>> Thanks for respinning.
>>
>> Fine with me, however, in the future we could think of just using
>> dynamic debug in rt2x00 (pr_debug etc). Would allow a user to
>> enable debug output selectively during runtime.
>>
>
> I was thinking about the same and I have put the conversion to dynamic
> debug on my TODO list
> (unless someone beats me to it, I will look at this during the weekend).

No worries, I won't be able to beat you :D



------------------------------

Message: 8
Date: Fri, 25 Jan 2013 10:05:05 +0100
From: Gertjan van Wingerde <[email protected]>
To: Chun-Yeow Yeoh <[email protected]>
Cc: rt2x00 Users List <[email protected]>,
        "[email protected]" <[email protected]>
Subject: Re: [rt2x00-users] [PATCH] rt2x00: allow AP and mesh mode to
        operate simultaneously
Message-ID:
        <CAL1gcdPBYcD=ZvV4iOGpQw9=gikx0oywll6uuthou2vo2z9...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Jan 25, 2013 at 5:47 AM, Chun-Yeow Yeoh <[email protected]> wrote:
> Allow AP and Mesh mode to operate concurrently using
> single radio. Verify this using fonera 2.0n featuring
> RT3052 chipset and also TP-LINK TL-WN727N featuring
> RT5370 chipset.
>
> Signed-off-by: Chun-Yeow Yeoh <[email protected]>

Acked-by: Gertjan van Wingerde <[email protected]>

> ---
>  drivers/net/wireless/rt2x00/rt2x00dev.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c 
> b/drivers/net/wireless/rt2x00/rt2x00dev.c
> index b40a538..f3c83f4 100644
> --- a/drivers/net/wireless/rt2x00/rt2x00dev.c
> +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
> @@ -1236,7 +1236,8 @@ static inline void rt2x00lib_set_if_combinations(struct 
> rt2x00_dev *rt2x00dev)
>          */
>         if_limit = &rt2x00dev->if_limits_ap;
>         if_limit->max = rt2x00dev->ops->max_ap_intf;
> -       if_limit->types = BIT(NL80211_IFTYPE_AP);
> +       if_limit->types = BIT(NL80211_IFTYPE_AP) |
> +                       BIT(NL80211_IFTYPE_MESH_POINT);
>
>         /*
>          * Build up AP interface combinations structure.
> --
> 1.7.0.4
>



--
---
Gertjan



------------------------------

Message: 9
Date: Fri, 25 Jan 2013 13:05:12 +0100
From: Helmut Schaa <[email protected]>
To: Erwin Van de Velde <[email protected]>
Cc: [email protected],     rt2x00 Users List
        <[email protected]>
Subject: Re: [rt2x00-users] Unable to get RTS/CTS working in rt2800
Message-ID:
        <cagxe3d8kbf-tbege6z0kvys5xivfcrmunyrbph-fuhjszhq...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Jan 25, 2013 at 11:45 AM, Erwin Van de Velde
<[email protected]> wrote:
> On Friday 25 January 2013 09:42:31 Helmut Schaa wrote:
>> On Thu, Jan 24, 2013 at 4:58 PM, Erwin Van de Velde
>>
>> <[email protected]> wrote:
>> > In a test setup with 802.11a/n a colleague and I tried enabling
> RTS/CTS.
>> > The only thing we got however was a CTS to self. RTS threshold was
> 1000B,
>> > packet size 1400B.
>>
>> Did you use 11n aggregation?
>
> Yes, but afterwards we also tried it with 802.11a, same result.

Bad. I expected this to work ...

>> > We looked for other options but did not find anything
>> > helpful, what else can we try to enable RTS/CTS?
>>
>> Yup, there are several issues there:
>> - The hw ignores RTS thresholds for AMPDUs AFAIK
>> - HT protection always uses CTS-to-self (hardcoded in driver in
>> rt2800_config_ht_opmode)
>>
>> I don't think any other driver allows to configure if RTS-CTS or
>> CTS-to-self should be used?
>> You can easily enforce RTS-CTS for 11n transmissions by changing
>> rt2800_config_ht_opmode.
>
> Where do I configure that? Is it in the source code or is it a kernel
> module parameter?

You'd need to change the source code of rt2800_config_ht_opmode.

Helmut



------------------------------

Subject: Digest Footer

_______________________________________________
users mailing list
[email protected]
http://rt2x00.serialmonkey.com/mailman/listinfo/users_rt2x00.serialmonkey.com


------------------------------

End of users Digest, Vol 47, Issue 22
*************************************

Reply via email to