Commit 02da18b7 authored by Sujith Manoharan's avatar Sujith Manoharan Committed by John W. Linville

ath9k: Add new chanctx events

This will be useful in handling addition/change of new
channel contexts.
Signed-off-by: default avatarSujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 6e47fafb
...@@ -359,7 +359,9 @@ enum ath_chanctx_event { ...@@ -359,7 +359,9 @@ enum ath_chanctx_event {
ATH_CHANCTX_EVENT_BEACON_RECEIVED, ATH_CHANCTX_EVENT_BEACON_RECEIVED,
ATH_CHANCTX_EVENT_ASSOC, ATH_CHANCTX_EVENT_ASSOC,
ATH_CHANCTX_EVENT_SWITCH, ATH_CHANCTX_EVENT_SWITCH,
ATH_CHANCTX_EVENT_ASSIGN,
ATH_CHANCTX_EVENT_UNASSIGN, ATH_CHANCTX_EVENT_UNASSIGN,
ATH_CHANCTX_EVENT_CHANGE,
ATH_CHANCTX_EVENT_ENABLE_MULTICHANNEL, ATH_CHANCTX_EVENT_ENABLE_MULTICHANNEL,
}; };
......
...@@ -452,6 +452,10 @@ void ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif, ...@@ -452,6 +452,10 @@ void ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif,
sc->next_chan = ctx; sc->next_chan = ctx;
ieee80211_queue_work(sc->hw, &sc->chanctx_work); ieee80211_queue_work(sc->hw, &sc->chanctx_work);
break; break;
case ATH_CHANCTX_EVENT_ASSIGN:
break;
case ATH_CHANCTX_EVENT_CHANGE:
break;
} }
spin_unlock_bh(&sc->chan_lock); spin_unlock_bh(&sc->chan_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment