.. | .. |
---|
75 | 75 | #define WLAN_STA_VHT BIT(14) |
---|
76 | 76 | #define WLAN_STA_WDS BIT(15) |
---|
77 | 77 | #define WLAN_STA_MULTI_AP BIT(16) |
---|
78 | | -#define WLAN_STA_AMSDU_DISABLE BIT(17) |
---|
79 | 78 | #define WLAN_STA_NONERP BIT(31) |
---|
80 | 79 | |
---|
81 | 80 | #define IEEE_CMD_SET_WPA_PARAM 1 |
---|
.. | .. |
---|
1858 | 1857 | #define MFP_INVALID 1 |
---|
1859 | 1858 | #define MFP_OPTIONAL 2 |
---|
1860 | 1859 | #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 | | -}; |
---|
1872 | 1860 | |
---|
1873 | 1861 | struct rsne_info { |
---|
1874 | 1862 | u8 *gcs; |
---|
.. | .. |
---|
1891 | 1879 | int rtw_get_rsn_cipher_suite(u8 *s); |
---|
1892 | 1880 | int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len); |
---|
1893 | 1881 | 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); |
---|
1896 | 1883 | |
---|
1897 | 1884 | int rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len); |
---|
1898 | 1885 | |
---|
.. | .. |
---|
2008 | 1995 | void macstr2num(u8 *dst, u8 *src); |
---|
2009 | 1996 | u8 convert_ip_addr(u8 hch, u8 mch, u8 lch); |
---|
2010 | 1997 | 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); |
---|
2014 | 1998 | |
---|
2015 | 1999 | |
---|
2016 | 2000 | #endif /* IEEE80211_H */ |
---|