ath9k: move struct ath_beacon_config to common
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 1 Mar 2014 20:15:44 +0000 (21:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 17 Mar 2014 17:13:05 +0000 (13:13 -0400)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/common.h

index f995c374a9b4336e242d3f0de902892f40c12292..b54bcae61ba19c7967db36f8555f188db8adb6a4 100644 (file)
@@ -408,15 +408,6 @@ void ath9k_calculate_iter_data(struct ieee80211_hw *hw,
 #define TSF_TO_TU(_h,_l) \
        ((((u32)(_h)) << 22) | (((u32)(_l)) >> 10))
 
-struct ath_beacon_config {
-       int beacon_interval;
-       u16 dtim_period;
-       u16 bmiss_timeout;
-       u8 dtim_count;
-       bool enable_beacon;
-       bool ibss_creator;
-};
-
 struct ath_beacon {
        enum {
                OK,             /* no change needed */
index 4c449e35bd6552f9a7f2191b089f493da5bdbc7d..26aafb394a5cff076d3fe04bb9b1cf07a72c2f63 100644 (file)
 #define ATH_EP_RND(x, mul)                                             \
        (((x) + ((mul)/2)) / (mul))
 
+struct ath_beacon_config {
+       int beacon_interval;
+       u16 dtim_period;
+       u16 bmiss_timeout;
+       u8 dtim_count;
+       bool enable_beacon;
+       bool ibss_creator;
+};
+
 bool ath9k_cmn_rx_accept(struct ath_common *common,
                         struct ieee80211_hdr *hdr,
                         struct ieee80211_rx_status *rxs,