Introduce a couple more fields in the rate scenario setup as part of
(future) TPC support in the AR9300 HAL. This is effectively a no-op for the moment as (a) TPC isn't really supported, (b) the AR9300 HAL isn't yet public, and (c) the existing HAL code doesn't use these fields. Obtained from: Qualcomm Atheros
This commit is contained in:
parent
26463136ac
commit
3e647f1cb4
@ -587,6 +587,8 @@ typedef struct {
|
||||
#define HAL_RATESERIES_RTS_CTS 0x0001 /* use rts/cts w/this series */
|
||||
#define HAL_RATESERIES_2040 0x0002 /* use ext channel for series */
|
||||
#define HAL_RATESERIES_HALFGI 0x0004 /* use half-gi for series */
|
||||
u_int RateIndex;
|
||||
u_int tx_power_cap;
|
||||
} HAL_11N_RATE_SERIES;
|
||||
|
||||
typedef enum {
|
||||
|
@ -511,6 +511,8 @@ ath_rateseries_setup(struct ath_softc *sc, struct ieee80211_node *ni,
|
||||
series[i].RateFlags |= HAL_RATESERIES_HALFGI;
|
||||
|
||||
series[i].Rate = rt->info[rc[i].rix].rateCode;
|
||||
series[i].RateIndex = rc[i].rix;
|
||||
series[i].tx_power_cap = 0x3f; /* XXX for now */
|
||||
|
||||
/*
|
||||
* PktDuration doesn't include slot, ACK, RTS, etc timing -
|
||||
|
Loading…
Reference in New Issue
Block a user