Home
last modified time | relevance | path

Searched refs:nla_get_u8 (Results 1 – 25 of 38) 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()
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()
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()
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()
/external/libnl/lib/route/link/
Dmacsec.c138 info->protect = nla_get_u8(tb[IFLA_MACSEC_PROTECT]); in macsec_parse()
148 info->icv_len = nla_get_u8(tb[IFLA_MACSEC_ICV_LEN]); in macsec_parse()
153 info->encoding_sa = nla_get_u8(tb[IFLA_MACSEC_ENCODING_SA]); in macsec_parse()
158 info->validate = nla_get_u8(tb[IFLA_MACSEC_VALIDATION]); in macsec_parse()
163 info->encrypt = nla_get_u8(tb[IFLA_MACSEC_ENCRYPT]); in macsec_parse()
168 info->send_sci = nla_get_u8(tb[IFLA_MACSEC_INC_SCI]); in macsec_parse()
173 info->end_station = nla_get_u8(tb[IFLA_MACSEC_ES]); in macsec_parse()
178 info->scb = nla_get_u8(tb[IFLA_MACSEC_SCB]); in macsec_parse()
183 info->replay_protect = nla_get_u8(tb[IFLA_MACSEC_REPLAY_PROTECT]); in macsec_parse()
Dvxlan.c195 vxi->vxi_ttl = nla_get_u8(tb[IFLA_VXLAN_TTL]); in vxlan_parse()
200 vxi->vxi_tos = nla_get_u8(tb[IFLA_VXLAN_TOS]); in vxlan_parse()
205 vxi->vxi_learning = nla_get_u8(tb[IFLA_VXLAN_LEARNING]); in vxlan_parse()
226 vxi->vxi_proxy = nla_get_u8(tb[IFLA_VXLAN_PROXY]); in vxlan_parse()
231 vxi->vxi_rsc = nla_get_u8(tb[IFLA_VXLAN_RSC]); in vxlan_parse()
236 vxi->vxi_l2miss = nla_get_u8(tb[IFLA_VXLAN_L2MISS]); in vxlan_parse()
241 vxi->vxi_l3miss = nla_get_u8(tb[IFLA_VXLAN_L3MISS]); in vxlan_parse()
251 vxi->vxi_udp_csum = nla_get_u8(tb[IFLA_VXLAN_UDP_CSUM]); in vxlan_parse()
256 vxi->vxi_udp_zero_csum6_tx = nla_get_u8(tb[IFLA_VXLAN_UDP_ZERO_CSUM6_TX]); in vxlan_parse()
261 vxi->vxi_udp_zero_csum6_rx = nla_get_u8(tb[IFLA_VXLAN_UDP_ZERO_CSUM6_RX]); in vxlan_parse()
[all …]
Dgeneve.c129 geneve->ttl = nla_get_u8(tb[IFLA_GENEVE_TTL]); in geneve_parse()
134 geneve->tos = nla_get_u8(tb[IFLA_GENEVE_TOS]); in geneve_parse()
152 geneve->udp_csum = nla_get_u8(tb[IFLA_GENEVE_UDP_CSUM]); in geneve_parse()
157 geneve->udp_zero_csum6_tx = nla_get_u8(tb[IFLA_GENEVE_UDP_ZERO_CSUM6_TX]); in geneve_parse()
162 geneve->udp_zero_csum6_rx = nla_get_u8(tb[IFLA_GENEVE_UDP_ZERO_CSUM6_RX]); in geneve_parse()
Dip6tnl.c124 ip6_tnl->ttl = nla_get_u8(tb[IFLA_IPTUN_TTL]); in ip6_tnl_parse()
129 ip6_tnl->tos = nla_get_u8(tb[IFLA_IPTUN_TOS]); in ip6_tnl_parse()
134 ip6_tnl->encap_limit = nla_get_u8(tb[IFLA_IPTUN_ENCAP_LIMIT]); in ip6_tnl_parse()
149 ip6_tnl->proto = nla_get_u8(tb[IFLA_IPTUN_PROTO]); in ip6_tnl_parse()
Dipip.c114 ipip->ttl = nla_get_u8(tb[IFLA_IPTUN_TTL]); in ipip_parse()
119 ipip->tos = nla_get_u8(tb[IFLA_IPTUN_TOS]); in ipip_parse()
124 ipip->pmtudisc = nla_get_u8(tb[IFLA_IPTUN_PMTUDISC]); in ipip_parse()
Dsit.c132 sit->ttl = nla_get_u8(tb[IFLA_IPTUN_TTL]); in sit_parse()
137 sit->tos = nla_get_u8(tb[IFLA_IPTUN_TOS]); in sit_parse()
142 sit->pmtudisc = nla_get_u8(tb[IFLA_IPTUN_PMTUDISC]); in sit_parse()
152 sit->proto = nla_get_u8(tb[IFLA_IPTUN_PROTO]); in sit_parse()
Dipgre.c146 ipgre->ttl = nla_get_u8(tb[IFLA_GRE_TTL]); in ipgre_parse()
151 ipgre->tos = nla_get_u8(tb[IFLA_GRE_TOS]); in ipgre_parse()
156 ipgre->pmtudisc = nla_get_u8(tb[IFLA_GRE_PMTUDISC]); in ipgre_parse()
Dbridge.c126 if (attrs[type] && nla_get_u8(attrs[type])) in check_flag()
142 bd->b_port_state = nla_get_u8(attr); in bridge_parse_protinfo()
155 bd->b_port_state = nla_get_u8(br_attrs[IFLA_BRPORT_STATE]); in bridge_parse_protinfo()
/external/libnl/lib/netfilter/
Dct.c167 nfnl_ct_set_proto(ct, nla_get_u8(tb[CTA_PROTO_NUM])); in ct_parse_proto()
181 nla_get_u8(tb[CTA_PROTO_ICMP_TYPE])); in ct_parse_proto()
184 nla_get_u8(tb[CTA_PROTO_ICMP_CODE])); in ct_parse_proto()
191 nla_get_u8(tb[CTA_PROTO_ICMPV6_TYPE])); in ct_parse_proto()
194 nla_get_u8(tb[CTA_PROTO_ICMPV6_CODE])); in ct_parse_proto()
236 nla_get_u8(tb[CTA_PROTOINFO_TCP_STATE])); in ct_parse_protoinfo_tcp()
Dexp.c145 nfnl_exp_set_l4protonum(exp, tuple, nla_get_u8(tb[CTA_PROTO_NUM])); in exp_parse_proto()
157 icmptype = nla_get_u8(tb[CTA_PROTO_ICMP_TYPE]); in exp_parse_proto()
159 icmpcode = nla_get_u8(tb[CTA_PROTO_ICMP_CODE]); in exp_parse_proto()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_event.c215 nla_get_u8(wmm_info[NL80211_STA_WME_UAPSD_QUEUES]); in nl80211_parse_wmm_params()
535 if (authorized && nla_get_u8(authorized)) { in mlme_event_connect()
560 event.assoc_info.subnet_status = nla_get_u8(subnet_status); in mlme_event_connect()
1158 u8 key_id = nla_get_u8(tb[NL80211_ATTR_KEY_IDX]); in mlme_event_michael_mic_failure()
1673 switch (nla_get_u8(tb[NL80211_ATTR_TDLS_OPERATION])) { in nl80211_tdls_oper_event()
1874 nla_get_u8(tb[BRCM_VENDOR_ATTR_ACS_VHT_SEG0_CENTER_CHANNEL]); in brcm_nl80211_acs_select_ch()
1879 nla_get_u8(tb[BRCM_VENDOR_ATTR_ACS_VHT_SEG1_CENTER_CHANNEL]); in brcm_nl80211_acs_select_ch()
1887 nla_get_u8(tb[BRCM_VENDOR_ATTR_ACS_HW_MODE]); in brcm_nl80211_acs_select_ch()
2067 u8 hw_mode = nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_ACS_HW_MODE]); in qca_nl80211_acs_select_ch()
2084 chan = nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_ACS_PRIMARY_CHANNEL]); in qca_nl80211_acs_select_ch()
[all …]
Ddriver_nl80211_capa.c870 nla_get_u8(tb[NL80211_ATTR_MAX_NUM_SCAN_SSIDS]); in wiphy_info_handler()
874 nla_get_u8(tb[NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS]); in wiphy_info_handler()
891 nla_get_u8(tb[NL80211_ATTR_MAX_MATCH_SETS]); in wiphy_info_handler()
895 nla_get_u8(tb[NL80211_ATTR_MAC_ACL_MAX]); in wiphy_info_handler()
1073 nla_get_u8(tb[NL80211_ATTR_MAX_CSA_COUNTERS]); in wiphy_info_handler()
1487 mode->a_mpdu_params |= nla_get_u8(ampdu_factor) & 0x03; in phy_info_ht_capa()
1490 mode->a_mpdu_params |= nla_get_u8(ampdu_density) << 2; in phy_info_ht_capa()
1522 mode->edmg.bw_config = nla_get_u8(bw_config); in phy_info_edmg_capa()
1523 mode->edmg.channels = nla_get_u8(channels); in phy_info_edmg_capa()
1659 nla_get_u8(tb_wmm[NL80211_WMMR_AIFSN]); in phy_info_freq()
[all …]
/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/route/
Dnh_encap_mpls.c72 ttl = nla_get_u8(tb[MPLS_IPTUNNEL_TTL]); in mpls_encap_parse_msg()
Drule.c192 rule->r_l3mdev = nla_get_u8(tb[FRA_L3MDEV]); in rule_msg_parser()
197 rule->r_protocol = nla_get_u8(tb[FRA_PROTOCOL]); in rule_msg_parser()
202 rule->r_ip_proto = nla_get_u8(tb[FRA_IP_PROTO]); in rule_msg_parser()
/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/include/netlink/
Dattr.h113 extern uint8_t nla_get_u8(const struct nlattr *);
/external/libnl/
Dlibnl-3.sym256 nla_get_u8;

12