Home
last modified time | relevance | path

Searched refs:tb (Results 1 – 7 of 7) sorted by relevance

/hostap-latest/src/drivers/
Ddriver_nl80211_event.c345 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in qca_drv_connect_fail_reason_code_handler() local
351 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in qca_drv_connect_fail_reason_code_handler()
354 if (!tb[NL80211_ATTR_VENDOR_DATA]) { in qca_drv_connect_fail_reason_code_handler()
360 nla_data(tb[NL80211_ATTR_VENDOR_DATA]), in qca_drv_connect_fail_reason_code_handler()
361 nla_len(tb[NL80211_ATTR_VENDOR_DATA]), NULL); in qca_drv_connect_fail_reason_code_handler()
429 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_MAX + 1]; in qca_nl80211_link_reconfig_event() local
437 if (nla_parse(tb, QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_MAX, in qca_nl80211_link_reconfig_event()
439 !tb[QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_AP_MLD_ADDR]) in qca_nl80211_link_reconfig_event()
442 ap_mld = nla_data(tb[QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_AP_MLD_ADDR]); in qca_nl80211_link_reconfig_event()
468 if (!tb[QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_REMOVED_LINKS]) in qca_nl80211_link_reconfig_event()
[all …]
Ddriver_nl80211_capa.c106 struct nlattr *tb) in wiphy_info_supported_iftypes() argument
111 if (tb == NULL) in wiphy_info_supported_iftypes()
114 nla_for_each_nested(nl_mode, tb, i) { in wiphy_info_supported_iftypes()
206 struct nlattr *tb) in wiphy_info_iface_comb() argument
211 if (tb == NULL) in wiphy_info_iface_comb()
214 nla_for_each_nested(nl_combi, tb, rem_combi) { in wiphy_info_iface_comb()
222 struct nlattr *tb) in wiphy_info_supp_cmds() argument
227 if (tb == NULL) in wiphy_info_supp_cmds()
230 nla_for_each_nested(nl_cmd, tb, i) { in wiphy_info_supp_cmds()
258 static unsigned int get_akm_suites_info(struct nlattr *tb) in get_akm_suites_info() argument
[all …]
Ddriver_nl80211.c310 struct nlattr *tb[NLMSGERR_ATTR_MAX + 1]; in ack_handler_cookie() local
329 nla_parse(tb, NLMSGERR_ATTR_MAX, attrs, attr_len, NULL); in ack_handler_cookie()
330 if (tb[NLMSGERR_ATTR_COOKIE]) in ack_handler_cookie()
331 *cookie = nla_get_u64(tb[NLMSGERR_ATTR_COOKIE]); in ack_handler_cookie()
358 struct nlattr *tb[NLMSGERR_ATTR_MAX + 1]; in error_handler() local
380 nla_parse(tb, NLMSGERR_ATTR_MAX, attrs, len, NULL); in error_handler()
381 if (tb[NLMSGERR_ATTR_MSG]) { in error_handler()
382 len = strnlen((char *) nla_data(tb[NLMSGERR_ATTR_MSG]), in error_handler()
383 nla_len(tb[NLMSGERR_ATTR_MSG])); in error_handler()
385 len, (char *) nla_data(tb[NLMSGERR_ATTR_MSG])); in error_handler()
[all …]
Ddriver_nl80211_scan.c34 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in get_noise_for_scan_results() local
46 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in get_noise_for_scan_results()
49 if (!tb[NL80211_ATTR_SURVEY_INFO]) { in get_noise_for_scan_results()
55 tb[NL80211_ATTR_SURVEY_INFO], in get_noise_for_scan_results()
728 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in nl80211_parse_bss_info() local
753 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_parse_bss_info()
755 if (!tb[NL80211_ATTR_BSS]) in nl80211_parse_bss_info()
757 if (nla_parse_nested(bss, NL80211_BSS_MAX, tb[NL80211_ATTR_BSS], in nl80211_parse_bss_info()
1108 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in scan_cookie_handler() local
1112 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in scan_cookie_handler()
[all …]
Ddriver_macsec_linux.c594 struct nlattr *tb[MACSEC_SA_ATTR_MAX + 1]; in dump_callback() local
596 err = nla_parse_nested(tb, MACSEC_SA_ATTR_MAX, nla, in dump_callback()
600 if (!tb[MACSEC_SA_ATTR_AN]) in dump_callback()
602 if (nla_get_u8(tb[MACSEC_SA_ATTR_AN]) != arg->txsa) in dump_callback()
604 if (!tb[MACSEC_SA_ATTR_PN]) in dump_callback()
606 *arg->pn = nla_get_u32(tb[MACSEC_SA_ATTR_PN]); in dump_callback()
621 struct nlattr *tb[MACSEC_RXSC_ATTR_MAX + 1]; in dump_callback() local
623 err = nla_parse_nested(tb, MACSEC_RXSC_ATTR_MAX, nla, in dump_callback()
627 if (!tb[MACSEC_RXSC_ATTR_SCI]) in dump_callback()
629 if (nla_get_u64(tb[MACSEC_RXSC_ATTR_SCI]) != arg->rxsci) in dump_callback()
[all …]
/hostap-latest/src/tls/
Dlibtommath.c1603 mp_int ta, tb, tq, q; in mp_div() local
1625 if ((res = mp_init_multi(&ta, &tb, &tq, &q, NULL)) != MP_OKAY) { in mp_div()
1633 ((res = mp_abs(b, &tb)) != MP_OKAY) || in mp_div()
1634 ((res = mp_mul_2d(&tb, n, &tb)) != MP_OKAY) || in mp_div()
1640 if (mp_cmp(&tb, &ta) != MP_GT) { in mp_div()
1641 if (((res = mp_sub(&ta, &tb, &ta)) != MP_OKAY) || in mp_div()
1646 if (((res = mp_div_2d(&tb, 1, &tb, NULL)) != MP_OKAY) || in mp_div()
1664 mp_clear_multi(&ta, &tb, &tq, &q, NULL); in mp_div()
/hostap-latest/src/crypto/
Dcrypto_wolfssl.c1938 ecc_point *ta = NULL, *tb = NULL; in crypto_ec_point_add() local
1962 tb = wc_ecc_new_point(); in crypto_ec_point_add()
1963 if (!tb) { in crypto_ec_point_add()
1972 mp_mulmod(pb->x, &mu, modulus, tb->x) != MP_OKAY || in crypto_ec_point_add()
1973 mp_mulmod(pb->y, &mu, modulus, tb->y) != MP_OKAY || in crypto_ec_point_add()
1974 mp_mulmod(pb->z, &mu, modulus, tb->z) != MP_OKAY) { in crypto_ec_point_add()
1979 pb = tb; in crypto_ec_point_add()
1994 wc_ecc_del_point(tb); in crypto_ec_point_add()