Searched refs:nla_get_u32 (Results 1 - 25 of 43) sorted by relevance

12

/external/iw/
H A Devent.c34 chan->center_freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]);
124 rssi_event = nla_get_u32(cqm[NL80211_ATTR_CQM_RSSI_THRESHOLD_EVENT]);
148 frames = nla_get_u32(cqm[NL80211_ATTR_CQM_PKT_LOSS_EVENT]);
195 nla_get_u32(attrs[NL80211_ATTR_KEY_TYPE]);
228 nla_get_u32(tb[NL80211_WOWLAN_TRIG_PKT_PATTERN]));
257 printf(" %d", nla_get_u32(freq));
327 if_indextoname(nla_get_u32(tb[NL80211_ATTR_IFINDEX]), ifname);
328 printf("%s (phy #%d): ", ifname, nla_get_u32(tb[NL80211_ATTR_WIPHY]));
332 nla_get_u32(tb[NL80211_ATTR_WIPHY]));
334 if_indextoname(nla_get_u32(t
[all...]
H A Dmpath.c65 if_indextoname(nla_get_u32(tb[NL80211_ATTR_IFINDEX]), dev);
69 nla_get_u32(pinfo[NL80211_MPATH_INFO_SN]));
72 nla_get_u32(pinfo[NL80211_MPATH_INFO_METRIC]));
75 nla_get_u32(pinfo[NL80211_MPATH_INFO_FRAME_QLEN]));
78 nla_get_u32(pinfo[NL80211_MPATH_INFO_EXPTIME]));
81 nla_get_u32(pinfo[NL80211_MPATH_INFO_DISCOVERY_TIMEOUT]));
H A Dinfo.c123 if (nla_get_u32(tb_msg[NL80211_ATTR_WIPHY]) == phy_id)
127 phy_id = nla_get_u32(tb_msg[NL80211_ATTR_WIPHY]);
161 print_vht_info(nla_get_u32(tb_band[NL80211_BAND_ATTR_VHT_CAPA]),
175 freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]);
180 printf(" (%.1f dBm)", 0.01 * nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_MAX_TX_POWER]));
205 enum nl80211_dfs_state state = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_DFS_STATE]);
210 time = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_DFS_TIME]);
216 nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_DFS_CAC_TIME]));
229 printf("\t\t\t* %2.1f Mbps", 0.1 * nla_get_u32(tb_rate[NL80211_BITRATE_ATTR_RATE]));
257 frag = nla_get_u32(tb_ms
[all...]
H A Dlink.c64 if_indextoname(nla_get_u32(tb[NL80211_ATTR_IFINDEX]), dev);
66 switch (nla_get_u32(bss[NL80211_BSS_STATUS])) {
89 nla_get_u32(bss[NL80211_BSS_FREQUENCY]));
91 if (nla_get_u32(bss[NL80211_BSS_STATUS]) != NL80211_BSS_STATUS_ASSOCIATED)
155 nla_get_u32(sinfo[NL80211_STA_INFO_RX_BYTES]),
156 nla_get_u32(sinfo[NL80211_STA_INFO_RX_PACKETS]));
159 nla_get_u32(sinfo[NL80211_STA_INFO_TX_BYTES]),
160 nla_get_u32(sinfo[NL80211_STA_INFO_TX_PACKETS]));
H A Dreg.c153 printf("phy#%d%s\n", nla_get_u32(tb_msg[NL80211_ATTR_WIPHY]),
173 flags = nla_get_u32(tb_rule[NL80211_ATTR_REG_RULE_FLAGS]);
174 start_freq_khz = nla_get_u32(tb_rule[NL80211_ATTR_FREQ_RANGE_START]);
175 end_freq_khz = nla_get_u32(tb_rule[NL80211_ATTR_FREQ_RANGE_END]);
176 max_bw_khz = nla_get_u32(tb_rule[NL80211_ATTR_FREQ_RANGE_MAX_BW]);
177 max_ant_gain_mbi = nla_get_u32(tb_rule[NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN]);
178 max_eirp_mbm = nla_get_u32(tb_rule[NL80211_ATTR_POWER_RULE_MAX_EIRP]);
192 printf(", (%u ms)", nla_get_u32(tb_rule[NL80211_ATTR_DFS_CAC_TIME]));
H A Dstation.c28 enum nl80211_mesh_power_mode pm = nla_get_u32(a);
66 rate = nla_get_u32(rinfo[NL80211_RATE_INFO_BITRATE32]);
174 if_indextoname(nla_get_u32(tb[NL80211_ATTR_IFINDEX]), dev);
179 nla_get_u32(sinfo[NL80211_STA_INFO_INACTIVE_TIME]));
182 nla_get_u32(sinfo[NL80211_STA_INFO_RX_BYTES]));
185 nla_get_u32(sinfo[NL80211_STA_INFO_RX_PACKETS]));
188 nla_get_u32(sinfo[NL80211_STA_INFO_TX_BYTES]));
191 nla_get_u32(sinfo[NL80211_STA_INFO_TX_PACKETS]));
194 nla_get_u32(sinfo[NL80211_STA_INFO_TX_RETRIES]));
197 nla_get_u32(sinf
[all...]
H A Dsurvey.c31 if_indextoname(nla_get_u32(tb[NL80211_ATTR_IFINDEX]), dev);
48 nla_get_u32(sinfo[NL80211_SURVEY_INFO_FREQUENCY]),
H A Dinterface.c317 unsigned int thiswiphy = nla_get_u32(tb_msg[NL80211_ATTR_WIPHY]);
329 printf("%s\tifindex %d\n", indent, nla_get_u32(tb_msg[NL80211_ATTR_IFINDEX]));
345 printf("%s\ttype %s\n", indent, iftype_name(nla_get_u32(tb_msg[NL80211_ATTR_IFTYPE])));
347 printf("%s\twiphy %d\n", indent, nla_get_u32(tb_msg[NL80211_ATTR_WIPHY]));
349 uint32_t freq = nla_get_u32(tb_msg[NL80211_ATTR_WIPHY_FREQ]);
356 channel_width_name(nla_get_u32(tb_msg[NL80211_ATTR_CHANNEL_WIDTH])));
359 nla_get_u32(tb_msg[NL80211_ATTR_CENTER_FREQ1]));
362 nla_get_u32(tb_msg[NL80211_ATTR_CENTER_FREQ2]));
366 channel_type = nla_get_u32(tb_msg[NL80211_ATTR_WIPHY_CHANNEL_TYPE]);
H A Dps.c57 switch (nla_get_u32(attrs[NL80211_ATTR_PS_STATE])) {
H A Dmesh.c152 printf("%d", nla_get_u32(a));
157 printf("%u milliseconds", nla_get_u32(a));
162 printf("%d seconds", nla_get_u32(a));
167 printf("%d TUs", nla_get_u32(a));
172 unsigned long v = nla_get_u32(a);
192 printf("%d dBm", (int32_t) nla_get_u32(a));
H A Dmpp.c33 if_indextoname(nla_get_u32(tb[NL80211_ATTR_IFINDEX]), dev);
H A Dcoalesce.c223 delay = nla_get_u32(ruleattr[NL80211_ATTR_COALESCE_RULE_DELAY]);
225 nla_get_u32(ruleattr[NL80211_ATTR_COALESCE_RULE_CONDITION]);
252 pkt_offset = nla_get_u32(patattr[NL80211_PKTPAT_OFFSET]);
H A Dgenl.c61 grp->id = nla_get_u32(tb_mcgrp[CTRL_ATTR_MCAST_GRP_ID]);
H A Dwowlan.c397 nla_get_u32(nd[NL80211_ATTR_SCHED_SCAN_INTERVAL]));
401 nla_get_u32(nd[NL80211_ATTR_SCHED_SCAN_DELAY]));
423 printf(" %d", nla_get_u32(freq));
450 nla_get_u32(patattr[NL80211_PKTPAT_OFFSET]);
/external/libnl/lib/netfilter/
H A Dlog_msg.c96 nfnl_log_msg_set_mark(msg, ntohl(nla_get_u32(attr)));
110 nfnl_log_msg_set_indev(msg, ntohl(nla_get_u32(attr)));
114 nfnl_log_msg_set_outdev(msg, ntohl(nla_get_u32(attr)));
118 nfnl_log_msg_set_physindev(msg, ntohl(nla_get_u32(attr)));
122 nfnl_log_msg_set_physoutdev(msg, ntohl(nla_get_u32(attr)));
147 nfnl_log_msg_set_uid(msg, ntohl(nla_get_u32(attr)));
151 nfnl_log_msg_set_gid(msg, ntohl(nla_get_u32(attr)));
155 nfnl_log_msg_set_seq(msg, ntohl(nla_get_u32(attr)));
159 nfnl_log_msg_set_seq_global(msg, ntohl(nla_get_u32(attr)));
H A Dqueue_msg.c96 nfnl_queue_msg_set_mark(msg, ntohl(nla_get_u32(attr)));
110 nfnl_queue_msg_set_indev(msg, ntohl(nla_get_u32(attr)));
114 nfnl_queue_msg_set_outdev(msg, ntohl(nla_get_u32(attr)));
118 nfnl_queue_msg_set_physindev(msg, ntohl(nla_get_u32(attr)));
122 nfnl_queue_msg_set_physoutdev(msg, ntohl(nla_get_u32(attr)));
H A Dct.c264 ntohl(nla_get_u32(tb[CTA_COUNTERS32_PACKETS])));
270 ntohl(nla_get_u32(tb[CTA_COUNTERS32_BYTES])));
327 nfnl_ct_set_status(ct, ntohl(nla_get_u32(tb[CTA_STATUS])));
329 nfnl_ct_set_timeout(ct, ntohl(nla_get_u32(tb[CTA_TIMEOUT])));
331 nfnl_ct_set_mark(ct, ntohl(nla_get_u32(tb[CTA_MARK])));
333 nfnl_ct_set_use(ct, ntohl(nla_get_u32(tb[CTA_USE])));
335 nfnl_ct_set_id(ct, ntohl(nla_get_u32(tb[CTA_ID])));
/external/libnl/lib/genl/
H A Dctrl.c85 uint32_t version = nla_get_u32(info->attrs[CTRL_ATTR_VERSION]);
90 uint32_t hdrsize = nla_get_u32(info->attrs[CTRL_ATTR_HDRSIZE]);
95 uint32_t maxattr = nla_get_u32(info->attrs[CTRL_ATTR_MAXATTR]);
118 id = nla_get_u32(tb[CTRL_ATTR_OP_ID]);
121 flags = nla_get_u32(tb[CTRL_ATTR_OP_FLAGS]);
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_nl80211_capa.c32 *feat = nla_get_u32(tb_msg[NL80211_ATTR_PROTOCOL_FEATURES]);
194 nla_get_u32(tb_comb[NL80211_IFACE_COMB_NUM_CHANNELS]);
231 switch (nla_get_u32(nl_cmd)) {
318 capa->max_remain_on_chan = nla_get_u32(tb);
374 flags = nla_get_u32(tb);
445 protocols = nla_get_u32(tb);
494 drv->wiphy_idx = nla_get_u32(tb[NL80211_ATTR_WIPHY]);
512 nla_get_u32(tb[NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS]);
515 nla_get_u32(tb[NL80211_ATTR_MAX_SCAN_PLAN_INTERVAL]);
518 nla_get_u32(t
[all...]
H A Ddriver_nl80211_event.c470 ifidx = nla_get_u32(ifindex);
479 enum nl80211_channel_type ch_type = nla_get_u32(type);
497 chan_offset = calculate_chan_offset(nla_get_u32(bw),
498 nla_get_u32(freq),
499 nla_get_u32(cf1),
500 cf2 ? nla_get_u32(cf2) : 0);
506 data.ch_switch.freq = nla_get_u32(freq);
510 data.ch_switch.ch_width = convert2width(nla_get_u32(bw));
512 data.ch_switch.cf1 = nla_get_u32(cf1);
514 data.ch_switch.cf2 = nla_get_u32(cf
[all...]
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_nl80211_capa.c32 *feat = nla_get_u32(tb_msg[NL80211_ATTR_PROTOCOL_FEATURES]);
194 nla_get_u32(tb_comb[NL80211_IFACE_COMB_NUM_CHANNELS]);
231 switch (nla_get_u32(nl_cmd)) {
318 capa->max_remain_on_chan = nla_get_u32(tb);
374 flags = nla_get_u32(tb);
445 protocols = nla_get_u32(tb);
494 drv->wiphy_idx = nla_get_u32(tb[NL80211_ATTR_WIPHY]);
512 nla_get_u32(tb[NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS]);
515 nla_get_u32(tb[NL80211_ATTR_MAX_SCAN_PLAN_INTERVAL]);
518 nla_get_u32(t
[all...]
H A Ddriver_nl80211_event.c470 ifidx = nla_get_u32(ifindex);
479 enum nl80211_channel_type ch_type = nla_get_u32(type);
497 chan_offset = calculate_chan_offset(nla_get_u32(bw),
498 nla_get_u32(freq),
499 nla_get_u32(cf1),
500 cf2 ? nla_get_u32(cf2) : 0);
506 data.ch_switch.freq = nla_get_u32(freq);
510 data.ch_switch.ch_width = convert2width(nla_get_u32(bw));
512 data.ch_switch.cf1 = nla_get_u32(cf1);
514 data.ch_switch.cf2 = nla_get_u32(cf
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_nl80211_capa.c32 *feat = nla_get_u32(tb_msg[NL80211_ATTR_PROTOCOL_FEATURES]);
194 nla_get_u32(tb_comb[NL80211_IFACE_COMB_NUM_CHANNELS]);
231 switch (nla_get_u32(nl_cmd)) {
318 capa->max_remain_on_chan = nla_get_u32(tb);
374 flags = nla_get_u32(tb);
445 protocols = nla_get_u32(tb);
494 drv->wiphy_idx = nla_get_u32(tb[NL80211_ATTR_WIPHY]);
512 nla_get_u32(tb[NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS]);
515 nla_get_u32(tb[NL80211_ATTR_MAX_SCAN_PLAN_INTERVAL]);
518 nla_get_u32(t
[all...]
H A Ddriver_nl80211_event.c470 ifidx = nla_get_u32(ifindex);
479 enum nl80211_channel_type ch_type = nla_get_u32(type);
497 chan_offset = calculate_chan_offset(nla_get_u32(bw),
498 nla_get_u32(freq),
499 nla_get_u32(cf1),
500 cf2 ? nla_get_u32(cf2) : 0);
506 data.ch_switch.freq = nla_get_u32(freq);
510 data.ch_switch.ch_width = convert2width(nla_get_u32(bw));
512 data.ch_switch.cf1 = nla_get_u32(cf1);
514 data.ch_switch.cf2 = nla_get_u32(cf
[all...]
/external/libnl/lib/route/cls/
H A Du32.c78 u->cu_divisor = nla_get_u32(tb[TCA_U32_DIVISOR]);
90 u->cu_hash = nla_get_u32(tb[TCA_U32_HASH]);
95 u->cu_classid = nla_get_u32(tb[TCA_U32_CLASSID]);
100 u->cu_link = nla_get_u32(tb[TCA_U32_LINK]);

Completed in 232 milliseconds

12