static void ath9k_htc_beacon_config_sta(struct ath9k_htc_priv *priv,
-                                       struct htc_beacon_config *bss_conf)
+                                       struct ath_beacon_config *bss_conf)
 {
        struct ath_common *common = ath9k_hw_common(priv->ah);
        struct ath9k_beacon_state bs;
 }
 
 static void ath9k_htc_beacon_config_ap(struct ath9k_htc_priv *priv,
-                                      struct htc_beacon_config *bss_conf)
+                                      struct ath_beacon_config *bss_conf)
 {
        struct ath_common *common = ath9k_hw_common(priv->ah);
        enum ath9k_int imask = 0;
 
        WMI_CMD(WMI_DISABLE_INTR_CMDID);
        ath9k_hw_beaconinit(priv->ah, TU_TO_USEC(nexttbtt), TU_TO_USEC(intval));
-       priv->cur_beacon_conf.bmiss_cnt = 0;
+       priv->beacon.bmisscnt = 0;
        htc_imask = cpu_to_be32(imask);
        WMI_CMD_BUF(WMI_ENABLE_INTR_CMDID, &htc_imask);
 }
 
 static void ath9k_htc_beacon_config_adhoc(struct ath9k_htc_priv *priv,
-                                         struct htc_beacon_config *bss_conf)
+                                         struct ath_beacon_config *bss_conf)
 {
        struct ath_common *common = ath9k_hw_common(priv->ah);
        enum ath9k_int imask = 0;
 
        WMI_CMD(WMI_DISABLE_INTR_CMDID);
        ath9k_hw_beaconinit(priv->ah, TU_TO_USEC(nexttbtt), TU_TO_USEC(intval));
-       priv->cur_beacon_conf.bmiss_cnt = 0;
+       priv->beacon.bmisscnt = 0;
        htc_imask = cpu_to_be32(imask);
        WMI_CMD_BUF(WMI_ENABLE_INTR_CMDID, &htc_imask);
 }
 
        spin_lock_bh(&priv->beacon_lock);
 
-       vif = priv->cur_beacon_conf.bslot[slot];
+       vif = priv->beacon.bslot[slot];
 
        skb = ieee80211_get_buffered_bc(priv->hw, vif);
 
 
        spin_lock_bh(&priv->beacon_lock);
 
-       vif = priv->cur_beacon_conf.bslot[slot];
+       vif = priv->beacon.bslot[slot];
        avp = (struct ath9k_htc_vif *)vif->drv_priv;
 
        if (unlikely(test_bit(OP_SCANNING, &priv->op_flags))) {
        int slot;
 
        if (swba->beacon_pending != 0) {
-               priv->cur_beacon_conf.bmiss_cnt++;
-               if (priv->cur_beacon_conf.bmiss_cnt > BSTUCK_THRESHOLD) {
+               priv->beacon.bmisscnt++;
+               if (priv->beacon.bmisscnt > BSTUCK_THRESHOLD) {
                        ath_dbg(common, BSTUCK, "Beacon stuck, HW reset\n");
                        ieee80211_queue_work(priv->hw,
                                             &priv->fatal_work);
                return;
        }
 
-       if (priv->cur_beacon_conf.bmiss_cnt) {
+       if (priv->beacon.bmisscnt) {
                ath_dbg(common, BSTUCK,
                        "Resuming beacon xmit after %u misses\n",
-                       priv->cur_beacon_conf.bmiss_cnt);
-               priv->cur_beacon_conf.bmiss_cnt = 0;
+                       priv->beacon.bmisscnt);
+               priv->beacon.bmisscnt = 0;
        }
 
        slot = ath9k_htc_choose_bslot(priv, swba);
        spin_lock_bh(&priv->beacon_lock);
-       if (priv->cur_beacon_conf.bslot[slot] == NULL) {
+       if (priv->beacon.bslot[slot] == NULL) {
                spin_unlock_bh(&priv->beacon_lock);
                return;
        }
 
        spin_lock_bh(&priv->beacon_lock);
        for (i = 0; i < ATH9K_HTC_MAX_BCN_VIF; i++) {
-               if (priv->cur_beacon_conf.bslot[i] == NULL) {
+               if (priv->beacon.bslot[i] == NULL) {
                        avp->bslot = i;
                        break;
                }
        }
 
-       priv->cur_beacon_conf.bslot[avp->bslot] = vif;
+       priv->beacon.bslot[avp->bslot] = vif;
        spin_unlock_bh(&priv->beacon_lock);
 
        ath_dbg(common, CONFIG, "Added interface at beacon slot: %d\n",
        struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *)vif->drv_priv;
 
        spin_lock_bh(&priv->beacon_lock);
-       priv->cur_beacon_conf.bslot[avp->bslot] = NULL;
+       priv->beacon.bslot[avp->bslot] = NULL;
        spin_unlock_bh(&priv->beacon_lock);
 
        ath_dbg(common, CONFIG, "Removed interface at beacon slot: %d\n",
 {
        struct ath_common *common = ath9k_hw_common(priv->ah);
        struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *)vif->drv_priv;
-       struct htc_beacon_config *cur_conf = &priv->cur_beacon_conf;
+       struct ath_beacon_config *cur_conf = &priv->cur_beacon_conf;
        u64 tsfadjust;
 
        if (avp->bslot == 0)
                                          struct ieee80211_vif *vif)
 {
        struct ath_common *common = ath9k_hw_common(priv->ah);
-       struct htc_beacon_config *cur_conf = &priv->cur_beacon_conf;
+       struct ath_beacon_config *cur_conf = &priv->cur_beacon_conf;
        struct ieee80211_bss_conf *bss_conf = &vif->bss_conf;
        bool beacon_configured;
 
                             struct ieee80211_vif *vif)
 {
        struct ath_common *common = ath9k_hw_common(priv->ah);
-       struct htc_beacon_config *cur_conf = &priv->cur_beacon_conf;
+       struct ath_beacon_config *cur_conf = &priv->cur_beacon_conf;
        struct ieee80211_bss_conf *bss_conf = &vif->bss_conf;
        struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *) vif->drv_priv;
 
 void ath9k_htc_beacon_reconfig(struct ath9k_htc_priv *priv)
 {
        struct ath_common *common = ath9k_hw_common(priv->ah);
-       struct htc_beacon_config *cur_conf = &priv->cur_beacon_conf;
+       struct ath_beacon_config *cur_conf = &priv->cur_beacon_conf;
 
        switch (priv->ah->opmode) {
        case NL80211_IFTYPE_STATION: