Lines Matching defs:conf
24 struct rt2x00intf_conf conf;
27 conf.type = type;
31 conf.sync = TSF_SYNC_ADHOC;
36 conf.sync = TSF_SYNC_AP_NONE;
39 conf.sync = TSF_SYNC_INFRA;
42 conf.sync = TSF_SYNC_NONE;
52 memset(conf.mac, 0, sizeof(conf.mac));
54 memcpy(conf.mac, mac, ETH_ALEN);
56 memset(conf.bssid, 0, sizeof(conf.bssid));
58 memcpy(conf.bssid, bssid, ETH_ALEN);
66 rt2x00dev->ops->lib->config_intf(rt2x00dev, intf, &conf, flags);
165 struct ieee80211_conf *conf)
174 center_channel = spec->channels[conf->chandef.chan->hw_value].channel;
179 if (conf_is_ht40_plus(conf))
181 else if (conf_is_ht40_minus(conf))
189 return conf->chandef.chan->hw_value;
193 struct ieee80211_conf *conf,
204 libconf.conf = conf;
207 if (!conf_is_ht(conf))
212 if (conf_is_ht40(conf)) {
214 hw_value = rt2x00ht_center_channel(rt2x00dev, conf);
217 hw_value = conf->chandef.chan->hw_value;
241 if (conf->flags & IEEE80211_CONF_PS)
246 if (conf->flags & IEEE80211_CONF_MONITOR)
251 rt2x00dev->curr_band = conf->chandef.chan->band;
252 rt2x00dev->curr_freq = conf->chandef.chan->center_freq;
253 rt2x00dev->tx_power = conf->power_level;
254 rt2x00dev->short_retry = conf->short_frame_max_tx_count;
255 rt2x00dev->long_retry = conf->long_frame_max_tx_count;
267 (conf->flags & IEEE80211_CONF_PS)) {
274 autowake_timeout = (conf->ps_dtim_period * beacon_int) - beacon_diff;