aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-05staging: brcm80211: remove unused definitions from dhd.hArend van Spriel1-41/+0
The header file dhd.h contained a number of macro definitions that are not used within the 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 ioctl command codes in dhd.hArend van Spriel6-164/+171
The naming convention in the driver is to be aligned. This commit changes the prefix used for the ioctl command codes. 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 functions and variables in dhd_common.cArend van Spriel7-101/+101
The naming convention of the drivers is to be made consistent. This commit fixes the function in dhd_common.c and use the new names from the calling code. 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 extern function prototypes from c filesArend van Spriel5-16/+14
It is not recommended to specify function prototypes in c sources using the extern keyword. Several occurrences have been removed or placed in a header file or simply removed as it was already present in a header file. 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 globals from dhd_common.cArend van Spriel1-5/+0
Three global variable were defined but never used 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: remove dhd_set_timer function prototypeArend van Spriel1-2/+0
This function prototype is not implemented nor referenced in the brcmfmac driver 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: replaced prefix of SDIO related functionsRoland Vossen13-808/+855
Code cleanup. Prefixed functions with brcmf_ for unique namespace. In addition to that, prefix has been changed to categorize functions depending on their place in the drivers SDIO stack. 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 wireless extensions support from brcmfmacArend van Spriel4-3828/+0
The brcmfmac driver contained functions for wireless extensions support. However, brcmfmac is intended to be a cfg80211 driver so all the entire source file is obsolete. 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: correct bcmsdh_recv_buf() callsArend van Spriel3-10/+9
The calls in dhd_sdio.c to bcmsdh_recv_buf() function passed a wrong handle. The parameter in the function prototype was typed as void pointer so compiler could not detect. This patch makes the type explicit and fixes the calls to the function. 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: reorg brcms_c_validboardtype for clarityHenry Ptasinski1-14/+19
The structure of the function made it difficult to understand, so reorganize it to make it clearer. Reported-by: Greg Dietsche <[email protected]> Signed-off-by: Henry Ptasinski <[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: remove unnecessary null checkHenry Ptasinski1-5/+3
kfree(NULL) is safe, and the rest of the cleanup should be done regardless to make sure the state is consistent. Signed-off-by: Henry Ptasinski <[email protected]> Reviewed-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: flatten wlc_phy_shared_detach()Henry Ptasinski3-9/+1
wlc_phy_shared_detach() is an unnecessary level of indirection to just call kfree(), so replace the function with kfree(). Signed-off-by: Henry Ptasinski <[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: add missing KERN_ facility level to printk()Henry Ptasinski1-1/+2
Debug printk() call was missing KERN_DEBUG facility level. Signed-off-by: Henry Ptasinski <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: cleanup whitespace errorsHenry Ptasinski11-49/+47
Cleanup remaining whitespace errors: - space before tabs - spaces at the start of a line - space between function name and open parenthesis '(' - unnecessary whitespace before a quoted newline Signed-off-by: Henry Ptasinski <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: run scripts/cleanfile to remove whitespace errorsHenry Ptasinski21-70/+69
Used scripts/cleanfile to remove assorted whitespace errors. Signed-off-by: Henry Ptasinski <[email protected]> Reviewed-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: delete empty brcmfmac/README fileHenry Ptasinski1-2/+0
brcm80211/brcmfmac/README contents were move to brcm80211/README previously, but this empty file is still around. Signed-off-by: Henry Ptasinski <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed unneeded 'if' statementHenry Ptasinski1-1/+1
The 'if' is unnecessary, since no action is taken as a result of the test. Signed-off-by: Henry Ptasinski <[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: Changed commentsRoland Vossen3-8/+2
Code cleanup. BCM4321 is not supported by this driver. Removed 'XXX' in comments since they do not signal a critical issue to be patched. Removed FIXME in comment since it signalled a problem in the Minstrel algorithm, not in our driver. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: corrected tx status feedback for non AMPDU packetsRoland Vossen1-7/+23
Code still contained a 'FIXME' label that said tx status feedback (consumed by the rate control algorithm) was not yet taking RTS/CTS into account. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: taking max AMPDU length advertized by peer into accountRoland Vossen4-19/+17
AP advertizes max AMPDU rx length in beacon/probe response frame. Code now uses this information to limit the length of AMPDU frames it transmits. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: parsed ADDBA response ack window parameterRoland Vossen4-40/+29
IEEE80211_AMPDU_TX_OPERATIONAL provides a BA window size parameter. Code is now using this parameter to restrict the amount of outstanding tx AMPDUs. Signed-off-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 assert function to dhd_linux.cArend van Spriel2-51/+50
The source file wl_iw.c is primarily intended to provide wireless extensions functionality, which is to be removed from the driver. The assert function is moved to another source file. 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 on IS_CFG80211_FAVORITE macroArend van Spriel1-84/+24
cfg80211 module is always favorite for the brcmfmac driver so the macro is not needed to know the answer. 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 macro definition DRV_MODULE_NAMEArend van Spriel1-3/+1
The macro definition DRV_MODULE_NAME has exactly the same value as KBUILD_MODNAME so using that instead now. 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 macro FOREACH_AS_STAArend van Spriel1-14/+17
The macro definition FOREACH_AS_STA does an assignment inside the if condition, which is considered a checkpatch error. It has been removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove chip simulation specific codeArend van Spriel7-120/+34
The driver contained several code paths specific to running the driver against a simulated chip. This is not needed and removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove unused macro definitions from pmu.cArend van Spriel1-491/+0
The source file pmu.c contained a large number of definitions that are no longer needed and have been removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove code from pmu.c related to unsupported chipsetsArend van Spriel2-1427/+0
The pmu source file contains several code fragments for chipsets that are not supported by this driver. These have been removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove otp power control functionsArend van Spriel3-29/+2
For the devices supported by brcmsmac driver the OTP device is always powered. Functions for reading power status and changing it are not needed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove unsupported chipset code from brcmsmac phyArend van Spriel2-130/+44
the phy sources contained some code fragments for chipsets that are not supported by this driver, which have been removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove code for unsupported chipsets from brcmsmacArend van Spriel3-64/+4
The brcmsmac driver code contains code fragments for chipsets that are not supported. These have been removed from the brcmsmac source files. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove unused files from fullmacFranky Lin2-51/+0
aiutils.c and pcicfg.h are no longer needed by fullmac 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 sdtxqlock codes to dhd_sdio.cFranky Lin3-25/+9
Move sdio specific tx queue lock codes to dhd_sdio.c for fullmac 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: remove empty sdrxqlock from fullmacFranky Lin3-38/+0
Remove empty lock functions for sdio rx queue 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: remove unused sdtxlock from fullmacFranky Lin2-12/+0
Unused sdtx lock functions are removed from dhd_linux.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: make use of linux error codes in srom.cArend van Spriel1-20/+16
The source file srom.c used meaningless non-zero numbers to return upon error conditions. These have been replaced by linux error codes. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: minor cleanup in initvars_srom_pci()Arend van Spriel1-3/+1
The error handling code labelled with errout: did a conditional kfree(). The last error jump to the label is upon failure of the kmalloc() for which the conditional kfree() is done. Therefor, the kfree is moved before the error label and done unconditionally. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove flash related code from initvars_srom_pci()Arend van Spriel1-49/+18
The function initvars_srom_pci() has fallback to obtain drivers settings from flash when no srom device is present. However, this driver does not support flash so the fallback code can be removed. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: brcmfmac: CONNECTING status bit is set at appropriate ↵Sukesh Srikakula1-17/+31
location 'WL_STATUS_CONNECTING' status bit is set at appropriate step in bss/ibss connect requests. Signed-off-by: Sukesh Srikakula <[email protected]> Reviewed-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: fix checkpatch errors in types.hArend van Spriel1-15/+15
The file types.h contains several occurrences of the checkpatch error "(foo*)" should be "(foo *)". This has been fixed in this patch. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05MAINTAINERS: Remove se401 entryJoe Perches1-7/+0
Commit b287db119edb ("se401: remove last V4L1 driver") removed the files, remove the entry. cc: Hans Verkuil <[email protected]> cc: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05MAINTAINERS: Add STAGING - XGI Z7,Z9,Z11 PCI DISPLAY DRIVERJoe Perches1-0/+5
Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05MAINTAINERS: Add STAGING - AGERE HERMES II and II.5 WIRELESS DRIVERSJoe Perches1-0/+6
Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05MAINTAINERS: Add STAGING - WINBOND IS89C35 WLAN USB DRIVERJoe Perches1-0/+5
Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05MAINTAINERS: Add STAGING - VIA VT665X DRIVERSJoe Perches1-0/+5
Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05MAINTAINERS: Add STAGING - SILICON MOTION SM7XX FRAME BUFFER DRIVERJoe Perches1-0/+5
Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05MAINTAINERS: Add STAGING - PARALLEL LCD/KEYPAD PANEL DRIVERJoe Perches1-0/+5
Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05MAINTAINERS: Add STAGING - INDUSTRIAL IOJoe Perches1-0/+5
Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05MAINTAINERS: Add STAGING - HYPER-V (MICROSOFT)Joe Perches1-0/+6
Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05MAINTAINERS: Add STAGING - FRONTIER TRANZPORT AND ALPHATRACKJoe Perches1-0/+5
Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>