Searched refs:MAX_WPA_IE_LEN (Results 1 – 21 of 21) sorted by relevance
143 #define MAX_WPA_IE_LEN 128 macro
131 u8 buf[MAX_WPA_IE_LEN]; in translate_scan_wpa()140 memset(buf, 0, MAX_WPA_IE_LEN); in translate_scan_wpa()143 n += scnprintf(buf + n, MAX_WPA_IE_LEN - n, in translate_scan_wpa()145 if (n == MAX_WPA_IE_LEN - 1) in translate_scan_wpa()160 memset(buf, 0, MAX_WPA_IE_LEN); in translate_scan_wpa()163 n += scnprintf(buf + n, MAX_WPA_IE_LEN - n, in translate_scan_wpa()165 if (n == MAX_WPA_IE_LEN - 1) in translate_scan_wpa()482 if (ielen > MAX_WPA_IE_LEN || !pie) in r871x_set_wpa_ie()573 (MAX_WPA_IE_LEN << 2)) ? in r871x_set_wpa_ie()575 (MAX_WPA_IE_LEN << 2); in r871x_set_wpa_ie()
104 u8 wps_ie[MAX_WPA_IE_LEN << 2];
507 #define MAX_WPA_IE_LEN 64 macro637 u8 wpa_ie[MAX_WPA_IE_LEN];639 u8 rsn_ie[MAX_WPA_IE_LEN];
196 char buf[MAX_WPA_IE_LEN]; in libipw_translate_scan()205 char buf[MAX_WPA_IE_LEN]; in libipw_translate_scan()
1232 MAX_WPA_IE_LEN); in libipw_parse_info_param()1242 MAX_WPA_IE_LEN); in libipw_parse_info_param()
7526 if (wrqu->data.length > MAX_WPA_IE_LEN || in ipw2100_wx_set_genie()
6476 if (wrqu->data.length > MAX_WPA_IE_LEN || in ipw_wx_set_genie()
625 #define MAX_WPA_IE_LEN 64 macro635 u8 wpa_ie[MAX_WPA_IE_LEN];637 u8 rsn_ie[MAX_WPA_IE_LEN];
438 if (wpa_len > MAX_WPA_IE_LEN) in hostap_rx_sta_beacon()439 wpa_len = MAX_WPA_IE_LEN; in hostap_rx_sta_beacon()440 if (rsn_len > MAX_WPA_IE_LEN) in hostap_rx_sta_beacon()441 rsn_len = MAX_WPA_IE_LEN; in hostap_rx_sta_beacon()
1921 buf = kmalloc(MAX_WPA_IE_LEN * 2 + 30, GFP_ATOMIC); in __prism2_translate_scan()1949 if (bss && bss->wpa_ie_len > 0 && bss->wpa_ie_len <= MAX_WPA_IE_LEN) { in __prism2_translate_scan()1957 if (bss && bss->rsn_ie_len > 0 && bss->rsn_ie_len <= MAX_WPA_IE_LEN) { in __prism2_translate_scan()
176 char buf[MAX_WPA_IE_LEN]; in rtl819x_translate_scan()185 char buf[MAX_WPA_IE_LEN]; in rtl819x_translate_scan()719 if (len > MAX_WPA_IE_LEN || (len && !ie)) in rtllib_wx_set_gen_ie()
853 #define MAX_WPA_IE_LEN 64 macro1084 u8 wpa_ie[MAX_WPA_IE_LEN];1086 u8 rsn_ie[MAX_WPA_IE_LEN];
1768 MAX_WPA_IE_LEN); in rtllib_parse_mife_generic()2149 MAX_WPA_IE_LEN); in rtllib_parse_info_param()
183 char buf[MAX_WPA_IE_LEN * 2 + 30]; in rtl819x_translate_scan()197 char buf[MAX_WPA_IE_LEN * 2 + 30]; in rtl819x_translate_scan()786 if (len > MAX_WPA_IE_LEN || (len && !ie)) { in ieee80211_wx_set_gen_ie()
1009 #define MAX_WPA_IE_LEN 64 macro1301 u8 wpa_ie[MAX_WPA_IE_LEN];1303 u8 rsn_ie[MAX_WPA_IE_LEN];
1695 MAX_WPA_IE_LEN); in ieee80211_parse_info_param()1872 MAX_WPA_IE_LEN); in ieee80211_parse_info_param()
2674 if (param->u.wpa_ie.len > MAX_WPA_IE_LEN) in ieee80211_wpa_set_wpa_ie()
482 #define MAX_WPA_IE_LEN (256) macro
225 if (ielen > MAX_WPA_IE_LEN || !pie) { in rtw_set_wpa_ie()
1439 if (ielen > MAX_WPA_IE_LEN + MAX_WPS_IE_LEN + MAX_P2P_IE_LEN) { in rtw_cfg80211_set_wpa_ie()