Hi,
I have a problem with the default IEE driver in BT5 R3 for a Rokland n3 (RT2870/RT3070).
If I want to use the 750mW output I can perform:
iw reg set BO
iwconfig wlan0 txpower 28
iwconfig wlan0 then reports txpower 28. All ok.
Now when I associate with a WPA network using wpa_supplicant and the wext drivers, magically something resets my region to ES when WPA comes up, as confirmed by dmesg
I've tried adding a country line in my wpa_supplicant.conf but that doesn't seem to have any effect..
Any ideas? Unfortunately trying iw reg set BO to change region, and reissuing iwconfig txpower after WPA is up doesn't work.Code:country=BO network={ ssid="wLAN SSID" #psk="the ASCII PSK" psk=thecalculatedPSKhash }
Any other drivers I should try?
dmesg output
Code:[68689.319563] cfg80211: All devices are disconnected, going to restore regulatory settings [68689.319570] cfg80211: Restoring regulatory settings while preserving user preference for: BO [68689.319574] cfg80211: Calling CRDA to update world regulatory domain [68689.330207] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule: [68689.330401] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) ...<snip>... [68689.330460] cfg80211: World regulatory domain updated: [68689.330462] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [68689.330464] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [68689.330466] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [68689.330468] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [68689.330470] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [68689.330472] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [68689.331842] cfg80211: Calling CRDA for country: BO [68689.346073] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule: [68689.346077] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 3000 mBm) ...<snip>... [68689.346130] cfg80211: Disabling freq 2484 MHz [68689.346132] cfg80211: Regulatory domain changed to country: BO [68689.346133] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [68689.346135] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 3000 mBm) [68689.346137] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm) [68690.727639] wlan0: authenticate with <BSSID of AP> (try 1) [68690.728572] wlan0: authenticated [68690.728590] wlan0: associate with <BSSID of AP> (try 1) [68690.733044] wlan0: RX AssocResp from <BSSID of AP> (capab=0xc31 status=0 aid=1) [68690.733048] wlan0: associated [68690.797334] cfg80211: Calling CRDA for country: ES [68690.806937] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule: [68690.806940] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm) [68690.806943] cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width channel with regulatory rule: [68690.806945] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm) ...<snip>... [68690.806997] cfg80211: Regulatory domain changed to country: ES [68690.806998] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [68690.807000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) [68690.807002] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm) [68690.807004] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm) [68690.807006] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)


