Lines Matching refs:link_conf

117 		struct ieee80211_bss_conf *link_conf = link->conf;  in ieee80211_chanctx_non_reserved_chandef()  local
123 compat = &link_conf->chandef; in ieee80211_chanctx_non_reserved_chandef()
126 &link_conf->chandef, compat); in ieee80211_chanctx_non_reserved_chandef()
418 struct ieee80211_bss_conf *link_conf = in ieee80211_chan_bw_change() local
419 rcu_dereference(sdata->vif.link_conf[link_id]); in ieee80211_chan_bw_change()
422 if (!link_conf) in ieee80211_chan_bw_change()
425 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change()
786 struct ieee80211_bss_conf *link_conf = in ieee80211_recalc_chanctx_chantype() local
787 rcu_dereference(sdata->vif.link_conf[link_id]); in ieee80211_recalc_chanctx_chantype()
789 if (!link_conf) in ieee80211_recalc_chanctx_chantype()
792 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
796 compat = &link_conf->chandef; in ieee80211_recalc_chanctx_chantype()
798 compat = cfg80211_chandef_compatible(&link_conf->chandef, in ieee80211_recalc_chanctx_chantype()
1018 struct ieee80211_bss_conf *link_conf = link->conf; in __ieee80211_link_copy_chanctx_to_vlans() local
1034 conf = rcu_dereference_protected(link_conf->chanctx_conf, in __ieee80211_link_copy_chanctx_to_vlans()
1045 vlan_conf = rcu_dereference(vlan->vif.link_conf[link_id]); in __ieee80211_link_copy_chanctx_to_vlans()
1247 vlan_conf = rcu_dereference(vlan->vif.link_conf[link_id]); in ieee80211_link_update_chandef()
1260 struct ieee80211_bss_conf *link_conf = link->conf; in ieee80211_link_use_reserved_reassign() local
1292 if (link_conf->chandef.width != link->reserved_chandef.width) in ieee80211_link_use_reserved_reassign()
1302 vif_chsw[0].link_conf = link->conf; in ieee80211_link_use_reserved_reassign()
1317 rcu_assign_pointer(link_conf->chanctx_conf, &new_ctx->conf); in ieee80211_link_use_reserved_reassign()
1466 vif_chsw[i].link_conf = link->conf; in ieee80211_chsw_switch_vifs()
1660 struct ieee80211_bss_conf *link_conf = link->conf; in ieee80211_vif_use_reserved_switch() local
1666 rcu_assign_pointer(link_conf->chanctx_conf, in ieee80211_vif_use_reserved_switch()
1677 if (link_conf->chandef.width != link->reserved_chandef.width) in ieee80211_vif_use_reserved_switch()
1780 struct ieee80211_bss_conf *link_conf = link->conf; in __ieee80211_link_release_channel() local
1788 conf = rcu_dereference_protected(link_conf->chanctx_conf, in __ieee80211_link_release_channel()
1946 struct ieee80211_bss_conf *link_conf = link->conf; in ieee80211_link_change_bandwidth() local
1958 if (cfg80211_chandef_identical(chandef, &link_conf->chandef)) { in ieee80211_link_change_bandwidth()
1964 link_conf->chandef.width == NL80211_CHAN_WIDTH_20_NOHT) { in ieee80211_link_change_bandwidth()
1969 conf = rcu_dereference_protected(link_conf->chanctx_conf, in ieee80211_link_change_bandwidth()
2031 struct ieee80211_bss_conf *link_conf = link->conf; in ieee80211_link_vlan_copy_chanctx() local
2045 ap_conf = rcu_dereference(ap->vif.link_conf[link_id]); in ieee80211_link_vlan_copy_chanctx()
2048 rcu_assign_pointer(link_conf->chanctx_conf, conf); in ieee80211_link_vlan_copy_chanctx()