Searched refs:NUM_DEFAULT_KEYS (Results 1 – 6 of 6) sorted by relevance
18 #define NUM_DEFAULT_KEYS 4 macro
354 if (idx >= 0 && idx < NUM_DEFAULT_KEYS) in __ieee80211_set_default_key()385 if (idx >= NUM_DEFAULT_KEYS && in __ieee80211_set_default_mgmt_key()386 idx < NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS) in __ieee80211_set_default_mgmt_key()507 if (WARN_ON(idx < 0 || idx >= NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS)) in ieee80211_key_alloc()1045 for (i = 0; i < NUM_DEFAULT_KEYS; i++) { in ieee80211_free_sta_keys()
530 struct ieee80211_key __rcu *gtk[NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS];531 struct ieee80211_key __rcu *ptk[NUM_DEFAULT_KEYS];
1048 if (unlikely(keyid >= NUM_DEFAULT_KEYS)) in ieee80211_get_keyid()1955 if (mmie_keyidx < NUM_DEFAULT_KEYS || in ieee80211_rx_h_decrypt()1956 mmie_keyidx >= NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS) in ieee80211_rx_h_decrypt()1984 for (i = 0; i < NUM_DEFAULT_KEYS; i++) { in ieee80211_rx_h_decrypt()1991 for (i = 0; i < NUM_DEFAULT_KEYS; i++) { in ieee80211_rx_h_decrypt()
932 struct ieee80211_key __rcu *keys[NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS];
610 if (pairwise && key_idx < NUM_DEFAULT_KEYS) in ieee80211_get_key()613 key_idx < NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS) in ieee80211_get_key()