K. Y. Srinivasan
96053efd3c
Staging: hv: mousevsc_drv: Cleanup mousevsc_drv_exit() function
...
To conform to the Linux device model, the device should persist even
when there is no driver bound to it. Cleanup the mousevsc_drv_exit() routine
keeping this in mind.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:10 -07:00
K. Y. Srinivasan
2bda87cb6c
Staging: hv: storvsc_drv: Cleanup storvsc_drv_exit() function
...
To conform to the Linux device model, the device should persist even
when there is no driver bound to it. Cleanup the storvsc_drv_exit() routine
keeping this in mind.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:10 -07:00
K. Y. Srinivasan
8553d753a4
Staging: hv: blkvsc_drv: Cleanup the blkvsc_drv_exit() function
...
To conform to the Linux device model, the device should persist even
when there is no driver bound to it. Cleanup the blkvsc_drv_exit() routine
keeping this in mind.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:09 -07:00
K. Y. Srinivasan
459bce9765
Staging: hv: mouse_drv: Fix a sparse warning
...
Most of the sparse warnings in the hv code are from the base kernel.
This patch fixes the only sparse related issue in the Hyper-V coode.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:09 -07:00
K. Y. Srinivasan
8a0794117b
Staging: hv: netvsc: Cleanup hyperv_net.h
...
Cleanup hyperv_net.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:08 -07:00
K. Y. Srinivasan
299d0925e2
Staging: hv: netvsc: Move the contents of rndis_filter.h to hyperv_net.h
...
Move the contents of rndis_filter.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:08 -07:00
K. Y. Srinivasan
4a5cea3951
Staging: hv: netvsc: Move the contents of rndis.h to hyperv_net.h
...
Move the contents of rndis.h to hyperv_net.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:08 -07:00
K. Y. Srinivasan
5258490472
Staging: hv: netvsc: Move the contents of netvsc.h to hyperv_net.h
...
Move the contents of netvsc.h to hyperv_net.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:07 -07:00
K. Y. Srinivasan
41308862d1
Staging: hv: netvsc: Include the contents of netvsc_api.h into hyperv_net.h
...
Include the contents of netvsc_api.h into hyperv_net.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:07 -07:00
K. Y. Srinivasan
5ca7252a7e
Staging: hv: netvsc: Create a common header file for network driver
...
Create a common header file for network driver.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:06 -07:00
K. Y. Srinivasan
5041e715c8
Staging: hv: Move the contents of storvsc_api.h to hyperv_storage.h
...
Move the contents of storvsc_api.h to hyperv_storage.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:06 -07:00
K. Y. Srinivasan
e6572b035b
Staging: hv: stor: Move the contents of vstorage.h to hyperv_storage.h
...
Move the contents of vstorage.h to hyperv_storage.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:06 -07:00
K. Y. Srinivasan
cdee15044f
Staging: hv: stor: Create a common header file for storage drivers
...
Create a common header file for storage drivers.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:05 -07:00
K. Y. Srinivasan
43c698b927
Staging: hv: vmbus_drv: Cleanup hyperv_vmbus.h
...
Cleanup hyperv_vmbus.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:05 -07:00
K. Y. Srinivasan
89b2ca4781
Staging: hv: vmbus_drv: Move the contents of vmbus_private.h to vmbus_hyperv.h
...
Move the contents of vmbus_private.h to vmbus_hyperv.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:04 -07:00
K. Y. Srinivasan
940655c103
Staging: hv: vmbus_drv: Move the contents of ring_buffer.h to hyperv_vmbus.h
...
Move the contents of ring_buffer.h to hyperv_vmbus.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:04 -07:00
K. Y. Srinivasan
3645a917f7
Staging: hv: vmbus_drv: Move the content of hv.h to hyperv_vmbus.h
...
Move the content of hv.h to hyperv_vmbus.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:04 -07:00
K. Y. Srinivasan
afbdc4a98b
Staging: hv: vmbus_drv: Include the contents of hv_api.h in hyperv_vmbus.h
...
Include the contents of hv_api.h in hyperv_vmbus.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:03 -07:00
K. Y. Srinivasan
0f2a6619ee
Staging: hv: vmbus_drv: Create a common header file to build the vmbus driver
...
Create a common header file to build the vmbus driver.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:03 -07:00
K. Y. Srinivasan
8ff3e6fc58
Staging: hv: Include asm/hyperv.h in hyperv.h
...
As the entries in hv_api.h are already in asm/hyperv.h, let's use that
file instead and delete these.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:27:02 -07:00
Arend van Spriel
f9aea9fd2d
staging: brcm80211: fix checkpatch issue in wlc_channel.c
...
Patch "[ba84f65] make function definitions and prototype consistent"
introduced a checkpatch warning which is fixed.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:40 -07:00
Sukesh Srikakula
40bee8c1f1
staging: brcm80211: Corrected sdpcm_shared_t structure definition
...
There is a mismatch in structure definition of 'sdpcm_shared_t' structure
in driver & FW code. With this patch, it is corrected
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:39 -07:00
Sukesh Srikakula
1ce4784e67
staging: brcm80211: Better debug support added to brcmfmac driver
...
With the current implementation there is no way to selectively enable
required debug messages, as all the messages are currently under WL_DBG.
With this fix, we are introducing several log levels which will enable
us to print only the required debug messages.
WL_ERR --> Prints error messages
WL_CONN --> Prints all debug messages pertaining to connection
management
WL_SCAN --> Prints all debug messages pertaining to scanning
WL_TRACE --> Prints all trace(Enter/Exit) sequence of cfg80211 calls
WL_INFO --> Prints all informational messages.
By default, only WL_ERR messages are enabled.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:38 -07:00
Sukesh Srikakula
65dd489204
staging: brcm80211: cfg80211 up/down routines in brcmfmac driver are fixed
...
'__wl_cfg80211_up' & '__wl_cfg80211_down' routines are updated to correctly
set the 'wl->status' variable.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:38 -07:00
Sukesh Srikakula
1f3b0085ed
staging: brcm80211: Removed unused variable from brcmfmac driver
...
Removed unused variable from wl_profile structure
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:37 -07:00
Sukesh Srikakula
9446af065b
staging: brcm80211: Fixed scan notification functionality in brcmfmac driver
...
Earlier brcmfmac driver used to report success even for an aborted scan. This
functionality is now fixed with this patch.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:37 -07:00
Sukesh Srikakula
e4dd632559
staging: brcm80211: Added support to change scan times from brcmfmac driver
...
wl_dongle_scantime function moved out of conditional compilation to allow
the fullmac driver to change FW scan times.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:36 -07:00
Sukesh Srikakula
a1e962b64f
staging: brcm80211: Added support to change roaming parameters from brcmfmac driver
...
'wl_dongle_roam' function moved out of conditional compilation to allow
the fullmac driver to change FW roaming parameters
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:35 -07:00
Sukesh Srikakula
69274f020a
staging: brcm80211: Fixed ibss join/leave functionality in brcmfmac driver
...
IBSS functionality is broken in fullmac driver, which is fixed with this patch
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:35 -07:00
Sukesh Srikakula
e494632efc
staging: brcm80211: Fixed bss (re)connect/disconnect issues in brcmfmac driver
...
Broken functionality of bss (re)connect/disconnect in full mac driver
is fixed with this patch.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:34 -07:00
Sukesh Srikakula
7549496614
staging: brcm80211: Optimized wl_inform_single_bss function in brcmfmac driver
...
Earlier verion of wl_inform_single_bss function is using
'cfg80211_inform_bss_frame' API for sending bss info to cfg80211.
With this patch same will be done through a more optimal
'cfg80211_inform_bss' API.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:33 -07:00
Sukesh Srikakula
7b2cb57ff7
staging: brcm80211: Fixed wl_assoc_params structure miss match in brcmfmac driver
...
There is a mismatch in the structure definition of wl_assoc_params structure
in driver & FW code. With this patch, it is corrected
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:33 -07:00
Sukesh Srikakula
8343f18056
staging: brcm80211: brcmfmac driver's interface name changed to "wlan"
...
Currently interface name for the brcmfmac driver is "eth".
This is changed to "wlan".
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:32 -07:00
Sukesh Srikakula
e6e8f894aa
staging: brcm80211: Fix for suspend issue in brcmfmac driver
...
Currently, there are 2 callbacks registered with OS for getting
notifications when system goes to suspend/resume. Racing between
these 2 callbacks results in random suspend failures. With this fix,
we avoid registering dhd callback for suspend/resume notification
when cfg80211 is used. Relevent functionality in dhd suspend/resume
callback function is moved to cfg80211 suspend/resume functions.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Cc: Grant Grundler <grundler@chromium.org >
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:32 -07:00
Sukesh Srikakula
22d5d59b8c
staging: brcm80211: Fix for WPA GTK install issue in brcmfmac driver
...
Last 16 bytes of the key sent by cfg80211 needs to be swapped before
installing it to FW for TKIP encryption. This is not done for group
key in current code, which is corrected with this fix.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Tested-by: Grant Grundler <grundler@chromium.org >
Tested-by: Aaron Plattner <aplattner@nvidia.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:31 -07:00
Roland Vossen
dcc8fb87f2
staging: brcm80211: removed more unused counter related structures
...
Code cleanup.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Henry Ptasinski <henryp@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:31 -07:00
Roland Vossen
40592ba93f
staging: brcm80211: removed counter related struct wl_cnt
...
Code cleanup. Struct wl_cnt contains all sorts of counters, but either these
were written and never read, or set to zero at initialization but never
updated. Therefore the struct and any code accessing the struct has been
removed.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Henry Ptasinski <henryp@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:30 -07:00
Roland Vossen
47298e71ef
staging: brcm80211: removed support for proprietary ioctl WLC_GET_PKTCNTS
...
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Henry Ptasinski <henryp@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:29 -07:00
Roland Vossen
9eed787ce3
staging: brcm80211: removed stats WEXT support from fullmac
...
Wireless Extension support is obsolete and made use of counters that are
going to be removed in the next patches.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Henry Ptasinski <henryp@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:28 -07:00
Roland Vossen
83e60fc362
staging: brcm80211: removed counter related macros that expanded to NOP
...
Code cleanup.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Henry Ptasinski <henryp@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:28 -07:00
Roland Vossen
75e436d3ed
staging: brcm80211: removed unused struct net_device_stats related code
...
Code cleanup. Variables were set but never read.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Henry Ptasinski <henryp@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:12:27 -07:00
Arend van Spriel
0c250c0eea
staging: brcm80211: fix makefiles for building drivers in kernel
...
The makefiles used obj-m which forcibly builds the drivers as
modules ignoring the Kconfig setting. This has been fixed in this
patch.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Henry Ptasinski <henryp@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:03:52 -07:00
Arend van Spriel
755f609cb3
staging: brcm80211: cleanup functions in nvram.c
...
Several function in nvram.c take a pointer value which is not
actually used. These are removed and the header file contained
some other prototypes that were not implemented. As this source
file was the only one using the header file siutils.h it has been
removed.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Henry Ptasinski <henryp@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:03:52 -07:00
Arend van Spriel
1f602d683c
staging: brcm80211: make function definitions and prototype consistent
...
Couple of functions that are only used within wlc_channel.c have been
prototyped with static keyword. For the function definition itself this
has been added when missing.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Henry Ptasinski <henryp@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:03:51 -07:00
Arend van Spriel
e2418ff1e8
staging: brcm80211: remove unused functions and prototypes
...
Several functions in wlc_bmac.c are not used in the driver and
prototypes in wlc_pub.h that have no implementation. These have
been removed.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Henry Ptasinski <henryp@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:03:50 -07:00
Arend van Spriel
c3ecec398c
staging: brcm80211: remove unnecessary functions from wlc_main.c
...
Couple of functions were not needed and have been removed.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Roland Vossen <rvossen@broadcom.com >
Reviewed-by: Henry Ptasinski <henryp@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:03:50 -07:00
Roland Vossen
f626574676
staging: brcm80211: got rid of #ifdef __mips__ by new dma_spin_for_len()
...
Code cleanup.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Henry Ptasinski <henryp@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:03:50 -07:00
Roland Vossen
de3170671a
staging: brcm80211: replaced IL_BIGENDIAN by __BIG_ENDIAN
...
Code cleanup. IL_BIGENDIAN was a Broadcom specific define.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Henry Ptasinski <henryp@broadcom.com >
Reviewed-by: Brett Rudley <brudley@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 12:03:49 -07:00
K. Y. Srinivasan
b189702dd9
Staging: hv: Move the contents of utils.h to hyperv.h
...
Move the contents of utils.h to hyperv.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 11:46:18 -07:00
K. Y. Srinivasan
27b5b3ca69
Staging: hv: Move the contents of vmbus.h to hyperv.h
...
Move the contents of vmbus.h to hyperv.h.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com >
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com >
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com >
Signed-off-by: Hank Janssen <hjanssen@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-05-17 11:46:18 -07:00