Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

power problem #3

Open
chenhao890411 opened this issue Jun 27, 2013 · 1 comment
Open

power problem #3

chenhao890411 opened this issue Jun 27, 2013 · 1 comment

Comments

@chenhao890411
Copy link

hi:
when i use 5.8GHz and 11na 2x2 mimo

in ar9300\ar9300_phy.c
extern void
ar9300_adjust_reg_txpower_cdd(struct ath_hal *ah,
u_int8_t powerPerRate[])

when i set power 1
cdd_power = -6
powerPerRate[i] = 250;

and in terminal i use the iwconfig tool

iwconfig

Tx-Power=128dBm

how can i fix it ?

extern void
ar9300_adjust_reg_txpower_cdd(struct ath_hal *ah,
u_int8_t powerPerRate[])
{
struct ath_hal_9300 *ahp = AH9300(ah);
-- int16_t twiceArrayGain ,cdd_power = 0;
++ int16_t twiceArrayGain = 0;
int i;
++ u_int16_t cdd_power = 0;
....
}

is that right?

@erikarn
Copy link
Contributor

erikarn commented Jun 29, 2013

Hi!

What platform are you using the HAL on? Which driver/stack/OS?

Adrian

On 26 June 2013 23:58, chenhao890411 [email protected] wrote:

hi:
when i use 5.8GHz and 11na 2x2 mimo

in ar9300\ar9300_phy.c

extern void
ar9300_adjust_reg_txpower_cdd(struct ath_hal *ah,
u_int8_t powerPerRate[])

when i set power 1
cdd_power = -6
powerPerRate[i] = 250;

and in terminal i use the iwconfig tool
#iwconfig
Tx-Power=128dBm

how can i fix it ?

extern void
ar9300_adjust_reg_txpower_cdd(struct ath_hal *ah,
u_int8_t powerPerRate[])
{
struct ath_hal_9300 *ahp = AH9300(ah);
-- int16_t twiceArrayGain ,cdd_power = 0;
++ int16_t twiceArrayGain = 0;
int i;
++ u_int16_t cdd_power = 0;
....
}

is that right?


Reply to this email directly or view it on GitHubhttps://github.com//issues/3
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants