svn commit: r313373 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Tue Feb 7 02:21:35 UTC 2017


Author: adrian
Date: Tue Feb  7 02:21:34 2017
New Revision: 313373
URL: https://svnweb.freebsd.org/changeset/base/313373

Log:
  [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.

Modified:
  head/sys/dev/ath/if_athvar.h

Modified: head/sys/dev/ath/if_athvar.h
==============================================================================
--- head/sys/dev/ath/if_athvar.h	Tue Feb  7 02:00:14 2017	(r313372)
+++ head/sys/dev/ath/if_athvar.h	Tue Feb  7 02:21:34 2017	(r313373)
@@ -490,6 +490,7 @@ struct ath_vap {
 	int		(*av_set_tim)(struct ieee80211_node *, int);
 	void		(*av_recv_pspoll)(struct ieee80211_node *,
 				struct mbuf *);
+	struct ieee80211_quiet_ie	quiet_ie;
 };
 #define	ATH_VAP(vap)	((struct ath_vap *)(vap))
 
@@ -1484,6 +1485,8 @@ void	ath_intr(void *);
 	((*(_ah)->ah_get11nExtBusy)((_ah)))
 #define	ath_hal_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) \
 	(ath_hal_getcapability(_ah, HAL_CAP_SPECTRAL_SCAN, 0, NULL) == HAL_OK)


More information about the svn-src-head mailing list