• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/uwb/wlp/

Lines Matching refs:result

11 	size_t result;
13 result = scnprintf(buf, bufsize,
21 return result;
28 * The WSSID hash for a WSSID is the result of an octet-wise exclusive-OR
86 int result;
88 result = kobject_set_name(&wss->kobj, "wss-%s", wssid_str);
89 if (result < 0)
90 return result;
92 result = kobject_init_and_add(&wss->kobj,
94 if (result < 0) {
98 result = sysfs_create_group(&wss->kobj, &wss_attr_group);
99 if (result < 0) {
101 result);
108 return result;
113 return result;
155 int result = -ENXIO;
162 result = wlp_enroll_neighbor(wlp, neighbor, wss, wssid);
166 if (result == -ENXIO)
170 return result;
189 int result = -ENXIO;
196 result = wlp_enroll_neighbor(wlp, neighbor,
198 if (result == 0) /* enrollment success */
205 if (result == -ENXIO) {
210 return result;
227 int result;
237 result = -EEXIST;
241 result = wlp_wss_enroll_discovered(wss, wssid);
243 result = wlp_wss_enroll_target(wss, wssid, devaddr);
244 if (result < 0) {
245 dev_err(dev, "WLP: Unable to enroll into WSS %s, result %d \n",
246 buf, result);
250 result = wlp_wss_sysfs_add(wss, buf);
251 if (result < 0) {
256 return result;
279 int result;
293 result = uwb_rc_ie_add(uwb_rc, &ie_data.wlp_ie.hdr,
295 if (result < 0) {
297 "result = %d.\n", result);
301 result = 0;
303 return result;
322 int result = 0;
326 result = wlp_wss_enroll(wss, wssid, devaddr);
327 if (result < 0) {
332 result = wlp_wss_activate(wss);
333 if (result < 0) {
335 "result = %d \n", result);
343 return result;
363 int result = 0;
366 result = wlp_wss_uuid_print(buf, sizeof(buf), wssid);
374 result = -EEXIST;
380 result = -ENXIO;
386 result = -EINVAL;
396 result = wlp_wss_sysfs_add(wss, buf);
397 if (result < 0) {
402 result = 0;
404 result = wlp_wss_activate(wss);
405 if (result < 0) {
411 result = 0;
414 return result;
433 int result = 0;
443 result = wlp_send_assoc_frame(wlp, wss, dev_addr, WLP_ASSOC_C1);
444 if (result < 0) {
447 dev_addr->data[0], result);
448 result = 0;
459 result = wait_for_completion_interruptible_timeout(&completion,
461 if (result == 0) {
467 if (result < 0) {
470 result = 0;
477 result = wlp_parse_f0(wlp, skb);
478 if (result < 0)
482 result = 0;
486 result = wlp_get_wssid(wlp, (void *)resp + sizeof(*resp), &wssid,
488 if (result < 0) {
490 result = 0;
494 result = 1;
498 result = 0;
505 return result;
524 int result = 0;
528 result = wlp_eda_update_node(&wlp->eda, dev_addr, wss,
531 if (result < 0)
536 result = -EINVAL;
538 return result;
551 int result;
563 result = wlp_send_assoc_frame(wlp, wss, dev_addr, WLP_ASSOC_C3);
564 if (result < 0) {
567 dev_addr->data[0], result);
578 result = wait_for_completion_interruptible_timeout(&completion,
580 if (result == 0) {
584 result = -ETIMEDOUT;
587 if (result < 0) {
596 result = wlp_parse_f0(wlp, skb);
597 if (result < 0)
601 result = -EINVAL;
604 result = wlp_parse_c3c4_frame(wlp, skb, &wssid, &tag, &virt_addr);
605 if (result < 0) {
609 result = wlp_wss_activate_connection(wlp, wss, dev_addr, &wssid, &tag,
611 if (result < 0) {
621 if (result < 0)
626 return result;
658 int result;
670 result = wlp_wss_connect_neighbor(wlp, wss, dev_addr);
671 if (result < 0) {
680 result = wlp_copy_eda_node(&wlp->eda, dev_addr, eda_entry);
681 if (result < 0) {
687 result = wlp_wss_prep_hdr(wlp, eda_entry, skb);
688 if (result < 0) {
697 result = wlp->xmit_frame(wlp, skb, dev_addr);
698 if (result < 0) {
701 result);
702 if (result == -ENXIO)
724 int result = 0;
745 result = -EINVAL;
747 return result;
764 int result = 0;
778 result = -ENOMEM;
786 result = 1;
793 result = -ENONET;
796 result = wlp_wss_prep_hdr(wlp, eda_entry, skb);
798 return result;
814 int result = -ENOMEM;
827 result = wlp_wss_connect_prep(wlp, eda_entry, copy);
828 if (result < 0) {
834 } else if (result == 1)
838 result = wlp->xmit_frame(wlp, copy, dev_addr);
839 if (result < 0) {
842 result);
843 if ((result == -ENXIO) && printk_ratelimit())
849 return result;
863 int result = 0;
870 result = -EINVAL;
877 return result;