add IEEE80211_NODE_HT_ALL to collect up all the HT-related node flags

This commit is contained in:
sam 2008-09-06 17:33:46 +00:00
parent d4815d5b74
commit 7923b9382d
2 changed files with 4 additions and 2 deletions

View File

@ -829,8 +829,7 @@ ieee80211_ht_node_cleanup(struct ieee80211_node *ni)
ampdu_rx_stop(&ni->ni_rx_ampdu[i]);
ni->ni_htcap = 0;
ni->ni_flags &= ~(IEEE80211_NODE_HT | IEEE80211_NODE_HTCOMPAT |
IEEE80211_NODE_AMPDU);
ni->ni_flags &= ~IEEE80211_NODE_HT_ALL;
}
/*

View File

@ -194,6 +194,9 @@ MALLOC_DECLARE(M_80211_NODE_IE);
#define IEEE80211_NODE_ATH (IEEE80211_NODE_FF | IEEE80211_NODE_TURBOP)
#define IEEE80211_NODE_AMPDU \
(IEEE80211_NODE_AMPDU_RX | IEEE80211_NODE_AMPDU_TX)
#define IEEE80211_NODE_HT_ALL \
(IEEE80211_NODE_HT | IEEE80211_NODE_HTCOMPAT | \
IEEE80211_NODE_AMPDU)
#define IEEE80211_NODE_AID(ni) IEEE80211_AID(ni->ni_associd)