Lines Matching defs:conf
24 struct rt2x00intf_conf conf;
27 conf.type = type;
31 conf.sync = TSF_SYNC_ADHOC;
35 conf.sync = TSF_SYNC_AP_NONE;
38 conf.sync = TSF_SYNC_INFRA;
41 conf.sync = TSF_SYNC_NONE;
51 memset(conf.mac, 0, sizeof(conf.mac));
53 memcpy(conf.mac, mac, ETH_ALEN);
55 memset(conf.bssid, 0, sizeof(conf.bssid));
57 memcpy(conf.bssid, bssid, ETH_ALEN);
65 rt2x00dev->ops->lib->config_intf(rt2x00dev, intf, &conf, flags);
166 struct ieee80211_conf *conf)
175 center_channel = spec->channels[conf->chandef.chan->hw_value].channel;
180 if (conf_is_ht40_plus(conf))
182 else if (conf_is_ht40_minus(conf))
190 return conf->chandef.chan->hw_value;
194 struct ieee80211_conf *conf,
205 libconf.conf = conf;
208 if (!conf_is_ht(conf))
213 if (conf_is_ht40(conf)) {
215 hw_value = rt2x00ht_center_channel(rt2x00dev, conf);
218 hw_value = conf->chandef.chan->hw_value;
242 if (conf->flags & IEEE80211_CONF_PS)
247 if (conf->flags & IEEE80211_CONF_MONITOR)
252 rt2x00dev->curr_band = conf->chandef.chan->band;
253 rt2x00dev->curr_freq = conf->chandef.chan->center_freq;
254 rt2x00dev->tx_power = conf->power_level;
255 rt2x00dev->short_retry = conf->short_frame_max_tx_count;
256 rt2x00dev->long_retry = conf->long_frame_max_tx_count;
268 (conf->flags & IEEE80211_CONF_PS)) {
275 autowake_timeout = (conf->ps_dtim_period * beacon_int) - beacon_diff;