Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Software WEP encryption implementation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  * Copyright 2002, Jouni Malinen <jkmaline@cc.hut.fi>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Copyright 2003, Instant802 Networks, Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #ifndef WEP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #define WEP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <linux/skbuff.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include <linux/types.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #include "ieee80211_i.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #include "key.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) void ieee80211_wep_init(struct ieee80211_local *local);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) int ieee80211_wep_encrypt_data(struct arc4_ctx *ctx, u8 *rc4key,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 				size_t klen, u8 *data, size_t data_len);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) int ieee80211_wep_encrypt(struct ieee80211_local *local,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 			  struct sk_buff *skb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 			  const u8 *key, int keylen, int keyidx);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) int ieee80211_wep_decrypt_data(struct arc4_ctx *ctx, u8 *rc4key,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 			       size_t klen, u8 *data, size_t data_len);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) ieee80211_rx_result
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) ieee80211_crypto_wep_decrypt(struct ieee80211_rx_data *rx);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) ieee80211_tx_result
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) ieee80211_crypto_wep_encrypt(struct ieee80211_tx_data *tx);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #endif /* WEP_H */