diff options
author | Ajay Singh | 2018-07-19 00:45:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-07-21 09:04:47 +0200 |
commit | 8c67e814fadc84e38ff6873081b0859ae2eb8025 (patch) | |
tree | 27772c66f3c5617f3d0107bcbab3cc01027095f2 /drivers/staging/wilc1000/wilc_wlan_if.h | |
parent | staging: wilc1000: remove extra enum defined for data rates (diff) | |
download | kernel-qcow2-linux-8c67e814fadc84e38ff6873081b0859ae2eb8025.tar.gz kernel-qcow2-linux-8c67e814fadc84e38ff6873081b0859ae2eb8025.tar.xz kernel-qcow2-linux-8c67e814fadc84e38ff6873081b0859ae2eb8025.zip |
staging: wilc1000: remove extra enums defined for ieee80211_eid
Cleanup patch to make use of existing enum 'ieee80211_eid' instead of
adding new enum in WILC for element ID's.
The below mapping is same to remove extra enum in WILC.
SUPP_RATES_IE -> WLAN_EID_SUPP_RATES
EXT_SUPP_RATES_IE -> WLAN_EID_EXT_SUPP_RATES
HT_CAPABILITY_IE -> WLAN_EID_HT_CAPABILITY
RSN_IE -> WLAN_EID_RSN
WPA_IE -> WLAN_EID_VENDOR_SPECIFIC
WMM_IE -> WLAN_EID_VENDOR_SPECIFIC
P2P_IE -> WLAN_EID_VENDOR_SPECIFIC
Also remove enum 'info_element_id' as its same as 'ieee80211_eid', below
the mapping of elements of enums which are used.
ITIM -> WLAN_EID_TIM
IDSPARMS -> WLAN_EID_DS_PARAMS
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan_if.h')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan_if.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/staging/wilc1000/wilc_wlan_if.h index b23f86c0d8fb..af414d7387e7 100644 --- a/drivers/staging/wilc1000/wilc_wlan_if.h +++ b/drivers/staging/wilc1000/wilc_wlan_if.h @@ -71,16 +71,6 @@ typedef void (*wilc_tx_complete_func_t)(void *, int); #define MAX_SSID_LEN 33 #define MAX_RATES_SUPPORTED 12 -enum { - SUPP_RATES_IE = 1, - EXT_SUPP_RATES_IE = 50, - HT_CAPABILITY_IE = 45, - RSN_IE = 48, - WPA_IE = 221, - WMM_IE = 221, - P2P_IE = 221, -}; - enum bss_types { INFRASTRUCTURE = 0, INDEPENDENT, |