Author: adrian
Date: Tue Nov  8 01:35:05 2011
New Revision: 227326
URL: http://svn.freebsd.org/changeset/base/227326

Log:
  Merge in ath rate flags and ath_rc_series from my 11n TX branch.
  This is in preparation for 802.11n TX aggregation support.

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

Modified: head/sys/dev/ath/if_athrate.h
==============================================================================
--- head/sys/dev/ath/if_athrate.h       Mon Nov  7 23:09:18 2011        
(r227325)
+++ head/sys/dev/ath/if_athrate.h       Tue Nov  8 01:35:05 2011        
(r227326)
@@ -77,6 +77,21 @@ struct ath_ratectrl {
 struct ath_ratectrl *ath_rate_attach(struct ath_softc *);
 void   ath_rate_detach(struct ath_ratectrl *);
 
+#define        ATH_RC_NUM              4
+
+#define        ATH_RC_DS_FLAG          0x01    /* dual-stream rate */
+#define        ATH_RC_CW40_FLAG        0x02    /* use HT40 */
+#define        ATH_RC_SGI_FLAG         0x04    /* use short-GI */
+#define        ATH_RC_HT_FLAG          0x08    /* use HT */
+#define        ATH_RC_RTSCTS_FLAG      0x10    /* enable RTS/CTS protection */
+
+struct ath_rc_series {
+       uint8_t rix;            /* ratetable index, not rate code */
+       uint8_t ratecode;       /* hardware rate code */
+       uint8_t tries;
+       uint8_t flags;
+       uint32_t max4msframelen;
+};
 
 /*
  * State storage handling.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to