[ath_hal] initialise ah_beaconInterval when the AP/IBSS/TDMA beacon is setup.
This commit is contained in:
parent
ff6e6d531a
commit
94cde17e1a
@ -898,6 +898,8 @@ struct ath_hal_9300 {
|
||||
struct ar9300NfLimits nf_2GHz;
|
||||
struct ar9300NfLimits nf_5GHz;
|
||||
struct ar9300NfLimits *nfp;
|
||||
|
||||
uint32_t ah_beaconInterval;
|
||||
};
|
||||
|
||||
#define AH9300(_ah) ((struct ath_hal_9300 *)(_ah))
|
||||
|
@ -774,8 +774,7 @@ ar9300_beacon_set_beacon_timers(struct ath_hal *ah,
|
||||
OS_REG_WRITE(ah, AR_NEXT_NDP_TIMER, TU_TO_USEC(bt->bt_nextatim));
|
||||
|
||||
bperiod = TU_TO_USEC(bt->bt_intval & HAL_BEACON_PERIOD);
|
||||
/* XXX TODO! */
|
||||
// ahp->ah_beaconInterval = bt->bt_intval & HAL_BEACON_PERIOD;
|
||||
AH9300(ah)->ah_beaconInterval = bt->bt_intval & HAL_BEACON_PERIOD;
|
||||
OS_REG_WRITE(ah, AR_BEACON_PERIOD, bperiod);
|
||||
OS_REG_WRITE(ah, AR_DMA_BEACON_PERIOD, bperiod);
|
||||
OS_REG_WRITE(ah, AR_SWBA_PERIOD, bperiod);
|
||||
|
Loading…
Reference in New Issue
Block a user