[ath] prepare for station side quiet time support.
* Track the current quiet time configuration in the ath_vap struct. * Add an accessor method for calling the quiet time HAL method.
This commit is contained in:
parent
916aa57754
commit
f45d974ee9
@ -490,6 +490,7 @@ struct ath_vap {
|
|||||||
int (*av_set_tim)(struct ieee80211_node *, int);
|
int (*av_set_tim)(struct ieee80211_node *, int);
|
||||||
void (*av_recv_pspoll)(struct ieee80211_node *,
|
void (*av_recv_pspoll)(struct ieee80211_node *,
|
||||||
struct mbuf *);
|
struct mbuf *);
|
||||||
|
struct ieee80211_quiet_ie quiet_ie;
|
||||||
};
|
};
|
||||||
#define ATH_VAP(vap) ((struct ath_vap *)(vap))
|
#define ATH_VAP(vap) ((struct ath_vap *)(vap))
|
||||||
|
|
||||||
@ -1484,6 +1485,8 @@ void ath_intr(void *);
|
|||||||
((*(_ah)->ah_get11nExtBusy)((_ah)))
|
((*(_ah)->ah_get11nExtBusy)((_ah)))
|
||||||
#define ath_hal_setchainmasks(_ah, _txchainmask, _rxchainmask) \
|
#define ath_hal_setchainmasks(_ah, _txchainmask, _rxchainmask) \
|
||||||
((*(_ah)->ah_setChainMasks)((_ah), (_txchainmask), (_rxchainmask)))
|
((*(_ah)->ah_setChainMasks)((_ah), (_txchainmask), (_rxchainmask)))
|
||||||
|
#define ath_hal_set_quiet(_ah, _p, _d, _o, _f) \
|
||||||
|
((*(_ah)->ah_setQuiet)((_ah), (_p), (_d), (_o), (_f)))
|
||||||
|
|
||||||
#define ath_hal_spectral_supported(_ah) \
|
#define ath_hal_spectral_supported(_ah) \
|
||||||
(ath_hal_getcapability(_ah, HAL_CAP_SPECTRAL_SCAN, 0, NULL) == HAL_OK)
|
(ath_hal_getcapability(_ah, HAL_CAP_SPECTRAL_SCAN, 0, NULL) == HAL_OK)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user