Home
last modified time | relevance | path

Searched refs:wrqu (Results 1 – 9 of 9) sorted by relevance

/net/wireless/
Dwext-spy.c28 union iwreq_data * wrqu, in iw_handler_set_spy() argument
52 if (wrqu->data.length > 0) { in iw_handler_set_spy()
56 for (i = 0; i < wrqu->data.length; i++) in iw_handler_set_spy()
68 spydata->spy_number = wrqu->data.length; in iw_handler_set_spy()
76 union iwreq_data * wrqu, in iw_handler_get_spy() argument
87 wrqu->data.length = spydata->spy_number; in iw_handler_get_spy()
112 union iwreq_data * wrqu, in iw_handler_set_thrspy() argument
139 union iwreq_data * wrqu, in iw_handler_get_thrspy() argument
166 union iwreq_data wrqu; in iw_send_thrspy_event() local
170 wrqu.data.length = 1; in iw_send_thrspy_event()
[all …]
Dsme.c743 union iwreq_data wrqu; in __cfg80211_connect_result() local
776 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result()
777 wrqu.data.length = cr->req_ie_len; in __cfg80211_connect_result()
778 wireless_send_event(dev, IWEVASSOCREQIE, &wrqu, in __cfg80211_connect_result()
783 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result()
784 wrqu.data.length = cr->resp_ie_len; in __cfg80211_connect_result()
785 wireless_send_event(dev, IWEVASSOCRESPIE, &wrqu, in __cfg80211_connect_result()
789 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result()
790 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in __cfg80211_connect_result()
792 memcpy(wrqu.ap_addr.sa_data, connected_addr, ETH_ALEN); in __cfg80211_connect_result()
[all …]
Dwext-priv.c18 union iwreq_data * wrqu, in iw_handler_get_private() argument
27 if (wrqu->data.length < dev->wireless_handlers->num_private_args) { in iw_handler_get_private()
31 wrqu->data.length = dev->wireless_handlers->num_private_args; in iw_handler_get_private()
36 wrqu->data.length = dev->wireless_handlers->num_private_args; in iw_handler_get_private()
40 sizeof(struct iw_priv_args) * wrqu->data.length); in iw_handler_get_private()
Dwext-core.c453 union iwreq_data * wrqu, in wireless_send_event() argument
512 if (wrqu->data.length > descr->max_tokens) { in wireless_send_event()
514 cmd, wrqu->data.length); in wireless_send_event()
517 if (wrqu->data.length < descr->min_tokens) { in wireless_send_event()
519 cmd, wrqu->data.length); in wireless_send_event()
524 extra_len = wrqu->data.length * descr->token_size; in wireless_send_event()
579 memcpy(&event->u, ((char *) wrqu) + wrqu_off, hdr_len - IW_EV_LCP_LEN); in wireless_send_event()
617 compat_wrqu.length = wrqu->data.length; in wireless_send_event()
618 compat_wrqu.flags = wrqu->data.flags; in wireless_send_event()
627 memcpy(compat_event->ptr_bytes, wrqu, ptr_len); in wireless_send_event()
[all …]
Dibss.c25 union iwreq_data wrqu; in __cfg80211_ibss_joined() local
54 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_ibss_joined()
55 memcpy(wrqu.ap_addr.sa_data, bssid, ETH_ALEN); in __cfg80211_ibss_joined()
56 wireless_send_event(dev, SIOCGIWAP, &wrqu, NULL); in __cfg80211_ibss_joined()
Dlib80211_crypt_tkip.c567 union iwreq_data wrqu; in lib80211_michael_mic_failure() local
579 memset(&wrqu, 0, sizeof(wrqu)); in lib80211_michael_mic_failure()
580 wrqu.data.length = sizeof(ev); in lib80211_michael_mic_failure()
581 wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, (char *)&ev); in lib80211_michael_mic_failure()
Dmlme.c232 union iwreq_data wrqu; in cfg80211_michael_mic_failure() local
240 memset(&wrqu, 0, sizeof(wrqu)); in cfg80211_michael_mic_failure()
241 wrqu.data.length = strlen(buf); in cfg80211_michael_mic_failure()
242 wireless_send_event(dev, IWEVCUSTOM, &wrqu, buf); in cfg80211_michael_mic_failure()
Dscan.c981 union iwreq_data wrqu; in ___cfg80211_scan_done() local
1025 memset(&wrqu, 0, sizeof(wrqu)); in ___cfg80211_scan_done()
1027 wireless_send_event(wdev->netdev, SIOCGIWSCAN, &wrqu, NULL); in ___cfg80211_scan_done()
2758 union iwreq_data *wrqu, char *extra) in cfg80211_wext_siwscan() argument
2770 if (wrqu->data.length == sizeof(struct iw_scan_req)) in cfg80211_wext_siwscan()
2853 if (wrqu->data.flags & IW_SCAN_THIS_ESSID) { in cfg80211_wext_siwscan()
Dwext-compat.c1590 union iwreq_data *wrqu, \
1593 return func(dev, info, (type *)wrqu, extra); \