[ath_hal] implement NULL methods for ah_setQuiet for AR5210, AR5211.

Tested:

* "crap, I didn't bring my cardbus collection and T400 with me" compile
  tested.
This commit is contained in:
Adrian Chadd 2017-02-09 23:20:55 +00:00
parent 1410ca560d
commit aa36f34d52
6 changed files with 20 additions and 0 deletions

View File

@ -251,6 +251,8 @@ extern HAL_BOOL ar5210SetCTSTimeout(struct ath_hal *, u_int);
extern u_int ar5210GetCTSTimeout(struct ath_hal *);
extern HAL_BOOL ar5210SetDecompMask(struct ath_hal *, uint16_t, int);
void ar5210SetCoverageClass(struct ath_hal *, uint8_t, int);
extern HAL_STATUS ar5210SetQuiet(struct ath_hal *, uint32_t, uint32_t,
uint32_t, HAL_QUIET_FLAG);
extern HAL_STATUS ar5210GetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
uint32_t, uint32_t *);
extern HAL_BOOL ar5210SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,

View File

@ -135,6 +135,7 @@ static const struct ath_hal_private ar5210hal = {{
.ah_getCTSTimeout = ar5210GetCTSTimeout,
.ah_setDecompMask = ar5210SetDecompMask,
.ah_setCoverageClass = ar5210SetCoverageClass,
.ah_setQuiet = ar5210SetQuiet,
.ah_get11nExtBusy = ar5210Get11nExtBusy,
.ah_getMibCycleCounts = ar5210GetMibCycleCounts,
.ah_setChainMasks = ar5210SetChainMasks,

View File

@ -552,6 +552,13 @@ ar5210SetCoverageClass(struct ath_hal *ah, uint8_t coverageclass, int now)
{
}
HAL_STATUS
ar5210SetQuiet(struct ath_hal *ah, uint32_t period, uint32_t duration,
uint32_t next_start, HAL_QUIET_FLAG flags)
{
return HAL_OK;
}
/*
* Control Adaptive Noise Immunity Parameters
*/

View File

@ -271,6 +271,8 @@ extern HAL_BOOL ar5211SetSifsTime(struct ath_hal *, u_int);
extern u_int ar5211GetSifsTime(struct ath_hal *);
extern HAL_BOOL ar5211SetDecompMask(struct ath_hal *, uint16_t, int);
extern void ar5211SetCoverageClass(struct ath_hal *, uint8_t, int);
extern HAL_STATUS ar5211SetQuiet(struct ath_hal *, uint32_t, uint32_t,
uint32_t, HAL_QUIET_FLAG);
extern uint32_t ar5211GetCurRssi(struct ath_hal *);
extern u_int ar5211GetDefAntenna(struct ath_hal *);
extern void ar5211SetDefAntenna(struct ath_hal *ah, u_int antenna);

View File

@ -135,6 +135,7 @@ static const struct ath_hal_private ar5211hal = {{
.ah_getCTSTimeout = ar5211GetCTSTimeout,
.ah_setDecompMask = ar5211SetDecompMask,
.ah_setCoverageClass = ar5211SetCoverageClass,
.ah_setQuiet = ar5211SetQuiet,
.ah_get11nExtBusy = ar5211Get11nExtBusy,
.ah_getMibCycleCounts = ar5211GetMibCycleCounts,
.ah_setChainMasks = ar5211SetChainMasks,

View File

@ -554,6 +554,13 @@ ar5211SetCoverageClass(struct ath_hal *ah, uint8_t coverageclass, int now)
{
}
HAL_STATUS
ar5211SetQuiet(struct ath_hal *ah, uint32_t period, uint32_t duration,
uint32_t next_start, HAL_QUIET_FLAG flags)
{
return HAL_OK;
}
/*
* Control Adaptive Noise Immunity Parameters
*/