Lines Matching defs:conf
136 struct cfg80211_chan_def *chandef = &link->conf->chandef;
159 if (link->conf->eht_puncturing != extracted) {
160 link->conf->eht_puncturing = extracted;
437 cfg80211_chandef_identical(chandef, &link->conf->chandef))
495 struct ieee80211_channel *chan = link->conf->chandef.chan;
529 if (link->conf->ht_operation_mode != ht_opmode) {
531 link->conf->ht_operation_mode = ht_opmode;
562 if (cfg80211_chandef_identical(&chandef, &link->conf->chandef))
1066 chanctx_conf = rcu_dereference(link->conf->chanctx_conf);
1152 link->conf->mu_mimo_owner = mu_mimo_owner;
1507 ieee80211_encode_usf(local->hw.conf.listen_interval) :
1508 local->hw.conf.listen_interval);
1699 if (!link->conf->csa_active)
1731 if (!cfg80211_chandef_identical(&link->conf->chandef,
1760 WARN_ON(!link->conf->csa_active);
1768 link->conf->csa_active = false;
1830 link->conf->csa_active = false;
1847 struct ieee80211_chanctx_conf *conf;
1880 if (beacon && link->conf->csa_active &&
1887 } else if (link->conf->csa_active || res) {
1892 if (link->conf->chandef.chan->band !=
1919 &link->conf->chandef) &&
1940 conf = rcu_dereference_protected(link->conf->chanctx_conf,
1942 if (!conf) {
1948 chanctx = container_of(conf, struct ieee80211_chanctx, conf);
1973 link->conf->csa_active = true;
2012 link->conf->csa_active = true;
2178 struct ieee80211_conf *conf = &local->hw.conf;
2187 if (conf->dynamic_ps_timeout > 0 &&
2190 msecs_to_jiffies(conf->dynamic_ps_timeout));
2199 conf->flags |= IEEE80211_CONF_PS;
2206 struct ieee80211_conf *conf = &local->hw.conf;
2210 } else if (conf->flags & IEEE80211_CONF_PS) {
2211 conf->flags &= ~IEEE80211_CONF_PS;
2286 local->hw.conf.dynamic_ps_timeout = timeout;
2292 local->hw.conf.ps_dtim_period = dtimper;
2317 if (local->hw.conf.flags & IEEE80211_CONF_PS) {
2318 local->hw.conf.flags &= ~IEEE80211_CONF_PS;
2344 if (local->hw.conf.flags & IEEE80211_CONF_PS)
2347 if (local->hw.conf.dynamic_ps_timeout > 0) {
2352 local->hw.conf.dynamic_ps_timeout));
2368 local->hw.conf.dynamic_ps_timeout));
2380 local->hw.conf.dynamic_ps_timeout));
2392 local->hw.conf.flags |= IEEE80211_CONF_PS;
2410 struct cfg80211_chan_def chandef = link->conf->chandef;
2678 link->conf->qos = true;
2700 struct ieee80211_bss_conf *bss_conf = link->conf;
2746 struct ieee80211_bss_conf *bss_conf = link->conf;
2919 if (local->hw.conf.flags & IEEE80211_CONF_PS) {
2920 local->hw.conf.flags &= ~IEEE80211_CONF_PS;
3974 if (link->conf->twt_requester != twt) {
3975 link->conf->twt_requester = twt;
4007 struct ieee80211_bss_conf *bss_conf = link->conf;
4185 if (WARN_ON(!link->conf->chandef.chan)) {
4189 sband = local->hw.wiphy->bands[link->conf->chandef.chan->band];
4439 link->conf->basic_rates = basic_rates;
4923 bss_conf = link->conf;
5161 link->conf->addr,
5181 &link->conf->sync_dtim_count,
5183 link->conf->beacon_int = cbss->beacon_interval;
5187 link->conf->dtim_period = link->u.mgd.dtim_period ?: 1;
5517 link->conf->beacon_rate = bss->beacon_rate;
5715 &link->conf->chandef,
5720 extracted == link->conf->eht_puncturing)
5724 &link->conf->chandef)) {
5729 link->conf->chandef.width);
5951 chanctx_conf = rcu_dereference(link->conf->chanctx_conf);
5980 link->conf->sync_tsf =
5982 link->conf->sync_device_ts =
5984 link->conf->sync_dtim_count = elems->dtim_count;
6045 if (local->hw.conf.dynamic_ps_timeout > 0) {
6046 if (local->hw.conf.flags & IEEE80211_CONF_PS) {
6047 local->hw.conf.flags &= ~IEEE80211_CONF_PS;
6110 link->conf->sync_tsf =
6112 link->conf->sync_device_ts =
6114 link->conf->sync_dtim_count = elems->dtim_count;
6178 if (WARN_ON(!link->conf->chandef.chan))
6181 sband = local->hw.wiphy->bands[link->conf->chandef.chan->band];
6885 link->conf->bssid = link->u.mgd.bssid;
6898 ether_addr_copy(link->conf->addr,
6900 else if (!is_valid_ether_addr(link->conf->addr))
6901 eth_random_addr(link->conf->addr);
7025 link->conf->beacon_int = cbss->beacon_interval;
7028 link->conf->sync_tsf = ies->tsf;
7029 link->conf->sync_device_ts =
7033 &link->conf->sync_dtim_count,
7039 link->conf->sync_tsf = ies->tsf;
7040 link->conf->sync_device_ts =
7042 link->conf->sync_dtim_count = 0;
7044 link->conf->sync_tsf = 0;
7045 link->conf->sync_device_ts = 0;
7046 link->conf->sync_dtim_count = 0;
7341 link->conf->eht_puncturing = 0;
7356 link->conf->sync_tsf = beacon_ies->tsf;
7357 link->conf->sync_device_ts = bss->device_ts_beacon;
7358 link->conf->sync_dtim_count = dtim_count;
7364 link->conf->profile_periodicity = elem->data[2];
7366 link->conf->profile_periodicity = 0;
7372 link->conf->ema_ap = true;
7374 link->conf->ema_ap = false;
7392 &link->conf->chandef))
7480 link->conf->addr);