hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/include/ieee80211.h
....@@ -75,7 +75,6 @@
7575 #define WLAN_STA_VHT BIT(14)
7676 #define WLAN_STA_WDS BIT(15)
7777 #define WLAN_STA_MULTI_AP BIT(16)
78
-#define WLAN_STA_AMSDU_DISABLE BIT(17)
7978 #define WLAN_STA_NONERP BIT(31)
8079
8180 #define IEEE_CMD_SET_WPA_PARAM 1
....@@ -1858,17 +1857,6 @@
18581857 #define MFP_INVALID 1
18591858 #define MFP_OPTIONAL 2
18601859 #define MFP_REQUIRED 3
1861
-/*For amsdu mode */
1862
-#define GET_RSN_CAP_SPP_OPT(cap) LE_BITS_TO_2BYTE(((u8 *)(cap)), 10, 2)
1863
-#define SET_RSN_CAP_SPP(cap, spp) SET_BITS_TO_LE_2BYTE(((u8 *)(cap)), 10, 2, spp)
1864
-#define SPP_CAP BIT(0)
1865
-#define SPP_REQ BIT(1)
1866
-
1867
-enum rtw_amsdu_mode {
1868
- RTW_AMSDU_MODE_NON_SPP = 0,
1869
- RTW_AMSDU_MODE_SPP = 1,
1870
- RTW_AMSDU_MODE_ALL_DROP = 2,
1871
-};
18721860
18731861 struct rsne_info {
18741862 u8 *gcs;
....@@ -1891,8 +1879,7 @@
18911879 int rtw_get_rsn_cipher_suite(u8 *s);
18921880 int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len);
18931881 int rtw_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, u32 *akm);
1894
-int rtw_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *gmcs, u32 *akm, u8 *mfp_opt, u8* spp_opt);
1895
-
1882
+int rtw_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *gmcs, u32 *akm, u8 *mfp_opt);
18961883
18971884 int rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len);
18981885
....@@ -2008,9 +1995,6 @@
20081995 void macstr2num(u8 *dst, u8 *src);
20091996 u8 convert_ip_addr(u8 hch, u8 mch, u8 lch);
20101997 int wifirate2_ratetbl_inx(unsigned char rate);
2011
-/* For amsdu mode. */
2012
-void rtw_set_spp_amsdu_mode(u8 mode, u8 *rsn_ie, int rsn_ie_len);
2013
-u8 rtw_check_amsdu_disable(u8 mode, u8 spp_opt);
20141998
20151999
20162000 #endif /* IEEE80211_H */