Lines Matching refs:ccfg
1350 struct at76_card_config *ccfg = &priv->card_config; in at76_startup_device() local
1378 memset(ccfg, 0, sizeof(struct at76_card_config)); in at76_startup_device()
1379 ccfg->promiscuous_mode = 0; in at76_startup_device()
1380 ccfg->short_retry_limit = priv->short_retry_limit; in at76_startup_device()
1384 ccfg->encryption_type = 2; in at76_startup_device()
1386 ccfg->encryption_type = 1; in at76_startup_device()
1389 ccfg->exclude_unencrypted = 1; in at76_startup_device()
1391 ccfg->exclude_unencrypted = 0; in at76_startup_device()
1392 ccfg->encryption_type = 0; in at76_startup_device()
1395 ccfg->rts_threshold = cpu_to_le16(priv->rts_threshold); in at76_startup_device()
1396 ccfg->fragmentation_threshold = cpu_to_le16(priv->frag_threshold); in at76_startup_device()
1398 memcpy(ccfg->basic_rate_set, hw_rates, 4); in at76_startup_device()
1400 ccfg->auto_rate_fallback = (priv->txrate == TX_RATE_AUTO ? 1 : 0); in at76_startup_device()
1401 ccfg->channel = priv->channel; in at76_startup_device()
1402 ccfg->privacy_invoked = priv->wep_enabled; in at76_startup_device()
1403 memcpy(ccfg->current_ssid, priv->essid, IW_ESSID_MAX_SIZE); in at76_startup_device()
1404 ccfg->ssid_len = priv->essid_size; in at76_startup_device()
1406 ccfg->wep_default_key_id = priv->wep_key_id; in at76_startup_device()
1407 memcpy(ccfg->wep_default_key_value, priv->wep_keys, in at76_startup_device()
1410 ccfg->short_preamble = priv->preamble_type; in at76_startup_device()
1411 ccfg->beacon_period = cpu_to_le16(priv->beacon_period); in at76_startup_device()