Lines Matching refs:WARN_ON
183 WARN_ON((key->conf.flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE) && in ieee80211_key_enable_hw_accel()
318 if (WARN_ON(!new && !old)) in ieee80211_key_replace()
324 WARN_ON(new && old && new->conf.keyidx != old->conf.keyidx); in ieee80211_key_replace()
382 if (WARN_ON(idx < 0 || idx >= NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS)) in ieee80211_key_alloc()
602 WARN_ON(key->sdata || key->local); in ieee80211_key_free_unused()
672 if (WARN_ON(!ieee80211_sdata_running(sdata))) in ieee80211_enable_keys()
890 if (WARN_ON(!(keyconf->flags & IEEE80211_KEY_FLAG_GENERATE_IV))) in ieee80211_get_key_tx_seq()
941 WARN_ON(1); in ieee80211_get_key_tx_seq()
956 if (WARN_ON(tid < 0 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_get_key_rx_seq()
963 if (WARN_ON(tid < -1 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_get_key_rx_seq()
973 if (WARN_ON(tid != 0)) in ieee80211_get_key_rx_seq()
980 if (WARN_ON(tid != 0)) in ieee80211_get_key_rx_seq()
987 if (WARN_ON(tid < -1 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_get_key_rx_seq()
1053 WARN_ON(1); in ieee80211_set_key_tx_seq()
1069 if (WARN_ON(tid < 0 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_set_key_rx_seq()
1076 if (WARN_ON(tid < -1 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_set_key_rx_seq()
1086 if (WARN_ON(tid != 0)) in ieee80211_set_key_rx_seq()
1093 if (WARN_ON(tid != 0)) in ieee80211_set_key_rx_seq()
1100 if (WARN_ON(tid < -1 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_set_key_rx_seq()
1109 WARN_ON(1); in ieee80211_set_key_rx_seq()
1148 if (WARN_ON(!local->wowlan)) in ieee80211_gtk_rekey_add()
1151 if (WARN_ON(vif->type != NL80211_IFTYPE_STATION)) in ieee80211_gtk_rekey_add()