aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2016-07-08 21:34:39 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2016-07-08 21:34:39 +0000
commit515582436a8f44376af5aaf861b1e195ccf59b18 (patch)
tree7e62d119a7ec2d9b7ffdf21f4abbf1921ae8bccc /sys/contrib
parent3dd79610935536c3867b55ef33b40d32e6fd67fe (diff)
downloadsrc-515582436a8f44376af5aaf861b1e195ccf59b18.tar.gz
src-515582436a8f44376af5aaf861b1e195ccf59b18.zip
[ath_hal] retire a "long RX desc" flag, store/use the TX/RX timestamp length.
* the code already stored the length of the RX desc, which I never used. So, use that and retire the new flag I introduced a while ago. * Introduce a TX timestamp length field and capability.
Notes
Notes: svn path=/head/; revision=302461
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c
index 2cd9d3137960..216f98306547 100644
--- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c
+++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c
@@ -2878,7 +2878,6 @@ ar9300_fill_capability_info(struct ath_hal *ah)
#if ATH_SUPPORT_SPECTRAL
p_cap->halSpectralScanSupport = AH_TRUE;
#endif
-
ahpriv->ah_rfsilent = ar9300_eeprom_get(ahp, EEP_RF_SILENT);
if (ahpriv->ah_rfsilent & EEP_RFSILENT_ENABLED) {
ahp->ah_gpio_select = MS(ahpriv->ah_rfsilent, EEP_RFSILENT_GPIO_SEL);
@@ -2998,8 +2997,8 @@ ar9300_fill_capability_info(struct ath_hal *ah)
p_cap->hal_cfend_fix_support = AH_FALSE;
p_cap->hal_aggr_extra_delim_war = AH_FALSE;
#endif
- p_cap->halHasLongRxDescTsf = AH_TRUE;
-// p_cap->hal_rx_desc_timestamp_bits = 32;
+ p_cap->halTxTstampPrecision = 32;
+ p_cap->halRxTstampPrecision = 32;
p_cap->halRxTxAbortSupport = AH_TRUE;
p_cap->hal_ani_poll_interval = AR9300_ANI_POLLINTERVAL;
p_cap->hal_channel_switch_time_usec = AR9300_CHANNEL_SWITCH_TIME_USEC;