Skip to contentSkip to conversation

connecting to B-mode AP

d80211 mabbas 4 participants 8 messages Sep 14, 2006 – Sep 17, 2006

Subsystems (2)
lore
Share & tools
lore

mabbas

author
#0 lore raw

When I connect to b-mode only AP and then run iwconf it shows it as a G-mode AP. I guess when we set frequency it look through all the modes and set the mode to the first channel it founds. since B and G share the same frequencies it will set phymode to G. How can we force it to set phymode to the AP we are associating with.

#1 lore raw

Why is it necessary to set phymode to B? - a G client can connect perfectly well to a B AP.

Simon

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of mabbas
Sent: Thursday, September 14, 2006 4:25 PM
To: [email protected]
Subject: [d80211] connecting to B-mode AP

When I connect to b-mode only AP and then run iwconf it shows it as a G-mode AP. I guess when we set frequency it look through all the modes and set the mode to the first channel it founds. since B and G share the same frequencies it will set phymode to G. How can we force it to set phymode to the AP we are associating with.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html

author
#2 lore raw
Quoted 3 lines · Simon Barber

Why is it necessary to set phymode to B? - a G client can connect perfectly well to a B AP.

We need this information for rate scaling and we need to send the NIC different command depends on the AP connection type. Mohamed

Quoted 23 lines

Simon

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of mabbas
Sent: Thursday, September 14, 2006 4:25 PM
To: [email protected]
Subject: [d80211] connecting to B-mode AP

When I connect to b-mode only AP and then run iwconf it shows it as a G-mode AP. I guess when we set frequency it look through all the modes and set the mode to the first channel it founds. since B and G share the same frequencies it will set phymode to G. How can we force it to set phymode to the AP we are associating with.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

But it's not the AP connection type that determines what rates are available - it's the available rate set - this is independent of whether the card is B or G. A G AP may only advertise B rates, even though it's a G AP. I still don't see any need to change the phytype.

Simon

-----Original Message-----
From: mabbas [mailto:[email protected]]
Sent: Friday, September 15, 2006 10:19 AM
To: Simon Barber
Cc: [email protected]
Subject: Re: [d80211] connecting to B-mode AP

Quoted 3 lines · Simon Barber

Why is it necessary to set phymode to B? - a G client can connect perfectly well to a B AP.

We need this information for rate scaling and we need to send the NIC different command depends on the AP connection type. Mohamed

Quoted 27 lines

Simon

-----Original Message-----
From: [email protected]
[mailto:[email protected]]
On Behalf Of mabbas
Sent: Thursday, September 14, 2006 4:25 PM
To: [email protected]
Subject: [d80211] connecting to B-mode AP

When I connect to b-mode only AP and then run iwconf it shows it as a G-mode AP. I guess when we set frequency it look through all the modes

and set the mode to the first channel it founds. since B and G share the same frequencies it will set phymode to G. How can we force it to set phymode to the AP we are associating with.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info

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

at http://vger.kernel.org/majordomo-info.html

author
#4 lore raw

I see your point here, although some one will file some bugs against the driver about showing G while associating with B-mode AP. By the way how can you figure if the AP is B/G other than the rates?

Quoted 56 lines · Simon Barber

But it's not the AP connection type that determines what rates are available - it's the available rate set - this is independent of whether the card is B or G. A G AP may only advertise B rates, even though it's a G AP. I still don't see any need to change the phytype.

Simon

-----Original Message-----
From: mabbas [mailto:[email protected]] Sent: Friday, September 15, 2006 10:19 AM
To: Simon Barber
Cc: [email protected]
Subject: Re: [d80211] connecting to B-mode AP

Quoted 3 lines · Simon Barber

Why is it necessary to set phymode to B? - a G client can connect perfectly well to a B AP.

We need this information for rate scaling and we need to send the NIC different command depends on the AP connection type. Mohamed

Quoted 19 lines

Simon

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of mabbas
Sent: Thursday, September 14, 2006 4:25 PM
To: [email protected]
Subject: [d80211] connecting to B-mode AP

When I connect to b-mode only AP and then run iwconf it shows it as a G-mode AP. I guess when we set frequency it look through all the modes

and set the mode to the first channel it founds. since B and G share the same frequencies it will set phymode to G. How can we force it to set phymode to the AP we are associating with. -
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info

Quoted 9 lines

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

at http://vger.kernel.org/majordomo-info.html

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

#5 lore raw
Quoted 4 lines · mabbas

I see your point here, although some one will file some bugs against the driver about showing G while associating with B-mode AP. By the way how can you figure if the AP is B/G other than the rates?

IIRC, only 802.11g APs will send the extended rate information element, though I don't know if forcing 802.11b on the AP will cause it to stop sending that. (but it might still be okay if it doesn't - it's still a 802.11g AP, with the faster speeds turned off..)

-Michael Wu

#6 lore raw

The extended rates element is only needed if there are more than 8 rates to report - which is normal for G operation, but not necessary. It only exists because a particularly popular old 11b MAC codebase crashed when the normal rate element had more than 8 elements, and this hurt interoperability with early G AP implementations - so the spec was changed.

Simon

-----Original Message-----
From: Michael Wu [mailto:[email protected]]
Sent: Saturday, September 16, 2006 10:05 AM
To: mabbas
Cc: Simon Barber; [email protected]
Subject: Re: [d80211] connecting to B-mode AP

Quoted 4 lines · mabbas

I see your point here, although some one will file some bugs against the driver about showing G while associating with B-mode AP. By the way how can you figure if the AP is B/G other than the rates?

IIRC, only 802.11g APs will send the extended rate information element, though I don't know if forcing 802.11b on the AP will cause it to stop sending that.
(but it might still be okay if it doesn't - it's still a 802.11g AP, with the faster speeds turned off..)

-Michael Wu

#7 lore raw
In reply to mabbas
Quoted 3 lines · mabbas

I see your point here, although some one will file some bugs against the driver about showing G while associating with B-mode AP. By the way how can you figure if the AP is B/G other than the rates?

I don't think this will happen.
This never happened with bcm43xx, for example. The PHY description of the card is something _completely_ different than the AP's PHY. People know that G is backwards compatible to B. And people who don't even know that, don't care anyway. ;)

Signature · 1 line
Greetings Michael.