Searched refs:chanctx (Results 1 - 17 of 17) sorted by relevance

/linux-master/drivers/net/wireless/ath/ath9k/
H A Dmain.c249 /* restore per chanctx TSF timer */
1359 avp->chanctx = sc->cur_chan;
1360 list_add_tail(&avp->list, &avp->chanctx->vifs);
1363 ath9k_calculate_summary_state(sc, avp->chanctx);
1407 ath9k_calculate_summary_state(sc, avp->chanctx);
1438 ath9k_calculate_summary_state(sc, avp->chanctx);
1891 ath9k_calculate_summary_state(sc, avp->chanctx);
1904 ath9k_calculate_summary_state(sc, avp->chanctx);
1907 if ((avp->chanctx == sc->cur_chan) &&
1955 if (sc->cur_chan == avp->chanctx) {
[all...]
H A Dbeacon.c294 avp->chanctx->tsf_val += tsfadjust;
295 if (sc->cur_chan == avp->chanctx) {
296 offset = ath9k_hw_get_tsf_offset(&avp->chanctx->tsf_ts, NULL);
297 ath9k_hw_settsf64(sc->sc_ah, avp->chanctx->tsf_val + offset);
647 ctx = avp->chanctx;
H A Dath9k.h447 for (ctx = &sc->chanctx[0]; \
448 ctx <= &sc->chanctx[ARRAY_SIZE(sc->chanctx) - 1]; \
639 struct ath_chanctx *chanctx; member in struct:ath_vif
1031 struct ath_chanctx chanctx[ATH9K_NUM_CHANCTX]; member in struct:ath_softc
H A Dchannel.c117 ctx = &sc->chanctx[i];
329 int idx = ctx - &sc->chanctx[0];
331 return &sc->chanctx[!idx];
356 /* Adjust the TSF time of the AP chanctx to keep its beacons
357 * at half beacon interval offset relative to the STA chanctx.
385 "Setup chanctx timer with timeout: %d (%d) ms\n",
405 * chanctx, stay on the STA channel for one extra beacon period,
529 if (avp->chanctx != sc->cur_chan) {
548 "Set next context, move chanctx state to WAIT_FOR_BEACON\n");
555 "Move chanctx stat
[all...]
H A Dinit.c732 sc->cur_chan = &sc->chanctx[0];
/linux-master/net/mac80211/
H A Dchan.c531 /* check if min chanctx also changed */
777 struct ieee80211_chanctx *chanctx)
783 radar_enabled = ieee80211_chanctx_radar_required(local, chanctx);
785 if (radar_enabled == chanctx->conf.radar_enabled)
788 chanctx->conf.radar_enabled = radar_enabled;
790 drv_change_chanctx(local, chanctx, IEEE80211_CHANCTX_CHANGE_RADAR);
873 struct ieee80211_chanctx *chanctx)
901 if (rcu_access_pointer(link->conf->chanctx_conf) != &chanctx->conf)
930 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &chanctx->conf)
933 if (rx_chains_static == chanctx
776 ieee80211_recalc_radar_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *chanctx) argument
872 ieee80211_recalc_smps_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *chanctx) argument
[all...]
H A Dutil.c2263 struct ieee80211_chanctx *chanctx; local
2279 chanctx = container_of(chanctx_conf, struct ieee80211_chanctx, conf);
2280 ieee80211_recalc_smps_chanctx(local, chanctx);
2288 struct ieee80211_chanctx *chanctx; local
2321 chanctx = container_of(chanctx_conf, struct ieee80211_chanctx,
2323 ieee80211_recalc_chanctx_min_def(local, chanctx, NULL);
H A Dcfg.c3937 struct ieee80211_chanctx *chanctx; local
3980 chanctx = container_of(conf, struct ieee80211_chanctx, conf);
3993 chanctx->mode,
3999 err = ieee80211_check_combinations(sdata, NULL, chanctx->mode, 0);
H A Dieee80211_i.h2576 struct ieee80211_chanctx *chanctx);
H A Dmlme.c2024 struct ieee80211_chanctx *chanctx; local
2141 chanctx = container_of(conf, struct ieee80211_chanctx, conf);
2156 chanctx->mode, false);
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtdls.c383 struct ieee80211_chanctx_conf *chanctx = local
386 if (WARN_ON_ONCE(!chanctx)) {
391 chandef = &chanctx->def;
H A Dmac-ctxt.c418 struct ieee80211_chanctx_conf *chanctx; local
422 chanctx = rcu_dereference(link_conf->chanctx_conf);
423 iwl_mvm_ack_rates(mvm, vif, chanctx ? chanctx->def.chan->band
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dcore.h264 struct ieee80211_chanctx_conf chanctx; member in struct:ath12k_vif
H A Dmac.c6240 "mac chanctx add freq %u width %d ptr %pK\n",
6268 "mac chanctx remove freq %u width %d ptr %pK\n",
6525 "mac chanctx switch vdev_id %i freq %u->%u width %d->%d\n",
6650 "mac chanctx change freq %u width %d ptr %pK changed %x\n",
6680 ret = ath12k_mac_vdev_start(arvif, &arvif->chanctx);
6684 arvif->chanctx.def.chan->center_freq, ret);
6721 "mac chanctx assign ptr %pK vdev_id %i\n",
6731 memcpy(&arvif->chanctx, ctx, sizeof(*ctx));
6803 "mac chanctx unassign ptr %pK vdev_id %i\n",
6857 "mac chanctx switc
[all...]
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dcore.h406 struct ieee80211_chanctx_conf chanctx; member in struct:ath11k_vif
H A Dmac.c6939 "chanctx add freq %u width %d ptr %p\n",
6963 "chanctx remove freq %u width %d ptr %p\n",
7066 ath11k_mac_fill_reg_tpc_info(ar, arvif->vif, &arvif->chanctx);
7328 "chanctx change freq %u width %d ptr %p changed %x\n",
7358 ret = ath11k_mac_vdev_start(arvif, &arvif->chanctx);
7362 arvif->chanctx.def.chan->center_freq, ret);
7905 "chanctx assign ptr %p vdev_id %i\n",
7914 ath11k_dbg(ab, ATH11K_DBG_MAC, "chanctx power type %d\n", power_type);
7922 arvif->chanctx = *ctx;
7931 memcpy(&arvif->chanctx, ct
[all...]
/linux-master/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c1635 struct ieee80211_chanctx_conf *chanctx; local
1641 chanctx = rcu_dereference(conf->chanctx_conf);
1642 if (!chanctx)
1645 if (!hwsim_chans_compat(data->channel, chanctx->def.chan))

Completed in 653 milliseconds