aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-05staging: brcm80211: rename struct dhd_pub to struct brcmf_pubArend van Spriel7-119/+129
The structure dhd_pub has been renamed to have more consistent naming in the fullmac driver. This also remove the type definition for this structure. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename structure definitions in dhd_linux.cArend van Spriel3-82/+82
renamed structures to consitent naming convention and removed the structure type definitions. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: structure renaming in dhd.hArend van Spriel5-17/+19
structure have been renamed for consistency and the structure typedefs have been removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove unused macro definitions from dhd.hArend van Spriel1-12/+0
Several unused macro definitions have been removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename macro definitions in dhd.hArend van Spriel9-185/+187
The definitions in dhd.h have been renamed with consistent prefix BRCMF_. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename structure definitions in dhd.hArend van Spriel7-139/+146
Structure definitions in dhd.h have been prefixed with brcmf_ for consistent naming in fullmac driver and typedef of these structures has been removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove unused definitions from dhd.hArend van Spriel1-112/+0
Several defintions from dhd.h are not used in the fullmac driver and have been removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename function variablesArend van Spriel2-438/+447
The fullmac driver uses dhd as variable name for the driver instance in a number of functions. This has been changed to a more generic name as the dhd is not meaningful (broadcom internal name). Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: clean up firmware download code in fullmacFranky Lin10-366/+77
In brcmfmac the firmware download related code scatter all around. And some old dead code which is not following the standard firmware routine is still present. This patch limits the firmware download related code only in dhd_sdio.c and removes the rest. Signed-off-by: Franky Lin <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: move sdio resource lock to dhd_sdio.cFranky Lin3-83/+70
In fullmac the lock is for race condition for sdio interface. Move the code to dhd_sdio.c Signed-off-by: Franky Lin <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: move dpc code to dhd_sdio.cFranky Lin3-131/+112
Dpc thread handles data transaction which should be placed in bus interface layer. Move related code to dhd_sdio.c for clean up. Signed-off-by: Franky Lin <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: move debug console related code to dhd_sdio.cFranky Lin5-45/+30
Debug console functionality is provided by dhd_sdio.c. So the related variables and iovars should go there as well. Signed-off-by: Franky Lin <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: move fullmac watchdog timer code to dhd_sdio.cFranky Lin6-189/+191
The watchdog timer is used in bus interface layer in fullmac. Move related code to dhd_sdio.c for clean up. Signed-off-by: Franky Lin <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: move waitqueue code to dhd_sdio.cFranky Lin3-25/+24
In fullmac waitqueue for tx control is used by bus interface layer only. So move the related code to dhd_sdio.c Signed-off-by: Franky Lin <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: move sdio related suspend/resume code to bus interface layerFranky Lin7-28/+55
In fullmac some SDIO configurations should be done in suspend/resume routine. It was placed under pm ops in wl_cfg80211.c which is inappropriate. This patchs move them to sdio layer. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: use linux native ethertype iso ETH_P_BRCMArend van Spriel1-3/+1
The linux native ethertype ETH_P_LINK_CTL is matching ETH_P_BRCM so lets use that definition and get rid of ETH_P_BRCM. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename EPI_VERSION_STR macroArend van Spriel3-5/+5
The fullmac version macro has been renamed and moved to dhd.h to get rid of having it defined in two separate c source files. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove conditional code fragments from brcmfmacArend van Spriel9-747/+4
The fullmac sources contained a lot of conditional code sections that are never to be enabled for the fullmac driver. These have been removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove custom gpio support codeArend van Spriel3-164/+1
The custom gpio code is intended for hardware platform for specific customers and require supporting functionality not included in the fullmac driver. The fullmac driver does not need this so it has been removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove unnecessary macro defintionsArend van Spriel2-3/+1
The common makefile and the fullmac makefile contained a few macro definitions that are not or no longer used. These are removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replace DHD_DEBUG macro with BCMDBGArend van Spriel11-89/+87
The common Makefile for both brcm80211 drivers defines the macro BCMDBG upon select Kconfig item BRCMDBG. The fullmac source add another macro DHD_DEBUG with the same meaning. This is removed and all conditional code now checks for BCMDBG definition. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: define SHOW_EVENTS macro only for debuggingArend van Spriel1-3/+2
The macro SHOW_EVENTS will only be defined when Kconfig setting BRCMDBG is set. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove TOE macro definitionArend van Spriel2-16/+1
The code conditional by TOE macro is always needed so TOE macro usage has been removed from the fullmac sources. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove MMC_SDIO_ABORT macro definitionArend van Spriel2-7/+0
The fullmac driver is always needing the code conditionalized with MMC_SDIO_ABORT macro so the macro has been removed and the code is always compiled in. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove EMBEDDED_PLATFORM macro definitionArend van Spriel4-245/+1
The macro is always intended to be defined so no need for it. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove DHD_SCHED macro definitionArend van Spriel2-5/+0
The fullmac driver now always uses scheduler functionality. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: always enable code for PLATFORM_BUS functionalityArend van Spriel2-10/+0
Some code is conditionally compiled in upon defintion of PLATFORM_BUS macro. This patch will have it compiled in unconditionally. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove BCMLXSDMMC macro definitionArend van Spriel4-49/+2
The conditional code depending on BCMLXSDMMC macro definition is always compiled into the fullmac driver. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove PKT_FILTER_SUPPORT macro definitionArend van Spriel4-19/+10
Packet filtering support is now always compiled into the fullmac driver. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove ARP_OFFLOAD_SUPPORT macro definitionArend van Spriel2-3/+0
The conditional code for ARP offloading is now always enabled in the fullmac driver. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: further renaming in fullmac sourcesArend van Spriel8-99/+80
couple of items needed renaming to more consistent naming convention. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced more sdio related typedefs by structsRoland Vossen3-32/+34
Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced typedef SDIOH_API_RC by intRoland Vossen4-47/+45
Code cleanup. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced typedef by struct for several sdio typesRoland Vossen3-13/+11
Code cleanup. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced typedef bcmsdh_info_t by struct brcmf_sdioRoland Vossen5-58/+58
Code cleanup. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced typedef sdioh_info_t by struct sdioh_infoRoland Vossen4-81/+82
Code cleanup. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename more brcmfmac module parametersArend van Spriel2-58/+58
Renamed remaining brcmfmac module parameters to more consistent naming convention. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename static functions in dhd_linux.cArend van Spriel1-62/+59
functions in dhd_linux.c are renamed according more consistent naming convention. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename netdevice related functions in fullmacArend van Spriel4-41/+40
Change functions related to netdevice in fullmac to more consistent naming convention. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove conditional SIMPLE_ISCAN codeArend van Spriel1-391/+0
Code between #ifdef SIMPLE_ISCAN is not enabled and unnecessary. It has been removed from the fullmac driver. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename dhd_prot and get rid of dhd_prot_t typedefArend van Spriel2-35/+36
The structure dhd_prot has been renamed to brcmf_proto to align with fullmac naming convention and removed structure typedef dhd_prot_t. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: get rid of PKT[TO/FROM]NATIVE macrosArend van Spriel1-36/+6
These macros are not needed in a linux-only driver and have been removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename fullmac protocol related functionsArend van Spriel6-103/+115
The fullmac functions for firmware communication protocol handling have been renamed to make naming more consistent. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed BDC definesRoland Vossen4-27/+0
Code cleanup. BDC (Broadcom Device Class) protocol extension is used on top of the USB related CDC (Communication Device Class) definition. BDC is always used, so the #ifdefs were redundant. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove unused prototypes from dhd.hArend van Spriel2-14/+0
A couple of prototypes are not defined or not used and have been removed from the driver. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename fullmac functionsArend van Spriel7-205/+209
The function provided by dhd_linux.c have been renamed to make the naming throughout the driver more consistent and remove Broadcom specific acronyms which are not meaningful. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove unnecessary abstraction for schedulerArend van Spriel4-30/+2
The source dhd_linux_sched.c provided function setScheduler, but it simply calls sched_setscheduler() linux function. The setScheduler() function has been removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename module parametersArend van Spriel5-95/+97
Fullmac source is renamed to be consistent throughout the driver. This commit renames the modules parameters for module loading. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename event handling definitionArend van Spriel5-374/+371
Renaming fullmac to have more consistent naming throughout the driver. This commit renames identifiers related to firmware event handling. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replace macro BCM_MSG_IFNAME_MAX with IFNAMSIZArend van Spriel1-3/+1
In dhd.h the macro BCM_MSG_IFNAME_MAX was defined and used. As this is used to carry the interface name we might as well use IFNAMSIZ which results in the same size. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>