Commit Graph

183 Commits

Author SHA1 Message Date
Solomon Peachy e499fc335f More explicit cleaning up unjoin_work() 2013-02-01 12:06:21 -05:00
Solomon Peachy 76d531429d Fix a mismatch. 2013-02-01 12:06:21 -05:00
Solomon Peachy db436af2c4 Some minor cleanups in the tx_unlock code. 2013-02-01 12:06:21 -05:00
Solomon Peachy fb642ee3dd call unjoin_work instead of connection_loss_work when we detect we've lost our mind. 2013-01-31 17:38:40 -05:00
Solomon Peachy fbd6ad9727 cw1200_unjoin_work() should trigger ieee80211_connection_loss()
Also fix a double unlock tx, and some printout formatting problems.
2013-01-31 17:38:40 -05:00
Solomon Peachy 9d00969590 cw1200: Saner connection loss handling when we have a command timeout. 2013-01-31 17:38:40 -05:00
Solomon Peachy 46fb5d9dd2 Always device disable interrupts when the irq handler is called.
Should prevent hang-on-driver-error.
2013-01-31 14:22:05 -05:00
Solomon Peachy f95df95f34 Clean up in the main processing loop, and a better workaround for older (<2.6.39) kernels. 2013-01-31 14:16:51 -05:00
Solomon Peachy b4bedf9ef4 Don't log a cmd timeout error when it's triggered by device removal. 2013-01-31 14:16:51 -05:00
Solomon Peachy 2c72676600 Get rid of some of the workarounds in place for bad irq handling. 2013-01-31 14:16:51 -05:00
Solomon Peachy fb0a064466 Fix Makefile. 2013-01-31 11:45:00 -05:00
Solomon Peachy 82bdd269b1 Get rid of CONFIG_CW1200_PM -- always enabled now. 2013-01-31 11:44:17 -05:00
Solomon Peachy 4308b504e7 Eliminated ap.[ch], moved code into more appropriate places. 2013-01-31 11:44:08 -05:00
Solomon Peachy 004fafc533 cw1200: Fix build problems. 2013-01-27 09:53:13 -05:00
Solomon Peachy cf7690a062 cw1200: Fix warning. 2013-01-27 09:48:51 -05:00
Solomon Peachy 17272eaf6d [cw1200] Better IRQ handling cleanup. 2013-01-27 08:28:52 -05:00
Solomon Peachy 9d0b7575a8 [cw1200] Handle case where IRQ is triggered before we are finished registering.
This should only happen when we have a shared IRQ line, but handle it anyway.
2013-01-27 08:19:33 -05:00
Solomon Peachy 7704fe612c [cw1200] Push irq registration purely into the bus handing code.
In other words, we register the IRQs before we call the core_probe() now.
2013-01-27 08:16:12 -05:00
Solomon Peachy 1fdee56a7c [cw1200] Eliminate support for IRQ polling.
It was a gross hack to workaround problems long since solved.
2013-01-27 08:07:41 -05:00
Solomon Peachy 072b3a58f3 [cw1200] Oops, accidentally commited before the build test. 2013-01-27 07:49:41 -05:00
Solomon Peachy f8c636dac5 [cw1200] Get rid of sbus_ops->irq_enable()
And just call __cw1200_irq_enable() directly instead.
2013-01-27 07:43:43 -05:00
Solomon Peachy 34f77181e1 [cw1200] eliminate CONFIG_CW1200_USE_SDIO_IRQ and make it keyed off of platform_data
Also did some cleanups in the platform IRQ code.  sbus_ops->irq_enable()
is now required, and all IRQs are triggered by a HIGH level now.
2013-01-27 07:38:39 -05:00
Pontus Fuchs 8417866a68 cfg80211_find_ie -> ieee80211_bss_get_ie
Also add the proper rcu locking needed from 3.8

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
2013-01-17 14:43:31 -05:00
Solomon Peachy abc3ee1715 update maintainers. 2013-01-17 10:25:51 -05:00
Solomon Peachy a184803e41 Move platform data into include/linux/ 2013-01-17 10:22:51 -05:00
Solomon Peachy 63bde5a272 Move NON_POWER_OF_TWO_BLOCKSIZES into platform_data. 2013-01-17 10:22:51 -05:00
Solomon Peachy 1235c52b43 Update config.mk 2013-01-17 10:22:03 -05:00
Pontus Fuchs 46fad60323 Move 5GHz capability info from CONFIG option to platform data flag 2013-01-17 09:57:18 -05:00
Pontus Fuchs 79af21d76c Drop __dev*
__devinit, __devexit and friends are gone in kernel 3.8.
2013-01-17 09:47:20 -05:00
Solomon Peachy c128153db9 Simplify driver option output. 2013-01-17 09:26:35 -05:00
Solomon Peachy e2523747f5 Always set atimperiod. 2013-01-17 09:26:35 -05:00
Solomon Peachy 3e9dcccf94 Use the SSID directly out of ieee80211_bss_conf
Before we generated a beacon, and parsed the SSID from that.  Which is insane.
2013-01-17 09:13:13 -05:00
Solomon Peachy ae859b5efa Fix some multi-line strings 2013-01-17 09:13:12 -05:00
Solomon Peachy 6ec2ebc590 [regdb] Add in current regdb. 2013-01-16 13:17:41 -05:00
Solomon Peachy bc59fd8969 [cw1200] Fix CONFIG_DEBUGFS dependencies. 2013-01-15 15:23:01 -05:00
Pontus Fuchs fbf682253c Fix warnings on 64-bit platforms
A bunch of printk's had wrong type or modifier.
2013-01-15 15:21:03 -05:00
Pontus Fuchs 05319c472c Get rid of CONFIG_CW1200_DEBUGFS
Let CONFIG_DEBUGFS do the trick instead. No need to have a private
option just for cw1200.
2013-01-15 15:20:39 -05:00
Solomon Peachy 36523e353a lib80211: fix build when CONFIG_WIRELESS_EXT is disabled. 2013-01-15 07:35:54 -05:00
Solomon Peachy 29763a8be2 Get rid of sbus_ops.reset.
It also lets us get rid of the cw1200_detect_card() SDIO hack.
2013-01-15 07:30:19 -05:00
Solomon Peachy 953dee45eb Fix build. 2013-01-15 07:30:19 -05:00
Pontus Fuchs 28104bdf2d Fix a few sparse warnings 2013-01-15 07:20:28 -05:00
Pontus Fuchs 50dab1de15 Fix smatch warning
warning: cast truncates bits from constant value (ffff1fff becomes 1fff)
2013-01-15 07:20:28 -05:00
Pontus Fuchs 395ace4e7f Check size of data, not pointer to 2013-01-14 18:08:32 -05:00
Pontus Fuchs a23dc7b148 Fix mem leak on error patch of FW download 2013-01-14 18:08:29 -05:00
Solomon Peachy a22125c3e8 Update to compat-drivers-3.7.1-3
Also move cw1200 from drivers/staging to drivers/net/wireless
Also fix cw1200 so it builds properly.
2013-01-14 13:37:51 -05:00
Pontus Fuchs 4832ac24fa Remove (un)likely abuse
I doubt there is any gain in any of these compiler hints.
2013-01-13 19:02:33 -05:00
Pontus Fuchs 9e084537a8 Fix compilation with CONFIG_CW1200_DEBUGFS=n
multiple definition of `cw1200_print_fw_version
2013-01-13 19:02:07 -05:00
Pontus Fuchs f4d00dd118 Fix a bunch of sparse warnings 2013-01-13 19:01:53 -05:00
Solomon Peachy 223d2a04f7 [cw1200] Strip out dead code, and fix checkpatch warnings. 2013-01-11 21:48:47 -05:00
Solomon Peachy 4c6d203c39 Fix OOPS when trying to enable IBSS.
It's still not working correctly though -- we're beaconing with the
incorrect BSSID.
2013-01-10 10:58:44 -05:00