Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returned original module name. #34

Open
wants to merge 46 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
c5e045d
rtl8192du: Remove configuration CONFIG_IOCTL_CFG80211
lwfinger Jul 11, 2014
d286447
rtl8192du: Remove CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER
lwfinger Jul 11, 2014
9e2271f
rtl8192d: Remove dead code associated with COMPAT_KERNEL_RELEASE
lwfinger Jul 11, 2014
3ddc5ae
rtl8192du: Remove dead code associated with CONFIG_INTEL_WIDI
lwfinger Jul 11, 2014
5ae0cc4
rtl8192du: Remove dead code associated with CONFIG_WFD
lwfinger Jul 11, 2014
a8e0032
rtl8192du: Remove CONFIG_UPDATE_INDICATE_SEQ_WHILE_PROCESS_ADDBA_REQ
lwfinger Jul 11, 2014
fff106c
rtl8192du: Remove CONFIG_BR_EXT
lwfinger Jul 11, 2014
b9e1dec
rtl8192du: Remove symbols DBG_ROAMING_TEST and CONFIG_ACTIVE_KEEP_ALI…
lwfinger Jul 11, 2014
f9c1500
rtl8192du: Remove dead code for CONFIG_TDLS_AUTOSETUP
lwfinger Jul 11, 2014
f6abd96
rtl8192du: Fix 2 places that were scheduling while atomic
lwfinger Jul 11, 2014
fa72672
rtl8192du: Remove dead code associated with CONFIG_TDLS
lwfinger Jul 11, 2014
94f5075
rtl8192du: Remove dead code for RTL8192C_RECONFIG_TO_1T1R
lwfinger Jul 11, 2014
181e5d2
rtl8192du: Remove dead code for CONFIG_DISABLE_MCS13TO15
lwfinger Jul 11, 2014
2790179
rtl8192du: Remove dead code assoiated with SUPPORT_HW_RFOFF_DETECTED
lwfinger Jul 11, 2014
3c8e1e3
rtl8192du: Make CONFIG_USB_VENDOR_REQ_BUFFER_DYNAMIC_ALLOCATE be stan…
lwfinger Jul 20, 2014
3f19b29
rtl8192du: Fix WARNING
lwfinger Jul 20, 2014
a4fad2a
rtl8192du: Fix code to build when CONFIG_P2P is not selected
lwfinger Jul 21, 2014
2c499cd
rtl8192du: Remove dead code for CONFIG_P2P
lwfinger Jul 21, 2014
2efdd7f
rtl8192du: Fix build when CONFIG_92D_AP_MODE is not defined
lwfinger Jul 21, 2014
78a9645
rtl8192du: Re-enable AP mode
lwfinger Jul 21, 2014
1550505
rtl8192du: Remove USB IDs for RTL81xxCU
lwfinger Jul 21, 2014
48c2f9c
rtl8192du: Convert rtw_recv_frame to use standard ieee80211 stuff
lwfinger Aug 8, 2014
69d04e1
rtl8192du: Remove DBG_RX_DROP_FRAME
lwfinger Aug 9, 2014
a2deb84
rtl8192du: Fix various items
lwfinger Aug 9, 2014
9f6e484
rtl8192du: Remove CONFIG_USE_USB_BUFFER_ALLOC_TX which is not selected
lwfinger Aug 9, 2014
85a2b46
rtl8192du: Remove _rtw_pktfile_read
lwfinger Aug 11, 2014
30b0893
rtl8192du: Remove all remaining references to struct pktfile
lwfinger Aug 11, 2014
2f5a69f
rtl8192du: Fix a scheduling while atomic splat
lwfinger Aug 14, 2014
f3ca2f5
rtl8192du: Convert to build under kernel 3.18
lwfinger Oct 20, 2014
3903bb3
rtl8192du: Partially restore 5G performance
lwfinger Nov 14, 2014
afe9e50
rtl8192du: Change CamelCase file names to be lower case
lwfinger Nov 14, 2014
e0dc795
rtl8192du: Restore full speed to 5G
lwfinger Nov 15, 2014
b566c98
rtl8192du: Fix Sparse warnings/errors
lwfinger Nov 15, 2014
95d5aec
rtl8192du: Fix build on older kernels
lwfinger Nov 30, 2014
2e6a5d1
rtl8192du: Repair some changes that led to build errirs
lwfinger Dec 10, 2014
7c74342
rtl8192du: Fix compilation for 3.17
lwfinger Dec 10, 2014
39986e4
rtl8192du: Add depmod commands
lwfinger Dec 11, 2014
6509c42
rtl8192du: Fix build on oldeer kernels
lwfinger Dec 27, 2014
a561fa1
allow INSTALL_PREFIX to work
graysky2 Jan 12, 2015
1f61637
rtl8192du: Fix build on kernel 3.17
lwfinger Jan 13, 2015
f2630cd
rtl8192du: Fix build for kernel 3.19
lwfinger Jan 13, 2015
d56c910
Merge branch 'master' of https://github.com/graysky2/rtl8192du
lwfinger Jan 14, 2015
242ffe1
rtl8192du: Remove symbol DESTDIR from Makefile
lwfinger Jan 14, 2015
9b87522
Revert "rtl8192du: Remove symbol DESTDIR from Makefile"
lwfinger Jan 14, 2015
7498302
rtl8192du: Fix build error for kernel 4.0
lwfinger May 1, 2015
9f2ebbe
Returned original module name.
hanipouspilot Jun 16, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rtl8192du: Remove dead code for CONFIG_DISABLE_MCS13TO15
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
lwfinger committed Jul 11, 2014
commit 181e5d235f5acbdbcf66f3c170d788080699d3aa
16 changes: 0 additions & 16 deletions core/rtw_mlme.c
Original file line number Diff line number Diff line change
@@ -31,12 +31,7 @@
#include <rtw_mlme.h>
#include <linux/vmalloc.h>

#ifdef CONFIG_DISABLE_MCS13TO15
extern unsigned char MCS_rate_2R_MCS13TO15_OFF[16];
extern unsigned char MCS_rate_2R[16];
#else /* CONFIG_DISABLE_MCS13TO15 */
extern unsigned char MCS_rate_2R[16];
#endif /* CONFIG_DISABLE_MCS13TO15 */
extern unsigned char MCS_rate_1R[16];

int _rtw_init_mlme_priv(struct rtw_adapter *padapter)
@@ -2839,19 +2834,8 @@ void rtw_update_ht_cap(struct rtw_adapter *padapter, u8 *pie, uint ie_len,
pmlmeinfo->HT_caps.u.HT_cap_element.
MCS_rate[i] &= MCS_rate_1R[i];
} else {
#ifdef CONFIG_DISABLE_MCS13TO15
if (pmlmeext->cur_bwmode == HT_CHANNEL_WIDTH_40 &&
pregistrypriv->wifi_spec != 1) {
pmlmeinfo->HT_caps.u.HT_cap_element.
MCS_rate[i] &=
MCS_rate_2R_MCS13TO15_OFF[i];
} else
pmlmeinfo->HT_caps.u.HT_cap_element.
MCS_rate[i] &= MCS_rate_2R[i];
#else
pmlmeinfo->HT_caps.u.HT_cap_element.
MCS_rate[i] &= MCS_rate_2R[i];
#endif /* CONFIG_DISABLE_MCS13TO15 */
}
if (pregistrypriv->special_rf_path)
pmlmeinfo->HT_caps.u.HT_cap_element.
23 changes: 1 addition & 22 deletions core/rtw_mlme_ext.c
Original file line number Diff line number Diff line change
@@ -106,21 +106,11 @@ extern unsigned char REALTEK_96B_IE[];
/********************************************************
MCS rate definitions
*********************************************************/
#ifdef CONFIG_DISABLE_MCS13TO15
unsigned char MCS_rate_2R_MCS13TO15_OFF[16] = {
0xff, 0x1f, 0x0, 0x0, 0x01, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0
};
unsigned char MCS_rate_2R[16] = {
0xff, 0xff, 0x0, 0x0, 0x01, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0
};
#else /* CONFIG_DISABLE_MCS13TO15 */
unsigned char MCS_rate_2R[16] = {
0xff, 0xff, 0x0, 0x0, 0x01, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0
};
#endif /* CONFIG_DISABLE_MCS13TO15 */

unsigned char MCS_rate_1R[16] = {
0xff, 0x00, 0x0, 0x0, 0x01, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0
@@ -7104,19 +7094,8 @@ void issue_assocreq(struct rtw_adapter *adapt)
("declare supporting RX STBC\n");
pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info |= cpu_to_le16(0x0200); /* RX STBC two spatial stream */
}
#ifdef CONFIG_DISABLE_MCS13TO15
if (pmlmeext->cur_bwmode == HT_CHANNEL_WIDTH_40 && (pregpriv->wifi_spec != 1))
memcpy(pmlmeinfo->HT_caps.u.
HT_cap_element.MCS_rate,
MCS_rate_2R_MCS13TO15_OFF, 16);
else
memcpy(pmlmeinfo->HT_caps.u.
HT_cap_element.MCS_rate,
MCS_rate_2R, 16);
#else /* CONFIG_DISABLE_MCS13TO15 */
memcpy(pmlmeinfo->HT_caps.u.HT_cap_element.
MCS_rate, MCS_rate_2R, 16);
#endif /* CONFIG_DISABLE_MCS13TO15 */
break;
}
pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info =
12 changes: 2 additions & 10 deletions core/rtw_wlan_util.c
Original file line number Diff line number Diff line change
@@ -875,18 +875,10 @@ void HT_caps_handler(struct rtw_adapter *padapter, struct ndis_802_11_variable_i

/* update the MCS rates */
for (i = 0; i < 16; i++) {
if ((rf_type == RF_1T1R) || (rf_type == RF_1T2R)) {
if ((rf_type == RF_1T1R) || (rf_type == RF_1T2R))
pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_1R[i];
} else {
#ifdef CONFIG_DISABLE_MCS13TO15
if (pmlmeext->cur_bwmode == HT_CHANNEL_WIDTH_40 && (pregistrypriv->wifi_spec != 1))
pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_2R_MCS13TO15_OFF[i];
else
pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_2R[i];
#else
else
pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_2R[i];
#endif /* CONFIG_DISABLE_MCS13TO15 */
}
if (pregistrypriv->special_rf_path)
pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_1R[i];
}
3 changes: 0 additions & 3 deletions include/wifi.h
Original file line number Diff line number Diff line change
@@ -1127,9 +1127,6 @@ enum P2P_PS_MODE
#define ICMPV6_MCAST_MAC(mac) ((mac[0]==0x33)&&(mac[1]==0x33)&&(mac[2]!=0xff))
extern unsigned char REALTEK_96B_IE[6];
extern unsigned char MCS_rate_2R[16];
#ifdef CONFIG_DISABLE_MCS13TO15
extern unsigned char MCS_rate_2R_MCS13TO15_OFF[16];
#endif /* CONFIG_DISABLE_MCS13TO15 */
extern unsigned char MCS_rate_1R[16];
extern unsigned char RTW_WPA_OUI[];
extern unsigned char WPA_TKIP_CIPHER[4];