Commit 9dc0e03d authored by Ivan Safonov's avatar Ivan Safonov Committed by Greg Kroah-Hartman

staging: r8188eu: replace enum rtw_ieee80211_spectrum_mgmt_actioncode with...

staging: r8188eu: replace enum rtw_ieee80211_spectrum_mgmt_actioncode with ieee80211_spectrum_mgmt_actioncode

Enum rtw_ieee80211_spectrum_mgmt_actioncode is a duplication
of ieee80211_spectrum_mgmt_actioncode from include/linux/ieee80211.h.
Signed-off-by: default avatarIvan Safonov <insafonov@gmail.com>
Link: https://lore.kernel.org/r/20200906133236.556427-1-insafonov@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e2664d08
...@@ -3546,12 +3546,12 @@ static unsigned int on_action_spct(struct adapter *padapter, ...@@ -3546,12 +3546,12 @@ static unsigned int on_action_spct(struct adapter *padapter,
action = frame_body[1]; action = frame_body[1];
switch (action) { switch (action) {
case RTW_WLAN_ACTION_SPCT_MSR_REQ: case WLAN_ACTION_SPCT_MSR_REQ:
case RTW_WLAN_ACTION_SPCT_MSR_RPRT: case WLAN_ACTION_SPCT_MSR_RPRT:
case RTW_WLAN_ACTION_SPCT_TPC_REQ: case WLAN_ACTION_SPCT_TPC_REQ:
case RTW_WLAN_ACTION_SPCT_TPC_RPRT: case WLAN_ACTION_SPCT_TPC_RPRT:
break; break;
case RTW_WLAN_ACTION_SPCT_CHL_SWITCH: case WLAN_ACTION_SPCT_CHL_SWITCH:
break; break;
default: default:
break; break;
......
...@@ -526,16 +526,6 @@ enum rtw_ieee80211_category { ...@@ -526,16 +526,6 @@ enum rtw_ieee80211_category {
RTW_WLAN_CATEGORY_P2P = 0x7f,/* P2P action frames */ RTW_WLAN_CATEGORY_P2P = 0x7f,/* P2P action frames */
}; };
/* SPECTRUM_MGMT action code */
enum rtw_ieee80211_spectrum_mgmt_actioncode {
RTW_WLAN_ACTION_SPCT_MSR_REQ = 0,
RTW_WLAN_ACTION_SPCT_MSR_RPRT = 1,
RTW_WLAN_ACTION_SPCT_TPC_REQ = 2,
RTW_WLAN_ACTION_SPCT_TPC_RPRT = 3,
RTW_WLAN_ACTION_SPCT_CHL_SWITCH = 4,
RTW_WLAN_ACTION_SPCT_EXT_CHL_SWITCH = 5,
};
enum _PUBLIC_ACTION { enum _PUBLIC_ACTION {
ACT_PUBLIC_BSSCOEXIST = 0, /* 20/40 BSS Coexistence */ ACT_PUBLIC_BSSCOEXIST = 0, /* 20/40 BSS Coexistence */
ACT_PUBLIC_DSE_ENABLE = 1, ACT_PUBLIC_DSE_ENABLE = 1,
......
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