These patches implement a new version of the driver for RTL8192E devices. Realtek has rewritten the new version so that it is much more like the mainline drivers in the rtlwifi tree. This change will make it easier to modify this one to use rtlwifi and mac80211 - two conditions necessary to move this driver to mainline. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- Greg, This exercise was more effort than I expected. Sorry it got so screwed up. If I got it right, you should be able to pull from git://git.kernel.org/pub/scm/linux/kernel/git/lwfinger/r8192E.git Larry --- Larry Finger (54): From: wlanfae <wlanfae@xxxxxxxxxxx> [PATCH 1/8] rtl8192e: Import new version of driver from realtek staging: rtl8192e: Remove code dependent on RTL8190P staging: rtl8192e: Remove dead code associated with RTL8192SE staging: rtl8192e: Remove dead code associated with RTL8192CE staging: rtl8192e: Remove dead code associated with RTL8192SU staging: rtl8192e: Remove dead code associated with RTL8192U staging: rtl8192e: Remove internal references to RTL8192E staging: rtl8192e: Fix edit error in removal of dead code associated with RTL8190P staging: rtl8192e: Fix kernel panics due to RX skb allocation failures staging: rtl8192e: Remove dead code associated with CONFIG_MP staging: rtl8192e: Remove dead code inside 'ifdef MERGE_TO_DO' staging: rtl8192e: Remove dead code involved with TO_DO_LIST staging: rtl8192e: Remove dead code involved with TO_DO staging: rtl8192e: Remove dead code associated with USB_USE_ALIGNMENT staging: rtl8192e: Remove dead code associated with CONFIG_ASPM_OR_D3 staging: rtl8192e: Remove dead code associated with COMPATIBLE_WITH_RALINK_MESH staging: rtl8192e: Remove dead code associated with PF_SYNCTHREAD staging: rtl8192e: Remove dead code from removal of ENABLE_TKIP11N staging: rtl8192e: Remove references to ENABLE_GPIO_RADIO_CTL staging: rtl8192e: Remove ifdefs that depend on ENABLE_DOT11D staging: rtl8192e: Remove code dependent of JOHN_DUMP staging: rtl8192e: Remove dead code associated with USB_TX_DRIVER_AGGREGATION_ENABLE staging: rtl8192e: Remove dead code associated with TCP_CSUM_OFFLOAD_RX staging: rtl8192e: Remove dead code associated with SUPPORT_USPD staging: rtl8192e: Remove dead code associated with USB_RX_AGGREGATION_SUPPORT staging: rtl8192e: Remove dead code associated with RTK_DMP_PLATFORM staging: rtl8192e: Remove dead code associated with NOT_YET staging: rtl8192e: Remove dead code associated with WIFI_TEST staging: rtl8192e: Remove dead code associated with ADHOC_11N staging: rtl8192e: Remove dead code associated with BUILT_IN_MSHCLASS staging: rtl8192e: Remove dead code associated with WMM_Hang_8187 staging: rtl8192e: Remove dead code associated with FOR_ANDROID_X86 and FOR_MOBLIN staging: rtl8192e: Remove dead code associated with CUSTOMER_ID_INTEL_CMPC and CONFIG_CRDA staging: rtl8192e: IEEE80211_RADIOTAP_F_BADFCS is defined in kernel, do not duplicate staging: rtl8192e: Remove dead code associated with BUILT_IN_CRYPTO staging: rtl8192e: Remove dead code associated with CONFIG_CFG_80211 staging: rtl8192e: Remove dead code associated with IRQF_SHARED staging: rtl8192e: Remove dead code associated with CONFIG_RTLLIB_CRYPT_TKIP staging: rtl8192e: Remove dead code associated with CONFIG_64BIT_DMA staging: rtl8192e: Remove dead code associated with ENABLE_NULL_PT_DEBUG staging: rtl8192e: Remove dead code associated with CONFIG_BT_30 staging: rtl8192e: Remove dead code associated with CONFIG_CRYPTO_HMAC staging: rtl8192e: Remove dead code associated with _ENABLE_SW_BEACON staging: rtl8192e: Remove dead code associated with RTL819x_DEBUG staging: rtl8192e: Remove ifdefs for CONFIG_RTLLIB_DEBUG staging: rtl8192e: Remove dead code associated with _RTL8192_EXT_PATCH_ staging: rtl8192e: Remove dead code associated with CONFIG_RTLWIFI_DEBUGFS staging: rtl8192e: Remove dead code associated with CONFIG_FW_SETCHAN staging: rtl8192e: Remove LOOP_TEST as parameter staging: rtl8192e: Remove dead code associated with EFUSE_REPG_WORKAROUND staging: rtl8192e: Remove conditional code associated with EEPROM_OLD_FORMAT_SUPPORT staging: rtl8192e: Remove dead code associated with CONFIG_RTL_RFKILL staging: rtl8192e: Fix unload/reload problem staging: rtl8192e: Fix compilation warnings Mike McCormack (7): rtl8192e: reject rtl8192se cards with same PCI ID rtl8192e: Remove extra ifdefs rtl8192e: Remove CONFIG_RTL8192_IO_MAP rtl8192e: Remove WIRELESS_EXT macro checks rtl8192e: Remove occurences of #if 1 rtl8192e: Remove unused debug code rtl8192e: Add a TODO drivers/staging/rtl8192e/Makefile | 66 +- drivers/staging/rtl8192e/TODO | 2 + drivers/staging/rtl8192e/dot11d.c | 216 + drivers/staging/rtl8192e/dot11d.h | 113 +- drivers/staging/rtl8192e/ieee80211/dot11d.c | 218 - drivers/staging/rtl8192e/ieee80211/dot11d.h | 102 - drivers/staging/rtl8192e/ieee80211/ieee80211.h | 2636 ---------- .../staging/rtl8192e/ieee80211/ieee80211_crypt.c | 244 - .../staging/rtl8192e/ieee80211/ieee80211_crypt.h | 85 - .../rtl8192e/ieee80211/ieee80211_crypt_ccmp.c | 483 -- .../rtl8192e/ieee80211/ieee80211_crypt_tkip.c | 809 ---- .../rtl8192e/ieee80211/ieee80211_crypt_wep.c | 296 -- .../staging/rtl8192e/ieee80211/ieee80211_module.c | 352 -- drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c | 2676 ----------- .../staging/rtl8192e/ieee80211/ieee80211_softmac.c | 3278 ------------- .../rtl8192e/ieee80211/ieee80211_softmac_wx.c | 600 --- drivers/staging/rtl8192e/ieee80211/ieee80211_tx.c | 955 ---- drivers/staging/rtl8192e/ieee80211/ieee80211_wx.c | 872 ---- drivers/staging/rtl8192e/ieee80211/rtl819x_BA.h | 69 - .../staging/rtl8192e/ieee80211/rtl819x_BAProc.c | 676 --- drivers/staging/rtl8192e/ieee80211/rtl819x_HT.h | 483 -- .../staging/rtl8192e/ieee80211/rtl819x_HTProc.c | 1732 ------- drivers/staging/rtl8192e/ieee80211/rtl819x_Qos.h | 582 --- drivers/staging/rtl8192e/ieee80211/rtl819x_TS.h | 56 - .../staging/rtl8192e/ieee80211/rtl819x_TSProc.c | 627 --- drivers/staging/rtl8192e/ieee80211/rtl_crypto.h | 399 -- drivers/staging/rtl8192e/internal.h | 93 + drivers/staging/rtl8192e/kmap_types.h | 20 + drivers/staging/rtl8192e/license | 339 ++ drivers/staging/rtl8192e/r8190P_def.h | 415 ++ drivers/staging/rtl8192e/r8190P_hwimg.c | 4538 ++++++++++++++++++ drivers/staging/rtl8192e/r8190P_hwimg.h | 51 + drivers/staging/rtl8192e/r8190P_rtl8256.c | 252 + drivers/staging/rtl8192e/r8190P_rtl8256.h | 30 + drivers/staging/rtl8192e/r8192E_cmdpkt.c | 454 ++ drivers/staging/rtl8192e/r8192E_cmdpkt.h | 163 + drivers/staging/rtl8192e/r8192E_core.c.porig | 5039 ++++++++++++++++++++ drivers/staging/rtl8192e/r8192E_core.c.rej | 5036 +++++++++++++++++++ drivers/staging/rtl8192e/r8192E_dev.c | 2301 +++++++++ drivers/staging/rtl8192e/r8192E_dev.h | 56 + drivers/staging/rtl8192e/r8192E_firmware.c | 365 ++ drivers/staging/rtl8192e/r8192E_firmware.h | 73 + drivers/staging/rtl8192e/r8192E_hw.h | 480 +- drivers/staging/rtl8192e/r8192E_hwimg.c | 3337 +++++++++++++ drivers/staging/rtl8192e/r8192E_hwimg.h | 51 + drivers/staging/rtl8192e/r8192E_phy.c | 1594 +++++++ drivers/staging/rtl8192e/r8192E_phy.h | 132 + drivers/staging/rtl8192e/r8192E_phyreg.h | 852 ++++ drivers/staging/rtl8192e/readme | 160 + drivers/staging/rtl8192e/rtl819x_BA.h | 78 + drivers/staging/rtl8192e/rtl819x_BAProc.c | 592 +++ drivers/staging/rtl8192e/rtl819x_HT.h | 478 ++ drivers/staging/rtl8192e/rtl819x_HTProc.c | 1200 +++++ drivers/staging/rtl8192e/rtl819x_Qos.h | 414 ++ drivers/staging/rtl8192e/rtl819x_TS.h | 71 + drivers/staging/rtl8192e/rtl819x_TSProc.c | 577 +++ drivers/staging/rtl8192e/rtl_cam.c | 377 ++ drivers/staging/rtl8192e/rtl_cam.h | 44 + drivers/staging/rtl8192e/rtl_core.c | 3279 +++++++++++++ drivers/staging/rtl8192e/rtl_core.h | 1112 +++++ drivers/staging/rtl8192e/rtl_crypto.h | 382 ++ drivers/staging/rtl8192e/rtl_debug.c | 1122 +++++ drivers/staging/rtl8192e/rtl_debug.h | 293 ++ drivers/staging/rtl8192e/rtl_dm.c | 3472 ++++++++++++++ drivers/staging/rtl8192e/rtl_dm.h | 315 ++ drivers/staging/rtl8192e/rtl_eeprom.c | 141 + drivers/staging/rtl8192e/rtl_eeprom.h | 29 + drivers/staging/rtl8192e/rtl_ethtool.c | 53 + drivers/staging/rtl8192e/rtl_pci.c | 92 + drivers/staging/rtl8192e/rtl_pci.h | 104 + drivers/staging/rtl8192e/rtl_pm.c | 148 + drivers/staging/rtl8192e/rtl_pm.h | 35 + drivers/staging/rtl8192e/rtl_ps.c | 298 ++ drivers/staging/rtl8192e/rtl_ps.h | 47 + drivers/staging/rtl8192e/rtl_wx.c | 1386 ++++++ drivers/staging/rtl8192e/rtl_wx.h | 31 + drivers/staging/rtl8192e/rtllib.h | 3060 ++++++++++++ drivers/staging/rtl8192e/rtllib_crypt.c | 241 + drivers/staging/rtl8192e/rtllib_crypt.h | 85 + drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 460 ++ drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 772 +++ drivers/staging/rtl8192e/rtllib_crypt_wep.c | 288 ++ drivers/staging/rtl8192e/rtllib_endianfree.h | 156 + drivers/staging/rtl8192e/rtllib_module.c | 293 ++ drivers/staging/rtl8192e/rtllib_rx.c | 2783 +++++++++++ drivers/staging/rtl8192e/rtllib_softmac.c | 3833 +++++++++++++++ drivers/staging/rtl8192e/rtllib_softmac_wx.c | 642 +++ drivers/staging/rtl8192e/rtllib_tx.c | 957 ++++ drivers/staging/rtl8192e/rtllib_wx.c | 866 ++++ 89 files changed, 56490 insertions(+), 18574 deletions(-) create mode 100644 drivers/staging/rtl8192e/TODO create mode 100644 drivers/staging/rtl8192e/dot11d.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/dot11d.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/dot11d.h delete mode 100644 drivers/staging/rtl8192e/ieee80211/ieee80211.h delete mode 100644 drivers/staging/rtl8192e/ieee80211/ieee80211_crypt.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/ieee80211_crypt.h delete mode 100644 drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_ccmp.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_tkip.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_wep.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/ieee80211_module.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/ieee80211_softmac_wx.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/ieee80211_tx.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/ieee80211_wx.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/rtl819x_BA.h delete mode 100644 drivers/staging/rtl8192e/ieee80211/rtl819x_BAProc.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/rtl819x_HT.h delete mode 100644 drivers/staging/rtl8192e/ieee80211/rtl819x_HTProc.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/rtl819x_Qos.h delete mode 100644 drivers/staging/rtl8192e/ieee80211/rtl819x_TS.h delete mode 100644 drivers/staging/rtl8192e/ieee80211/rtl819x_TSProc.c delete mode 100644 drivers/staging/rtl8192e/ieee80211/rtl_crypto.h create mode 100644 drivers/staging/rtl8192e/internal.h create mode 100644 drivers/staging/rtl8192e/kmap_types.h create mode 100644 drivers/staging/rtl8192e/license create mode 100644 drivers/staging/rtl8192e/r8190P_def.h create mode 100644 drivers/staging/rtl8192e/r8190P_hwimg.c create mode 100644 drivers/staging/rtl8192e/r8190P_hwimg.h create mode 100644 drivers/staging/rtl8192e/r8190P_rtl8256.c create mode 100644 drivers/staging/rtl8192e/r8190P_rtl8256.h create mode 100644 drivers/staging/rtl8192e/r8192E_cmdpkt.c create mode 100644 drivers/staging/rtl8192e/r8192E_cmdpkt.h create mode 100644 drivers/staging/rtl8192e/r8192E_core.c.porig create mode 100644 drivers/staging/rtl8192e/r8192E_core.c.rej create mode 100644 drivers/staging/rtl8192e/r8192E_dev.c create mode 100644 drivers/staging/rtl8192e/r8192E_dev.h create mode 100644 drivers/staging/rtl8192e/r8192E_firmware.c create mode 100644 drivers/staging/rtl8192e/r8192E_firmware.h create mode 100644 drivers/staging/rtl8192e/r8192E_hwimg.c create mode 100644 drivers/staging/rtl8192e/r8192E_hwimg.h create mode 100644 drivers/staging/rtl8192e/r8192E_phy.c create mode 100644 drivers/staging/rtl8192e/r8192E_phy.h create mode 100644 drivers/staging/rtl8192e/r8192E_phyreg.h create mode 100644 drivers/staging/rtl8192e/readme create mode 100644 drivers/staging/rtl8192e/rtl819x_BA.h create mode 100644 drivers/staging/rtl8192e/rtl819x_BAProc.c create mode 100644 drivers/staging/rtl8192e/rtl819x_HT.h create mode 100644 drivers/staging/rtl8192e/rtl819x_HTProc.c create mode 100644 drivers/staging/rtl8192e/rtl819x_Qos.h create mode 100644 drivers/staging/rtl8192e/rtl819x_TS.h create mode 100644 drivers/staging/rtl8192e/rtl819x_TSProc.c create mode 100644 drivers/staging/rtl8192e/rtl_cam.c create mode 100644 drivers/staging/rtl8192e/rtl_cam.h create mode 100644 drivers/staging/rtl8192e/rtl_core.c create mode 100644 drivers/staging/rtl8192e/rtl_core.h create mode 100644 drivers/staging/rtl8192e/rtl_crypto.h create mode 100644 drivers/staging/rtl8192e/rtl_debug.c create mode 100644 drivers/staging/rtl8192e/rtl_debug.h create mode 100644 drivers/staging/rtl8192e/rtl_dm.c create mode 100644 drivers/staging/rtl8192e/rtl_dm.h create mode 100644 drivers/staging/rtl8192e/rtl_eeprom.c create mode 100644 drivers/staging/rtl8192e/rtl_eeprom.h create mode 100644 drivers/staging/rtl8192e/rtl_ethtool.c create mode 100644 drivers/staging/rtl8192e/rtl_pci.c create mode 100644 drivers/staging/rtl8192e/rtl_pci.h create mode 100644 drivers/staging/rtl8192e/rtl_pm.c create mode 100644 drivers/staging/rtl8192e/rtl_pm.h create mode 100644 drivers/staging/rtl8192e/rtl_ps.c create mode 100644 drivers/staging/rtl8192e/rtl_ps.h create mode 100644 drivers/staging/rtl8192e/rtl_wx.c create mode 100644 drivers/staging/rtl8192e/rtl_wx.h create mode 100644 drivers/staging/rtl8192e/rtllib.h create mode 100644 drivers/staging/rtl8192e/rtllib_crypt.c create mode 100644 drivers/staging/rtl8192e/rtllib_crypt.h create mode 100644 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c create mode 100644 drivers/staging/rtl8192e/rtllib_crypt_tkip.c create mode 100644 drivers/staging/rtl8192e/rtllib_crypt_wep.c create mode 100644 drivers/staging/rtl8192e/rtllib_endianfree.h create mode 100644 drivers/staging/rtl8192e/rtllib_module.c create mode 100644 drivers/staging/rtl8192e/rtllib_rx.c create mode 100644 drivers/staging/rtl8192e/rtllib_softmac.c create mode 100644 drivers/staging/rtl8192e/rtllib_softmac_wx.c create mode 100644 drivers/staging/rtl8192e/rtllib_tx.c create mode 100644 drivers/staging/rtl8192e/rtllib_wx.c -- 1.7.3.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel