mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
mac80211: free up 2 bytes in skb->cb
Free up 2 bytes in skb->cb to be used for multi-rate retry later. Move iv_len and icv_len initialization into key alloc. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
417bd25ac4
commit
76708dee38
10 changed files with 29 additions and 21 deletions
|
@ -337,8 +337,6 @@ struct ieee80211_tx_info {
|
|||
unsigned long jiffies;
|
||||
s8 rts_cts_rate_idx, alt_retry_rate_idx;
|
||||
u8 retry_limit;
|
||||
u8 icv_len;
|
||||
u8 iv_len;
|
||||
} control;
|
||||
struct {
|
||||
u64 ampdu_ack_map;
|
||||
|
@ -635,6 +633,8 @@ enum ieee80211_key_flags {
|
|||
*/
|
||||
struct ieee80211_key_conf {
|
||||
enum ieee80211_key_alg alg;
|
||||
u8 icv_len;
|
||||
u8 iv_len;
|
||||
u8 hw_key_idx;
|
||||
u8 flags;
|
||||
s8 keyidx;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue