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

V4.1.8 9499 #212

Open
wants to merge 272 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
6348961
rtl8188eu: Fix to build on modern kernels
lwfinger Dec 27, 2014
4a660c6
rtl8188eu: Fix remaining warnings in build
lwfinger Dec 28, 2014
86b0c1a
rtl8188eu: Fix build on kernel 3.12
lwfinger Dec 28, 2014
5a2939f
rtl8188eu: Fix 'make install'
lwfinger Dec 28, 2014
2d60bad
rtl8188eu: FRemove dead code for other than USB
lwfinger Dec 28, 2014
b6b1215
rtl8188eu: Remove dead code inside #if 0
lwfinger Dec 29, 2014
17d1637
rtl8188eu: Replace PVOID and VOID
lwfinger Dec 29, 2014
0633410
rtl8188eu: Replace _FALSE and _TRUE
lwfinger Dec 29, 2014
327b559
rtl8188eu: Remove some unused files, and flatten include/
lwfinger Dec 29, 2014
6b438a9
rtl8188eu: Remove more unused files
lwfinger Dec 29, 2014
37122aa
rtl8188eu: Fix build warning for 3.13
lwfinger Dec 30, 2014
78015ae
rtl8188eu: Remove dead code for DM_ODM_SUPPORT_TYPE - Part 1
lwfinger Dec 30, 2014
3a518f1
rtl8188eu: Remove remainder of code that depends on DM_ODM_SUPPORT_TYPE
lwfinger Dec 30, 2014
007b33e
rtl8188eu: Remove code for chips other than RTL8188EU
lwfinger Dec 30, 2014
5f39818
rtl8188eu: Change u2Byte to u16
lwfinger Dec 30, 2014
8aad1f5
rtl8188eu: Convert u4Bytw to u32
lwfinger Dec 30, 2014
b77dd7b
rtl8188eu: Replace p1byte with u8
lwfinger Dec 30, 2014
c8a4d4b
rtl8188eu: Replace u8Byte with u64
lwfinger Dec 30, 2014
1038ee1
rtl8188eu: Replace sNByte with appropriate s value
lwfinger Dec 30, 2014
4b573cb
rtl8188eu: Replace UINT, USHORT and UCHAR with u32, u16, and u8
lwfinger Dec 31, 2014
e0688b5
rtl8188eu: Change Makefile to handle conflicts between r8188eu and 81…
lwfinger Jan 11, 2015
d442f6a
rtl8188eu: Fix build on kernel 3.17
lwfinger Jan 11, 2015
f8d1526
rtl8188eu: Fix makefile if r8188eu is not part of system
lwfinger Jan 15, 2015
14c43ae
rtl8188eu: Fix error path for memory allocation failure
lwfinger Jan 26, 2015
19da086
rtl8199eu: Allow this branch to build on other than x86
lwfinger Jan 26, 2015
a8e1fbf
rtl8188eu: Remove __func_enter__ and __func_exit__
lwfinger Jan 26, 2015
b2de210
rtl8188eu: Remove CONFIG_LITTLE_ENDIAN
lwfinger Jan 26, 2015
cc84eb3
rtl8188eu: Cleanup read/write routines
lwfinger Jan 27, 2015
9f59c77
rtl8188eu: Add header needed for ppc
lwfinger Jan 27, 2015
77e8b5d
rtl8188eu: Fix endedness of EEPROM readout for BE machines
lwfinger Jan 27, 2015
7c7f632
rtl8188eu: Fix some sparse warnings
lwfinger Jan 28, 2015
305a10e
rtl8188eu: Fix an endian issue that was missed
lwfinger Jan 28, 2015
64a0fd2
rtl8188eu: Fix an endian issue that was missed
lwfinger Jan 28, 2015
b34f4ec
Merge branch 'v4.1.8_9499' of http://github.com/lwfinger/rtl8188eu in…
lwfinger Jan 29, 2015
b2e37eb
rtl8188eu: Do some cleanup in hal/usb_ops_linux.c
lwfinger Jan 29, 2015
6dc546e
rtl8188eu: Remove byte ordering routines
lwfinger Jan 29, 2015
481d6c8
rtl8188eu: Clean up more Sparse messages
lwfinger Jan 29, 2015
5b8f5bc
rtl8188eu: More Sparse fixes
lwfinger Jan 30, 2015
4774c66
rtl8188eu: Stop extraneous logging
lwfinger Feb 8, 2015
24cbb51
rtl8188eu: Fix more endian issues
lwfinger Feb 9, 2015
f0f2a06
rtl8188eu: Fix a missing cpu_to_le16
lwfinger Feb 9, 2015
d2b7e5b
rtl8188eu: Remove code for DBG_MEMORY_LEAK
lwfinger Feb 15, 2015
1305b2d
rtl8188eu: Fix build warning for kernels 3.16-3.18
lwfinger Feb 15, 2015
020675f
rtl8188eu: Remove code selected when CONFIG_CONCURRENT_MODE is defined
lwfinger Feb 15, 2015
e8487f5
rtl8188eu: Remove code selected by CONFIG_DUALMAC_CONCURRENT
lwfinger Feb 15, 2015
b3e4445
rtl8188eu: Fix build for kernel 3.20
lwfinger Feb 16, 2015
276a623
rtl8188eu: Fix more endian issues
lwfinger Feb 16, 2015
87f2c04
rtl8188eu: More endian fixes
lwfinger Feb 18, 2015
120368c
rtl8188eu: Remove dead code associated with BR_EXT_DEBUG
lwfinger Feb 18, 2015
529328f
rtl8188eu: Replace wrapper for memcpy
lwfinger Feb 19, 2015
9b5b5c4
rtl8188eu: Replace wrapper for memset
lwfinger Feb 19, 2015
54abf57
rtl8188eu: Change C90 comments to /* */ form
lwfinger Feb 19, 2015
592c85f
rtl8188eu: Convert C90 comments
lwfinger Feb 20, 2015
34c3293
rtl8188eu: Convert C90 comments in os_dep
lwfinger Feb 20, 2015
5470a10
rtl8188eu: Remove CONFIG_IOCTL_CFG80211
lwfinger Feb 20, 2015
99db261
rtl8188eu: Remove RTW_USE_CFG80211_STA_EVENT and clean Makefile
lwfinger Feb 20, 2015
5ded2b3
rtl8188eu: Remove CONFIG_XMIT_ACK and CONFIG_XMIT_ACK_POLLING
lwfinger Feb 20, 2015
8f5cbef
rtl8188eu: Remove _CONFIG_NATIVEAP_MLME_ and CONFIG_NATIVEAP_MLME
lwfinger Feb 20, 2015
8c846f5
rtl8188eu: Remove CONFIG_INTERRUPT_BASED_TXBCN and derivatives
lwfinger Feb 20, 2015
0f3cbc1
rtl8188eu: Remove CONFIG_ATMEL_RC_PATCH
lwfinger Feb 20, 2015
49437ec
rtl8188eu: Remove CONFIG_TX_MCAST2UNI
lwfinger Feb 20, 2015
37a28f8
rtl8188eu: Remove CONFIG_ACTIVE_KEEP_ALIVE_CHECK
lwfinger Feb 21, 2015
2b27b83
rtl8188eu: Remove CONFIG_80211N_HT
lwfinger Feb 21, 2015
856f0de
rtl8188eu: Remove CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER
lwfinger Feb 21, 2015
8e700a6
rtl8188eu: Fix build on kernel version 4.0+
lwfinger Feb 24, 2015
a76a620
rtl8188eu: Remove CONFIG_ODM_REFRESH_RAMASK
lwfinger Feb 24, 2015
4a969a1
rtl8188eu: Remove CONFIG_PHY_SETTING_WITH_ODM
lwfinger Feb 24, 2015
af84d3c
rtl8188eu: Remove RTL8188E_FPGAtrue_PHY_VERIFICATION
lwfinger Feb 24, 2015
cc8740e
rtl8188eu: Remove CONFIG_SET_SCAN_DENY_TIMER
lwfinger Feb 24, 2015
d9320ea
rtl8188eu: Remove CONFIG_RECV_REORDERING_CTRL
lwfinger Feb 24, 2015
7f75913
rtl8188eu: Remove CONFIG_IPS
lwfinger Feb 24, 2015
636309c
rtl8188eu: Remove SUPPORT_HW_RFOFF_DETECTED
lwfinger Feb 24, 2015
4bfca25
rtl8188eu: Remove CONFIG_LPS_RPWM_TIMER
lwfinger Feb 24, 2015
e932bd9
rtl8188eu: Remove CONFIG_LPS_LCLK
lwfinger Feb 25, 2015
dae1593
rtl8188eu: Remove CONFIG_LPS
lwfinger Feb 25, 2015
f6fb81d
rtl8188eu: Remove antenna diversity configuration variables
lwfinger Feb 25, 2015
ad60073
rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_MUTEX
lwfinger Feb 26, 2015
78882c8
rtl8188eu: Remove CONFIG_VENDOR_REQ_RETRY
lwfinger Feb 26, 2015
fdafd36
rtl8188eu: Clean up os_dep/ioctl_linux.c
lwfinger Feb 26, 2015
42a1d09
rtl8188eu: Remove CONFIG_USE_USB_BUFFER_ALLOC_RX
lwfinger Feb 26, 2015
f83ce57
rtl8188eu: Remove CONFIG_MINIMAL_MEMORY_USAGE
lwfinger Feb 26, 2015
3263fc1
rtl8188eu: Remove CONFIG_USB_TX_AGGREGATION
lwfinger Feb 26, 2015
5a7239f
rtl8188eu: Remove CONFIG_USB_RX_AGGREGATION
lwfinger Feb 26, 2015
4808b0c
rtl8188eu: Remove CONFIG_LAYER2_ROAMING_RESUME
lwfinger Feb 27, 2015
72bd29e
rtl8188eu: Remove CONFIG_LAYER2_ROAMING
lwfinger Feb 27, 2015
73821a9
rtl8188eu: Remove CONFIG_LONG_DELAY_ISSUE
lwfinger Feb 28, 2015
1a2d9b8
rtl8188eu: Remove CONFIG_NEW_SIGNAL_STAT_PROCESS
lwfinger Feb 28, 2015
d264b3a
rtl8188eu: Remove CONFIG_DEAUTH_BEFORE_CONNECT
lwfinger Feb 28, 2015
51e0009
rtl8188eu: Remove CONFIG_PREALLOC_RECV_SKB
lwfinger Feb 28, 2015
32c09fe
rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC
lwfinger Feb 28, 2015
d3b53e9
rtl8188eu: Remove CONFIG_REGULATORY_CTRL
lwfinger Feb 28, 2015
efaf0dc
rtl8188eu: Remove remaining configuration code for other devices
lwfinger Feb 28, 2015
1eb3562
rtl8188eu: Remove all configuration variables that use RTL8188E*
lwfinger Feb 28, 2015
ee0ecc2
rtl8188eu: Remove CONFIG_TX_EARLY_MODE
lwfinger Feb 28, 2015
eba06c1
rtl8188eu: Remove CONFIG_WIFI_TEST
lwfinger Feb 28, 2015
31d5798
rtl8188eu: Remove CONFIG_HW_PWRP_DETECTION
lwfinger Feb 28, 2015
427ab12
rtl8188eu: Remove CONFIG_IOL_NEW_GENERATION
lwfinger Feb 28, 2015
3ce8fc7
rtl8188eu: Remove CONFIG_IOL_IOREG_CFG_DBG
lwfinger Feb 28, 2015
6dea1f4
rtl8188eu: Remove CONFIG_IOL_IOREG_CFG
lwfinger Mar 1, 2015
71377b6
rtl8188eu: Change CONFIG_IOL_READ_EFUSE_MAP to CONFIG_IOL
lwfinger Mar 1, 2015
f7d31c9
rtl8188eu: Convert CONFIG_IOL_EFUSE_PATCH to CONFIG_IOL
lwfinger Mar 1, 2015
1155811
rtl8188eu: Remove CONFIG_IOL
lwfinger Mar 1, 2015
314bad7
rtl8188eu: FRemove the undefined CONFIG_IOL_LLT
lwfinger Mar 1, 2015
9decc52
rtl8188eu: Remove CONFIG_SUPPORT_USB_INT
lwfinger Mar 1, 2015
7b6e9a0
rtl8188eu: Convert CONFIG_FIND_BEST_CHANNEL to CONFIG_AP_MODE
lwfinger Mar 1, 2015
27f745a
rtl8188eu: Remove some configuration variables defined when CONFIG_P2…
lwfinger Mar 2, 2015
7f426e6
rtl8188eu: Remove CONFIG_LED and related configuration variables
lwfinger Mar 2, 2015
e5f09bb
rtl8188eu: Remove CONFIG_GLOBAL_UI_PID
lwfinger Mar 2, 2015
44ff69c
rtl8188eu: Remove CONFIG_DISABLE_MCS13TO15
lwfinger Mar 2, 2015
9b21efa
rtl8188eu: Remove CONFIG_FTP_PROTECT
lwfinger Mar 2, 2015
1d52d10
rtl8188eu: Remove CONFIG_INTEL_WIDI
lwfinger Mar 2, 2015
4b61fd5
rtl8188eu: Remove CONFIG_WAPI_SUPPORT
lwfinger Mar 2, 2015
2a75f42
rtl8188eu: Remove CONFIG_EFUSE_CONFIG_FILE and CONFIG_RF_GAIN_OFFSET
lwfinger Mar 2, 2015
ed19268
rtl_8188eu: Remove CONFIG_MMC_PM_KEEP_POWER, and CONFIG_WOWLAN
lwfinger Mar 2, 2015
dfeb1b4
rtl8188eu: Remove CONFIG_GPIO_WAKEUP
lwfinger Mar 2, 2015
4081d13
rtl8188eu: Remove CONFIG_ODM_ADAPTIVITY
lwfinger Mar 2, 2015
0b5c6eb
rtl8188eu: Change BOOLEAN to bool
lwfinger Mar 2, 2015
dd62caa
rtl8199eu: Replace TRUE and FALSE with true and false
lwfinger Mar 2, 2015
2bcb8d3
rtl8188eu: Remove CONFIG_SKB_COPY
lwfinger Mar 3, 2015
c291f62
rtl8188eu: Remove ENABLE_USB_DROP_INCORRECT_OUT
lwfinger Mar 4, 2015
c372b98
rtl8188eu: Remove CONFIG_ATTEMPT_TO_FIX_AP_BEACON_ERROR
lwfinger Mar 4, 2015
1bb0401
rtl8188eu: CONFIG_TDLS
lwfinger Mar 4, 2015
471d5a1
rtl8188eu: Remove file include/rtw_tdls.h
lwfinger Mar 5, 2015
dc4dbd3
rtl8188eu: Remove wrapper around spin_lock_init
lwfinger Mar 5, 2015
c0ef452
rtl8188eu: Remove wrappers around spin_lock_bh and spin_unlock_bh
lwfinger Mar 6, 2015
fa0ee47
rtl8188eu: Remove DBG_EXPIRATION_CHK
lwfinger Mar 6, 2015
89552a8
rtl8188eu: Remove _rtw_spinlock_free
lwfinger Mar 6, 2015
5d615fa
rtl8188eu: Rename get_WLAN_BSSID_EX_sz
lwfinger Mar 7, 2015
4bf02bb
rtl8188eu: Replace typedef for WLAN_BSSID_EX
lwfinger Mar 7, 2015
3b93a78
rtl8188eu: Remove CONFIG_SIGNAL_DISPLAY_DBM
lwfinger Mar 7, 2015
49de871
rtl8188eu: Remove CONFIG_PLATFORM_ROCKCHIPS
lwfinger Mar 7, 2015
715a015
rtl8188eu: Remove CONFIG_TCP_CSUM_OFFLOAD_RX
lwfinger Mar 7, 2015
cfd60fa
rtl8188eu: Remove "if 1"
lwfinger Mar 7, 2015
10a995a
rtl8188eu: Remove RTK_DMP_PLATFORM
lwfinger Mar 7, 2015
464dd38
rtl8188eu: Remove CONFIG_PLATFORM_MT53XX
lwfinger Mar 7, 2015
ee00663
rtl8188eu: Remove CONFIG_PLATFORM_ARM_XX
lwfinger Mar 7, 2015
993b443
rtl8188eu: Fix most errors from smatch
lwfinger Mar 10, 2015
90df80d
rtl8188eu: Fix build when CONFIG_P2P is not defined
lwfinger Mar 11, 2015
e542073
rtl8188eu: Remove XX_PLATFORM_YY
lwfinger Mar 11, 2015
cd55789
rtl8188eu: Remove CONFIG_DETECT_C2H_BY_POLLING
lwfinger Mar 11, 2015
3bc76ee
rtl8188eu: Remove CONFIG_UPDATE_INDICATE_SEQ_WHILE_PROCESS_ADDBA_REQ
lwfinger Mar 11, 2015
bc08957
rtl8188eu: Remove CONFIG_XMIT_THREAD_MODE
lwfinger Mar 11, 2015
e136a7d
rtl8188eu: Remove CONFIG_RECV_THREAD_MODE
lwfinger Mar 11, 2015
4c042ff
rtl8188eu: Remove CONFIG_EVENT_THREAD_MODE
lwfinger Mar 11, 2015
bef55d3
rtl8188eu: Remove RTL8192C_RECONFIG_TO_1T1R
lwfinger Mar 11, 2015
8fd8004
rtl8188eu: Remove CONFIG_DISABLE_ODM
lwfinger Mar 11, 2015
15018af
rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_BUFFER_DYNAMIC_ALLOCATE
lwfinger Mar 11, 2015
2339d6c
rtl8188eu: Remove DBG_CONFIG_ERROR_DETECT
lwfinger Mar 12, 2015
d82a27d
rtl8188eu: Remove DBG_CONFIG_ERROR_RESET
lwfinger Mar 12, 2015
1099631
rtl8188eu: Remove CONFIG_RESUME_IN_WORKQUEUE
lwfinger Mar 12, 2015
3f5c8ae
rtl8188eu: Remove CONFIG_STA_MODE_SCAN_UNDER_AP_MODE
lwfinger Mar 12, 2015
7d8e675
rtl8188eu: Remove CONFIG_DEBUG_RTL871X
lwfinger Mar 12, 2015
cf743bf
rtl8188eu: Remove CONFIG_ADAPTOR_INFO_CACHING_FILE
lwfinger Mar 12, 2015
3e42cc0
rtl8188eu: Remove CONFIG_PATCH_JOIN_WRONG_CHANNEL
lwfinger Mar 12, 2015
bb4b1fe
rtl8188eu: Remove CONFIG_BSD_RX_USE_MBUF
lwfinger Mar 12, 2015
f42ef2c
rtl8188eu: Remove CONFIG_TCP_CSUM_OFFLOAD_TX
lwfinger Mar 12, 2015
6eb9cc2
rtl8188eu: Remove CONFIG_USE_USB_BUFFER_ALLOC_TX
lwfinger Mar 12, 2015
669536c
rtl8188eu: Remove CONFIG_SPECIAL_SETTING_FOR_FUNAI_TV
lwfinger Mar 12, 2015
b054bff
rtl8188eu: Convert driver to use external firmware
lwfinger Mar 13, 2015
83ff417
rtl8188eu: Fix build error
lwfinger Mar 13, 2015
752f418
rtl8188eu: Remove CONFIG_EMBEDDED_FWIMG
lwfinger Mar 13, 2015
460e260
rtl8188eu: Convert typedef WLAN_PWR_CFG to struct wl_pwr_cfg
lwfinger Mar 13, 2015
d26bbef
rtl8188eu: Remove useless IN and OUT from parameter lists
lwfinger Mar 13, 2015
03bcc1a
rtl8188eu: Delete some unused header files
lwfinger Mar 13, 2015
e233420
rtl8188eu: Remove executable mode for all source files
lwfinger Mar 13, 2015
8a5e502
rtl8188eu: Remove typedef statements from include/rtw_mlme_ext.h
lwfinger Mar 13, 2015
851dc8f
rtl8188eu: Remove typedef statements from include/wlan_bssdef.h
lwfinger Mar 14, 2015
26b163f
rtl8188eu: Remove typedef statements from include/rtw_rf.h and delete…
lwfinger Mar 15, 2015
e228583
rtl8188eu: Remove most typedef statements from include/osdep_service.h
lwfinger Mar 16, 2015
b2720d8
rtl8188eu: Remove C90 comments from include/*.h
lwfinger Mar 16, 2015
067adff
rtl8188eu: Remove unused header files
lwfinger Mar 16, 2015
4547604
rtl8188eu: Remove typedef statements in include/rtw_mp.h
lwfinger Mar 17, 2015
8259a22
rtl8188eu: Remove typedef statements from include/rtw_mp_ioctl.h
lwfinger Mar 17, 2015
22afcba
rtl8188eu: Remove typedef statements from include/HalVerDef.h
lwfinger Mar 17, 2015
fa43f60
rtl8188eu: Remove typedef statement from include/sta_info.h
lwfinger Mar 17, 2015
7460f4b
rtl8188eu: Remove most typedef statements from include/hal_intf.h
lwfinger Mar 17, 2015
7162635
rtl8188eu: Remove typedef statements from include/ieee80211.h
lwfinger Mar 18, 2015
569af61
rtl8188eu: Fix Makefile copying firmware to wrong directory
lwfinger Mar 23, 2015
be58a41
rtl8188eu: Enable LEDs
lwfinger Mar 23, 2015
496a632
rtl8188eu: Fix struct rtw_ieee80211_ht_cap
lwfinger Apr 7, 2015
d76cbb3
rtl8188eu: Replace rtw_ieee80211_ht_cap with standard kernel version
lwfinger Apr 8, 2015
b5cf1b0
rtl8188eu: On kernel 2.6.32, a NULL dereference was found
lwfinger May 15, 2015
0160af0
rtl8188eu: Fix build warning for kernel 4.1 and later
lwfinger Aug 12, 2015
16ab32d
rtl8188eu: Make more little endian changes
lwfinger Aug 15, 2015
c8bd30e
rtl8188eu: Fix Sparse errors in os_dep/ioctl_linux.c
lwfinger Aug 15, 2015
76682b1
rtl8188eu: Fix Fix Sparse warning in os_dep/os_intfs.c
lwfinger Aug 15, 2015
124237a
rtl8188eu: Fix Sparse warnings
lwfinger Aug 15, 2015
efddeb4
rtl8188eu: Fix Sparse warnings in core/rtw_mlme.c
lwfinger Aug 15, 2015
cc88df7
rtl8188eu: Fix Sparse problems in core/rtw_mlme_ext.c
lwfinger Aug 15, 2015
3ead403
rtl8188eu: Fix Sparse warnings in core/rtw_recv.c
lwfinger Aug 15, 2015
b8f73d9
rtl8188eu: Fix Sparse warnings in core/rtw_sta_mgt.c
lwfinger Aug 15, 2015
aa89a39
rtl8188eu: Remove spaces before quoted newline
lwfinger Aug 15, 2015
6ead3e7
rtl8188eu: Change all "if(" to "if ("
lwfinger Aug 15, 2015
8e22f0d
rtl8188eu: Change "while(" to "while ("
lwfinger Aug 15, 2015
c818db1
rtl8188eu: Change "switch(" to "switch ("
lwfinger Aug 15, 2015
9ee6ae4
rtl8188eu: Change "for(" to "for ("
lwfinger Aug 15, 2015
83488f5
rtl8188eu: Add spaces after comma, etc.
lwfinger Aug 15, 2015
c137ff2
rtl8188eu: Change "==0" to "== 0"
lwfinger Aug 15, 2015
0a97479
rtl8188eu: Change "){" to ") {"
lwfinger Aug 15, 2015
16d2a24
rtl8188eu: Change "}else{" and variants to "} else {"
lwfinger Aug 15, 2015
51e6fae
rtl8188eu: Chnage "=NULL" to "= NULL"
lwfinger Aug 15, 2015
11ab93f
rtl8188eu: Remove double blank lines in core/*.h
lwfinger Aug 15, 2015
e6a0d11
rtl8188eu: Fix some instances where open bracket should be moved to p…
lwfinger Aug 15, 2015
1e6accf
rtl8188eu: Remove wrapper routine rtw_get_current_time()
lwfinger Aug 15, 2015
3a3339b
rtl8188eu: Replace degub macro DBG_871X with DBG_88E
lwfinger Aug 15, 2015
c010b6d
rtl8188eu: Add header
lwfinger Aug 17, 2015
549cb92
rtl8188eu: Remove CONFIG_INTEL_PROXIM
lwfinger Aug 17, 2015
fc326e6
rtl8188eu: Remove CONFIG_WAKELOCK, CONFIG_HAS_EARLYSUSPEND, and CONFI…
lwfinger Aug 17, 2015
429924c
rtl8188eu: Protect against pfhdr NULL
lwfinger Aug 18, 2015
8ac0b53
rtl8188eu: Replace LONG variants with the standard uxx form
lwfinger Sep 8, 2015
69fded9
rtl8188eu: Cancel more timers on exit
lwfinger Sep 15, 2015
2601c36
rtl8723bs: Remove rtw_chip_version as module parameter
lwfinger Sep 26, 2015
69faa02
rtl8723bs: Remove second interface name
lwfinger Sep 26, 2015
37a56bc
rtl8188eu: Move arrays off stack in translate_scan()
lwfinger Jan 22, 2016
b8bfb4c
rtl8188eu: Remove symbol MAX_RF_PATH_NUMS
lwfinger Feb 15, 2016
e1e88e1
rtl8188eu: Remove MAX_RF_PATH
lwfinger Feb 15, 2016
2936b46
rtl8188eu: Remove ODM_RF_PATH_MAX
lwfinger Feb 15, 2016
f8ec196
rtl8188eu: Remove "enum ODM_RF_RADIO_PATH" and ODM_RF_PATH_x
lwfinger Feb 15, 2016
551ec15
rtl8188eu: The platform can never be ODM_MP
lwfinger Apr 9, 2016
2d54679
rtl8188eu: Fix build for kernel 4.7 and later
lwfinger Jan 20, 2017
f419d3c
Adopt device ids from master.
alfa-jpn Oct 25, 2017
c459fdd
Merge pull request #230 from alfa-jpn/fix/device_id
lwfinger Oct 25, 2017
add1bba
rtl8188eu: Fix some build problems
lwfinger Mar 14, 2018
10737c7
Merge branch 'v4.1.8_9499' of http://github.com/lwfinger/rtl8188eu in…
lwfinger Mar 14, 2018
594a5a0
rtl8188eu: Fix builds for branch v4.1.8_9499 for newer kernels
lwfinger Apr 11, 2018
bc8ca96
rtl8188eu: Fix out-of-bounds reference
lwfinger Apr 11, 2018
0b659bd
rtl8188eu: Fix problem where device is not up on module load
lwfinger May 5, 2018
242c9f5
rtl8188eu: Fix some checkpatch warnings
lwfinger Aug 30, 2018
5a6d034
IEEE80211_MAX_AMPDU_BUF is bumped in 4.19-rc1 - avoid redefine warning
MilhouseVH Aug 28, 2018
77471b4
rtw_select_queue signature change in 4.19-rc1
MilhouseVH Aug 28, 2018
d1e206d
Yocto: Fixed targets for yocto build
fastiuk Sep 10, 2019
26cb6f6
Yocto: Added bitbake recipe
fastiuk Sep 10, 2019
5f2c143
cfg80211: Fixed unallocated stats
fastiuk Sep 10, 2019
a7c9cf8
Merge pull request #290 from yevfast/dev-yevfast-v4.1.8_9499-yocto
lwfinger Sep 10, 2019
ff94855
Merge pull request #289 from yevfast/dev-yevfast-v4.1.8_9499-memory-fix
lwfinger Sep 10, 2019
d27018d
rtl8188eu: Fix breakage of build for kernels older than 4.18
lwfinger Oct 8, 2019
77148c3
rtl8188eu: Add TP-Link TL-WN727N v5.21
lwfinger Oct 16, 2019
49e7927
rtl8188eu: Fix build for kernel 5.0 and newer
lwfinger Oct 16, 2019
8a85ada
rtl8188eu: Update README.md and Makefile
lwfinger Nov 4, 2019
8118ea2
rtl8188eu: Fix build errors with later kernels
lwfinger Oct 26, 2020
99a60df
rtl8188eu: Fix builds for old and new kernels
lwfinger Apr 9, 2021
4a73c76
rtl8188eu: fix some UBSAN and kmalloc warnings
lwfinger May 10, 2021
c708301
rtl8188eu: Update README.md
lwfinger Aug 10, 2021
0f6d12e
rtl8188eu: Fix "fix some UBSAN and kmalloc warnings"
Dec 11, 2021
667ab7a
rtl8188eu: Compile fix for kernel versions from 4.18 to 4.20
Dec 11, 2021
233a5d2
rtl8188eu: Tweak Makefile for easier cross compilation
Dec 11, 2021
5e453c7
Merge pull request #389 from fzuuzf/v4.1.8_9499
lwfinger Dec 11, 2021
b9cb76c
rtl8188eu: Fix build on kernel 5.16
lwfinger Dec 21, 2021
ca2465c
rtl8188eu: Fix Makefile to create directory for module
lwfinger Jan 10, 2022
cb854ca
rtl8188eu: Fix builds through kernel 6.1
lwfinger Nov 28, 2022
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
202 changes: 108 additions & 94 deletions Makefile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,122 +14,130 @@ EXTRA_CFLAGS += -I$(src)/include

ccflags-y += -D__CHECK_ENDIAN__

CONFIG_AUTOCFG_CP = n

CONFIG_RTL8188E = y

CONFIG_USB_HCI = y

CONFIG_POWER_SAVING = y
CONFIG_USB_AUTOSUSPEND = n
CONFIG_BT_COEXIST = n
CONFIG_WOWLAN = n

export TopDIR ?= $(shell pwd)
CONFIG_EXT_CLK = n

CONFIG_DRVEXT_MODULE = n

OUTSRC_FILES := \
hal/HalHWImg8188E_MAC.o \
hal/HalHWImg8188E_BB.o \
hal/HalHWImg8188E_RF.o \
hal/HalPhyRf.o \
hal/HalPhyRf_8188e.o \
hal/HalPwrSeqCmd.o \
hal/Hal8188EPwrSeq.o \
hal/Hal8188ERateAdaptive.o\
hal/hal_intf.o \
hal/hal_com.o \
hal/odm.o \
hal/odm_debug.o \
hal/odm_interface.o \
hal/odm_HWConfig.o \
hal/odm_RegConfig8188E.o\
hal/odm_RTL8188E.o \
hal/rtl8188e_cmd.o \
hal/rtl8188e_dm.o \
hal/rtl8188e_hal_init.o \
hal/rtl8188e_mp.o \
hal/rtl8188e_phycfg.o \
hal/rtl8188e_rf6052.o \
hal/rtl8188e_rxdesc.o \
hal/rtl8188e_sreset.o \
hal/rtl8188e_xmit.o \
hal/rtl8188eu_led.o \
hal/rtl8188eu_recv.o \
hal/rtl8188eu_xmit.o \
hal/usb_halinit.o \
hal/usb_ops_linux.o

RTL871X = rtl8188e

HCI_NAME = usb

_OS_INTFS_FILES := \
os_dep/ioctl_linux.o \
os_dep/mlme_linux.o \
os_dep/os_intfs.o \
os_dep/osdep_service.o \
os_dep/recv_linux.o \
os_dep/rtw_android.o \
os_dep/usb_intf.o \
os_dep/usb_ops_linux.o \
os_dep/xmit_linux.o

export TopDIR ?= $(shell pwd)

MSG="Directory .git does not exist indicating that you downloaded the source as a zip file. Only the 'git clone' method is now supported."

OUTSRC_FILES := hal/odm_debug.o \
hal/odm_interface.o\
hal/odm_HWConfig.o\
hal/odm.o\
hal/HalPhyRf.o

_HAL_INTFS_FILES += $(OUTSRC_FILES)
HAL_COMM_FILES := hal/rtl8188e_xmit.o\
hal/rtl8188e_sreset.o

MODULE_NAME = 8188eu

ifeq ($(CONFIG_AUTOCFG_CP), y)
OUTSRC_FILES += hal/HalHWImg8188E_MAC.o\
hal/HalHWImg8188E_BB.o\
hal/HalHWImg8188E_RF.o\
hal/HalPhyRf_8188e.o\
hal/odm_RegConfig8188E.o\
hal/Hal8188ERateAdaptive.o\
hal/odm_RTL8188E.o

PWRSEQ_FILES := hal/HalPwrSeqCmd.o \
hal/Hal8188EPwrSeq.o

CHIP_FILES += $(HAL_COMM_FILES) $(OUTSRC_FILES) $(PWRSEQ_FILES)

_OS_INTFS_FILES := os_dep/osdep_service.o \
os_dep/os_intfs.o \
os_dep/usb_intf.o \
os_dep/usb_ops_linux.o \
os_dep/ioctl_linux.o \
os_dep/xmit_linux.o \
os_dep/mlme_linux.o \
os_dep/recv_linux.o \
os_dep/ioctl_cfg80211.o \
os_dep/rtw_android.o

_HAL_INTFS_FILES := hal/hal_intf.o \
hal/hal_com.o \
hal/rtl8188e_hal_init.o \
hal/rtl8188e_phycfg.o \
hal/rtl8188e_rf6052.o \
hal/rtl8188e_dm.o \
hal/rtl8188e_rxdesc.o \
hal/rtl8188e_cmd.o \
hal/usb_halinit.o \
hal/rtl8188eu_led.o \
hal/rtl8188eu_xmit.o \
hal/rtl8188eu_recv.o

_HAL_INTFS_FILES += hal/usb_ops_linux.o

_HAL_INTFS_FILES += $(CHIP_FILES)

ifeq ($(CONFIG_USB_AUTOSUSPEND), y)
EXTRA_CFLAGS += -DCONFIG_USB_AUTOSUSPEND
endif

$(shell cp $(TopDIR)/autoconf_rtl8188e_usb_linux.h $(TopDIR)/include/autoconf.h)
ifeq ($(CONFIG_POWER_SAVING), y)
EXTRA_CFLAGS += -DCONFIG_POWER_SAVING
endif

ifeq ($(CONFIG_BT_COEXIST), y)
EXTRA_CFLAGS += -DCONFIG_BT_COEXIST
endif

ifeq ($(CONFIG_WOWLAN), y)
EXTRA_CFLAGS += -DCONFIG_WOWLAN
ifeq ($(CONFIG_EXT_CLK), y)
EXTRA_CFLAGS += -DCONFIG_EXT_CLK
endif

SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/ppc/powerpc/ | sed -e s/armv.l/arm/)

ARCH ?= $(SUBARCH)
CROSS_COMPILE ?=
KVER := $(shell uname -r)
KSRC ?= /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless
KVER ?= $(shell uname -r)
KERNEL_SRC ?= /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
INSTALL_PREFIX :=

ifneq ($(USER_MODULE_NAME),)
MODULE_NAME := $(USER_MODULE_NAME)
endif

ifneq ($(KERNELRELEASE),)

rtk_core := \
core/rtw_ap.o \
core/rtw_br_ext.o \
core/rtw_cmd.o \
core/rtw_debug.o \
core/rtw_efuse.o \
core/rtw_ieee80211.o \
core/rtw_io.o \
core/rtw_ioctl_set.o \
core/rtw_iol.o \
core/rtw_led.o \
core/rtw_mlme.o \
core/rtw_mlme_ext.o \
core/rtw_mp.o \
core/rtw_mp_ioctl.o \
core/rtw_pwrctrl.o \
core/rtw_p2p.o \
core/rtw_recv.o \
core/rtw_rf.o \
core/rtw_security.o \
core/rtw_sreset.o \
core/rtw_sta_mgt.o \
core/rtw_wlan_util.o \
core/rtw_xmit.o
rtk_core := core/rtw_cmd.o \
core/rtw_security.o \
core/rtw_debug.o \
core/rtw_io.o \
core/rtw_ioctl_query.o \
core/rtw_ioctl_set.o \
core/rtw_ieee80211.o \
core/rtw_mlme.o \
core/rtw_mlme_ext.o \
core/rtw_wlan_util.o \
core/rtw_pwrctrl.o \
core/rtw_rf.o \
core/rtw_recv.o \
core/rtw_sta_mgt.o \
core/rtw_ap.o \
core/rtw_xmit.o \
core/rtw_p2p.o \
core/rtw_br_ext.o \
core/rtw_iol.o \
core/rtw_led.o \
core/rtw_sreset.o \
core/rtw_odm.o

8188eu-y += $(rtk_core)

8188eu-y += core/rtw_efuse.o

8188eu-y += $(_HAL_INTFS_FILES)

8188eu-y += $(_OS_INTFS_FILES)
Expand All @@ -140,39 +148,45 @@ else

export CONFIG_RTL8188EU = m

all: modules
all: test modules

test:
@if [ ! -e ./.git ] ; then echo $(MSG); exit 1; fi;

modules:
$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd) modules
$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KERNEL_SRC) M=$(shell pwd) modules

modules_install:
$(MAKE) -C $(KERNEL_SRC) M=$(shell pwd) modules_install

strip:
$(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded

install:
install -p -D -m 644 8188eu.ko $(MODDESTDIR)/8188eu.ko
@mkdir -p $(MODDESTDIR)
install -p -m 644 8188eu.ko $(MODDESTDIR)
@if [ -a /lib/modules/$(KVER)/kernel/drivers/staging/rtl8188eu/r8188eu.ko ] ; then modprobe -r r8188eu; fi;
@echo "blacklist r8188eu" > /etc/modprobe.d/50-8188eu.conf
cp rtl8188eufw.bin /lib/firmware/rtlwifi/.
/sbin/depmod -a ${KVER}
mkdir -p /lib/firmware/rtlwifi
cp -n rtl8188eufw.bin /lib/firmware/rtlwifi/.

uninstall:
rm -f $(MODDESTDIR)/8188eu.ko
/sbin/depmod -a ${KVER}
@rm /etc/modprobe.d/50-8188eu.conf

config_r:
@echo "make config"
/bin/bash script/Configure script/config.in

.PHONY: modules clean clean_odm-8192c

clean_odm-8192c:
cd hal/OUTSRC/rtl8192c ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko

clean: $(clean_more)
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
endif

21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
IMPORTANT - PLEASE READ:

Beginning on November 4, 2019, I will NO LONGER support people that have downloaded the source
as a zip file. Using git has much more flexibility. In addition, there is much less liklihood
that a user will contact me with a problem that is ALREADY fixed.

If your system says that /lib/modules/...../build does not exist, you have not
installed the kernel headers, you have done it incorrectly, or you are not running
the kernel for which the headers have been installed. The necessary steps are
dependent on which distro you are using. Creating a new issue and asking at
GitHub will not be productive.

Your kernel configuration MUST have CONFIG_WIRELESS_EXT set.

Unsolicited E-mail sent to my private address will be ignored!!

If a build fails that previously worked, perform a 'git pull' and retry before
reporting a problem. As noted, if you had downloaded the source in zip form, then you would
need to get an entirely new source file. That is why using git, which downloads only the changed
lines, is required.

rtl8188eu
=========

Expand Down
Loading