Lines Matching +full:ps +full:- +full:seq +full:- +full:id
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
56 /* threshold for aging overlapping non-ERP bss */
62 (((const uint8_t *)(addr))[IEEE80211_ADDR_LEN - 1] % \
85 uint8_t *meshid_ie; /* captured MESH ID ie */
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
201 #define IEEE80211_NODE_MIMO_RTS 0x002000 /* send RTS in MIMO PS */
210 #define IEEE80211_NODE_UAPSD 0x400000 /* U-APSD power save enabled */
211 uint16_t ni_associd; /* association ID */
226 uint32_t *ni_challenge; /* shared-key challenge */
228 /* tx seq per-tid */
230 /* rx seq previous per-tid*/
273 uint16_t ni_mllid; /* link local ID */
274 uint16_t ni_mlpid; /* link peer ID */
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 */