Lines Matching defs:conf
1921 struct rt2x00intf_conf *conf, const unsigned int flags)
1931 rt2x00_set_field32(®, BCN_TIME_CFG_TSF_SYNC, conf->sync);
1934 if (conf->sync == TSF_SYNC_AP_NONE) {
1956 conf->sync == TSF_SYNC_AP_NONE) {
1961 memcpy(conf->bssid, conf->mac, sizeof(conf->mac));
1965 if (!is_zero_ether_addr((const u8 *)conf->mac)) {
1966 reg = le32_to_cpu(conf->mac[1]);
1968 conf->mac[1] = cpu_to_le32(reg);
1972 conf->mac, sizeof(conf->mac));
1976 if (!is_zero_ether_addr((const u8 *)conf->bssid)) {
1977 reg = le32_to_cpu(conf->bssid[1]);
1980 conf->bssid[1] = cpu_to_le32(reg);
1984 conf->bssid, sizeof(conf->bssid));
2349 struct ieee80211_conf *conf,
2391 rt2x00_set_field32(&rf->rf4, RF4_HT40, conf_is_ht40(conf));
2414 struct ieee80211_conf *conf,
2457 calib_tx = conf_is_ht40(conf) ? 0x68 : 0x4f;
2458 calib_rx = conf_is_ht40(conf) ? 0x6f : 0x4f;
2460 if (conf_is_ht40(conf)) {
2492 struct ieee80211_conf *conf,
2591 if (conf_is_ht40(conf)) {
2664 struct ieee80211_conf *conf,
2795 if (conf_is_ht40(conf)) {
2961 struct ieee80211_conf *conf,
3033 if (!conf_is_ht40(conf))
3044 if (conf_is_ht40(conf))
3169 struct ieee80211_conf *conf,
3206 struct ieee80211_conf *conf,
3254 struct ieee80211_conf *conf,
3352 struct ieee80211_conf *conf,
3366 (rf->channel > 14 || conf_is_ht40(conf)) ? 5 : 0);
3583 if (conf_is_ht40(conf))
3627 struct ieee80211_conf *conf,
3714 if (conf_is_ht40(conf)) {
3728 if (conf_is_ht40(conf)) {
3738 conf_is_ht40(conf) && (rf->channel == 11));
3742 if (conf_is_ht40(conf)) {
4014 struct ieee80211_conf *conf,
4043 rt2800_config_channel_rf3xxx(rt2x00dev, conf, rf, info);
4046 rt2800_config_channel_rf3052(rt2x00dev, conf, rf, info);
4049 rt2800_config_channel_rf3053(rt2x00dev, conf, rf, info);
4052 rt2800_config_channel_rf3290(rt2x00dev, conf, rf, info);
4055 rt2800_config_channel_rf3322(rt2x00dev, conf, rf, info);
4058 rt2800_config_channel_rf3853(rt2x00dev, conf, rf, info);
4068 rt2800_config_channel_rf53xx(rt2x00dev, conf, rf, info);
4071 rt2800_config_channel_rf55xx(rt2x00dev, conf, rf, info);
4074 rt2800_config_channel_rf7620(rt2x00dev, conf, rf, info);
4077 rt2800_config_channel_rf2xxx(rt2x00dev, conf, rf, info);
4093 conf_is_ht40(conf));
4095 conf_is_ht40(conf));
4098 conf_is_ht40(conf));
4100 conf_is_ht40(conf));
4132 if (conf_is_ht40(conf))
4200 rt2x00_set_field32(®, TX_BAND_CFG_HT40_MINUS, conf_is_ht40_minus(conf));
4321 if (!conf_is_ht40(conf))
4339 if (!conf_is_ht40(conf)) {
4363 rt2x00_set_field8(&bbp, BBP4_BANDWIDTH, 2 * conf_is_ht40(conf));
4367 rt2x00_set_field8(&bbp, BBP3_HT40_MINUS, conf_is_ht40_minus(conf));
4371 if (conf_is_ht40(conf)) {
5372 rt2800_config_txpower(rt2x00dev, rt2x00dev->hw->conf.chandef.chan,
5516 libconf->conf->short_frame_max_tx_count);
5518 libconf->conf->long_frame_max_tx_count);
5526 (libconf->conf->flags & IEEE80211_CONF_PS) ?
5536 libconf->conf->listen_interval - 1);
5560 rt2800_config_channel(rt2x00dev, libconf->conf,
5562 rt2800_config_txpower(rt2x00dev, libconf->conf->chandef.chan,
5563 libconf->conf->power_level);
5566 rt2800_config_txpower(rt2x00dev, libconf->conf->chandef.chan,
5567 libconf->conf->power_level);
10532 struct ieee80211_conf *conf = &hw->conf;
10538 survey->channel = conf->chandef.chan;
10554 if (!(hw->conf.flags & IEEE80211_CONF_OFFCHANNEL))