• Home
  • Raw
  • Download

Lines Matching refs:descr

456 	const struct iw_ioctl_description *	descr = NULL;  in wireless_send_event()  local
488 descr = &(standard_ioctl[cmd_index]); in wireless_send_event()
492 descr = &(standard_event[cmd_index]); in wireless_send_event()
495 if (descr == NULL) { in wireless_send_event()
509 if (descr->header_type == IW_HEADER_TYPE_POINT) { in wireless_send_event()
511 if (wrqu->data.length > descr->max_tokens) { in wireless_send_event()
516 if (wrqu->data.length < descr->min_tokens) { in wireless_send_event()
523 extra_len = wrqu->data.length * descr->token_size; in wireless_send_event()
529 hdr_len = event_type_size[descr->header_type]; in wireless_send_event()
584 hdr_len = compat_event_type_size[descr->header_type]; in wireless_send_event()
612 if (descr->header_type == IW_HEADER_TYPE_POINT) { in wireless_send_event()
718 const struct iw_ioctl_description *descr, in ioctl_standard_iw_point() argument
728 extra_size = descr->max_tokens * descr->token_size; in ioctl_standard_iw_point()
736 if (iwp->length == descr->max_tokens + 1) in ioctl_standard_iw_point()
741 len = iwp->length * descr->token_size; in ioctl_standard_iw_point()
766 if (iwp->length > descr->max_tokens) in ioctl_standard_iw_point()
768 if (iwp->length < descr->min_tokens) in ioctl_standard_iw_point()
783 if ((descr->flags & IW_DESCR_FLAG_NOMAX) && in ioctl_standard_iw_point()
784 (user_length > descr->max_tokens)) { in ioctl_standard_iw_point()
789 extra_size = user_length * descr->token_size; in ioctl_standard_iw_point()
808 descr->token_size)) { in ioctl_standard_iw_point()
823 if (IW_IS_GET(cmd) && !(descr->flags & IW_DESCR_FLAG_NOMAX)) { in ioctl_standard_iw_point()
836 iwp->length = descr->max_tokens; in ioctl_standard_iw_point()
853 descr->token_size)) { in ioctl_standard_iw_point()
860 if ((descr->flags & IW_DESCR_FLAG_EVENT) && in ioctl_standard_iw_point()
864 if (descr->flags & IW_DESCR_FLAG_RESTRICT) in ioctl_standard_iw_point()
1005 const struct iw_ioctl_description * descr; in ioctl_standard_call() local
1011 descr = &(standard_ioctl[IW_IOCTL_IDX(cmd)]); in ioctl_standard_call()
1014 if (descr->header_type != IW_HEADER_TYPE_POINT) { in ioctl_standard_call()
1020 if ((descr->flags & IW_DESCR_FLAG_EVENT) && in ioctl_standard_call()
1024 ret = ioctl_standard_iw_point(&iwr->u.data, cmd, descr, in ioctl_standard_call()
1067 const struct iw_ioctl_description *descr; in compat_standard_call() local
1072 descr = standard_ioctl + IW_IOCTL_IDX(cmd); in compat_standard_call()
1074 if (descr->header_type != IW_HEADER_TYPE_POINT) in compat_standard_call()
1082 err = ioctl_standard_iw_point(&iwp, cmd, descr, handler, dev, info); in compat_standard_call()