Lines Matching +full:tx +full:- +full:180

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
49 #define IEEE80211_INACT_AUTH (180/IEEE80211_INACT_WAIT) /* associated but not authorized */
54 #define IEEE80211_TRANS_WAIT 2 /* mgt frame tx timer (secs) */
56 /* threshold for aging overlapping non-ERP bss */
62 (((const uint8_t *)(addr))[IEEE80211_ADDR_LEN - 1] % \
113 * describing up-to which channel width the station can receive.
120 * bitfield-alike for use with %b.
151 uint8_t nss; /* VHT - number of spatial streams */
152 uint8_t mcs; /* HT/VHT - MCS */
153 uint8_t dot11rate; /* Legacy/HT - dot11rate / ratecode */
176 * to derive from this structure to add device-specific per-node
199 #define IEEE80211_NODE_AMPDU_TX 0x000800 /* AMPDU tx enabled */
207 #define IEEE80211_NODE_AMSDU_TX 0x080000 /* AMSDU tx enabled */
210 #define IEEE80211_NODE_UAPSD 0x400000 /* U-APSD power save enabled */
226 uint32_t *ni_challenge; /* shared-key challenge */
228 /* tx seq per-tid */
230 /* rx seq previous per-tid*/
296 uint16_t ni_vht_tx_map; /* Negotiated MCS TX map with peer */
298 uint8_t ni_vht_chan1; /* 20/40/80/160 - VHT chan1 */
299 uint8_t ni_vht_chan2; /* 80+80 - VHT chan2 */
304 /* fast-frames state */
312 struct ieee80211_nodestats ni_stats; /* per-node statistics */
321 /* U-APSD */
322 uint8_t ni_uapsd; /* U-APSD per-node flags matching WMM STA QoS Info field */
347 #define IEEE80211_NODE_AID(ni) IEEE80211_AID(ni->ni_associd)
349 #define IEEE80211_NODE_STAT(ni,stat) (ni->ni_stats.ns_##stat++)
350 #define IEEE80211_NODE_STAT_ADD(ni,stat,v) (ni->ni_stats.ns_##stat += v)
351 #define IEEE80211_NODE_STAT_SET(ni,stat,v) (ni->ni_stats.ns_##stat = v)
362 * Note that we assume rssi data are in the range [-127..127] and we
363 * discard values <-20. This is consistent with assumptions throughout
373 (((x) != IEEE80211_RSSI_DUMMY_MARKER) ? (((x) * ((len) - 1) + (y)) / (len)) : (y))
375 if ((y) >= -20) { \
381 ((((x) % (mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
395 return (ni->ni_flags & IEEE80211_NODE_AUTH); in ieee80211_node_is_authorized()
441 struct ieee80211_node **nt_keyixmap; /* key ix -> node map */
534 /* TX sequence space related routines */