|
@@ -38,6 +38,10 @@ int led_blink;
|
|
|
module_param_named(blink, led_blink, int, 0444);
|
|
|
MODULE_PARM_DESC(blink, "Enable LED blink on activity");
|
|
|
|
|
|
+static int ath9k_btcoex_enable;
|
|
|
+module_param_named(btcoex_enable, ath9k_btcoex_enable, int, 0444);
|
|
|
+MODULE_PARM_DESC(btcoex_enable, "Enable wifi-BT coexistence");
|
|
|
+
|
|
|
/* We use the hw_value as an index into our private channel structure */
|
|
|
|
|
|
#define CHAN2G(_freq, _idx) { \
|
|
@@ -543,6 +547,7 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid,
|
|
|
common->hw = sc->hw;
|
|
|
common->priv = sc;
|
|
|
common->debug_mask = ath9k_debug;
|
|
|
+ common->btcoex_enabled = ath9k_btcoex_enable == 1;
|
|
|
spin_lock_init(&common->cc_lock);
|
|
|
|
|
|
spin_lock_init(&sc->wiphy_lock);
|