Lines Matching full:len

21 	u8 len;  member
40 { .id = WLAN_EID_EXTENSION, .len = 255,
44 { .id = WLAN_EID_SSID, .len = 2 },
47 { .id = WLAN_EID_SSID, .len = 2 },
51 .desc = "fragments are ignored if previous len not 255",
53 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 254, },
54 { .id = WLAN_EID_FRAGMENT, .len = 125, },
57 { .id = WLAN_EID_SSID, .len = 2 },
58 { .id = WLAN_EID_FRAGMENT, .len = 125, },
61 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 254, },
62 { .id = WLAN_EID_SSID, .len = 2 },
68 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 255, },
69 { .id = WLAN_EID_FRAGMENT, .len = 125, },
72 { .id = WLAN_EID_SSID, .len = 2 },
75 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 255, },
76 { .id = WLAN_EID_FRAGMENT, .len = 125, },
77 { .id = WLAN_EID_SSID, .len = 2 },
83 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 255, },
84 { .id = WLAN_EID_FRAGMENT, .len = 125, },
87 { .id = WLAN_EID_SSID, .len = 2 },
90 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 255, },
91 { .id = WLAN_EID_FRAGMENT, .len = 125, },
92 { .id = WLAN_EID_SSID, .len = 2 },
98 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 255, },
99 { .id = WLAN_EID_FRAGMENT, .len = 125, },
100 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 123, },
103 { .id = WLAN_EID_SSID, .len = 2 },
106 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 255, },
107 { .id = WLAN_EID_FRAGMENT, .len = 125, },
108 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 123, },
109 { .id = WLAN_EID_SSID, .len = 2 },
115 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 255, },
116 { .id = WLAN_EID_FRAGMENT, .len = 125, },
117 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 123, },
120 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 127, },
121 { .id = WLAN_EID_SSID, .len = 2 },
124 { .id = WLAN_EID_REDUCED_NEIGHBOR_REPORT, .len = 127, },
125 { .id = WLAN_EID_SSID, .len = 2 },
131 { .id = 0x1, .len = 0, },
132 { .id = WLAN_EID_EXTENSION, .len = 1, .eid = 0x10 },
137 { .id = 0x1, .len = 0, },
138 { .id = WLAN_EID_EXTENSION, .len = 1, .eid = 0x10 },
146 { .id = 0x1, .len = 0, },
147 { .id = WLAN_EID_EXTENSION, .len = 1, .eid = 0x10 },
150 { .id = 0x1, .len = 0, },
151 { .id = WLAN_EID_EXTENSION, .len = 1, .eid = 0x10 },
157 { .id = WLAN_EID_EXTENSION, .len = 0 },
160 { .id = WLAN_EID_EXTENSION, .len = 0 },
168 { .id = WLAN_EID_EXTENSION, .len = 3,
170 { .id = WLAN_EID_EXTENSION, .len = 5,
172 { .id = WLAN_EID_EXTENSION, .len = 7,
174 { .id = WLAN_EID_EXTENSION, .len = 11,
178 { .id = WLAN_EID_SSID, .len = 13 },
179 { .id = WLAN_EID_EXTENSION, .len = 17,
181 { .id = WLAN_EID_EXTENSION, .len = 11,
183 { .id = WLAN_EID_EXTENSION, .len = 19,
187 { .id = WLAN_EID_EXTENSION, .len = 17,
189 { .id = WLAN_EID_EXTENSION, .len = 5,
191 { .id = WLAN_EID_EXTENSION, .len = 19,
193 { .id = WLAN_EID_EXTENSION, .len = 11,
195 { .id = WLAN_EID_SSID, .len = 13 },
196 { .id = WLAN_EID_EXTENSION, .len = 11,
203 { .id = 0x1, .len = 7, },
204 { .id = 0x2, .len = 11, },
205 { .id = 0x3, .len = 13, },
206 { .id = WLAN_EID_EXTENSION, .len = 17, .eid = 0x10 },
207 { .id = WLAN_EID_EXTENSION, .len = 19, .eid = 0x11 },
208 { .id = WLAN_EID_EXTENSION, .len = 23, .eid = 0x12 },
209 { .id = WLAN_EID_EXTENSION, .len = 29, .eid = 0x14 },
214 .len = 10,
217 { .id = WLAN_EID_SSID, .len = 2 },
220 { .id = WLAN_EID_EXTENSION, .len = 23, .eid = 0x12 },
221 { .id = WLAN_EID_SSID, .len = 2 },
234 size_t len; in KUNIT_ARRAY_PARAM_DESC() local
243 if (params->parent_ies[i].len != 0) { in KUNIT_ARRAY_PARAM_DESC()
245 skb_put_u8(parent, params->parent_ies[i].len); in KUNIT_ARRAY_PARAM_DESC()
247 params->parent_ies[i].len); in KUNIT_ARRAY_PARAM_DESC()
250 if (params->child_ies[i].len != 0) { in KUNIT_ARRAY_PARAM_DESC()
252 skb_put_u8(child, params->child_ies[i].len); in KUNIT_ARRAY_PARAM_DESC()
254 params->child_ies[i].len); in KUNIT_ARRAY_PARAM_DESC()
257 if (params->result_ies[i].len != 0) { in KUNIT_ARRAY_PARAM_DESC()
259 skb_put_u8(reference, params->result_ies[i].len); in KUNIT_ARRAY_PARAM_DESC()
261 params->result_ies[i].len); in KUNIT_ARRAY_PARAM_DESC()
265 len = cfg80211_gen_new_ie(parent->data, parent->len, in KUNIT_ARRAY_PARAM_DESC()
266 child->data, child->len, in KUNIT_ARRAY_PARAM_DESC()
268 KUNIT_EXPECT_EQ(test, len, reference->len); in KUNIT_ARRAY_PARAM_DESC()
269 KUNIT_EXPECT_MEMEQ(test, out, reference->data, reference->len); in KUNIT_ARRAY_PARAM_DESC()
273 len = cfg80211_gen_new_ie(parent->data, parent->len, in KUNIT_ARRAY_PARAM_DESC()
274 child->data, child->len, in KUNIT_ARRAY_PARAM_DESC()
275 out, reference->len); in KUNIT_ARRAY_PARAM_DESC()
276 KUNIT_EXPECT_EQ(test, len, reference->len); in KUNIT_ARRAY_PARAM_DESC()
277 KUNIT_EXPECT_MEMEQ(test, out, reference->data, reference->len); in KUNIT_ARRAY_PARAM_DESC()
281 len = cfg80211_gen_new_ie(parent->data, parent->len, in KUNIT_ARRAY_PARAM_DESC()
282 child->data, child->len, in KUNIT_ARRAY_PARAM_DESC()
283 out, reference->len - 1); in KUNIT_ARRAY_PARAM_DESC()
284 KUNIT_EXPECT_EQ(test, len, 0); in KUNIT_ARRAY_PARAM_DESC()
291 size_t len; in test_gen_new_ie_malformed() local
303 len = cfg80211_gen_new_ie(malformed->data, malformed->len, in test_gen_new_ie_malformed()
306 KUNIT_EXPECT_EQ(test, len, 5); in test_gen_new_ie_malformed()
308 len = cfg80211_gen_new_ie(out, 0, in test_gen_new_ie_malformed()
309 malformed->data, malformed->len, in test_gen_new_ie_malformed()
311 KUNIT_EXPECT_EQ(test, len, 5); in test_gen_new_ie_malformed()
384 KUNIT_EXPECT_EQ(test, ies->len, sizeof(input)); in test_inform_bss_ssid_only()
611 input->data, input->len, in KUNIT_ARRAY_PARAM_DESC()
658 KUNIT_EXPECT_EQ(test, ies->len, in KUNIT_ARRAY_PARAM_DESC()
664 KUNIT_EXPECT_EQ(test, ies->len, in KUNIT_ARRAY_PARAM_DESC()
812 ies = kunit_kzalloc(test, struct_size(ies, data, input->len), GFP_KERNEL); in KUNIT_ARRAY_PARAM_DESC()
813 ies->len = input->len; in KUNIT_ARRAY_PARAM_DESC()
814 memcpy(ies->data, input->data, input->len); in KUNIT_ARRAY_PARAM_DESC()