feature: support tx amsdu

This commit is contained in:
ronghulin
2021-01-15 17:00:15 +08:00
parent 9ff1609a20
commit adfa43a3a4
15 changed files with 100 additions and 1 deletions

View File

@@ -26,6 +26,10 @@ struct ieee802_1x_hdr {
#define EAPOL_VERSION 2
#define SPP_AMSDU_CAP_ENABLE 1
#define SPP_AMSDU_REQ_ENABLE 1
#define SPP_AMSDU_CAP_DISABLE 0
#define SPP_AMSDU_REQ_DISABLE 0
enum { IEEE802_1X_TYPE_EAP_PACKET = 0,
IEEE802_1X_TYPE_EAPOL_START = 1,

View File

@@ -110,6 +110,8 @@
#define WPA_CAPABILITY_MFPR BIT(6)
#define WPA_CAPABILITY_MFPC BIT(7)
#define WPA_CAPABILITY_PEERKEY_ENABLED BIT(9)
#define WPA_CAPABILITY_SPP_CAPABLE BIT(10)
#define WPA_CAPABILITY_SPP_REQUIRED BIT(11)
/* IEEE 802.11r */
@@ -303,6 +305,11 @@ struct wpa_ie_data {
int mgmt_group_cipher;
};
struct rsn_sppamsdu_sup {
bool capable;
bool require;
};
const char * wpa_cipher_txt(int cipher);
int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len,