Add some empty DFS methods for AR5210/AR5211 for now, if DFS is enabled
but these don't exist, the code panics. I should really just add or use a DFS HAL capability before doing this, so the methods wouldn't be needed..
This commit is contained in:
parent
96cc1902f8
commit
f2b0ca2bf1
@ -252,6 +252,8 @@ extern HAL_BOOL ar5210GetDiagState(struct ath_hal *ah, int request,
|
||||
extern uint32_t ar5210Get11nExtBusy(struct ath_hal *);
|
||||
extern HAL_BOOL ar5210GetMibCycleCounts(struct ath_hal *,
|
||||
HAL_SURVEY_SAMPLE *);
|
||||
extern void ar5210EnableDfs(struct ath_hal *, HAL_PHYERR_PARAM *);
|
||||
extern void ar5210GetDfsThresh(struct ath_hal *, HAL_PHYERR_PARAM *);
|
||||
|
||||
extern u_int ar5210GetKeyCacheSize(struct ath_hal *);
|
||||
extern HAL_BOOL ar5210IsKeyCacheEntryValid(struct ath_hal *, uint16_t);
|
||||
|
@ -133,6 +133,10 @@ static const struct ath_hal_private ar5210hal = {{
|
||||
.ah_setCoverageClass = ar5210SetCoverageClass,
|
||||
.ah_get11nExtBusy = ar5210Get11nExtBusy,
|
||||
.ah_getMibCycleCounts = ar5210GetMibCycleCounts,
|
||||
.ah_enableDfs = ar5210EnableDfs,
|
||||
.ah_getDfsThresh = ar5210GetDfsThresh,
|
||||
/* XXX procRadarEvent */
|
||||
/* XXX isFastClockEnabled */
|
||||
|
||||
/* Key Cache Functions */
|
||||
.ah_getKeyCacheSize = ar5210GetKeyCacheSize,
|
||||
|
@ -667,3 +667,13 @@ ar5210GetMibCycleCounts(struct ath_hal *ah, HAL_SURVEY_SAMPLE *hsample)
|
||||
|
||||
return (AH_FALSE);
|
||||
}
|
||||
|
||||
void
|
||||
ar5210EnableDfs(struct ath_hal *ah, HAL_PHYERR_PARAM *pe)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
ar5210GetDfsThresh(struct ath_hal *ah, HAL_PHYERR_PARAM *pe)
|
||||
{
|
||||
}
|
||||
|
@ -279,6 +279,8 @@ extern HAL_BOOL ar5211GetDiagState(struct ath_hal *ah, int request,
|
||||
extern uint32_t ar5211Get11nExtBusy(struct ath_hal *);
|
||||
extern HAL_BOOL ar5211GetMibCycleCounts(struct ath_hal *,
|
||||
HAL_SURVEY_SAMPLE *);
|
||||
extern void ar5211EnableDfs(struct ath_hal *, HAL_PHYERR_PARAM *);
|
||||
extern void ar5211GetDfsThresh(struct ath_hal *, HAL_PHYERR_PARAM *);
|
||||
|
||||
extern u_int ar5211GetKeyCacheSize(struct ath_hal *);
|
||||
extern HAL_BOOL ar5211IsKeyCacheEntryValid(struct ath_hal *, uint16_t);
|
||||
|
@ -133,6 +133,10 @@ static const struct ath_hal_private ar5211hal = {{
|
||||
.ah_setCoverageClass = ar5211SetCoverageClass,
|
||||
.ah_get11nExtBusy = ar5211Get11nExtBusy,
|
||||
.ah_getMibCycleCounts = ar5211GetMibCycleCounts,
|
||||
.ah_enableDfs = ar5211EnableDfs,
|
||||
.ah_getDfsThresh = ar5211GetDfsThresh,
|
||||
/* XXX procRadarEvent */
|
||||
/* XXX isFastClockEnabled */
|
||||
|
||||
/* Key Cache Functions */
|
||||
.ah_getKeyCacheSize = ar5211GetKeyCacheSize,
|
||||
|
@ -709,3 +709,13 @@ ar5211GetMibCycleCounts(struct ath_hal *ah, HAL_SURVEY_SAMPLE *hsample)
|
||||
|
||||
return (AH_FALSE);
|
||||
}
|
||||
|
||||
void
|
||||
ar5211EnableDfs(struct ath_hal *ah, HAL_PHYERR_PARAM *pe)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
ar5211GetDfsThresh(struct ath_hal *ah, HAL_PHYERR_PARAM *pe)
|
||||
{
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user