forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'mac80211-next-for-davem-2018-02-22' of git://git.kernel.or…
…g/pub/scm/linux/kernel/git/jberg/mac80211-next Johannes Berg says: ==================== Various updates across wireless. One thing to note: I've included a new ethertype that wireless uses (ETH_P_PREAUTH) in if_ether.h. ==================== Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
Showing
25 changed files
with
584 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
* Copyright (c) 2006, Michael Wu <[email protected]> | ||
* Copyright (c) 2013 - 2014 Intel Mobile Communications GmbH | ||
* Copyright (c) 2016 - 2017 Intel Deutschland GmbH | ||
* Copyright (c) 2018 Intel Corporation | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
|
@@ -2111,7 +2112,7 @@ enum ieee80211_key_len { | |
#define FILS_ERP_MAX_REALM_LEN 253 | ||
#define FILS_ERP_MAX_RRK_LEN 64 | ||
|
||
#define PMK_MAX_LEN 48 | ||
#define PMK_MAX_LEN 64 | ||
|
||
/* Public action codes (IEEE Std 802.11-2016, 9.6.8.1, Table 9-307) */ | ||
enum ieee80211_pub_actioncode { | ||
|
@@ -2501,6 +2502,17 @@ static inline u8 *ieee80211_get_qos_ctl(struct ieee80211_hdr *hdr) | |
return (u8 *)hdr + 24; | ||
} | ||
|
||
/** | ||
* ieee80211_get_tid - get qos TID | ||
* @hdr: the frame | ||
*/ | ||
static inline u8 ieee80211_get_tid(struct ieee80211_hdr *hdr) | ||
{ | ||
u8 *qc = ieee80211_get_qos_ctl(hdr); | ||
|
||
return qc[0] & IEEE80211_QOS_CTL_TID_MASK; | ||
} | ||
|
||
/** | ||
* ieee80211_get_SA - get pointer to SA | ||
* @hdr: the frame | ||
|
Oops, something went wrong.