summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/cw1200/debug.c
Commit message (Collapse)AuthorAgeFilesLines
* cw1200: Fix cw1200_debug_link_idFrederic Danis2014-04-141-0/+2
| | | | | | | | | | This array is used in debug string to display cw1200_link_status defined in drivers/net/wireless/cw1200/cw1200.h. Add missing strings for CW1200_LINK_RESET and CW1200_LINK_RESET_REMAP. Signed-off-by: Frederic Danis <frederic.danis@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* cw1200: Eliminate the ETF debug/engineering code.Solomon Peachy2013-06-111-236/+0
| | | | | | | | | | | This is only really useful for people who are bringing up new hardware designs and have access to the proprietary vendor tools that interface with this mode. It'll live out of tree until it's rewritten to use a less kludgy interface. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* cw1200: Remove "ITP" debug subsystem.Solomon Peachy2013-06-111-5/+1
| | | | | | | This can live on as an out-of-tree patch for those that care. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* cw1200: Sanity-check arguments in copy_from_user()Solomon Peachy2013-06-101-4/+14
| | | | | | | | | | | | | | | | The optional debugfs interface to the vendor's engineering tools wasn't bounds checking at all, which made it trivial to perform a buffer overflow if this interface was compiled in and then explicitly enabled at runtime. This patch checks both the length supplied as part of the data to ensure it is sane, and also the amount of data compared to the remaining buffer space. If either is too large, fail immediately. (This bug was spotted by Dan Carpenter <dan.carpenter@oracle.com>) Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* cw1200: convert to use simple_open()Wei Yongjun2013-05-301-7/+1
| | | | | | | | | This removes an open coded simple_open() function and replaces file operations references to the function with simple_open() instead. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* cw1200: add driver for the ST-E CW1100 & CW1200 WLAN chipsetsSolomon Peachy2013-05-291-0/+664
Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
OpenPOWER on IntegriCloud