Commit a1a97225 authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by Greg Kroah-Hartman

staging: wfx: drop struct hif_ie_tlv

This struct hif_ie_tlv is definitively an Information Element (IE). This
struct is defined by 802.11 specification and already exists in
mac80211. Reuse this definition instead of struct hif_ie_tlv.
Signed-off-by: default avatarJérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200907101521.66082-26-Jerome.Pouiller@silabs.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cef9d0ab
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
#ifndef WFX_HIF_API_CMD_H #ifndef WFX_HIF_API_CMD_H
#define WFX_HIF_API_CMD_H #define WFX_HIF_API_CMD_H
#include <linux/ieee80211.h>
#include "hif_api_general.h" #include "hif_api_general.h"
#define HIF_API_SSID_SIZE API_SSID_SIZE #define HIF_API_SSID_SIZE API_SSID_SIZE
...@@ -93,12 +95,6 @@ struct hif_cnf_write_mib { ...@@ -93,12 +95,6 @@ struct hif_cnf_write_mib {
__le32 status; __le32 status;
} __packed; } __packed;
struct hif_ie_tlv {
u8 type;
u8 length;
u8 data[];
} __packed;
struct hif_req_update_ie { struct hif_req_update_ie {
u8 beacon:1; u8 beacon:1;
u8 probe_resp:1; u8 probe_resp:1;
...@@ -106,7 +102,7 @@ struct hif_req_update_ie { ...@@ -106,7 +102,7 @@ struct hif_req_update_ie {
u8 reserved1:5; u8 reserved1:5;
u8 reserved2; u8 reserved2;
__le16 num_ies; __le16 num_ies;
struct hif_ie_tlv ie[]; struct element ie[];
} __packed; } __packed;
struct hif_cnf_update_ie { struct hif_cnf_update_ie {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment