Lines Matching refs:ccfg
1356 struct at76_card_config *ccfg = &priv->card_config; in at76_startup_device() local
1384 memset(ccfg, 0, sizeof(struct at76_card_config)); in at76_startup_device()
1385 ccfg->promiscuous_mode = 0; in at76_startup_device()
1386 ccfg->short_retry_limit = priv->short_retry_limit; in at76_startup_device()
1390 ccfg->encryption_type = 2; in at76_startup_device()
1392 ccfg->encryption_type = 1; in at76_startup_device()
1395 ccfg->exclude_unencrypted = 1; in at76_startup_device()
1397 ccfg->exclude_unencrypted = 0; in at76_startup_device()
1398 ccfg->encryption_type = 0; in at76_startup_device()
1401 ccfg->rts_threshold = cpu_to_le16(priv->rts_threshold); in at76_startup_device()
1402 ccfg->fragmentation_threshold = cpu_to_le16(priv->frag_threshold); in at76_startup_device()
1404 memcpy(ccfg->basic_rate_set, hw_rates, 4); in at76_startup_device()
1406 ccfg->auto_rate_fallback = (priv->txrate == TX_RATE_AUTO ? 1 : 0); in at76_startup_device()
1407 ccfg->channel = priv->channel; in at76_startup_device()
1408 ccfg->privacy_invoked = priv->wep_enabled; in at76_startup_device()
1409 memcpy(ccfg->current_ssid, priv->essid, IW_ESSID_MAX_SIZE); in at76_startup_device()
1410 ccfg->ssid_len = priv->essid_size; in at76_startup_device()
1412 ccfg->wep_default_key_id = priv->wep_key_id; in at76_startup_device()
1413 memcpy(ccfg->wep_default_key_value, priv->wep_keys, in at76_startup_device()
1416 ccfg->short_preamble = priv->preamble_type; in at76_startup_device()
1417 ccfg->beacon_period = cpu_to_le16(priv->beacon_period); in at76_startup_device()