Lines Matching refs:conf
603 static bool wl1251_can_do_pm(struct ieee80211_conf *conf, struct wl1251 *wl) in wl1251_can_do_pm() argument
605 return (conf->flags & IEEE80211_CONF_PS) && !wl->monitor_present; in wl1251_can_do_pm()
611 struct ieee80211_conf *conf = &hw->conf; in wl1251_op_config() local
615 conf->chandef.chan->center_freq); in wl1251_op_config()
620 conf->flags & IEEE80211_CONF_MONITOR ? "on" : "off", in wl1251_op_config()
621 conf->flags & IEEE80211_CONF_PS ? "on" : "off", in wl1251_op_config()
622 conf->power_level); in wl1251_op_config()
633 if (conf->flags & IEEE80211_CONF_MONITOR) { in wl1251_op_config()
667 if (wl1251_can_do_pm(conf, wl) && !wl->psm_requested) { in wl1251_op_config()
672 wl->dtim_period = conf->ps_dtim_period; in wl1251_op_config()
683 } else if (!wl1251_can_do_pm(conf, wl) && wl->psm_requested) { in wl1251_op_config()
696 if (conf->flags & IEEE80211_CONF_IDLE) { in wl1251_op_config()
711 if (conf->power_level != wl->power_level) { in wl1251_op_config()
712 ret = wl1251_acx_tx_power(wl, conf->power_level); in wl1251_op_config()
716 wl->power_level = conf->power_level; in wl1251_op_config()
1018 if (hw->conf.flags & IEEE80211_CONF_IDLE) { in wl1251_op_hw_scan()
1059 if (hw->conf.flags & IEEE80211_CONF_IDLE) in wl1251_op_hw_scan()
1349 struct ieee80211_conf *conf = &hw->conf; in wl1251_op_get_survey() local
1354 survey->channel = conf->chandef.chan; in wl1251_op_get_survey()