[RFC/RFT 00/33] Add new staging driver for RTL8188EU

2013-08-21 Thread Larry Finger
few months, I converted the code into a form suitable for Linux, and pushed those changes to that repo. I now believe it is time to submit it to drivers/staging. Signed-off-by: Larry Finger --- Larry Finger (33): staging:r8188eu: Add source files for new driver - part 1 staging: r8188eu: Add

[RFC/RFT 21/33] staging: r8188eu: Add files for new driver - part 21

2013-08-21 Thread Larry Finger
This commit adds files include/autoconf.h, include/basic_types.h, include/cmd_osdep.h, include/drv_types.h, include/drv_types_linux.h, include/ethernet.h. include/h2clbk.h, include/hal_com.h, and include/hal_intf.h. Signed-off-by: Larry Finger --- drivers/staging/rtl8188eu/include/autoconf.h

[RFC/RFT 27/33] staging: r8188eu: Add files for new driver - part 27

2013-08-21 Thread Larry Finger
This commit adds files include/rtw_ht.h, include/rtw_io.h, include/rtw_ioctl.h, include/rtw_ioctl_rtl.h, include/rtw_ioctl_set.h, include/rtw_iol.h, and include/rtw_led.h. Signed-off-by: Larry Finger --- drivers/staging/rtl8188eu/include/rtw_ht.h| 44 +++ drivers/staging/rtl8188eu

[RFC/RFT 29/33] staging: r8188eu: Add files for new driver - part 29

2013-08-21 Thread Larry Finger
This commit adds files include/rtw_p2p.h, include/rtw_pwrctrl.h, include/rtw_qos.h, include/rtw_recv.h, and include/rtw_rf.h. Signed-off-by: Larry Finger --- drivers/staging/rtl8188eu/include/rtw_p2p.h | 135 +++ drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 283

[RFC/RFT 30/33] staging: r8188eu: Add files for new driver - part 30

2013-08-21 Thread Larry Finger
This commit adds files include/rtw_security.h, include/rtw_sreset.h, include/rtw_version.h, and include/rtw_xmit.h. Signed-off-by: Larry Finger --- drivers/staging/rtl8188eu/include/rtw_security.h | 383 ++ drivers/staging/rtl8188eu/include/rtw_sreset.h | 50 +++ drivers

[RFC/RFT 26/33] staging: r8188eu: Add files for new driver - part 26

2013-08-21 Thread Larry Finger
This commit adds files include/rtw_android.h, include/rtw_ap.h, include/rtw_br_ext.h, include/rtw_cmd.h, include/rtw_debug.h, include/rtw_eeprom.h, include/rtw_efuse.h, and include/rtw_event.h. Signed-off-by: Larry Finger --- drivers/staging/rtl8188eu/include/rtw_android.h | 64 ++ drivers

[RFC/RFT 19/33] staging: r8188eu: Add files for new driver - part 19

2013-08-21 Thread Larry Finger
This commit adds files os_dep/os_intfs.c, os_dep/recv_linux.c, and os_dep/rtw_android.c. Signed-off-by: Larry Finger --- drivers/staging/rtl8188eu/os_dep/os_intfs.c| 1251 drivers/staging/rtl8188eu/os_dep/recv_linux.c | 261 + drivers/staging/rtl8188eu/os_dep

[RFC/RFT 09/33] staging: r8188eu: Add files for new driver - part 9

2013-08-21 Thread Larry Finger
This commit adds files hal/HalHWImg8188E_BB.c, hal/HalHWImg8188E_MAC.c, hal/HalHWImg8188E_RF.c, and hal/hal_com.c. Signed-off-by: Larry Finger --- drivers/staging/rtl8188eu/hal/HalHWImg8188E_BB.c | 721 ++ drivers/staging/rtl8188eu/hal/HalHWImg8188E_MAC.c | 231

[RFC/RFT 31/33] staging: r8188eu: Insert Kconfig files for new driver

2013-08-21 Thread Larry Finger
The configuration options include those to add code needed for AP mode, and peer-to-peer mode. Signed-off-by: Larry Finger --- drivers/staging/Kconfig | 2 ++ drivers/staging/rtl8188eu/Kconfig | 29 + 2 files changed, 31 insertions(+) create mode 100644

[RFC/RFT 17/33] staging: r8188eu: Add files for new driver - part 17

