• M
    ath10k: remove ath10k_chanctx struct · 089ab7a5
    Michal Kazior 提交于
    In practice there's no point in having a copy of
    chanctx_conf.
    
    Most of the time the channel pointer (and band
    along with it) is accessed and this can't change
    after a chanctx is created because switching is
    done using explicit chanctx swapping via
    switch_vif_chanctx().
    
    The only thing that can change within a
    chanctx_conf and is used by the driver is
    radar_enabled and channel width. These are however
    always accessed in adequate mac80211 callback
    context which guarantees safe access to the
    chanctx data.
    Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
    Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
    089ab7a5
mac.c 175.4 KB