Lines Matching refs:slen
110 const u8 *sa, const u8 *data, size_t slen) in hs20_parse_rx_hs20_anqp_resp() argument
117 if (slen < 2) in hs20_parse_rx_hs20_anqp_resp()
124 slen--; in hs20_parse_rx_hs20_anqp_resp()
127 slen--; in hs20_parse_rx_hs20_anqp_resp()
133 wpa_hexdump_ascii(MSG_DEBUG, "HS Capability List", pos, slen); in hs20_parse_rx_hs20_anqp_resp()
138 wpa_hexdump_ascii(MSG_DEBUG, "oper friendly name", pos, slen); in hs20_parse_rx_hs20_anqp_resp()
142 wpabuf_alloc_copy(pos, slen); in hs20_parse_rx_hs20_anqp_resp()
146 wpa_hexdump(MSG_DEBUG, "WAN Metrics", pos, slen); in hs20_parse_rx_hs20_anqp_resp()
147 if (slen < 13) { in hs20_parse_rx_hs20_anqp_resp()
158 anqp->hs20_wan_metrics = wpabuf_alloc_copy(pos, slen); in hs20_parse_rx_hs20_anqp_resp()
164 wpa_hexdump_ascii(MSG_DEBUG, "conn capability", pos, slen); in hs20_parse_rx_hs20_anqp_resp()
168 wpabuf_alloc_copy(pos, slen); in hs20_parse_rx_hs20_anqp_resp()
174 wpa_hexdump_ascii(MSG_DEBUG, "Operating Class", pos, slen); in hs20_parse_rx_hs20_anqp_resp()
178 wpabuf_alloc_copy(pos, slen); in hs20_parse_rx_hs20_anqp_resp()