svn commit: r191756 - head/sys/net80211

Sam Leffler sam at FreeBSD.org
Sat May 2 20:25:23 UTC 2009


Author: sam
Date: Sat May  2 20:25:22 2009
New Revision: 191756
URL: http://svn.freebsd.org/changeset/base/191756

Log:
  promote ieee80211_seq typedef

Modified:
  head/sys/net80211/ieee80211.h
  head/sys/net80211/ieee80211_ht.h
  head/sys/net80211/ieee80211_node.h

Modified: head/sys/net80211/ieee80211.h
==============================================================================
--- head/sys/net80211/ieee80211.h	Sat May  2 20:21:21 2009	(r191755)
+++ head/sys/net80211/ieee80211.h	Sat May  2 20:25:22 2009	(r191756)
@@ -36,6 +36,8 @@
 /* is 802.11 address multicast/broadcast? */
 #define	IEEE80211_IS_MULTICAST(_a)	(*(_a) & 0x01)
 
+typedef uint16_t ieee80211_seq;
+
 /* IEEE 802.11 PLCP header */
 struct ieee80211_plcp_hdr {
 	uint16_t	i_sfd;

Modified: head/sys/net80211/ieee80211_ht.h
==============================================================================
--- head/sys/net80211/ieee80211_ht.h	Sat May  2 20:21:21 2009	(r191755)
+++ head/sys/net80211/ieee80211_ht.h	Sat May  2 20:25:22 2009	(r191756)
@@ -35,8 +35,6 @@
 /* threshold for aging overlapping non-HT bss */
 #define	IEEE80211_NONHT_PRESENT_AGE	msecs_to_ticks(60*1000)
 
-typedef uint16_t ieee80211_seq;
-
 struct ieee80211_tx_ampdu {
 	struct ieee80211_node *txa_ni;	/* back pointer */
 	u_short		txa_flags;

Modified: head/sys/net80211/ieee80211_node.h
==============================================================================
--- head/sys/net80211/ieee80211_node.h	Sat May  2 20:21:21 2009	(r191755)
+++ head/sys/net80211/ieee80211_node.h	Sat May  2 20:25:22 2009	(r191756)
@@ -137,9 +137,9 @@ struct ieee80211_node {
 	uint32_t		*ni_challenge;	/* shared-key challenge */
 	struct ieee80211_ies	ni_ies;		/* captured ie's */
 						/* tx seq per-tid */
-	uint16_t		ni_txseqs[IEEE80211_TID_SIZE];
+	ieee80211_seq		ni_txseqs[IEEE80211_TID_SIZE];
 						/* rx seq previous per-tid*/
-	uint16_t		ni_rxseqs[IEEE80211_TID_SIZE];
+	ieee80211_seq		ni_rxseqs[IEEE80211_TID_SIZE];
 	uint32_t		ni_rxfragstamp;	/* time stamp of last rx frag */
 	struct mbuf		*ni_rxfrag[3];	/* rx frag reassembly */
 	struct ieee80211_key	ni_ucastkey;	/* unicast key */


More information about the svn-src-head mailing list