Lines Matching refs:sparm

515 	if (!parse_addr(phy_addr, local->sparm.b4.a_mac_addr)) {  in ray_init()
516 memcpy(&local->sparm.b4.a_mac_addr, in ray_init()
543 memcpy_toio(local->sram + HOST_TO_ECF_BASE, &local->sparm.b4, in dl_startup_params()
546 memcpy_toio(local->sram + HOST_TO_ECF_BASE, &local->sparm.b5, in dl_startup_params()
597 memcpy(&local->sparm.b4, b4_default_startup_parms, in init_startup_params()
602 local->sparm.b4.a_hop_time[0] = (i >> 16) & 0xff; in init_startup_params()
603 local->sparm.b4.a_hop_time[1] = (i >> 8) & 0xff; in init_startup_params()
604 local->sparm.b4.a_beacon_period[0] = 0; in init_startup_params()
605 local->sparm.b4.a_beacon_period[1] = in init_startup_params()
607 local->sparm.b4.a_curr_country_code = country; in init_startup_params()
608 local->sparm.b4.a_hop_pattern_length = in init_startup_params()
611 local->sparm.b4.a_ack_timeout = 0x50; in init_startup_params()
612 local->sparm.b4.a_sifs = 0x3f; in init_startup_params()
615 memcpy((UCHAR *) &local->sparm.b5, b5_default_startup_parms, in init_startup_params()
618 local->sparm.b5.a_hop_time[0] = (hop_dwell >> 8) & 0xff; in init_startup_params()
619 local->sparm.b5.a_hop_time[1] = hop_dwell & 0xff; in init_startup_params()
620 local->sparm.b5.a_beacon_period[0] = in init_startup_params()
622 local->sparm.b5.a_beacon_period[1] = beacon_period & 0xff; in init_startup_params()
624 local->sparm.b5.a_power_mgt_state = 1; in init_startup_params()
625 local->sparm.b5.a_curr_country_code = country; in init_startup_params()
626 local->sparm.b5.a_hop_pattern_length = in init_startup_params()
630 local->sparm.b4.a_network_type = net_type & 0x01; in init_startup_params()
631 local->sparm.b4.a_acting_as_ap_status = TYPE_STA; in init_startup_params()
634 strncpy(local->sparm.b4.a_current_ess_id, essid, ESSID_SIZE); in init_startup_params()
672 if (local->sparm.b4.a_network_type == ADHOC) in verify_dl_startup()
806 memcpy(dev->dev_addr, &local->sparm.b4.a_mac_addr, ADDRLEN); in ray_dev_init()
999 if (local->sparm.b4.a_acting_as_ap_status) { in ray_build_header()
1049 local->sparm.b5.a_hop_pattern = wrqu->freq.m; in ray_set_freq()
1063 wrqu->freq.m = local->sparm.b5.a_hop_pattern; in ray_get_freq()
1091 memset(local->sparm.b5.a_current_ess_id, 0, IW_ESSID_MAX_SIZE); in ray_set_essid()
1092 memcpy(local->sparm.b5.a_current_ess_id, extra, wrqu->essid.length); in ray_set_essid()
1108 memcpy(extra, local->sparm.b5.a_current_ess_id, IW_ESSID_MAX_SIZE); in ray_get_essid()
1109 memcpy(tmp, local->sparm.b5.a_current_ess_id, IW_ESSID_MAX_SIZE); in ray_get_essid()
1200 local->sparm.b5.a_rts_threshold[0] = (rthr >> 8) & 0xFF; in ray_set_rts()
1201 local->sparm.b5.a_rts_threshold[1] = rthr & 0xFF; in ray_set_rts()
1215 wrqu->rts.value = (local->sparm.b5.a_rts_threshold[0] << 8) in ray_get_rts()
1216 + local->sparm.b5.a_rts_threshold[1]; in ray_get_rts()
1244 local->sparm.b5.a_frag_threshold[0] = (fthr >> 8) & 0xFF; in ray_set_frag()
1245 local->sparm.b5.a_frag_threshold[1] = fthr & 0xFF; in ray_set_frag()
1259 wrqu->frag.value = (local->sparm.b5.a_frag_threshold[0] << 8) in ray_get_frag()
1260 + local->sparm.b5.a_frag_threshold[1]; in ray_get_frag()
1287 local->sparm.b5.a_network_type = card_mode; in ray_set_mode()
1305 if (local->sparm.b5.a_network_type) in ray_get_mode()
1403 && (local->sparm.b5.a_network_type == 0)) { in ray_get_wireless_stats()
1804 if (local->sparm.b5.a_promiscuous_mode == 0) { in set_multicast_list()
1806 local->sparm.b5.a_promiscuous_mode = 1; in set_multicast_list()
1812 if (local->sparm.b5.a_promiscuous_mode == 1) { in set_multicast_list()
1814 local->sparm.b5.a_promiscuous_mode = 0; in set_multicast_list()
1904 memcpy(memtmp, local->sparm.b4.a_current_ess_id, in ray_interrupt()
1933 && !(local->sparm.b4.a_acting_as_ap_status)) { in ray_interrupt()
2010 if (local->sparm.b4.a_network_type == ADHOC) { in ray_interrupt()
2436 if (local->sparm.b4.a_network_type == ADHOC) { in rx_authenticate()
2591 c[i] = local->sparm.b5.a_current_ess_id[i]; in ray_cs_proc_show()
2594 nettype[local->sparm.b5.a_network_type], c); in ray_cs_proc_show()
2600 local->sparm.b5.a_curr_country_code); in ray_cs_proc_show()
2696 memcpy_toio(ptx->mac.addr_2, local->sparm.b4.a_mac_addr, ADDRLEN); in build_auth_frame()