Lines Matching refs:sig

369 static int wl3501_esbq_exec(struct wl3501_card *this, void *sig, int sig_size)  in wl3501_esbq_exec()  argument
376 wl3501_set_to_wla(this, ptr, sig, sig_size); in wl3501_esbq_exec()
386 struct wl3501_get_req sig = { in wl3501_request_mib() local
395 u16 ptr = wl3501_get_tx_buffer(this, sizeof(sig)); in wl3501_request_mib()
397 wl3501_set_to_wla(this, ptr, &sig, sizeof(sig)); in wl3501_request_mib()
428 struct wl3501_pwr_mgmt_req sig = { in wl3501_pwr_mgmt() local
439 u16 ptr = wl3501_get_tx_buffer(this, sizeof(sig)); in wl3501_pwr_mgmt()
441 wl3501_set_to_wla(this, ptr, &sig, sizeof(sig)); in wl3501_pwr_mgmt()
469 struct wl3501_md_req sig = { in wl3501_send_pkt() local
472 size_t sig_addr_len = sizeof(sig.addr); in wl3501_send_pkt()
477 sig_bf = wl3501_get_tx_buffer(this, sizeof(sig)); in wl3501_send_pkt()
488 memcpy(&sig.addr, pdata, sig_addr_len); in wl3501_send_pkt()
491 sig.data = bf; in wl3501_send_pkt()
500 sig.size = pktlen + 24 + 4 + 6; in wl3501_send_pkt()
515 sig.size = pktlen + 24 + 4 - 2; in wl3501_send_pkt()
545 wl3501_set_to_wla(this, sig_bf, &sig, sizeof(sig)); in wl3501_send_pkt()
554 struct wl3501_resync_req sig = { in wl3501_mgmt_resync() local
558 return wl3501_esbq_exec(this, &sig, sizeof(sig)); in wl3501_mgmt_resync()
575 struct wl3501_scan_req sig = { in wl3501_mgmt_scan() local
585 return wl3501_esbq_exec(this, &sig, sizeof(sig)); in wl3501_mgmt_scan()
590 struct wl3501_join_req sig = { in wl3501_mgmt_join() local
602 memcpy(&sig.req, &this->bss_set[stas].req, sizeof(sig.req)); in wl3501_mgmt_join()
603 return wl3501_esbq_exec(this, &sig, sizeof(sig)); in wl3501_mgmt_join()
608 struct wl3501_start_req sig = { in wl3501_mgmt_start() local
654 iw_copy_mgmt_info_element(&sig.ssid.el, &this->essid.el); in wl3501_mgmt_start()
656 return wl3501_esbq_exec(this, &sig, sizeof(sig)); in wl3501_mgmt_start()
663 struct wl3501_scan_confirm sig; in wl3501_mgmt_scan_confirm() local
666 wl3501_get_from_wla(this, addr, &sig, sizeof(sig)); in wl3501_mgmt_scan_confirm()
667 if (sig.status == WL3501_STATUS_SUCCESS) { in wl3501_mgmt_scan_confirm()
670 (sig.req.cap_info & WL3501_MGMT_CAPABILITY_ESS)) || in wl3501_mgmt_scan_confirm()
672 (sig.req.cap_info & WL3501_MGMT_CAPABILITY_IBSS)) || in wl3501_mgmt_scan_confirm()
679 else if (this->essid.el.len != sig.req.ssid.el.len) in wl3501_mgmt_scan_confirm()
681 else if (memcmp(this->essid.essid, sig.req.ssid.essid, in wl3501_mgmt_scan_confirm()
689 sig.req.bssid)) { in wl3501_mgmt_scan_confirm()
697 &sig.req, sizeof(sig.req)); in wl3501_mgmt_scan_confirm()
699 this->rssi = sig.rssi; in wl3501_mgmt_scan_confirm()
700 this->bss_set[i].rssi = sig.rssi; in wl3501_mgmt_scan_confirm()
703 } else if (sig.status == WL3501_STATUS_TIMEOUT) { in wl3501_mgmt_scan_confirm()
855 struct wl3501_auth_req sig = { in wl3501_mgmt_auth() local
862 memcpy(sig.mac_addr, this->bssid, ETH_ALEN); in wl3501_mgmt_auth()
863 return wl3501_esbq_exec(this, &sig, sizeof(sig)); in wl3501_mgmt_auth()
868 struct wl3501_assoc_req sig = { in wl3501_mgmt_association() local
876 memcpy(sig.mac_addr, this->bssid, ETH_ALEN); in wl3501_mgmt_association()
877 return wl3501_esbq_exec(this, &sig, sizeof(sig)); in wl3501_mgmt_association()
883 struct wl3501_join_confirm sig; in wl3501_mgmt_join_confirm() local
886 wl3501_get_from_wla(this, addr, &sig, sizeof(sig)); in wl3501_mgmt_join_confirm()
887 if (sig.status == WL3501_STATUS_SUCCESS) { in wl3501_mgmt_join_confirm()
942 struct wl3501_md_confirm sig; in wl3501_md_confirm_interrupt() local
945 wl3501_get_from_wla(this, addr, &sig, sizeof(sig)); in wl3501_md_confirm_interrupt()
946 wl3501_free_tx_buffer(this, sig.data); in wl3501_md_confirm_interrupt()
954 struct wl3501_md_ind sig; in wl3501_md_ind_interrupt() local
959 wl3501_get_from_wla(this, addr, &sig, sizeof(sig)); in wl3501_md_ind_interrupt()
960 this->start_seg = sig.data; in wl3501_md_ind_interrupt()
962 sig.data + offsetof(struct wl3501_rx_hdr, rssi), in wl3501_md_ind_interrupt()
967 sig.data + in wl3501_md_ind_interrupt()
975 pkt_len = sig.size + 12 - 24 - 4 - 6; in wl3501_md_ind_interrupt()
986 skb_copy_to_linear_data(skb, (unsigned char *)&sig.addr, in wl3501_md_ind_interrupt()
987 sizeof(sig.addr)); in wl3501_md_ind_interrupt()
998 u16 addr, void *sig, int size) in wl3501_get_confirm_interrupt() argument
1010 struct wl3501_start_confirm sig; in wl3501_start_confirm_interrupt() local
1013 wl3501_get_from_wla(this, addr, &sig, sizeof(sig)); in wl3501_start_confirm_interrupt()
1014 if (sig.status == WL3501_STATUS_SUCCESS) in wl3501_start_confirm_interrupt()
1022 struct wl3501_assoc_confirm sig; in wl3501_assoc_confirm_interrupt() local
1025 wl3501_get_from_wla(this, addr, &sig, sizeof(sig)); in wl3501_assoc_confirm_interrupt()
1027 if (sig.status == WL3501_STATUS_SUCCESS) in wl3501_assoc_confirm_interrupt()
1034 struct wl3501_auth_confirm sig; in wl3501_auth_confirm_interrupt() local
1037 wl3501_get_from_wla(this, addr, &sig, sizeof(sig)); in wl3501_auth_confirm_interrupt()
1039 if (sig.status == WL3501_STATUS_SUCCESS) in wl3501_auth_confirm_interrupt()