Home
last modified time | relevance | path

Searched refs:NUM_DEFAULT_KEYS (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/net/mac80211/
Dkey.h19 #define NUM_DEFAULT_KEYS 4 macro
Dkey.c270 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()
Dsta_info.h494 struct ieee80211_key __rcu *gtk[NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS];
495 struct ieee80211_key __rcu *ptk[NUM_DEFAULT_KEYS];
Drx.c1860 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()
Dieee80211_i.h897 struct ieee80211_key __rcu *keys[NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS];
Dcfg.c534 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()