Searched refs:NUM_DEFAULT_KEYS (Results 1 – 6 of 6) sorted by relevance
355 if (idx >= 0 && idx < NUM_DEFAULT_KEYS) { in __ieee80211_set_default_key()392 if (idx >= NUM_DEFAULT_KEYS && in __ieee80211_set_default_mgmt_key()393 idx < NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS) in __ieee80211_set_default_mgmt_key()418 if (idx >= NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS && in __ieee80211_set_default_beacon_key()419 idx < NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS + in __ieee80211_set_default_beacon_key()491 if ((is_wep || pairwise) && idx >= NUM_DEFAULT_KEYS) in ieee80211_key_replace()595 idx >= NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS + in ieee80211_key_alloc()893 if (idx < NUM_DEFAULT_KEYS) in ieee80211_key_link()1195 for (i = 0; i < NUM_DEFAULT_KEYS; i++) { in ieee80211_free_sta_keys()
18 #define NUM_DEFAULT_KEYS 4 macro
528 struct ieee80211_key __rcu *gtk[NUM_DEFAULT_KEYS +658 struct ieee80211_key __rcu *ptk[NUM_DEFAULT_KEYS];
1885 idx = NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS; in ieee80211_rx_get_bigtk()1888 if (idx == NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS) in ieee80211_rx_get_bigtk()1986 if (mmie_keyidx < NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS || in ieee80211_rx_h_decrypt()1987 mmie_keyidx >= NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS + in ieee80211_rx_h_decrypt()2005 if (mmie_keyidx < NUM_DEFAULT_KEYS || in ieee80211_rx_h_decrypt()2006 mmie_keyidx >= NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS) in ieee80211_rx_h_decrypt()2034 for (i = 0; i < NUM_DEFAULT_KEYS; i++) { in ieee80211_rx_h_decrypt()2041 for (i = 0; i < NUM_DEFAULT_KEYS; i++) { in ieee80211_rx_h_decrypt()
1041 struct ieee80211_key __rcu *gtk[NUM_DEFAULT_KEYS +1121 struct ieee80211_key __rcu *keys[NUM_DEFAULT_KEYS];
604 if (pairwise && key_idx < NUM_DEFAULT_KEYS) in ieee80211_lookup_key()609 key_idx < NUM_DEFAULT_KEYS + in ieee80211_lookup_key()618 if (pairwise && key_idx < NUM_DEFAULT_KEYS) in ieee80211_lookup_key()626 if (key_idx < NUM_DEFAULT_KEYS) in ieee80211_lookup_key()