Lines Matching defs:ccfg
1370 struct at76_card_config *ccfg = &priv->card_config;
1398 memset(ccfg, 0, sizeof(struct at76_card_config));
1399 ccfg->promiscuous_mode = 0;
1400 ccfg->short_retry_limit = priv->short_retry_limit;
1404 ccfg->encryption_type = 2;
1406 ccfg->encryption_type = 1;
1409 ccfg->exclude_unencrypted = 1;
1411 ccfg->exclude_unencrypted = 0;
1412 ccfg->encryption_type = 0;
1415 ccfg->rts_threshold = cpu_to_le16(priv->rts_threshold);
1416 ccfg->fragmentation_threshold = cpu_to_le16(priv->frag_threshold);
1418 memcpy(ccfg->basic_rate_set, hw_rates, 4);
1420 ccfg->auto_rate_fallback = (priv->txrate == TX_RATE_AUTO ? 1 : 0);
1421 ccfg->channel = priv->channel;
1422 ccfg->privacy_invoked = priv->wep_enabled;
1423 memcpy(ccfg->current_ssid, priv->essid, IW_ESSID_MAX_SIZE);
1424 ccfg->ssid_len = priv->essid_size;
1426 ccfg->wep_default_key_id = priv->wep_key_id;
1427 memcpy(ccfg->wep_default_key_value, priv->wep_keys,
1430 ccfg->short_preamble = priv->preamble_type;
1431 ccfg->beacon_period = cpu_to_le16(priv->beacon_period);