2013-02-19 00:36:54

by Georgiewskiy Yuriy

[permalink] [raw]
Subject: txpower setting regression


Hi all, there is some kind of regression with setting transmit power, hardware is warious
ar9280 cards, all work as sould with compat-wireless-3.6 and compat-drivers-2013-02-13, i
have modified regulatory database:

iw reg get
country RU:
(2402 - 2494 @ 40), (24, 23)
(5030 - 5835 @ 40), (24, 23)

with compat-wireless-3.6 and compat-drivers-2013-02-13 i can change txpower in this rules,
iw list show channels and it's power according to database rules:

Frequencies:
* 2412 MHz [1] (23.0 dBm)
* 2417 MHz [2] (23.0 dBm)
* 2422 MHz [3] (23.0 dBm)
* 2427 MHz [4] (23.0 dBm)
* 2432 MHz [5] (23.0 dBm)
* 2437 MHz [6] (23.0 dBm)
* 2442 MHz [7] (23.0 dBm)
* 2447 MHz [8] (23.0 dBm)
* 2452 MHz [9] (23.0 dBm)
* 2457 MHz [10] (23.0 dBm)
* 2462 MHz [11] (23.0 dBm)
* 2467 MHz [12] (23.0 dBm)
* 2472 MHz [13] (23.0 dBm)
* 2484 MHz [14] (23.0 dBm)

but with compat-drivers 3.7.6 and 3.8-rc7 i cannot set power level,
iw phy phy0 set txpower fixed 10/limit 10/iw dev dev0/etc give same
error - command failed: Operation not supported (-95), and iw list
give strange output like this:

Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (21.0 dBm)
* 2422 MHz [3] (21.0 dBm)
* 2427 MHz [4] (21.0 dBm)
* 2432 MHz [5] (21.0 dBm)
* 2437 MHz [6] (21.0 dBm)
* 2442 MHz [7] (21.0 dBm)
* 2447 MHz [8] (21.0 dBm)
* 2452 MHz [9] (21.0 dBm)
* 2457 MHz [10] (21.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (23.0 dBm)
* 2472 MHz [13] (23.0 dBm)
* 2484 MHz [14] (23.0 dBm)

and channel levels different on different cards.


C ????????? With Best Regards
???????????? ????. Georgiewskiy Yuriy
+7 4872 711666 +7 4872 711666
???? +7 4872 711143 fax +7 4872 711143
???????? ??? "?? ?? ??????" IT Service Ltd
http://nkoort.ru http://nkoort.ru
JID: [email protected] JID: [email protected]
YG129-RIPE YG129-RIPE


2013-02-19 01:12:21

by Georgiewskiy Yuriy

[permalink] [raw]
Subject: Re: txpower setting regression

On 2013-02-19 04:04 +0400, Georgiewskiy Yuriy wrote [email protected]...:

hm, update - on 3.8.0 all ok

GY>
GY>Hi all, there is some kind of regression with setting transmit power,
GY>hardware is warious
GY>ar9280 cards, all work as sould with compat-wireless-3.6 and
GY>compat-drivers-2013-02-13, i have modified regulatory database:
GY>
GY>iw reg get
GY>country RU:
GY> (2402 - 2494 @ 40), (24, 23)
GY> (5030 - 5835 @ 40), (24, 23)
GY>
GY>with compat-wireless-3.6 and compat-drivers-2013-02-13 i can change txpower
GY>in this rules,
GY>iw list show channels and it's power according to database rules:
GY>
GY> Frequencies:
GY> * 2412 MHz [1] (23.0 dBm)
GY> * 2417 MHz [2] (23.0 dBm)
GY> * 2422 MHz [3] (23.0 dBm)
GY> * 2427 MHz [4] (23.0 dBm)
GY> * 2432 MHz [5] (23.0 dBm)
GY> * 2437 MHz [6] (23.0 dBm)
GY> * 2442 MHz [7] (23.0 dBm)
GY> * 2447 MHz [8] (23.0 dBm)
GY> * 2452 MHz [9] (23.0 dBm)
GY> * 2457 MHz [10] (23.0 dBm)
GY> * 2462 MHz [11] (23.0 dBm)
GY> * 2467 MHz [12] (23.0 dBm)
GY> * 2472 MHz [13] (23.0 dBm)
GY> * 2484 MHz [14] (23.0 dBm)
GY>
GY>but with compat-drivers 3.7.6 and 3.8-rc7 i cannot set power level, iw phy
GY>phy0 set txpower fixed 10/limit 10/iw dev dev0/etc give same error - command
GY>failed: Operation not supported (-95), and iw list give strange output like
GY>this:
GY>
GY> Frequencies:
GY> * 2412 MHz [1] (20.0 dBm)
GY> * 2417 MHz [2] (21.0 dBm)
GY> * 2422 MHz [3] (21.0 dBm)
GY> * 2427 MHz [4] (21.0 dBm)
GY> * 2432 MHz [5] (21.0 dBm)
GY> * 2437 MHz [6] (21.0 dBm)
GY> * 2442 MHz [7] (21.0 dBm)
GY> * 2447 MHz [8] (21.0 dBm)
GY> * 2452 MHz [9] (21.0 dBm)
GY> * 2457 MHz [10] (21.0 dBm)
GY> * 2462 MHz [11] (20.0 dBm)
GY> * 2467 MHz [12] (23.0 dBm)
GY> * 2472 MHz [13] (23.0 dBm)
GY> * 2484 MHz [14] (23.0 dBm)
GY>
GY>and channel levels different on different cards.
GY>
GY>
GY>C ????????? With Best Regards
GY>???????????? ????. Georgiewskiy Yuriy
GY>+7 4872 711666 +7 4872 711666
GY>???? +7 4872 711143 fax +7 4872 711143
GY>???????? ??? "?? ?? ??????" IT Service Ltd
GY>http://nkoort.ru http://nkoort.ru
GY>JID: [email protected] JID: [email protected]
GY>YG129-RIPE YG129-RIPE

C ????????? With Best Regards
???????????? ????. Georgiewskiy Yuriy
+7 4872 711666 +7 4872 711666
???? +7 4872 711143 fax +7 4872 711143
???????? ??? "?? ?? ??????" IT Service Ltd
http://nkoort.ru http://nkoort.ru
JID: [email protected] JID: [email protected]
YG129-RIPE YG129-RIPE