Lines Matching refs:sparm

503 	if (!parse_addr(phy_addr, local->sparm.b4.a_mac_addr)) {  in ray_init()
504 memcpy(&local->sparm.b4.a_mac_addr, in ray_init()
531 memcpy_toio(local->sram + HOST_TO_ECF_BASE, &local->sparm.b4, in dl_startup_params()
534 memcpy_toio(local->sram + HOST_TO_ECF_BASE, &local->sparm.b5, in dl_startup_params()
585 memcpy(&local->sparm.b4, b4_default_startup_parms, in init_startup_params()
590 local->sparm.b4.a_hop_time[0] = (i >> 16) & 0xff; in init_startup_params()
591 local->sparm.b4.a_hop_time[1] = (i >> 8) & 0xff; in init_startup_params()
592 local->sparm.b4.a_beacon_period[0] = 0; in init_startup_params()
593 local->sparm.b4.a_beacon_period[1] = in init_startup_params()
595 local->sparm.b4.a_curr_country_code = country; in init_startup_params()
596 local->sparm.b4.a_hop_pattern_length = in init_startup_params()
599 local->sparm.b4.a_ack_timeout = 0x50; in init_startup_params()
600 local->sparm.b4.a_sifs = 0x3f; in init_startup_params()
603 memcpy((UCHAR *) &local->sparm.b5, b5_default_startup_parms, in init_startup_params()
606 local->sparm.b5.a_hop_time[0] = (hop_dwell >> 8) & 0xff; in init_startup_params()
607 local->sparm.b5.a_hop_time[1] = hop_dwell & 0xff; in init_startup_params()
608 local->sparm.b5.a_beacon_period[0] = in init_startup_params()
610 local->sparm.b5.a_beacon_period[1] = beacon_period & 0xff; in init_startup_params()
612 local->sparm.b5.a_power_mgt_state = 1; in init_startup_params()
613 local->sparm.b5.a_curr_country_code = country; in init_startup_params()
614 local->sparm.b5.a_hop_pattern_length = in init_startup_params()
618 local->sparm.b4.a_network_type = net_type & 0x01; in init_startup_params()
619 local->sparm.b4.a_acting_as_ap_status = TYPE_STA; in init_startup_params()
622 strncpy(local->sparm.b4.a_current_ess_id, essid, ESSID_SIZE); in init_startup_params()
660 if (local->sparm.b4.a_network_type == ADHOC) in verify_dl_startup()
794 memcpy(dev->dev_addr, &local->sparm.b4.a_mac_addr, ADDRLEN); in ray_dev_init()
989 if (local->sparm.b4.a_acting_as_ap_status) { in ray_build_header()
1039 local->sparm.b5.a_hop_pattern = wrqu->freq.m; in ray_set_freq()
1053 wrqu->freq.m = local->sparm.b5.a_hop_pattern; in ray_get_freq()
1081 memset(local->sparm.b5.a_current_ess_id, 0, IW_ESSID_MAX_SIZE); in ray_set_essid()
1082 memcpy(local->sparm.b5.a_current_ess_id, extra, wrqu->essid.length); in ray_set_essid()
1098 memcpy(extra, local->sparm.b5.a_current_ess_id, IW_ESSID_MAX_SIZE); in ray_get_essid()
1099 memcpy(tmp, local->sparm.b5.a_current_ess_id, IW_ESSID_MAX_SIZE); in ray_get_essid()
1190 local->sparm.b5.a_rts_threshold[0] = (rthr >> 8) & 0xFF; in ray_set_rts()
1191 local->sparm.b5.a_rts_threshold[1] = rthr & 0xFF; in ray_set_rts()
1205 wrqu->rts.value = (local->sparm.b5.a_rts_threshold[0] << 8) in ray_get_rts()
1206 + local->sparm.b5.a_rts_threshold[1]; in ray_get_rts()
1234 local->sparm.b5.a_frag_threshold[0] = (fthr >> 8) & 0xFF; in ray_set_frag()
1235 local->sparm.b5.a_frag_threshold[1] = fthr & 0xFF; in ray_set_frag()
1249 wrqu->frag.value = (local->sparm.b5.a_frag_threshold[0] << 8) in ray_get_frag()
1250 + local->sparm.b5.a_frag_threshold[1]; in ray_get_frag()
1277 local->sparm.b5.a_network_type = card_mode; in ray_set_mode()
1295 if (local->sparm.b5.a_network_type) in ray_get_mode()
1393 && (local->sparm.b5.a_network_type == 0)) { in ray_get_wireless_stats()
1794 if (local->sparm.b5.a_promiscuous_mode == 0) { in set_multicast_list()
1796 local->sparm.b5.a_promiscuous_mode = 1; in set_multicast_list()
1802 if (local->sparm.b5.a_promiscuous_mode == 1) { in set_multicast_list()
1804 local->sparm.b5.a_promiscuous_mode = 0; in set_multicast_list()
1894 memcpy(memtmp, local->sparm.b4.a_current_ess_id, in ray_interrupt()
1923 && !(local->sparm.b4.a_acting_as_ap_status)) { in ray_interrupt()
2000 if (local->sparm.b4.a_network_type == ADHOC) { in ray_interrupt()
2426 if (local->sparm.b4.a_network_type == ADHOC) { in rx_authenticate()
2581 c[i] = local->sparm.b5.a_current_ess_id[i]; in ray_cs_proc_show()
2584 nettype[local->sparm.b5.a_network_type], c); in ray_cs_proc_show()
2590 local->sparm.b5.a_curr_country_code); in ray_cs_proc_show()
2686 memcpy_toio(ptx->mac.addr_2, local->sparm.b4.a_mac_addr, ADDRLEN); in build_auth_frame()