Home
last modified time | relevance | path

Searched refs:nla_get_u8 (Results 1 – 25 of 30) sorted by relevance

12

/external/iw/
Dstation.c75 " MCS %d", nla_get_u8(rinfo[NL80211_RATE_INFO_MCS])); in parse_bitrate()
78 " VHT-MCS %d", nla_get_u8(rinfo[NL80211_RATE_INFO_VHT_MCS])); in parse_bitrate()
91 " VHT-NSS %d", nla_get_u8(rinfo[NL80211_RATE_INFO_VHT_NSS])); in parse_bitrate()
112 (int8_t) nla_get_u8(attr)); in get_chain_signal()
202 (int8_t)nla_get_u8(sinfo[NL80211_STA_INFO_SIGNAL]), in print_sta_handler()
208 (int8_t)nla_get_u8(sinfo[NL80211_STA_INFO_SIGNAL_AVG]), in print_sta_handler()
247 switch (nla_get_u8(sinfo[NL80211_STA_INFO_PLINK_STATE])) { in print_sta_handler()
Dinfo.c149 __u8 exponent = nla_get_u8(tb_band[NL80211_BAND_ATTR_HT_AMPDU_FACTOR]); in print_phy_handler()
153 __u8 spacing = nla_get_u8(tb_band[NL80211_BAND_ATTR_HT_AMPDU_DENSITY]); in print_phy_handler()
243 nla_get_u8(tb_msg[NL80211_ATTR_MAX_NUM_SCAN_SSIDS])); in print_phy_handler()
249 nla_get_u8(tb_msg[NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS])); in print_phy_handler()
252 nla_get_u8(tb_msg[NL80211_ATTR_MAX_MATCH_SETS])); in print_phy_handler()
275 retry_short = nla_get_u8(tb_msg[NL80211_ATTR_WIPHY_RETRY_SHORT]); in print_phy_handler()
277 retry_long = nla_get_u8(tb_msg[NL80211_ATTR_WIPHY_RETRY_LONG]); in print_phy_handler()
289 coverage = nla_get_u8(tb_msg[NL80211_ATTR_WIPHY_COVERAGE_CLASS]); in print_phy_handler()
Dmpath.c84 nla_get_u8(pinfo[NL80211_MPATH_INFO_DISCOVERY_RETRIES])); in print_mpath_handler()
87 nla_get_u8(pinfo[NL80211_MPATH_INFO_FLAGS])); in print_mpath_handler()
Devent.c200 __u8 key_id = nla_get_u8(attrs[NL80211_ATTR_KEY_IDX]); in parse_mic_failure()
380 reg_type = nla_get_u8(tb[NL80211_ATTR_REG_TYPE]); in print_event()
386 reg_initiator_to_string(nla_get_u8(tb[NL80211_ATTR_REG_INITIATOR]))); in print_event()
392 reg_initiator_to_string(nla_get_u8(tb[NL80211_ATTR_REG_INITIATOR]))); in print_event()
Dlink.c163 (int8_t)nla_get_u8(sinfo[NL80211_STA_INFO_SIGNAL])); in print_link_sta()
191 nla_get_u8(binfo[NL80211_STA_BSS_PARAM_DTIM_PERIOD])); in print_link_sta()
Dsurvey.c52 (int8_t)nla_get_u8(sinfo[NL80211_SURVEY_INFO_NOISE])); in print_survey_handler()
Dreg.c160 dfs_domain = nla_get_u8(tb_msg[NL80211_ATTR_DFS_REGION]); in print_reg_handler()
Dmesh.c132 printf("%d", nla_get_u8(a)); in _print_u8()
/external/libnl/lib/netfilter/
Dct.c184 nfnl_ct_set_proto(ct, nla_get_u8(tb[CTA_PROTO_NUM])); in ct_parse_proto()
198 nla_get_u8(tb[CTA_PROTO_ICMP_TYPE])); in ct_parse_proto()
201 nla_get_u8(tb[CTA_PROTO_ICMP_CODE])); in ct_parse_proto()
208 nla_get_u8(tb[CTA_PROTO_ICMPV6_TYPE])); in ct_parse_proto()
211 nla_get_u8(tb[CTA_PROTO_ICMPV6_CODE])); in ct_parse_proto()
253 nla_get_u8(tb[CTA_PROTOINFO_TCP_STATE])); in ct_parse_protoinfo_tcp()
Dexp.c144 nfnl_exp_set_l4protonum(exp, tuple, nla_get_u8(tb[CTA_PROTO_NUM])); in exp_parse_proto()
156 icmptype = nla_get_u8(tb[CTA_PROTO_ICMP_TYPE]); in exp_parse_proto()
158 icmpcode = nla_get_u8(tb[CTA_PROTO_ICMP_CODE]); in exp_parse_proto()
/external/libnl/lib/route/link/
Dvxlan.c142 vxi->vxi_ttl = nla_get_u8(tb[IFLA_VXLAN_TTL]); in vxlan_parse()
147 vxi->vxi_tos = nla_get_u8(tb[IFLA_VXLAN_TOS]); in vxlan_parse()
152 vxi->vxi_learning = nla_get_u8(tb[IFLA_VXLAN_LEARNING]); in vxlan_parse()
173 vxi->vxi_proxy = nla_get_u8(tb[IFLA_VXLAN_PROXY]); in vxlan_parse()
178 vxi->vxi_rsc = nla_get_u8(tb[IFLA_VXLAN_RSC]); in vxlan_parse()
183 vxi->vxi_l2miss = nla_get_u8(tb[IFLA_VXLAN_L2MISS]); in vxlan_parse()
188 vxi->vxi_l3miss = nla_get_u8(tb[IFLA_VXLAN_L3MISS]); in vxlan_parse()
Dsit.c115 sit->ttl = nla_get_u8(tb[IFLA_IPTUN_TTL]); in sit_parse()
120 sit->tos = nla_get_u8(tb[IFLA_IPTUN_TOS]); in sit_parse()
125 sit->pmtudisc = nla_get_u8(tb[IFLA_IPTUN_PMTUDISC]); in sit_parse()
135 sit->proto = nla_get_u8(tb[IFLA_IPTUN_PROTO]); in sit_parse()
Dip6tnl.c119 ip6_tnl->ttl = nla_get_u8(tb[IFLA_IPTUN_TTL]); in ip6_tnl_parse()
124 ip6_tnl->tos = nla_get_u8(tb[IFLA_IPTUN_TOS]); in ip6_tnl_parse()
129 ip6_tnl->encap_limit = nla_get_u8(tb[IFLA_IPTUN_ENCAP_LIMIT]); in ip6_tnl_parse()
144 ip6_tnl->proto = nla_get_u8(tb[IFLA_IPTUN_PROTO]); in ip6_tnl_parse()
Dbridge.c93 if (attrs[type] && nla_get_u8(attrs[type])) in check_flag()
109 bd->b_port_state = nla_get_u8(attr); in bridge_parse_protinfo()
122 bd->b_port_state = nla_get_u8(br_attrs[IFLA_BRPORT_STATE]); in bridge_parse_protinfo()
Dipip.c109 ipip->ttl = nla_get_u8(tb[IFLA_IPTUN_TTL]); in ipip_parse()
114 ipip->tos = nla_get_u8(tb[IFLA_IPTUN_TOS]); in ipip_parse()
119 ipip->pmtudisc = nla_get_u8(tb[IFLA_IPTUN_PMTUDISC]); in ipip_parse()
Dipgre.c141 ipgre->ttl = nla_get_u8(tb[IFLA_GRE_TTL]); in ipgre_parse()
146 ipgre->tos = nla_get_u8(tb[IFLA_GRE_TOS]); in ipgre_parse()
151 ipgre->pmtudisc = nla_get_u8(tb[IFLA_GRE_PMTUDISC]); in ipgre_parse()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_event.c205 nla_get_u8(wmm_info[NL80211_STA_WME_UAPSD_QUEUES]); in nl80211_parse_wmm_params()
426 if (authorized && nla_get_u8(authorized)) { in mlme_event_connect()
451 event.assoc_info.subnet_status = nla_get_u8(subnet_status); in mlme_event_connect()
1039 u8 key_id = nla_get_u8(tb[NL80211_ATTR_KEY_IDX]); in mlme_event_michael_mic_failure()
1547 switch (nla_get_u8(tb[NL80211_ATTR_TDLS_OPERATION])) { in nl80211_tdls_oper_event()
1852 u8 hw_mode = nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_ACS_HW_MODE]); in qca_nl80211_acs_select_ch()
1869 chan = nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_ACS_PRIMARY_CHANNEL]); in qca_nl80211_acs_select_ch()
1879 chan = nla_get_u8( in qca_nl80211_acs_select_ch()
1888 nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_ACS_EDMG_CHANNEL]); in qca_nl80211_acs_select_ch()
1891 nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_ACS_VHT_SEG0_CENTER_CHANNEL]); in qca_nl80211_acs_select_ch()
[all …]
Ddriver_nl80211_capa.c843 nla_get_u8(tb[NL80211_ATTR_MAX_NUM_SCAN_SSIDS]); in wiphy_info_handler()
847 nla_get_u8(tb[NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS]); in wiphy_info_handler()
864 nla_get_u8(tb[NL80211_ATTR_MAX_MATCH_SETS]); in wiphy_info_handler()
868 nla_get_u8(tb[NL80211_ATTR_MAC_ACL_MAX]); in wiphy_info_handler()
1026 nla_get_u8(tb[NL80211_ATTR_MAX_CSA_COUNTERS]); in wiphy_info_handler()
1437 mode->a_mpdu_params |= nla_get_u8(ampdu_factor) & 0x03; in phy_info_ht_capa()
1440 mode->a_mpdu_params |= nla_get_u8(ampdu_density) << 2; in phy_info_ht_capa()
1472 mode->edmg.bw_config = nla_get_u8(bw_config); in phy_info_edmg_capa()
1473 mode->edmg.channels = nla_get_u8(channels); in phy_info_edmg_capa()
1609 nla_get_u8(tb_wmm[NL80211_WMMR_AIFSN]); in phy_info_freq()
[all …]
Ddriver_nl80211_scan.c71 (s8) nla_get_u8(sinfo[NL80211_SURVEY_INFO_NOISE]); in get_noise_for_scan_results()
768 r->level = nla_get_u8(bss[NL80211_BSS_SIGNAL_UNSPEC]); in nl80211_parse_bss_info()
/external/libnl/lib/route/qdisc/
Ddsmark.c85 dsmark->cdm_bmask = nla_get_u8(tb[TCA_DSMARK_MASK]); in dsmark_class_msg_parser()
90 dsmark->cdm_value = nla_get_u8(tb[TCA_DSMARK_VALUE]); in dsmark_class_msg_parser()
/external/libnl/lib/idiag/
Didiag_msg_obj.c646 msg->idiag_tos = nla_get_u8(tb[IDIAG_ATTR_TOS]); in idiagnl_msg_parse()
649 msg->idiag_tclass = nla_get_u8(tb[IDIAG_ATTR_TCLASS]); in idiagnl_msg_parse()
652 msg->idiag_shutdown = nla_get_u8(tb[IDIAG_ATTR_SHUTDOWN]); in idiagnl_msg_parse()
/external/libnl/include/netlink/
Dattr.h101 extern uint8_t nla_get_u8(struct nlattr *);
/external/autotest/client/deps/iwcap/src/
Diwcap.c329 unsigned char factor = nla_get_u8(tb_band[NL80211_BAND_ATTR_HT_AMPDU_FACTOR]); in check_phy_handler()
335 unsigned char dens = nla_get_u8(tb_band[NL80211_BAND_ATTR_HT_AMPDU_DENSITY]); in check_phy_handler()
/external/libnl/lib/
Dattr.c580 uint8_t nla_get_u8(struct nlattr *nla) in nla_get_u8() function
/external/libnl/lib/route/
Dlink.c444 link->l_carrier = nla_get_u8(tb[IFLA_CARRIER]); in rtnl_link_info_parse()
449 link->l_operstate = nla_get_u8(tb[IFLA_OPERSTATE]); in rtnl_link_info_parse()
454 link->l_linkmode = nla_get_u8(tb[IFLA_LINKMODE]); in rtnl_link_info_parse()

12