2013-08-21 Thread Larry Finger
This commit adds files hal/rtl8188eu_led.c, hal/rtl8188eu_recv.c, and hal/rtl8188eu_xmit.c. Signed-off-by: Larry Finger --- drivers/staging/rtl8188eu/hal/rtl8188eu_led.c | 111 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 138 + drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | 706

[RFC/RFT 33/33] staging: r8188eu: Turn on build of new driver

2013-08-21 Thread Larry Finger
This commit modifies drivers/staging/Makefile, and adds the drivers/staging/rtl8188eu/Makefile. Signed-off-by: Larry Finger --- drivers/staging/Makefile | 1 + drivers/staging/rtl8188eu/Makefile | 70 ++ drivers/staging/rtl8188eu/TODO | 15

[RFC/RFT 12/33] staging: r8188eu: Add files for new driver - part 12

2013-08-21 Thread Larry Finger
This commit adds files odm_HWConfig.c and odm_interface.c. Signed-off-by: Larry Finger --- drivers/staging/rtl8188eu/hal/odm_HWConfig.c | 596 ++ drivers/staging/rtl8188eu/hal/odm_interface.c | 203 + 2 files changed, 799 insertions(+) create mode 100644

[PATCH] staging: gdm724x: Remove tests of KERNELVERSION

2013-08-25 Thread Larry Finger
Kernel code need not test for KERNELVERSION. Besides being unnecessary for an in-kernel driver, these lines will cause a build failure for any source tree with a stale include/linux/version.h. This patch is only compile tested. Signed-off-by: Larry Finger --- drivers/staging/gdm724x

Re: [PATCH 3/3] staging: rtl8188eu: Include version.h header in xmit_linux.c

2013-08-28 Thread Larry Finger
+#include #include #include Acked-by: Larry Finger This applies to all 3 of these patches. Thanks, Larry ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH 2/2] staging: rtl8188eu: Remove duplicate header inclusion in ioctl_linux.c

2013-08-28 Thread Larry Finger
On 08/28/2013 12:55 AM, Sachin Kamat wrote: Removed the header files included twice. Signed-off-by: Sachin Kamat Cc: Larry Finger --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c b

Re: staging: r8188eu: Add files for new driver - part 7

2013-08-31 Thread Larry Finger
On 08/29/2013 04:48 PM, Dan Carpenter wrote: Hello Larry Finger, The patch d6846af679e0: "staging: r8188eu: Add files for new driver - part 7" from Aug 21, 2013, leads to the following Smatch warning: "drivers/staging/rtl8188eu/core/rtw_xmit.c:1570 dequeue_one_xmitframe()

Re: [patch 2/2] staging: rtl8188eu: || vs && typo

2013-08-31 Thread Larry Finger
WEP KeyLength:0x%x != 5 or 13\n", key->KeyLength)); ret = _FAIL; goto exit; Acked-by: Larry Finger Thanks, Larry ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [patch] staging: r8188eu: copying one byte too much

2013-08-31 Thread Larry Finger
->FW_sta_info[mac_id].SupportedRates), rtw_basic_rate_cck, 4); } else { - memcpy((pmlmeinfo->FW_sta_info[mac_id].SupportedRates), rtw_basic_rate_ofdm, 4); + memcpy((pmlmeinfo->FW_sta_info[mac_id].SupportedRates), rtw_basic_rate_ofdm, 3); } } Acked-

Re: [PATCH] staging: r8188eu: Fix uninitialized variable change_inx

2013-09-06 Thread Larry Finger
u32 j, tmp, change_inx; + u32 j, tmp, change_inx = false; /* entry indx: 0->vo, 1->vi, 2->be, 3->bk. */ for (i = 0; i < 4; i++) { Acked-by: Larry Finger This warning has not shown up on my x86_64 system with gcc 4.7.2. What ar

Re: [PATCH] Staging: rtl8188eu: checkpatch.pl warnings removed

2013-09-10 Thread Larry Finger
ist_head *phead, *plist; union recv_frame *prframe; Acked-by: Larry Finger Thanks, Larry ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] Staging: rtl8188eu: rtw_wlan_util.c: Fixed checkpatch.pl warnings.

2013-09-10 Thread Larry Finger
} else if (_rtw_memcmp(pIE->data, EPIGRAM_OUI, 3)) { -epigram_vendor_flag = 1; + epigram_vendor_flag = 1; if (ralink_vendor_flag) { DBG_88E("l

<    2   3   4   5   6   7