Searched refs:NUM_DEFAULT_KEYS (Results 1 – 6 of 6) sorted by relevance
19 #define NUM_DEFAULT_KEYS 4 macro
270 if (idx >= 0 && idx < NUM_DEFAULT_KEYS) in __ieee80211_set_default_key()301 if (idx >= NUM_DEFAULT_KEYS && in __ieee80211_set_default_mgmt_key()302 idx < NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS) in __ieee80211_set_default_mgmt_key()394 if (WARN_ON(idx < 0 || idx >= NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS)) in ieee80211_key_alloc()941 for (i = 0; i < NUM_DEFAULT_KEYS; i++) { in ieee80211_free_sta_keys()
494 struct ieee80211_key __rcu *gtk[NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS];495 struct ieee80211_key __rcu *ptk[NUM_DEFAULT_KEYS];
1860 if (mmie_keyidx < NUM_DEFAULT_KEYS || in ieee80211_rx_h_decrypt()1861 mmie_keyidx >= NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS) in ieee80211_rx_h_decrypt()1889 for (i = 0; i < NUM_DEFAULT_KEYS; i++) { in ieee80211_rx_h_decrypt()1896 for (i = 0; i < NUM_DEFAULT_KEYS; i++) { in ieee80211_rx_h_decrypt()
897 struct ieee80211_key __rcu *keys[NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS];
534 if (pairwise && key_idx < NUM_DEFAULT_KEYS) in ieee80211_get_key()537 key_idx < NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS) in ieee80211_get_key()