Skip to contentSkip to conversation

b43: cannot set channel to 12

DISCUSSION Andreas Schwab 3 participants 5 messages Oct 17, 2007 – Oct 21, 2007

lore
Share & tools
lore
#0 lore raw

The b43 driver in current wireless-2.6 cannot set the channel to 12:

# iwconfig wlan0 chan 12
Error for wireless request "Set Frequency" (8B04) :
    SET failed on device wlan0 ; Invalid argument

iwlist still lists the APs on channels 12 and 13.

This is a 4318 in a iBook G4, using firmware version 410.2160.

Andreas.

--=20
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4= ED5
"And now for something completely different."
-
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

#1 lore raw
Quoted 9 lines · Andreas Schwab

The b43 driver in current wireless-2.6 cannot set the channel to 12:

# iwconfig wlan0 chan 12
Error for wireless request "Set Frequency" (8B04) :
    SET failed on device wlan0 ; Invalid argument

iwlist still lists the APs on channels 12 and 13.

This is a 4318 in a iBook G4, using firmware version 410.2160.

This is not a b43 problem. The standard loading of mac80211 sets an FCC regulatory domain, i.e. b/g channels 1-11. You need to load mac80211 with a parameter of 'ieee80211_regdom=64'. That will allow b/g channels 1-13. Technically, it sets the regulatory domain to Japan, but channel 14 is not allowed.

Larry

#4 lore raw
In reply to Andreas Schwab
Quoted 9 lines · On Wednesday 17 October 2007 21:37:31 Andreas Schwab wrote:

The b43 driver in current wireless-2.6 cannot set the channel to 12:

# iwconfig wlan0 chan 12
Error for wireless request "Set Frequency" (8B04) :
    SET failed on device wlan0 ; Invalid argument

iwlist still lists the APs on channels 12 and 13.

This is a 4318 in a iBook G4, using firmware version 410.2160.

That seems to be a mac80211 regulatory problem, not a b43 bug.

Signature · 1 line
Greetings Michael.
#2 lore raw
In reply to Larry Finger
Quoted 1 line · Larry Finger

This is not a b43 problem. The standard loading of mac80211 sets an F=

CC regulatory domain, i.e. b/g

Quoted 1 line

channels 1-11. You need to load mac80211 with a parameter of 'ieee802=

11_regdom=3D64'. That will allow

Quoted 1 line

b/g channels 1-13. Technically, it sets the regulatory domain to Japa=

n, but channel 14 is not allowed.

Thanks, that works. (But I regard it as a regression.)

Andreas.

--=20
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4= ED5
"And now for something completely different."
-
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

#3 lore raw
Quoted 7 lines · Andreas Schwab
Quoted 3 lines · Larry Finger

This is not a b43 problem. The standard loading of mac80211 sets an FCC regulatory domain, i.e. b/g channels 1-11. You need to load mac80211 with a parameter of 'ieee80211_regdom=64'. That will allow b/g channels 1-13. Technically, it sets the regulatory domain to Japan, but channel 14 is not allowed.

Thanks, that works. (But I regard it as a regression.)

That is in the eye of the beholder. For those of us in FCC-land, the default behavior of bcm43xx (channels 1-14) was a bug _AND_ a violation of regulations and law.

Handling regulatory domain information including allowed channels, power, etc. is still a big weakness of all MAC layers, both hard and soft.

Larry