promote ieee80211_seq typedef

This commit is contained in:
Sam Leffler 2009-05-02 20:25:22 +00:00
parent 43049c4828
commit dca68715ab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191756
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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 */