ath9k: move ath_btcoex_config and ath_bt_mode to btcoex.c
These are only used by btcoex.c on one routine, so stuff them into that file. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

کامیت شده توسط
John W. Linville

والد
5e19729295
کامیت
8b4fc5ba89
@@ -36,25 +36,6 @@ enum ath_btcoex_scheme {
|
||||
ATH_BTCOEX_CFG_3WIRE,
|
||||
};
|
||||
|
||||
enum ath_bt_mode {
|
||||
ATH_BT_COEX_MODE_LEGACY, /* legacy rx_clear mode */
|
||||
ATH_BT_COEX_MODE_UNSLOTTED, /* untimed/unslotted mode */
|
||||
ATH_BT_COEX_MODE_SLOTTED, /* slotted mode */
|
||||
ATH_BT_COEX_MODE_DISALBED, /* coexistence disabled */
|
||||
};
|
||||
|
||||
struct ath_btcoex_config {
|
||||
u8 bt_time_extend;
|
||||
bool bt_txstate_extend;
|
||||
bool bt_txframe_extend;
|
||||
enum ath_bt_mode bt_mode; /* coexistence mode */
|
||||
bool bt_quiet_collision;
|
||||
bool bt_rxclear_polarity; /* invert rx_clear as WLAN_ACTIVE*/
|
||||
u8 bt_priority_time;
|
||||
u8 bt_first_slot_time;
|
||||
bool bt_hold_rx_clear;
|
||||
};
|
||||
|
||||
struct ath_btcoex_hw {
|
||||
enum ath_btcoex_scheme scheme;
|
||||
bool enabled;
|
||||
@@ -76,5 +57,4 @@ void ath9k_hw_btcoex_set_weight(struct ath_hw *ah,
|
||||
void ath9k_hw_btcoex_enable(struct ath_hw *ah);
|
||||
void ath9k_hw_btcoex_disable(struct ath_hw *ah);
|
||||
|
||||
|
||||
#endif
|
||||
|
مرجع در شماره جدید
Block a user