Lines Matching defs:chanctx_conf

1127 	struct ieee80211_chanctx_conf *chanctx_conf;
1194 if (vif->chanctx_conf != NULL) {
1195 chanctx_conf = vif->chanctx_conf;
1196 lchanctx = CHANCTX_CONF_TO_LCHANCTX(chanctx_conf);
1202 chanctx_conf = &lchanctx->chanctx_conf;
1205 chanctx_conf->rx_chains_dynamic = 1;
1206 chanctx_conf->rx_chains_static = 1;
1207 chanctx_conf->radar_enabled =
1209 chanctx_conf->def.chan = chan;
1210 chanctx_conf->def.width = NL80211_CHAN_WIDTH_20_NOHT;
1211 chanctx_conf->def.center_freq1 = chan->center_freq;
1212 chanctx_conf->def.center_freq2 = 0;
1219 chanctx_conf->def.width = NL80211_CHAN_WIDTH_40;
1221 chanctx_conf->def.width = NL80211_CHAN_WIDTH_20;
1228 chanctx_conf->def.width = NL80211_CHAN_WIDTH_80P80;
1229 chanctx_conf->def.center_freq2 = 0; /* XXX */
1233 chanctx_conf->def.width = NL80211_CHAN_WIDTH_160;
1235 chanctx_conf->def.width = NL80211_CHAN_WIDTH_80;
1239 chanctx_conf->min_def.chan = chan;
1240 chanctx_conf->min_def.width = NL80211_CHAN_WIDTH_20_NOHT;
1241 chanctx_conf->min_def.center_freq1 = chan->center_freq;
1242 chanctx_conf->min_def.center_freq2 = 0;
1263 if (vif->chanctx_conf != NULL) {
1268 lkpi_80211_mo_change_chanctx(hw, chanctx_conf, changed);
1270 error = lkpi_80211_mo_add_chanctx(hw, chanctx_conf);
1272 vif->bss_conf.chanreq.oper.chan = chanctx_conf->def.chan;
1273 vif->bss_conf.chanreq.oper.width = chanctx_conf->def.width;
1275 chanctx_conf->def.center_freq1;
1286 chanctx_conf->def.center_freq2;
1293 vif->bss_conf.chanctx_conf = chanctx_conf;
1298 &vif->bss_conf, chanctx_conf);
1304 lkpi_80211_mo_remove_chanctx(hw, chanctx_conf);
1305 lchanctx = CHANCTX_CONF_TO_LCHANCTX(chanctx_conf);
1539 if (vif->chanctx_conf != NULL) {
1541 struct ieee80211_chanctx_conf *chanctx_conf;
1543 chanctx_conf = vif->chanctx_conf;
1545 lkpi_80211_mo_unassign_vif_chanctx(hw, vif, &vif->bss_conf, &vif->chanctx_conf);
1546 /* NB: vif->chanctx_conf is NULL now. */
1551 lkpi_80211_mo_remove_chanctx(hw, chanctx_conf);
1552 lchanctx = CHANCTX_CONF_TO_LCHANCTX(chanctx_conf);
1883 if (vif->chanctx_conf != NULL) {
1885 struct ieee80211_chanctx_conf *chanctx_conf;
1887 chanctx_conf = vif->chanctx_conf;
1889 lkpi_80211_mo_unassign_vif_chanctx(hw, vif, &vif->bss_conf, &vif->chanctx_conf);
1890 /* NB: vif->chanctx_conf is NULL now. */
1895 lkpi_80211_mo_remove_chanctx(hw, chanctx_conf);
1896 lchanctx = CHANCTX_CONF_TO_LCHANCTX(chanctx_conf);
2464 if (vif->chanctx_conf != NULL) {
2466 struct ieee80211_chanctx_conf *chanctx_conf;
2468 chanctx_conf = vif->chanctx_conf;
2470 lkpi_80211_mo_unassign_vif_chanctx(hw, vif, &vif->bss_conf, &vif->chanctx_conf);
2471 /* NB: vif->chanctx_conf is NULL now. */
2476 lkpi_80211_mo_remove_chanctx(hw, chanctx_conf);
2477 lchanctx = CHANCTX_CONF_TO_LCHANCTX(chanctx_conf);
2836 vif->chanctx_conf = NULL;
5112 if (vif->chanctx_conf == NULL)
5115 lchanctx = CHANCTX_CONF_TO_LCHANCTX(vif->chanctx_conf);
5119 iterfunc(hw, &lchanctx->chanctx_conf, arg);